Jump to content
  • 0

An NPC were i can make a Code for the players to claim TCG Card


Leinadz

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   22
  • Joined:  01/10/13
  • Last Seen:  

Hello, can i request a script for NPC that will ask a code to claim TCG Card(7227). And put also in that NPC a menu named "Make Code"(Admin can only access this menu) where i can make code for the players to claim TCG Card(7227)by putting the code in that NPC.Put also an AMOUNT where i can put my desired amount for that code to be used and the QUANTITY where i can put if how many players can used that code.

Ex

Make code = 453874477 ( For Example)

Amount = 50 TCG Card

Quantity = 1 <<< means the code can be used ONCE. If i change this to 2, then the code can be used twice.

Thank you :))

Edited by leinadz
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

http://rathena.org/board/topic/76176-coupons-something-new/#entry170878

wait a moment, think I need to modify a little bit

all right I misunderstood your question, or rather I'm confuse

is this an utility script or event script ?

where i can put if how many players can used that code.

utility script ->

set another option to let the player can claim this TCG

and a list of players which can claim ( multiple times ? )

event script ->

the quantity is global, and after player input the password(make code) correctly, the event ends

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   22
  • Joined:  01/10/13
  • Last Seen:  

Sorry but im not sure if its Utility or Event Script but i will explain clearly for you to understand what i requested.

Hmm i think i need SQL to make their a CODE.If so, Please make me an SQL file for this :D

So here is it, When the admin/player click that NPC , there is a Menu named "CLAIM TCG CARD". So when the player selected that menu, the npc will asks a CODE to put for the player to claim TCG Card(7227).

Example : Code : abcdefg33 Amount : 50 TCG Card Value : 1 << means the code can only be used once.

So thats ,it :) , i think i need SQL for this to make CODE , AMOUNT , and VALUE for the code.

Thanks AnnieRuru :D :D I hope you can make me this script :D

Edited by leinadz
Link to comment
Share on other sites


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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   22
  • Joined:  01/10/13
  • Last Seen:  

Thank Emistry :D ( SOLVED )

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