klekSu
Stroke my ego.
- Joined
- Nov 4, 2008
- Messages
- 1,285
- Reaction score
- 18
I've been looking threads like those, found some, did what was written there but still it didn't help. I keep getting this error on Debian, my config.lua looks ok, nothing should be wrong. But i'll show you. I have also rewritten it on linux with nano.
Config.lua
I'm trying to move my server from windows to linux, everything is alrite, but cannot run the server caused by this error.
Config.lua
Code:
-- The Forgotten Server Config
-- Account manager
accountManager = "no"
namelockManager = "yes"
newPlayerChooseVoc = "no"
newPlayerSpawnPosX = 95
newPlayerSpawnPosY = 117
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 8
newPlayerMagicLevel = 0
generateAccountNumber = "no"
-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 3 * 24 * 60 * 60
finalBanLength = 7 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
killsToBan = 7
maxViolationCommentSize = 200
-- Battle
-- NOTE: loginProtectionPeriod is the famous Tibia anti-magebomb system.
-- deathLostPercent set to nil enables manual mode.
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 80
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 4
pzLocked = 60 * 1000
criticalHitChance = 4
displayCriticalHitNotify = "no"
removeWeaponAmmunition = "yes"
removeWeaponCharges = "yes"
removeRuneCharges = "yes"
timeToDecreaseFrags = 1 * 60 * 60 * 1000
whiteSkullTime = 5 * 60 * 1000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"
showHealingDamage = "yes"
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = "no"
oldConditionAccuracy = "no"
loginProtectionPeriod = 10
deathLostPercent = 10
-- Connection config
worldId = 0
ip = "ip"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "motd"
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Kleksoria"
loginMessage = "loginMessage"
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "pass"
sqlDatabase = "database"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 60
mysqlReadTimeout = 10
optimizeDatabaseAtStartup = "yes"
passwordType = "plain"
-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 5
-- Guilds
ingameGuildManagement = "yes"
levelToFormGuild = 8
guildNameMinLength = 4
guildNameMaxLength = 20
-- Highscores
highscoreDisplayPlayers = 25
updateHighscoresAfterMinutes = 60
-- Houses
buyableAndSellableHouses = "yes"
housesPerAccount = 1
levelToBuyHouse = 200
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSQM = 1000
houseRentPeriod = "never"
-- Item usage
timeBetweenActions = 100
timeBetweenExActions = 750
-- Map
-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
-- useHouseDataStorage usage may be found at README.
mapName = "mapName"
mapAuthor = "Kleks"
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"
-- Miscellaneous
-- NOTE: defaultPriority works only on Windows
-- promptExceptionTracerErrorBox works only with precompiled support feature,
-- called "exception tracer" (__EXCEPTION_TRACER__ flag).
defaultPriority = "realtime"
maxMessageBuffer = 4
kickIdlePlayerAfterMinutes = 15
allowChangeOutfit = "yes"
allowChangeColors = "yes"
disableOutfitsForPrivilegedPlayers = "no"
displayGamemastersWithOnlineCommand = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "yes"
spellNameInsteadOfWords = "yes"
emoteSpells = "no"
expireReportsAfterReads = 1
promptExceptionTracerErrorBox = "yes"
-- Premium account
freePremium = "yes"
removePremiumOnInit = "yes"
premiumForPromotion = "yes"
blessingsOnlyPremium = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"
-- Rates
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
rateExperience = 100.0
rateSkill = 25.0
rateMagic = 10.0
rateLoot = 3
rateSpawn = 3
experienceStages = "yes"
-- Party
-- NOTE experienceShareLevelDifference is float number.
-- experienceShareLevelDifference is highestLevel * value
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
-- Global save
-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system please check out data/globalevents/globalevents.xml.
globalSaveEnabled = "no"
globalSaveHour = 8
shutdownAtGlobalSave = "yes"
cleanMapAtGlobalSave = "no"
-- Spawns
deSpawnRange = 2
deSpawnRadius = 50
-- Summons
maxPlayerSummons = 2
teleportAllSummons = "no"
teleportPlayerSummons = "no"
-- Status
ownerName = "Kleks"
ownerEmail = "ownerEmail"
url = "http://kleksoria.com"
location = "Poland"
-- Logs
-- NOTE: This kind of logging does not work in GUI version.
-- For such, please compile the software with __GUI_LOGS__ flag.
outLogName = "server/out.log"
errorLogName = "server/error.log"
truncateLogsOnStartup = "no"
I'm trying to move my server from windows to linux, everything is alrite, but cannot run the server caused by this error.