Jump to content
  • 0

Need Help!


ahloi007

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   1
  • Joined:  10/15/12
  • Last Seen:  

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 by ahloi007
codebox
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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).

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   1
  • Joined:  10/15/12
  • Last Seen:  

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.. =)

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


set Zeny,Zeny - 10000000;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...