Jump to content

Donation NPC 1.0


Jhosef

Recommended Posts


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  299
  • Reputation:   5
  • Joined:  04/05/12
  • Last Seen:  

Donation NPC 1.0

inspired in this http://rathena.org/b...coupon-npc-111/ and http://rathena.org/b...ional-code-npc/

so i make my own script.

it is Also Credited to tr0n.

How to Use it

  • To GM or Admin - Talk the NPC and You can Add the Validation Code and the Code will be generate and it will save in the SQL.
  • To Player - Talk to NPC and Get your Donation Code by inputing the Verification Code you Will get the Donation code and Input the Donation Code to get your Item or Cash Point

Files

DonationNPC_1.0.txt

Change Logs

Features

  • Can Select Cash Point or Item
  • Friendly to Use
  • Save in the SQL
  • Generated Code

Future Plan

  • Suggestion Report for the Server
  • Ingame Bug report
  • Can View all the Claimed Code
  • Can View all the UnClaimed Code
  • More Secured for Anti Hack

Note:

  • if have bug post here
  • suggestion post here

Edited by Jhosef
  • Upvote 2
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

question how to put this on server?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   152
  • Joined:  02/21/12
  • Last Seen:  

This never gets triggered:

// ==== Don't Edit This ======================= //
set .@stats$,"0";

because of this:

// ==== NPC Talk ============================== //
if( getgmlevel() >= .gms_level) goto AdminPanel;
if( getgmlevel() < .gms_level) goto PlayerPanel;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

then what i must do?

Edited by RN1986
Link to comment
Share on other sites


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

@RN1986

you mean you dunno how to add a npc script ?

check this

http://rathena.org/wiki/Adding_a_Script

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

Is this script working? Thank you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  299
  • Reputation:   5
  • Joined:  04/05/12
  • Last Seen:  

yes

Link to comment
Share on other sites

  • 7 months later...

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  84
  • Reputation:   2
  • Joined:  05/11/12
  • Last Seen:  

thanks bro! 100% working.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

Thx for the script...........

Edited by caspa
Link to comment
Share on other sites


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

it's added because he afraid users didnt follow the setup guide..or missing the installation step for import a new sql table..

or maybe a precautions if the sql table is missing...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

What does this error means?

post-3034-0-06495900-1360322910_thumb.jpg

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/09/12
  • Last Seen:  

i already change to Donation item to Cash point..

0 to 1.

why i reload server i dont get cash point but i get donation proof. :(

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   1
  • Joined:  03/26/13
  • Last Seen:  

error ? 

n3uo7n.jpg

Link to comment
Share on other sites

  • 3 years later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  01/15/17
  • Last Seen:  

This script shows in my sql who used/claimed the PODs? because I tried it but theres no name popin out in my sql just the codes and if its claimed it change to 1, but I would like to know also who used the code =))

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  42
  • Reputation:   2
  • Joined:  03/24/17
  • Last Seen:  

How can I clear the recorded database?

Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  248
  • Reputation:   34
  • Joined:  11/19/11
  • Last Seen:  

On 3/31/2017 at 12:09 AM, Jniko said:

How can I clear the recorded database?

just  Truncate the table or empty it. `donation` and `donate`  table.

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   1
  • Joined:  10/18/12
  • Last Seen:  

not working in cash point, anyone have a cashpoint like this one?

Link to comment
Share on other sites

  • 7 months later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  12/01/20
  • Last Seen:  

hi how to use this? thanks

 

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
Reply to this topic...

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