• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Cannot load config.lua

zniC

o hio
Joined
Jun 2, 2007
Messages
1,482
Reaction score
1
[02/01/2002 06:32:19] The Forgotten Server - Version 0.3rcPre-Alpha (-).
[02/01/2002 06:32:19] A server developed by Talaturen, Kiper, Kornholijo, Jonern, Lithium, slawkens & Elf.
[02/01/2002 06:32:19] Visit our forum for updates, support and resources: http://otland.net/.

[02/01/2002 06:32:19] >> Loading config
[02/01/2002 06:32:19] > ERROR: Unable to load config.lua!

I tried two .exe's (rev 815 and 902), those gesior have compiled... this error still pops up.


config.lua:
-- The Forgotten Server Config

-- Account Manager
accountManager = "yes"
namelockManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 793
newPlayerSpawnPosY = 1014
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 8
newPlayerMagicLevel = 0
generateAccountNumber = "no"

-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLenght = 7 * 24 * 60 * 60
finalBanLenght = 30 * 24 * 60 * 60
ipBanishmentLenght = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
killsToBan = 8
maxViolationCommentSize = 200

-- Battle
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 40
killsToRedSkull = 5
pzLocked = 60 * 1000
--[[
*** temporally(?) deprected ***
deathLosePercent = 10
]]--
criticalHitChance = 7
removeAmmoWhenUsingDistanceWeapon = "no"
removeChargesFromRunes = "yes"
timeToDecreaseFrags = 2 * 60 * 60 * 1000
whiteSkullTime = 5 * 60 * 1000
displayOnOrOffAtCharlist = "no"
allowChangeOutfit = "yes"
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"

-- Connection Config
ip = "83.253.73.202"
port = 7171
loginTries = 5
retryTimeout = 30 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "Welcome to Frankia. Your new home!"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Frankia"
loginMessage = "Welcome to Frankia! Enjoy your stay."
adminLogsEnabled = "yes"
statusTimeout = 5 * 60 * 1000

-- Guilds
inGameGuildManagement = "no"
levelToFormGuild = 8
guildNameMinLength = 3
guildNameMaxLength = 20

-- Highscores and Deathlist
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60
deathListEnabled = "yes"
maxDeathRecords = 15

-- Houses
buyableAndSellableHouses = "yes"
housesPerAccount = 2 -- 0 = no limit
levelToBuyHouse = 40
houseRentAsPrice = "no"
housePriceAsRent = "yes"
housePriceEachSQM = 1000
houseRentPeriod = "never"
houseNeedPremiumAccount = "yes"

-- Premium
freePremium = "no"
premiumForPromotion = "yes"
removePremiumOnInit = "yes"

-- Miscellaneous
kickIdlePlayerAfterMinutes = 14
maxMessageBuffer = 4
displayGamemastersWithOnlineCommand = "yes"
defaultPriority = "normal"
bankSystem = "no"

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
mapName = "classic tibia 2 randomized"
mapAuthor = "You"
randomizeTiles = "yes"

-- Database
passwordType = "plain"
sqlType = "mysql"
sqliteDatabase = "forgottenserver.s3db"
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "xx"
mysqlDatabase = "server"
mysqlPort = 3306

-- Rates
rateExp = 60
rateSkill = 3
rateLoot = 2
rateMagic = 3
rateSpawn = 1

-- Server Save
serverSaveEnabled = "yes"
serverSaveHour = 3
shutdownAtServerSave = "yes"
cleanMapAtServerSave = "yes"

-- Spawns
deSpawnRange = 2
deSpawnRadius = 50

-- Status
ownerName = "the Crew"
ownerEmail = "[email protected]"
url = "http://otland.net/"
location = "Sweden"


Any clue wat the problem could be? :(
 
Your probably using an old config lua from another rev or something :P
 
right... i'll try getting a new config.lua.

thanks, ill tell ya if it doesnt work
 
Code:
--[[
*** temporally(?) deprected ***
deathLosePercent = 10
]]--

That would be my guess why it cant be loaded... remove it ^_^
 
Back
Top