• 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!

OTClient Unable to load config.lua

lordad

New Member
Joined
May 13, 2008
Messages
61
Reaction score
1
Hello guys, i have problem running any server in the versions area 10.0+ till 10.98 it shows these errors,
while running any other like 8.6 everything works
Windows ver: 10

can someone help with that ?
CVTtKLk.png
[/IMG]
VuC1JPY.png
[/IMG]
f4xRmRT.png
[/IMG]

and here is my config.lua

Code:
-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
pzLocked = 40 * 1000
removeChargesFromRunes = false
removeChargesFromPotions = true
removeWeaponAmmunition = true
removeWeaponCharges = true
timeToDecreaseFrags = 15 * 60 * 1000
whiteSkullTime = 10 * 60 * 1000
stairJumpExhaustion = 2 * 1000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75
dayKillsToRedSkull = 30
weekKillsToRedSkull = 50
monthKillsToRedSkull = 60
redSkullDuration = 3
blackSkullDuration = 4
orangeSkullDuration = 6

-- Connection Config
-- NOTE: maxPlayers set to 0 means no limit
ip = ""
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 2000
motd = "Welcome to the Server!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Not Yet"
statusTimeout = 5 * 1000
replaceKickOnLogin = true
maxPacketsPerSecond = 35

-- Version Manual
clientVersionMin = 1100
clientVersionMax = 1157
clientVersionStr = "11.57"

-- Depot Limit
freeDepotLimit = 10000
premiumDepotLimit = 10000
depotBoxes = 17

-- GameStore
gamestoreByModules = true

-- Casting System
enableLiveCasting = true
liveCastPort = 7173

-- Expert Pvp Config
expertPvp = false

-- 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 = 500

-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "realmap"
mapAuthor = "Cipsoft"

-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100

-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "servx"
mysqlPass = "qJFp6aFcP6t3zku9"
mysqlDatabase = "schema"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

-- Misc.
allowChangeOutfit = true
freePremium = true
kickIdlePlayerAfterMinutes = 15
idleWarningTime = 10 * 60 * 1000
idleKickTime = 15 * 60 * 1000
maxMessageBuffer = 4
emoteSpells = true
classicEquipmentSlots = false
allowWalkthrough = true
coinPacketSize = 1
coinImagesURL = ""
classicAttackSpeed = true

-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 1
rateSkill = 50
rateLoot = 3
rateMagic = 10
rateSpawn = 2

-- Monster rates
rateMonsterHealth = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0

-- 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 = true

-- Status server information
ownerName = "test"
ownerEmail = ""
url = ""
location = ""
 
Your IP is empty.?
Try to set a proper IP there.

If not, maybe try to remove some comments in the file
 
what comments exactly in which file can u explain please ?
Comments in config.lua, the file we are talking about the whole time. This was back in time a common issue, it should not affect you now, but, you can try to delete every line that starts with --
 
comments don't affect code in any way, that's why they're called comments
what comments exactly in which file can u explain please ?
download a new config.lua from where you got your engine from and change that
if you still get errors post what you changed from the original
 
comments don't affect code in any way, that's why they're called comments

download a new config.lua from where you got your engine from and change that
if you still get errors post what you changed from the original
Yes they are comments, but I remember back in time errors with comments in the config.lua ... I think im using the same engine as he's using, and i dont have any problem.
 
Back
Top