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

ERROR: Unable to load config.lua!

Rulaz

New Member
Joined
Mar 29, 2011
Messages
44
Reaction score
1
Well, how to begin...
Today I compiled a TSF 1.0 for windows x86 (32bit) everything went fine until I tried to run the server, I've put all the data & folders inside the compiled folder, but when i try to run the server this error is shown:

Code:
The Forgotten Server - Version 1.0
Compilied on Jan 14 2014 19:02:40 for arch x86

A server developed by Mark Samman
Visit our forum for updates, support, and resources: http://otland.net/.

>> Loading config
[Error - ConfigManager::load] config.lua:30: '=' expected near 'ip'
> ERROR: Unable to load config.lua!
>> No services running. The server is NOT online.

This is how my folder is:
OT Support.png

Hope you can help me, i would really appreciate. Kind regards :)
 
Code:
-- 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 = "127.0.0.1"

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 = "forgottenserver"

mysqlPass = ""

mysqlDatabase = "forgottenserver"

mysqlPort = 3306

mysqlSock = ""



-- Misc.


allowChangeOutfit = "yes"

freePremium = "yes"

kickIdlePlayerAfterMinutes = 20
maxMessageBuffer = 4

noDamageToSameLookfeet = "no"



-- 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 = "yes"



-- Startup
-- NOTE: default Priority only works on Windows and sets process priority.


defaultPriority = "high"

startupDatabaseOptimization = "no"



-- Status server information


ownerName = ""

ownerEmail = ""

url = "http://otland.net/"
location = "Sweden"
 
That fixed that, but now it prompts like this:

Code:
>> Establishing database connection...
MySQL Error Message: Access denied for user 'rulaz'@'localhost' to database 'gorgottenserver'
> ERRO: Failed to connect to database
>> No services running. The server is NOT online.

What's the admin password? Or what should I put there?
 
That fixed that, but now it prompts like this:

Code:
>> Establishing database connection...
MySQL Error Message: Access denied for user 'rulaz'@'localhost' to database 'gorgottenserver'
> ERRO: Failed to connect to database
>> No services running. The server is NOT online.

What's the admin password? Or what should I put there?

that is because a incorrect password, what mysql server u use?, uniserv?, xampp?, when u create database u put a password for that
 
i use uniserv, how do i create the db? i have the pass

that is because a incorrect password, what mysql server u use?, uniserv?, xampp?, when u create database u put a password for that
I'm putting the database I created with uniserv, but it tells me this:
Code:
>> Establishing database connection...
MySQL Error Message: Can0t connect to MySQL server on 'localhost' <10061>
> ERROR: Failed to connect to database
>> No services running. The server is NOT online.

Please, if you know a tutorial on how to this send me the link plz!!
 
Last edited by a moderator:
Back
Top