Seiro Posted November 13, 2012 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 10/24/12 Last Seen: August 11, 2014 Share Posted November 13, 2012 Ok, I almost finished this script but messed it up I tried fixing it but now I lost where the problem is.. Map-server is not saying anything so I think it's something else.. my quest script Quote Link to comment Share on other sites More sharing options...
Variant Posted November 13, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 52 Reputation: 6 Joined: 01/06/12 Last Seen: December 12, 2017 Share Posted November 13, 2012 (edited) What is it doing that it shouldn't? That'll help narrow it down. Edit: Oh. You have a 'close' in your NPC after the first two lines, so literally every single thing after that will not trigger unless you use a DoNPCEvent. (Look at line 50 on your pastebin link) You also have a close inside your switch statement on line 55, along with a close on either case, it's redundant. You may want to consider commenting your code to follow your own logic, because there are actually a lot of functional errors with your quest. Try looking at another quest script as an example/something to compare to (an official one, maybe, that comes with rAthena), it'll help out a lot. Edited November 13, 2012 by Variant Quote Link to comment Share on other sites More sharing options...
Seiro Posted November 13, 2012 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 10/24/12 Last Seen: August 11, 2014 Author Share Posted November 13, 2012 What is it doing that it shouldn't? That'll help narrow it down. Edit: Oh. You have a 'close' in your NPC after the first two lines, so literally every single thing after that will not trigger unless you use a DoNPCEvent. (Look at line 50 on your pastebin link) You also have a close inside your switch statement on line 55, along with a close on either case, it's redundant. You may want to consider commenting your code to follow your own logic, because there are actually a lot of functional errors with your quest. Try looking at another quest script as an example/something to compare to (an official one, maybe, that comes with rAthena), it'll help out a lot. I removed the close already. But still the same. The first NPC should trigger the 2nd one, but it's not, it's stuck with mes "Where is it.. WHERE IS IT?! I can't find it!!"; Quote Link to comment Share on other sites More sharing options...
Emistry Posted November 13, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 05:32 PM Share Posted November 13, 2012 your curley / close part is messy... you should plan it nicely... try this http://pastebin.com/raw.php?i=VPyVxPgg normally...if you afraid the script will stuck or end up abnormally.. you cna just try put a close at the last line before the script end.. Quote Link to comment Share on other sites More sharing options...
Seiro Posted November 13, 2012 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 10/24/12 Last Seen: August 11, 2014 Author Share Posted November 13, 2012 your curley / close part is messy... you should plan it nicely... try this http://pastebin.com/raw.php?i=VPyVxPgg normally...if you afraid the script will stuck or end up abnormally.. you cna just try put a close at the last line before the script end.. I tried that, but still the same. The 3rd NPC is still saying the same stuff.. not making him get the item Quote Link to comment Share on other sites More sharing options...
Emistry Posted November 13, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 05:32 PM Share Posted November 13, 2012 try ? http://pastebin.com/raw.php?i=q9e6k7yi Quote Link to comment Share on other sites More sharing options...
Question
Seiro
Ok, I almost finished this script but messed it up
I tried fixing it but now I lost where the problem is..
Map-server is not saying anything so I think it's something else..
my quest script
Link to comment
Share on other sites
5 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.