• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

[Advanced] Training System with anti-bot protection !

Status
Not open for further replies.
there is only functions.lua . Where is global.lua? Meybe i should use other file to paste this code ?
 
I tried on beta 3, when I pasted everthing and run server:


Code:
[31/01/2009 18:13:47] data/lib/function.lua:563: unfinished string near ''(TrainMod): If you want still train you need to write !train '
[31/01/2009 18:13:47] Warning: [LuaScriptInterface::initState] Can not load data/lib/data.lua.


I pasted it many times, so yes I did it correctly
 
I tried on beta 3, when I pasted everthing and run server:


Code:
[31/01/2009 18:13:47] data/lib/function.lua:563: unfinished string near ''(TrainMod): If you want still train you need to write !train '
[31/01/2009 18:13:47] Warning: [LuaScriptInterface::initState] Can not load data/lib/data.lua.


I pasted it many times, so yes I did it correctly

Its not about copy/paste... next time take a look how it looks there :mad:
Paste this one:
Code:
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, '(TrainMod): If you want still train you need to write !train "'.. code ..'. You have 20 seconds to write it.')
 
Well, you are right ... I shall check it by myself before posting, I dont know why I posted this question, bah I know, Im still newbie, so sorry and thanks 0.o
 
Ive got problems with configure it to many cities, how to make for action id 20004-20007 other exit_pos????
 
Last edited:
Damn! I need rly fast help,

here are errors with Slawkens training system :/

[
Code:
08/02/2009 01:07:17] Lua Script Error: [Action Interface] 
[08/02/2009 01:07:17] in a timer event called from: 
[08/02/2009 01:07:17] data/actions/scripts/training.lua:onUse

[08/02/2009 01:07:17] luaGetPlayerStorageValue(). Player not found


script talkactions: wklej.org - wklejka nr 50112
sript actions: wklej.org - wklejka nr 50113



Also I see after make this system one error in console :// :


Code:
[08/02/2009 01:17:18] luaGetTownTemplePosition(). town not found.

[08/02/2009 01:17:18] Lua Script Error: [TalkAction Interface] 
[08/02/2009 01:17:18] data/talkactions/scripts/teleporttown.lua:onSay

[08/02/2009 01:17:18] luaGetTownName(). town not found.



Anyone plz?
 
I got so much errors and my ot crashed imediatly after starting it. :s
 
PHP:
[16/03/2009 00:29:39] [Warning - Event::loadScript] Can not load script (data/actions/scripts/training.lua)
[16/03/2009 00:29:39] data/actions/scripts/training.lua:5: unfinished string near '' you'll need to write code to extend '
[16/03/2009 00:29:39] [Warning - Event::loadScript] Can not load script (data/talkactions/scripts/moje/training.lua)
[16/03/2009 00:29:39] data/talkactions/scripts/moje/training.lua:7: unfinished string near ''(TrainMod): Sorry, training '
wronk in TFS 0.3.2 just engin in stund in crazy i must block in function.lua skrypt and engine is good work in function.lua is wronk
 
om i have rc1 i have change lamost 30% of cade
and still habe bugs ;/
why slaweks never make updates....
 
Status
Not open for further replies.
Back
Top