Ir para conteúdo

Featured Replies

Postado

Ae galera, baixei um website para meu otserver.. Ele é por Linux, e quando vou entrar no site aparece isso :

Database error. Unknown database type in /home/otserv/baiak1090/config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

 

Me ajudem por favor!

 

Grato!

Postado
  • Autor
12 minutos atrás, KotZletY disse:

Vá no seu config.lua do Servidor, e verifique se seu config ta programado para roda em mysql. Assim: 

 

 sqlType = "mysql"

Sou novato com esses trem de Otserver, vou te mandar minha config.lua do servidor, veja se está tudo correto:

 

worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 100
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeChargesFromRunes = false
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75

ip = "198.50.235.60"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 800
motd = "Bem Vindo ao LKing Open Tibia Server!"
onePlayerOnlinePerAccount = false
allowClones = false
serverName = "LKing"
statusTimeout = 5000
replaceKickOnLogin = true
maxPacketsPerSecond = 25

enableLiveCasting = true
liveCastPort = 7173

deathLosePercent = -1

housePriceEachSQM = 10000
houseRentPeriod = "never"
timeBetweenActions = 200
timeBetweenExActions = 1000

mapName = "forgotten"
mapAuthor = "Lukaz Giovanni"

marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = false
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100

mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "trocar123"
mysqlDatabase = "baiak1090"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

allowChangeOutfit = true
freePremium = true
kickIdlePlayerAfterMinutes = 720
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false

rateExp = 10000
rateSkill = 250
rateLoot = 17
rateMagic = 150
rateSpawn = 1

deSpawnRange = 2
deSpawnRadius = 50

staminaSystem = false

warnUnsafeScripts = true
convertUnsafeScripts = true

defaultPriority = "high"
startupDatabaseOptimization = false

ownerName = ""
ownerEmail = ""
url = "https://otland.net/"
location = "Sweden"

Postado
15 minutos atrás, mathigreja disse:

Sou novato com esses trem de Otserver, vou te mandar minha config.lua do servidor, veja se está tudo correto:

 

Qual TFS você usa ? Nunca vir uma Config assim rsrs. Se for versão 1.x não sei se é o certo mais tenta ae: 

Spoiler

worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 100
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeChargesFromRunes = false
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75
ip = "198.50.235.60"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 800
motd = "Bem Vindo ao LKing Open Tibia Server!"
onePlayerOnlinePerAccount = false
allowClones = false
serverName = "LKing"
statusTimeout = 5000
replaceKickOnLogin = true
maxPacketsPerSecond = 25
enableLiveCasting = true
liveCastPort = 7173
deathLosePercent = -1
housePriceEachSQM = 10000
houseRentPeriod = "never"
timeBetweenActions = 200
timeBetweenExActions = 1000
mapName = "forgotten"
mapAuthor = "Lukaz Giovanni"
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = false
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "trocar123"
mysqlDatabase = "baiak1090"
mysqlPort = 3306
mysqlSock = "mysql"
passwordType = "sha1"
allowChangeOutfit = true
freePremium = true
kickIdlePlayerAfterMinutes = 720
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
rateExp = 10000
rateSkill = 250
rateLoot = 17
rateMagic = 150
rateSpawn = 1
deSpawnRange = 2
deSpawnRadius = 50
staminaSystem = false
warnUnsafeScripts = true
convertUnsafeScripts = true
defaultPriority = "high"
startupDatabaseOptimization = false
ownerName = ""
ownerEmail = ""
url = "https://otland.net/"
location = "Sweden"

 

 

                                                              ezgif-1-98aab239f3.gif.1a897c9c3225228909e7b356a5cfb8e4.gif

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo