Jump to content
  • 0

need NPC script


medo

Question


  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   0
  • Joined:  07/05/12
  • Last Seen:  

hi everybody,

 

I need to script npc, can get players "cash points".

 

But players must write code or nubmer.

and the GM can add code or number at any time just if GM talk with npc.

 

and i want another npc, like npc previous, but get players awards Instead of cash points

 

Thx, and im sry, i bad speak english.



oh sry I forgot an important point, the code or number can used only once

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  07/22/13
  • Last Seen:  

how to player get a code? you will bring a code to player by your self?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   0
  • Joined:  07/05/12
  • Last Seen:  

not all players some players will get the code by me



now i want this script please , script, can GM write code or nubmer, and GM give any player this code, and the player write the code and get Cash point or awards

 

thx

Edited by medo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   241
  • Joined:  09/05/12
  • Last Seen:  

Same as coupon npc made by @tr0n. You can check his work here http://rathena.org/board/topic/63332-coupon-npc-112/

 

I need to script npc, can get players "cash points".

 

Download the script he make and change : 

getitem .@available_item[@i],.@available_amount[@i];

to : 

set #CASHPOINTS, #CASHPOINTS + <desired amount>;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   0
  • Joined:  07/05/12
  • Last Seen:  

Same as coupon npc made by @tr0n. You can check his work here http://rathena.org/board/topic/63332-coupon-npc-112/

 

 

I need to script npc, can get players "cash points".

 

Download the script he make and change : 

getitem .@available_item[@i],.@available_amount[@i];

to : 

set #CASHPOINTS, #CASHPOINTS + <desired amount>;

 

thx, but i change :

 

getitem .@available_item[@i],.@available_amount[@i];
 
to
set #CASHPOINTS, #CASHPOINTS + <desired amount>;
 

 

 

and Appeared to me the problem, Can you set up the script properly for me PLEASE?

 

and thx

Edited by medo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   0
  • Joined:  07/05/12
  • Last Seen:  

hi all,

 

i need script npc rewards, the GM can talk with npc and write the (item_id) and amount, Then the item is available for all players online only, just Players talk with NPC for get the item.

 

 

i'm sry for a bad english, please help me

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   241
  • Joined:  09/05/12
  • Last Seen:  

How did the problem appear? :D

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