antes vc utilizava o sqlite, hj utiliza o mysql, ou seja, nao tem mais jeito,unica coisa que vc pode fazer é vc deixar as 2 opção pra entrar no jogo, fazer account no jogo e no site, assim a galera entra novamente e cria suas acc
- Fórum
- xTibia - Notícias e Suporte
- Soluções
- Archived
- Duvida Sobre Players
info
Grupo: Barão
Registrado: 17/12/07
Posts: 217
Reputação: +45

info
Grupo: Conde
Registrado: 30/01/10
Posts: 706
Reputação: +125
Gênero: Masculino
Char no Tibia: Bakwin

como faço isso?
info
Grupo: Lorde
Registrado: 17/01/09
Posts: 2.1k
Reputação: +395
Char no Tibia: Adra Sata

Só deixar essa opçao ativda
accountManager = true
info
Grupo: Conde
Registrado: 30/01/10
Posts: 706
Reputação: +125
Gênero: Masculino
Char no Tibia: Bakwin

deixar aonde ?
no config.lua ta true..
Editado Outubro 1 por DevilMoon
info
Grupo: Barão
Registrado: 17/12/07
Posts: 217
Reputação: +45

olhe no config de seu site
info
Grupo: Conde
Registrado: 30/01/10
Posts: 706
Reputação: +125
Gênero: Masculino
Char no Tibia: Bakwin

fui em C:\xampp\htdocs\config\config.lua
ta assim:
-- The Forgotten Server Config
-- Account manager
accountManager = "true"
namelockManager = "true"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 160
newPlayerSpawnPosY = 51
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 10
newPlayerMagicLevel = 2
generateAccountNumber = "no"
redSkullLength = 24 * 60 * 60
blackSkullLength = 42 * 60 * 60
dailyFragsToRedSkull = 10
weeklyFragsToRedSkull = 30
monthlyFragsToRedSkull = 70
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = true
useFragHandler = true
advancedFragList = false
-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
killsBanLength = 8 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = true
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = false
-- Battle
worldType = "open"
protectionLevel = 80
pvpTileIgnoreLevelAndVocationProtection = true
pzLocked = 1 * 60 * 1000
huntingDuration = 1 * 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = false
removeWeaponCharges = false
removeRuneCharges = false
whiteSkullTime = 2 * 60 * 1000
noDamageToSameLookfeet = false
showHealingDamage = true
showHealingDamageForMonsters = false
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = false
oldConditionAccuracy = false
loginProtectionPeriod = 10 * 1000
deathLostPercent = 10
stairhopDelay = 2 * 1000
pushCreatureDelay = 2 * 1000
deathContainerId = 1987
gainExperienceColor = 215
addManaSpentInPvPZone = true
squareColor = 0
allowFightback = true
-- Connection config
worldId = 0
ip = "127.0.0.1"
bindOnlyConfiguredIpAddress = false
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 200
motd = "Bem vindo ao Kamikaze Server!"
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Kamikaze Server"
loginMessage = "Bem vindo ao Kamikaze Server"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = false
-- Database
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = ""
sqlDatabase = "database"
sqlFile = "TheForgottenServer.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"
-- Deathlist
deathListEnabled = true
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5
-- Guilds
ingameGuildManagement = false
levelToFormGuild = 8
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20
-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 2
-- Houses
buyableAndSellableHouses = true
houseNeedPremium = true
bedsRequirePremium = true
levelToBuyHouse = 1
housesPerAccount = 0
houseRentAsPrice = false
housePriceAsRent = false
housePriceEachSquare = 1000
houseRentPeriod = "never"
houseCleanOld = 0
guildHalls = false
-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 500
-- Map
mapName = "world.otbm"
mapAuthor = "ADM Dynamic"
randomizeTiles = true
useHouseDataStorage = false
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"
-- Startup
defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = true
removePremiumOnInit = true
confirmOutdatedVersion = false
-- Muted buffer
maxMessageBuffer = 4
bufferMutedOnSpellFailure = false
-- Miscellaneous
dataDirectory = "data/"
allowChangeOutfit = true
allowChangeColors = true
allowChangeAddons = true
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = false
spellNameInsteadOfWords = false
emoteSpells = false
promptExceptionTracerErrorBox = true
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 25
separateViplistPerCharacter = false
-- Ghost mode
ghostModeInvisibleEffect = false
ghostModeSpellEffects = true
-- Limits
idleWarningTime = 14 * 60 * 1000
idleKickTime = 30 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0
-- Premium-related
freePremium = true
premiumForPromotion = true
-- Blessings
blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8
-- Rates
experienceStages = "yes"
rateExperience = 100
rateExperienceFromPlayers = 0
rateSkill = 80
rateMagic = 45
rateLoot = 2
rateSpawn = 3
-- Monster rates
rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0
-- Experience from players
minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1
-- Stamina
rateStaminaLoss = 1
rateStaminaGain = 3
rateStaminaThresholdGain = 12
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = true
-- Party
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
experienceShareActivity = 2 * 60 * 1000
-- Global save
globalSaveEnabled = false
globalSaveHour = 8
shutdownAtGlobalSave = true
cleanMapAtGlobalSave = false
-- Spawns
deSpawnRange = 2
deSpawnRadius = 50
-- Summons
maxPlayerSummons = 0
teleportAllSummons = false
teleportPlayerSummons = false
-- Status
ownerName = "DevilMoon"
ownerEmail = "xdevilmoonx@gmail.com"
url = ""
location = "Brazil"
displayGamemastersWithOnlineCommand = false
-- Logs
adminLogsEnabled = false
displayPlayersLogging = true
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = false
e tambem quando os player cria conta no site.. eles começam level 1 e nao da o cap para segurar plate set.. e a arma do começo D;
Editado Outubro 2 por DevilMoon
info
Grupo: Campones
Registrado: 11/05/08
Posts: 21
Reputação: +3
Char no Tibia: Admin Necrox

É o seguinte, quando os player criavam os chars no account manager, eles ficavam na database que está na pasta do seu Ot, como você criou um site, a database mudou, ou seja, o server so vai ler adatabase nova (a do site) então não tem como logar em um char criado antes porque mudou o local onde as contas estão. Entendeu?
Para você mudar o level e o local inicial Você vai lá na Sua Database loga, lá em players vai ter:
Rock Sample
Sorc Sample
Druid Sample
Knight Sample
Paladin Sample
Lá você edita as configurações dos novos chars criados no site, Por exemplo se você editar o knight sample
Level 20
Magic 1
Edita o local que ele deve aparecer no caso o Temple x, y ,z.
QUando alguem criar um knight no site no jogo vai aparecer como você editou o knight sample.
Acho que dá pra entender se você tiver algum conhecimento de website.
Caso não entenda eu posto imagens porque agora to sem o gesior aqui sem tempo.
Att+
info
Grupo: Conde
Registrado: 30/01/10
Posts: 706
Reputação: +125
Gênero: Masculino
Char no Tibia: Bakwin

ta entendi... mas tem como os player criarem contas por account mananger ainda? e por site tbm?
info
Grupo: Barão
Registrado: 17/12/07
Posts: 217
Reputação: +45

ta entendi... mas tem como os player criarem contas por account mananger ainda? e por site tbm?




info
Grupo: Conde
Registrado: 30/01/10
Posts: 706
Reputação: +125
Gênero: Masculino
Char no Tibia: Bakwin
antes eu tinha serve de account mananger dps criei o site.. bom qando colokei o site as pessoas de antes n entram mais ... tem q criar nova senha e acc.. tem como passar as accs antigas e senhas para o novo? para eles nao precisarem criar dnv?