Ir para conteúdo

Featured Replies

Postado

Galera, quando tento deixar online o servidor 10.9 no linux Debian7, da um erro que não sei resolver :/

Acho que é nas configurações no config.lua

Spoiler

worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 8
killsToRedSkull = 5
killsToBlackSkull = 8
pzLocked = 60000
removeAmmoWhenUsingDistanceWeapon = "yes"
removeChargesFromRunes = "yes"
timeToDecreaseFrags = 8 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = "no"


ip = "(PRIVADO)"
bindOnlyGlobalAddress = "yes"
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = "1000"
motd = "Welcome to Harmonia Global!"
onePlayerOnlinePerAccount = "yes"
allowClones = "no"
serverName = "Harmonia"
statusTimeout = 60000
replaceKickOnLogin = "yes"
maxPacketsPerSecond = 300
pushCreatureDelay = 1 * 1000	


deathLosePercent = -1


housePriceEachSQM = 1000
houseRentPeriod = "never"


timeBetweenActions = 200
timeBetweenExActions = 1000


mapName = "realmap"
mapAuthor = "Thornia"


marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = "yes"
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100

mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "(PRIVADO)"
mysqlDatabase = "(PRIVADO)"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

allowChangeOutfit = "yes"
freePremium = "yes"
kickIdlePlayerAfterMinutes = 200
maxMessageBuffer = 4
noDamageToSameLookfeet = "no"
emoteSpells = "no"


rateExp = 50
rateSkill = 50
rateLoot = 4
rateMagic = 10
rateSpawn = 1


deSpawnRange = 2
deSpawnRadius = 50


staminaSystem = "yes"


defaultPriority = "high"
startupDatabaseOptimization = "no"

ownerName = ""
ownerEmail = ""
url = "(PRIVADO)"
location = "Brazil"

 

Eu acho que é nessa parte

mysqlSock = ""

 

Erro:

Spoiler

root@-:/otserv# ./tfs
The Forgotten Server - Version 1.2
Compilied on Jan 23 2016 21:40:09 for arch x64

A server developed by TFS TEAM, Others
Visit our forum for updates, support, and resources: http://otland.net/.

>> Loading config
>> Establishing database connection...
MySQL Error Message: Can't connect to local MySQL server through socket '' (111)
> ERROR: Failed to connect to database.
>> No services running. The server is NOT online.

 

Aguardo a ajuda! VLW!!!

Atenciosamente, Anuudek.

                                                               banner.gif

Postado

remova a linha pra ver... ou tente

mysqlSock = "0"

Editado por Alexy Brocanello (veja o histórico de edições)

 

20230912_034613.png.cf49b650c34dd7d7b1f79bd49c70f53c.png

Eu sou um entusiasta da programação apaixonado por ajudar a comunidade open source a crescer. Sempre em busca de novos desafios e oportunidades para contribuir com meu código.  #OpenSource #Programação #Contribuiçã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