Hello,
I am having a problem. I got some offline trainers scripts from this page http://otland.net/threads/tfs-0-4-9-6-and-some-older-offline-training-with-bar-in-game.167962/
but I got some errors in my server console. when players log on after they had clicked on the statue to log off I get this error:
and I also get this error, but I don't know what is causing it:
Could someone please help me figure out how to fix these errors?
Thanks.
I am having a problem. I got some offline trainers scripts from this page http://otland.net/threads/tfs-0-4-9-6-and-some-older-offline-training-with-bar-in-game.167962/
but I got some errors in my server console. when players log on after they had clicked on the statue to log off I get this error:
Code:
[Error - CreatureScript Interface]
data/creaturescripts/scripts/offtrain_login.lua:onLogin
Description:
data/creaturescripts/scripts/offtrain_login.lua:15: attempt to perform arithmetic on a string value
stack traceback:
data/creaturescripts/scripts/offtrain_login.lua:15: in function
<data/creaturescripts/scripts/offtrain_login.lua:2>
and I also get this error, but I don't know what is causing it:
Code:
[Error - Global Event Interface]
data/globalevents/scripts/offtrain_addMinutes.lua:onThink
Description:
data/lib/103-offline-training.lua:59: attempt to perform arithmetic on a string value
stack traceback:
data/lib/103-offline-training.lua:59: in function 'OfflineTraining_addTime'
data/globalevents/scripts/offtrain_addMinutes.lua:3: in function
data/globalevents/offtrain_addMinutes.lua:1>
[Error - GlobalEvents::think] Couldn't execute event: offtrain_add_minutes
Could someone please help me figure out how to fix these errors?
Thanks.