i made a new script for an itemupgrade npc but every time i use him and log out after this the server crashes.
the only msg i get from the eluna log is this.
2014-07-13_21:01:22 ERROR [Eluna]: Ending event 42 for PlayerEvents, stack top was 1 and was supposed to be between 0 and 1. Report to devs
and i dont know what to do with this.
here is the script http://pastebin.com/7X8r9RLi
i hope u guys can help me :D