Ir para conteúdo
  • Cadastre-se

(Resolvido)BUG, config.lua, otserv global 10.97


Ir para solução Resolvido por KotZletY,

Posts Recomendados

Olá.

 

Bom, baixei 1 servidor aqui 10.97 global full, mas acontece que não estou conseguindo abrir o otserv.

 

Quando eu abro o aplicativo do otserv pra deixar online, aparece o seguinte erro: >> Loading config >> Establishing database connection... MySQL Error Message: Host '' is not allowed tibia

 

Minha config.lua

 

-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
dayKillsToRedSkull = 3
weekKillsToRedSkull = 5
monthKillsToRedSkull = 10
redSkullDuration = 30
blackSkullDuration = 45
orangeSkullDuration = 7
pzLocked = 60 * 1000
removeChargesFromRunes = false
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2 * 1000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75

-- Connection Config
-- NOTE: maxPlayers set to 0 means no limit
ip = "xxxxx"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
motd = "Welcome to The OTX Global Server!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "OTXGLOBAL"
statusTimeout = 5 * 1000
replaceKickOnLogin = true
maxPacketsPerSecond = 300

-- Store in-Game Config
coinPacketSize = 50
coinImagesURL = "http://localhost/images/store/"

-- PVP-Expert Config
expertPvp = false

-- Version Manual
clientVersionMin = 1098
clientVersionMax = 1099
clientVersionStr = "Only clients with protocol 10.98/99 or allowed!"

-- Depot Limit
freeDepotLimit = 2000
premiumDepotLimit = 10000
depotBoxes = 17

-- Casting System 
enableLiveCasting = true
liveCastPort = 7173

-- Deaths
-- NOTE: Leave deathLosePercent as -1 if you want to use the default
-- death penalty formula. For the old formula, set it to 10. For
-- no skill/experience loss, set it to 0.
deathLosePercent = -1

-- Houses
-- NOTE: set housePriceEachSQM to -1 to disable the ingame buy house functionality
housePriceEachSQM = 1000
houseRentPeriod = "weekly"

-- Item Usage
timeBetweenActions = 500
timeBetweenExActions = 1000

-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "global"
mapAuthor = "cipsoft"

-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100

-- MySQL
mysqlHost ="mysql"
mysqlUser = "root"
mysqlPass = ""
mysqlDatabase = "DATABASE"
mysqlPort = 3306
mysqlSock = ""

-- Misc.
allowChangeOutfit = true
freePremium = true
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
allowWalkthrough = true

-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 500
rateSkill = 29
rateLoot = 5
rateMagic = 10
rateSpawn = 3

-- Monsters
deSpawnRange = 2
deSpawnRadius = 50

-- Stamina
staminaSystem = true

-- Scripts
warnUnsafeScripts = true
convertUnsafeScripts = true

-- Startup
-- NOTE: defaultPriority only works on Windows and sets process
-- priority, valid values are: "normal", "above-normal", "high"
defaultPriority = "high"
startupDatabaseOptimization = true

-- Status server information
ownerName = "Malucooo"
ownerEmail = "[email protected]"
url = "https://github.com/malucooo/otxserver-testing/"
location = "Brasil"

 

Bom, se tiver com site, tem como retirar o site e deixar com sqlite. Só pra vér se o servidor é bom ou presta.

 

Se alguem souber de algum global da atualiade com menus bug possivel e poder disponibilizar pra download, agradeço.

Link para o post
Compartilhar em outros sites
  • Solução

Mysqlhost não é o tipo de banco de dados, e sim o ip da maquina, sempre deixe ele em padrão:

mysqlHost = "127.0.0.1"

Afinal, distros nas versões 1.x não contém sqlite.

 

Você postou dois tópicos como esse, ambos em área errada. Double post é proibido, peço que leia as regras, e postar na área incorreta é considerado flood amigo. Tenha mais cuidado. Hehe!

Moverei o outro tópico para a lixeira!

@Tópico movido para área correta.

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

Link para o post
Compartilhar em outros sites

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

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo