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

Solved Daily task problem

Thorn

Spriting since 2013
Joined
Sep 24, 2012
Messages
2,203
Solutions
1
Reaction score
921
Location
Chile
Hello guys, i changed my otx 9.83 to a tfs 10.77 with tfs 1, so im having some troubles with compatibility
for example this daily task (wich it was perfectly good in my 9.83), i have multiple npcs that gives daily task, and now im having this error:
4273f52395b01406d2910fee70adc534.png

many many times, and these are my scripts:
creaturescripts.xml:
45adbfbf3dcc09c222a5377fe9a36584.png

creaturescripts folder:
c0ccdb5ab082f1d09ec9d1c299d50e31.png


Login.lua:

5aec2dd1fbf7633afd2b64d2bfb64699.png


and this is the tag in a monster
1306d367c5958c0decdde27669261267.png


i can't find the error, it was working perfectly in my older ot, so i guess i forgot something or should be compatibility issues with the new tfs, ooor i did wrong the transfer into login.lua
plz if anyone knows plz help :(
 
Check your logs when creaturescripts are loading.
More then likely a compat issue and these scripts aren't loading properly.. which makes the monsters all error.. because the file isn't loaded into memory.
 
why should a kill event register to a monster?
it will only trigger the event when a monster kills another creature, not when a player kills a monster

if you're looking for some sort of task i'm assuming you want players to kill monsters, not the other way around
so you can just remove the script tags from monster xml files and register it to player in login.lua
 
Back
Top