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

Lua Config.lua Issues

OvTheOG

New Member
Joined
Jun 20, 2022
Messages
2
Reaction score
0
GitHub
ThePally
hi so first time trying to build a server not online just for myself right now and ive been trying for a while now to fix this and i just cant figure it out.

i try opening "Theforgottenserver.exe" it opens then closes so i went to my cmd and tried running it through that and it gave me this
[Error - ConfigManager::load] cannot open config.lua: No such file or directory
ERROR: Unable to load config.lua!
No services running. The server is NOT online.
then i found out i didnt have a config.lua file, so i created one and added

-- The Forgotten Server Configuration

-- Basic settings
ip = "127.0.0.1" -- If you are playing alone, use localhost
bindOnlyConfiguredIpAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172

-- Database settings (set useMySQL = false for SQLite)
useMySQL = false
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = ""
mysqlDatabase = "tibia"
mysqlPort = 3306
passwordType = "sha1"

-- Server information
serverName = "MyCustomOT"
ownerName = "Admin"
ownerEmail = "[email protected]"
motd = "Welcome to My Custom Tibia OT!"
motdNum = "1"

-- Gameplay settings
worldType = "pvp"
allowClones = false
freePremium = true

-- Rates
experienceStages = true
rateExperience = 1.0
rateSkill = 30.0
rateMagic = 15.0
rateLoot = 1.0

-- Save the server every 10 minutes
autoSave = true
autoSaveEachMinutes = 10

but it still wont recognized that i have a config.lua file

would appreciate if someone could help me with this
 
Last edited:
Honestly i downloaded some stuff and tried working it together i have no idea what im doing what versions of the client or Tfs im kinda winging it lol
 
Do you created database + copy files znoteacc to the xampp, folder htdocs ?
It looks like, there is no connection with database.
You can send me message on discord, and later i will copy answer message here, for other people.
 
hi so first time trying to build a server not online just for myself right now and ive been trying for a while now to fix this and i just cant figure it out.

i try opening "Theforgottenserver.exe" it opens then closes so i went to my cmd and tried running it through that and it gave me this

[Error - ConfigManager::load] cannot open config.lua: No such file or directory

then i found out i didnt have a config.lua file, so i created one and added

-- The Forgotten Server Configuration

-- Basic settings
ip = "127.0.0.1" -- If you are playing alone, use localhost
bindOnlyConfiguredIpAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172

-- Database settings (set useMySQL = false for SQLite)
useMySQL = false
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = ""
mysqlDatabase = "tibia"
mysqlPort = 3306
passwordType = "sha1"

-- Server information
serverName = "MyCustomOT"
ownerName = "Admin"
ownerEmail = "[email protected]"
motd = "Welcome to My Custom Tibia OT!"
motdNum = "1"

-- Gameplay settings
worldType = "pvp"
allowClones = false
freePremium = true

-- Rates
experienceStages = true
rateExperience = 1.0
rateSkill = 30.0
rateMagic = 15.0
rateLoot = 1.0

-- Save the server every 10 minutes
autoSave = true
autoSaveEachMinutes = 10

but it still wont recognized that i have a config.lua file

would appreciate if someone could help me with this
try to delete
LUA:
useMySQL = false
 
Back
Top