What script does??.. Admin will add a promo codes inside mySQL DB or by a PHP script (example promo code: pr100812a001). and when the player talk to the NPC and put the promo codes they will have a chance to get a random item.. if player already used the promo codes, the npc will say that the code is already used and the status of promo code inside the DB will update to "0" or "used"..
If the player gets a rare item, the NPC will announce "Congratulations to "+PlayerName+" For getting "+RareItemName+" at Promo Girl NPC!"
-Rewards are not in chance but only in random..
-Admin can set the validity of promo codes if validity is met, promo codes status will be used...
-Validity is set to minutes..
NPC Name: Promo Girl
DB Name: promo_girl
My SQL Tables:
-promocode
-status
-validity
(Optional)
PHP Script:
-Login to prevent abuse and hacking..(Password is set by me)
Question
pointro
What script does??.. Admin will add a promo codes inside mySQL DB or by a PHP script (example promo code: pr100812a001). and when the player talk to the NPC and put the promo codes they will have a chance to get a random item.. if player already used the promo codes, the npc will say that the code is already used and the status of promo code inside the DB will update to "0" or "used"..
If the player gets a rare item, the NPC will announce "Congratulations to "+PlayerName+" For getting "+RareItemName+" at Promo Girl NPC!"
-Rewards are not in chance but only in random..
-Admin can set the validity of promo codes if validity is met, promo codes status will be used...
-Validity is set to minutes..
NPC Name: Promo Girl
DB Name: promo_girl
My SQL Tables:
-promocode
-status
-validity
(Optional)
PHP Script:
-Login to prevent abuse and hacking..(Password is set by me)
-Show all promo codes status.
-Add Promo Codes
-Delete Promo Codes
-Edit Promo Codes
I am also trying to modify this script simillar to what i want(http://rathena.org/board/topic/63282-promotional-code-npc/)
Well, my idea is like releasing Promo Codes every week so it will be easy for me to add codes. which players need to race for the promo codes!
if you have other ideas or suggestions to help me, i will highly appreciate it.
hope you can help me with this script Thank you!
Edit:
is it possible to separate rare items to normal items array but still they can be claimed in the NPC??
Is it possible??
I think this NPC is the best to edit this, but i don't know where to start XD
http://rathena.org/board/topic/63332-coupon-npc-112/
Link to comment
Share on other sites
5 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.