Ir para conteúdo
  • Cadastre-se

ERROR: Unable to load config.lua


Posts Recomendados

-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeChargesFromRunes = true
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75
 
-- Connection Config
-- NOTE: maxPlayers set to 0 means no limit
ip = "127.0.0.1"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
motd = "Welcome to The Forgotten Server!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Forgotten"
statusTimeout = 5000
replaceKickOnLogin = true
maxPacketsPerSecond = 25
 
-- 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 = "never"
 
-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000
 
-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "realmap"
mapAuthor = "Komic"
 
-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100
 
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "theforgottenserver"
mysqlPass = ""
mysqlDatabase = "theforgottenserver"
mysqlPort = 3306"
mysqlSock = ""
 
-- Misc.
allowChangeOutfit = true
freePremium = false
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
 
emoteSpells = false
classicEquipmentSlots = false
enableLiveCasting = true
liveCastPort = 7173
 
-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 5
rateSkill = 3
rateLoot = 2
rateMagic = 3
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 = false
 
-- Status server information
ownerName = ""
ownerEmail = ""
location = "Sweden"

ai que esta arrumei só que agora esta assim 

MySQL Error Message: Can't connect to MySQL server on '127.0.0.1' (10061)

>ERROR: Failed to connect to database.

>> No services running. The server is NOT online.

 

'-'

Link para o post
Compartilhar em outros sites

mude está linha:

 

De:

 

ip = "127.0.0.1"

 

Para:

 

ip = "localhost"

 

e teste

Compre seus Scripts Agora totalmente seguro e de forma rápida, aceitamos também encomendas.

discord.gg/phJZeHa2k4

 

Projeto ATS (Naruto)

Informações Abaixo

Facebook

Youtube
Discord

 

Tutoriais / Conteúdos

Clique Aqui

Link para o post
Compartilhar em outros sites

Qual o servidor que você está utilizando? Versão? Esse está configurado para usar com mysql então você deve baixar o Xampp e conectar a database.

Link para o post
Compartilhar em outros sites

Troque seu config.lua por esse:

worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeChargesFromRunes = true
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75
 
ip = "127.0.0.1"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
motd = "Welcome to The Forgotten Server!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Forgotten"
statusTimeout = 5000
replaceKickOnLogin = true
maxPacketsPerSecond = 25

deathLosePercent = -1
 
housePriceEachSQM = 1000
houseRentPeriod = "never"
 
timeBetweenActions = 200
timeBetweenExActions = 1000
 
mapName = "realmap"
mapAuthor = "Komic"
 
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100
 
mysqlHost = "127.0.0.1"
mysqlUser = "theforgottenserver"
mysqlPass = ""
mysqlDatabase = "theforgottenserver"
mysqlPort = 3306"
mysqlSock = ""

allowChangeOutfit = true
freePremium = false
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
 
emoteSpells = false
classicEquipmentSlots = false
enableLiveCasting = true
liveCastPort = 7173

rateExp = 5
rateSkill = 3
rateLoot = 2
rateMagic = 3
rateSpawn = 1
 
deSpawnRange = 2
deSpawnRadius = 50
 
staminaSystem = true
 
warnUnsafeScripts = true
convertUnsafeScripts = true
 
defaultPriority = "high"
startupDatabaseOptimization = false
 
ownerName = ""
ownerEmail = ""
url = "https://otland.net/"
location = "Sweden"

E configure o site utilizando o Xampp:

http://www.tibiaking.com/forum/topic/8861-como-criar-um-site-para-seu-servidor/

Link para o post
Compartilhar em outros sites
2.3 - Use títulos e ícones adequados:
Ao criar um novo tópico no fórum, dê a ele um título que esteja relacionado ao conteúdo do tópico. Títulos como "Ajudaaa!" ou "Entrem aqui!" só pioram as coisas: ninguém vai saber do que se trata, e menos pessoas irão entrar para olhar o que você postou e também evite de usar o CAPSLOCK ao criar seu título.

Se quiser sua dúvida tirada, mande PM com os links, e não com a dúvida (outros podem ter a mesma dúvida, e o fórum serve para ser usado).

 

Tópicos:


 

yNlhRVC.png

 

55px-Judo_yellow_belt.svg.png

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