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

Compiling TFS 1.3 Crash right after compiling master branch

super23

Member
Joined
Dec 27, 2013
Messages
98
Reaction score
5
Compiled TFS 1.3 following this tutorial when I tried starting the server it crashed immediately.
What could be the issue?

35998
35996
 

Attachments

Last edited:
Have you added your MySQL info to config.lua? There was any errors during compiling process?
 
Have you added your MySQL info to config.lua? There was any errors during compiling process?

Added in configlua? how do you mean? here is the config lua & no errors during compiling:


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

-- 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 Forgotten Server!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Forgotten"
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"

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "forgotten"
mapAuthor = "Komic"

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

-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "*****"
mysqlPass = "*****"
mysqlDatabase = "newotdatabase"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

-- Misc.
-- NOTE: classicAttackSpeed set to true makes players constantly attack at regular
-- intervals regardless of other actions such as item (potion) use. This setting
-- may cause high CPU usage with many players and potentially affect performance!
allowChangeOutfit = true
freePremium = false
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
classicAttackSpeed = false

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

-- Status server information
ownerName = ""
ownerEmail = ""
url = "https://otland.net/"
location = "Sweden"
 
Added in configlua? how do you mean? here is the config lua & no errors during compiling:


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

-- 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 Forgotten Server!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Forgotten"
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"

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "forgotten"
mapAuthor = "Komic"

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

-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "*****"
mysqlPass = "*****"
mysqlDatabase = "newotdatabase"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

-- Misc.
-- NOTE: classicAttackSpeed set to true makes players constantly attack at regular
-- intervals regardless of other actions such as item (potion) use. This setting
-- may cause high CPU usage with many players and potentially affect performance!
allowChangeOutfit = true
freePremium = false
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
classicAttackSpeed = false

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

-- Status server information
ownerName = ""
ownerEmail = ""
url = "https://otland.net/"
location = "Sweden"
I mean like you installed your Xampp or Uniserv and added the correct MySQL user/MySQL pass in config.lua? because that can cause forgotten server to close immediately when you start it without any errors.
 
I mean like you installed your Xampp or Uniserv and added the correct MySQL user/MySQL pass in config.lua? because that can cause forgotten server to close immediately when you start it without any errors.

The password is correct. I have installed Gesior and there were no errors about mysql
 
Download Here it is made by one of OTLand's administrator, just download the dlls/.exe and check if it works.
 
open the server using cmd, and u can see where is the error:
1) open cmd
2) digit and enter
Code:
cd C:\directory_your_server
3) digit and enter
Code:
theforgottenserver.exe

it will show why ur server is closing after open, like this exemple:
35999
 
Download Here it is made by one of OTLand's administrator, just download the dlls/.exe and check if it works.

Didn't help

open the server using cmd, and u can see where is the error:
1) open cmd
2) digit and enter
Code:
cd C:\directory_your_server
3) digit and enter
Code:
theforgottenserver.exe

it will show why ur server is closing after open, like this exemple:
View attachment 35999
Did not see any errors using CMD.

36000
 
If the compiled ones didn't work either so I think it isn't related to compiling or TFS at all as much as I know.
You have any antivirus that might be blocking it for some reasons? What client are you using/Datapack are you using?
 
If the compiled ones didn't work either so I think it isn't related to compiling or TFS at all as much as I know.
You have any antivirus that might be blocking it for some reasons? What client are you using/Datapack are you using?

Using the original datapack which is currently 10.98. btw there's no antivirus and I've allowed it in firewall settings.
 
Using the original datapack which is currently 10.98
So you don't have any issue in Lua/Datapack/TFS I think so, I believe the issue can be related to your PC/windows might be something blocks it because the compiled versions works 100% and the main datapack also is alright.
Can you remove all your DLLs and download them through the link I gave above? are you using 32-bit or 64-bit windows?
 
So you don't have any issue in Lua/Datapack/TFS I think so, I believe the issue can be related to your PC/windows might be something blocks it because the compiled versions works 100% and the main datapack also is alright.
Can you remove all your DLLs and download them through the link I gave above? are you using 32-bit or 64-bit windows?

I am on 64bit windows 7
I have already tested with the DLLs you referred to.
 
1. Have you checked so your ports are open properly?
2. Reinstall your database etc.
3. Just use MyACC from Znote
 
Back
Top