ahloi007 Posted April 21, 2016 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 78 Reputation: 1 Joined: 10/15/12 Last Seen: May 23, 2023 Share Posted April 21, 2016 (edited) mes "1 Bloody Branch = 100 Dead Branch + 10mZ"; next; if(countitem(604) < 100 || Zeny < 10000000) { mes "Not enough requirements"; close; } mes "Here you go"; delitem 604,100; set Zeny,10000000; getitem 12103,1; close; } Can I know how do I add more quest items needed? mes "1 Bloody Branch = 100 Dead Branch + 10mZ + 100 Apples"; next; if(countitem(604) < 100 || countitem(512) < 100 || Zeny < 10000000) { mes "Not enough requirements"; close; } mes "Here you go"; delitem 604,100; delitem 512,100 set Zeny,10000000; getitem 12103,1; close; } And I added 1 more item 512 but it does function well and 1 more thing is the zeny doesn't decrease after i claim for my items.... Edited April 21, 2016 by ahloi007 codebox Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted April 21, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted April 21, 2016 Please elaborate the problem you currently facing. Provide us with the following or more details if possible: - Run-time server console errors/warnings (if any). - Client side errors/warnings (if any). - Any edits to scripts or source mods (if any). Quote Link to comment Share on other sites More sharing options...
0 ahloi007 Posted April 21, 2016 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 78 Reputation: 1 Joined: 10/15/12 Last Seen: May 23, 2023 Author Share Posted April 21, 2016 Please elaborate the problem you currently facing. Provide us with the following or more details if possible: - Run-time server console errors/warnings (if any). - Client side errors/warnings (if any). - Any edits to scripts or source mods (if any). Okay my problem is that Im using a script that from other topic and Im trying to use this script. After I added this NPC script to my server I realize that the NPC function got a little problem. Problem facing: 1.This is a Bloody Branch Quest NPC. 2. The npc function is like this "1 bloody branch =100 Dead Branch + 10M zeny 3.If you got all the requirement items(100 Dead branch (Item id 604) + 10M zeny), the npc will gv 1 Bloody Branch(12103)) 4.After u claim for your Bloody Branch, the Dead Branch will disappear for sure and the 10m zeny will decrease from your total Zeny. But the zeny still remind the same. So how to do fix the zeny problem? can teach me? And I would like to add another require item for the BB Quest. That'all that I want to say.. =) Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted April 21, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted April 21, 2016 set Zeny,Zeny - 10000000; Quote Link to comment Share on other sites More sharing options...
Question
ahloi007
Can I know how do I add more quest items needed?
And I added 1 more item 512 but it does function well and 1 more thing is the zeny doesn't decrease after i claim for my items....
Edited by ahloi007codebox
Link to comment
Share on other sites
3 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.