Ir para conteúdo

Featured Replies

  • Respostas 9
  • Visualizações 514
  • Created
  • Última resposta

Top Posters In This Topic

Posted Images

Postado

Olha amigo, o único erro que notei no seu config original, é que você tirou os comentários das linhas e não a linha toda, ficando assim como "variáveis não definidas", sendo assim, gerando erro.

Apenas reconfigurei o seu config.lua original, conforme segue:

-- Combat settings
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeAmmoWhenUsingDistanceWeapon = "yes"
removeChargesFromRunes = "yes"
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = "no"
 
-- Connection Config
ip = "192.168.1.103"
bindOnlyGlobalAddress = "no"
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = "1000"
motd = "Welcome to The Forgotten Server!"
onePlayerOnlinePerAccount = "yes"
allowClones = "no"
serverName = "Forgotten"
statusTimeout = 60000
replaceKickOnLogin = "yes"
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
mapName = "forgotten"
mapAuthor = "Komic"
 
-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = "yes"
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100
 
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "Chave"
mysqlDatabase = "servidor dark"
mysqlPort = 3306
mysqlSock = ""
 
-- Storage
passwordType = "sha1"
 
-- Misc.
allowChangeOutfit = "yes"
freePremium = "yes"
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
noDamageToSameLookfeet = "no"
emoteSpells = "no"
 
-- Rates
	-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 10
rateSkill = 5
rateLoot = 2
rateMagic = 5
rateSpawn = 1
 
-- Monsters
deSpawnRange = 2
deSpawnRadius = 50
 
-- Stamina
staminaSystem = "yes"
 
-- Startup
	-- NOTE: defaultPriority only works on Windows and sets process priority.
defaultPriority = "high"
startupDatabaseOptimization = "no"
 
-- Status server information
ownerName = ""
ownerEmail = ""
url = "http://otland.net/"
location = "Sweden" 

Atenciosamente,

Bruno Minervino

Postado
  • Autor

Olha amigo, o único erro que notei no seu config original, é que você tirou os comentários das linhas e não a linha toda, ficando assim como "variáveis não definidas", sendo assim, gerando erro.

Apenas reconfigurei o seu config.lua original, conforme segue:

-- Combat settings
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeAmmoWhenUsingDistanceWeapon = "yes"
removeChargesFromRunes = "yes"
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = "no"
 
-- Connection Config
ip = "192.168.1.103"
bindOnlyGlobalAddress = "no"
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = "1000"
motd = "Welcome to The Forgotten Server!"
onePlayerOnlinePerAccount = "yes"
allowClones = "no"
serverName = "Forgotten"
statusTimeout = 60000
replaceKickOnLogin = "yes"
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
mapName = "forgotten"
mapAuthor = "Komic"
 
-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = "yes"
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100
 
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "Chave"
mysqlDatabase = "servidor dark"
mysqlPort = 3306
mysqlSock = ""
 
-- Storage
passwordType = "sha1"
 
-- Misc.
allowChangeOutfit = "yes"
freePremium = "yes"
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
noDamageToSameLookfeet = "no"
emoteSpells = "no"
 
-- Rates
	-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 10
rateSkill = 5
rateLoot = 2
rateMagic = 5
rateSpawn = 1
 
-- Monsters
deSpawnRange = 2
deSpawnRadius = 50
 
-- Stamina
staminaSystem = "yes"
 
-- Startup
	-- NOTE: defaultPriority only works on Windows and sets process priority.
defaultPriority = "high"
startupDatabaseOptimization = "no"
 
-- Status server information
ownerName = ""
ownerEmail = ""
url = "http://otland.net/"
location = "Sweden" 

Funcinou so que agora tou com outro problema eu não tenho um sql database 10.41 ai aparece esse erro : ERROR: Couldn't estabilish connection to SQL DataBase!

Postado

Olha amigo, o problema de não conseguir estabelecer uma conexão, significa que você não configurou direitinho a parte do mysql.

Após concluir a configuração, se você quiser a database, pode usar a do meu projeto 10.76, que é a mesma do projeto oficial na versão 10.41;

https://github.com/brunominervino/forgottenserver/blob/master/schema.sql

Atenciosamente,

Bruno Minervino

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