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

TFS 1.1 Crashes without log

pedropampa

New Member
Joined
Apr 5, 2015
Messages
3
Reaction score
0
Hello, I've been having problems on my server with tfs 1.1, compiled into an ubuntu server 14.04 x86_64.

The server simply crashes and no error message appears in the log, I'm losing players because of rollbacks.

I researched before asking, and found these two links:
https://github.com/otland/forgottenserver/issues/1082
https://otland.net/threads/tfs-1-1-problem.232160/

What I want to know is:
I have scripts that use addEvent, would they be the cause of these problems?

Code:
function trainerthree(p)
if isPlayer(p.cid) == TRUE and getPlayerStorageValue(p.cid, 18010) == 1 then
  doPlayerSendTextMessage(p.cid,22,"Your training session will begin in 30 seconds")
  addEvent(trainertwo, 10 * 1000, p)
end
return FALSE
end
 
function trainertwo(p)
if isPlayer(p.cid) == TRUE and getPlayerStorageValue(p.cid, 18010) == 1 then
  doPlayerSendTextMessage(p.cid,22,"Your training session will begin in 20 seconds")
  addEvent(trainerone, 10 * 1000, p)
end
return FALSE
end
 
function trainerone(p)
if isPlayer(p.cid) == TRUE and getPlayerStorageValue(p.cid, 18010) == 1 then
  doPlayerSendTextMessage(p.cid,22,"Your training session will begin in 10 seconds")
  addEvent(readyToTrain, 10 * 1000, p)
end
return FALSE
end
(just a part of the soul points script for trainers)

Could this be what is causing the crashes?
note: I did not post a log because it did not generate any. And sorry my english, I'm still learnig.

Thankyou!
 
Back
Top