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

TFS1.2 wont load config.lua

Ischemia

New Member
Joined
Apr 7, 2025
Messages
3
Solutions
1
Reaction score
0
Hey,

I'm getting some strange behaviour, had TFS1.2 working fine, then all of a sudden if I have uniserver running it won't read the config.lua.

If I close uniserver it will read the config.lua but then obviously won't connect to the database.

Anyone come across this beofre?

Thanks in advance
 
Check both configs, like in post, with the screen.
If everything is correct.
If this is too much for me, i can check this through teamviewer, or anydesk ; )
 
Check both configs, like in post, with the screen.
If everything is correct.
If this is too much for me, i can check this through teamviewer, or anydesk ; )
Thanks for reply. All set up as you have posted.

LUA:
-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
protectionLevel = 1
killsToRedSkull = 3
pzLocked = 60000
removeChargesFromRunes = true
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75
allowFightBack = true

-- Connection Config
-- NOTE: maxPlayers set to 0 means no limit
ip = "127.0.0.1"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
motd = "Welcome to The Azrael 7.4 Server!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Azrael 7.4"
statusTimeout = 5000
replaceKickOnLogin = true
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"
houseAntiTrash = false

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "world"
mapAuthor = "ond"

-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "password"
mysqlDatabase = "test"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

-- Misc.
allowChangeOutfit = true
freePremium = false
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
UHTrap = true
-- Can walk/push over 2 items with height attribute (Parcels, boxes etc.)
heightStackBlock = true

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

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

-- Status server information
ownerName = ""
ownerEmail = ""
url = "https://otland.net/"
location = "Sweden"

1746460413433.webp
 
Solved,

TFS 1.2 reports can't read config - if config is wrong/connection issues re mysql, I think if Apache is running.
 
Solution
Ok, good ; )
Watch out for names like "Azrael 7.4",
saved option is "Azrael".
Database "test" name, is good,
but avoid adding something like,
"test-7.4", database will not work.
 

Similar threads

Back
Top