lolmin21 Posted December 17, 2013 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 11/24/13 Last Seen: April 24, 2017 Share Posted December 17, 2013 Need help to remove it. Bomb_Poring.txt Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 17, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted December 17, 2013 (edited) you never say how to reproduce the problem so I just read the script well I spotted 1 error though [Info]: Character 'AnnieRuru' logged off. [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Function: getmapxy (4 parameters): [Debug]: Data: variable name='.@mapnvz$' index=0 [Debug]: Data: variable name='.@xnvz' index=0 [Debug]: Data: variable name='.@ynvz' index=0 [Debug]: Data: number value=0 [Debug]: Source (NPC): bombevent (invisible/not on a map)can be reproduce by using a GM99 and start the event, then immediately log offthe problem should be here StartEvent: // line 143 ... start the event initnpctimer; ..... OnTimer10000: // line 380 if(getmapusers("quiz_01") == 1){ killmonsterall "quiz_01"; mapannounce "quiz_01","You have survive and WIN, approach the Reward NPC please.",0; enablenpc "Reward NPC"; end; // <-----THIS ONE is inside the bracket } OnPCDieEvent: getmapxy .@mapnvz$,.@xnvz,.@ynvz,0;the end; should be outside the bracketand this script make extensive use of sleep2 command ... should be using sleep command to avoid some undesirable situation ... other than that explain more in detail EDIT: I also didn't see any OnPCLogoutEvent in this script ... Edited December 17, 2013 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
lolmin21 Posted December 17, 2013 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 11/24/13 Last Seen: April 24, 2017 Author Share Posted December 17, 2013 (edited) It will be like this? Debug not appear again OnTimer10000: if(getmapusers("quiz_01") == 1){ killmonsterall "quiz_01"; mapannounce "quiz_01","You have survive and WIN, approach the Reward NPC please.",0; enablenpc "Reward NPC"; } end; // <--- Already put outside the bracket Thank you. Edited December 17, 2013 by lolmin21 Quote Link to comment Share on other sites More sharing options...
Question
lolmin21
Need help to remove it.

Bomb_Poring.txt
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.