Ir para conteúdo

Meu servidor dando erro de Establishing database connection...

Featured Replies

Postado

Estou tentando criar um servidor de tibia pra poder jogar off mas quando vou abrir o servdidor da isso :http://prntscr.com/eus863  e logo em seguida fecha 

 

PFV se alguem souber ajuda ai :D

 

meu config tá assim :

 

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

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

-- Version Manual
clientVersionMin = 10.98
clientVersionMax = 1200
clientVersionStr = "Only clients with protocol 10.98 or higher 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 = 100
houseRentPeriod = "weekly"

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "global2"
mapAuthor = "Oganza"

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

-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "senha"
mysqlDatabase = "otserver"
mysqlPort = 3306
mysqlSock = ""

-- Misc.
allowChangeOutfit = true
freePremium = true
kickIdlePlayerAfterMinutes = 60
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
allowWalkthrough = true
coinPacketSize = 1
coinImagesURL = "http://ogaot.servegame.com:8090/store/"

-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 10
rateSkill = 6
rateLoot = 4
rateMagic = 6
rateSpawn = 1

-- 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 = ""
ownerEmail = ""
url = ""
location = "Brazil"

  • 2 months later...
  • Respostas 11
  • Visualizações 1.7k
  • Created
  • Última resposta

Top Posters In This Topic

Posted Images

Postado
  Em 10/04/2017 em 17:06, TheVetor disse:

Estou tentando criar um servidor de tibia pra poder jogar off mas quando vou abrir o servdidor da isso :http://prntscr.com/eus863  e logo em seguida fecha 

 

PFV se alguem souber ajuda ai :D

 

meu config tá assim :

 

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

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

-- Version Manual
clientVersionMin = 10.98
clientVersionMax = 1200
clientVersionStr = "Only clients with protocol 10.98 or higher 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 = 100
houseRentPeriod = "weekly"

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "global2"
mapAuthor = "Oganza"

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

-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "senha"
mysqlDatabase = "otserver"
mysqlPort = 3306
mysqlSock = ""

-- Misc.
allowChangeOutfit = true
freePremium = true
kickIdlePlayerAfterMinutes = 60
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
allowWalkthrough = true
coinPacketSize = 1
coinImagesURL = "http://ogaot.servegame.com:8090/store/"

-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 10
rateSkill = 6
rateLoot = 4
rateMagic = 6
rateSpawn = 1

-- 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 = ""
ownerEmail = ""
url = ""
location = "Brazil"

Você precisa criar uma database e importar o arquivo mysql que está na pasta do servidor , e configurar está parte de acordo com a sua database criada : -- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "senha"
mysqlDatabase = "otserver"
mysqlPort = 3306
mysqlSock = ""

  • 3 years later...
Postado
  Em 07/07/2017 em 01:54, CoyoteStark disse:

se nao tiver senha no mysql, tirar o nome "senha" em passwords deixando assim

mysqlPass = ""

Fiz conforme vocês citaram mas continua dando o mesmo erro. O Aplicativo fecha logo quando busca algo no config que não tá funcionando devidamente. Pode ajudar?

err.jpg

  Em 07/07/2017 em 01:21, Unstable disse:

Você precisa criar uma database e importar o arquivo mysql que está na pasta do servidor , e configurar está parte de acordo com a sua database criada : -- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "senha"
mysqlDatabase = "otserver"
mysqlPort = 3306
mysqlSock = ""

 

Fiz conforme vocês citaram mas continua dando o mesmo erro. O Aplicativo fecha logo quando busca algo no config que não tá funcionando devidamente. Pode ajudar?

err.jpg

Postado
  Em 03/01/2021 em 01:40, Dogo Ar disse:

Fiz conforme vocês citaram mas continua dando o mesmo erro. O Aplicativo fecha logo quando busca algo no config que não tá funcionando devidamente. Pode ajudar?

err.jpg

 

Fiz conforme vocês citaram mas continua dando o mesmo erro. O Aplicativo fecha logo quando busca algo no config que não tá funcionando devidamente. Pode ajudar?

err.jpg

Primeiro, tome mais cuidado ao reviver topicos.

E respondendo a sua dúvida, isso ocorre devido o .exe "distro" não está encontrando a sua data base. Me ajuda a te ajudar, você usa algum website ou não?

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