Below is my scripts but not sure if it broken or not.. Last time, It does not lock player mac address (unique_ID).. So player can keep spamming claim the reward..
I tested it working for my PC and It does block mine.. But other players can spam it without any limitations at all.. Please help me recheck this script.. And please tell me which part I messed up..
Thank in Advance..
prontera,187,149,5 script NewYearGiveaway965,{// MAC Address
query_sql("SELECT `last_unique_id` FROM `login` WHERE `account_id` = "+getcharid(3)+" ",.macID$);// IP Address
query_sql("SELECT `last_ip` FROM `login` WHERE `account_id` = "+getcharid(3)+" ",.IP$);//if (.IP$ == $Mac_Claimed_WBR$){//mes "[Sarah]";//mes "You already claimed!!";//close;//}if(.macID$ == $Mac_Claimed$){
mes "[ King William ]";
mes "You already claimed!";
close;}
mes "[ King William ]";
mes "Happy New Year 2018!!";
query_sql("SELECT `last_unique_id` FROM `login` WHERE `account_id` = "+getcharid(3)+" ",$Mac_Claimed$);
close2;
getitem 12326,50;// Large Firecracker
getitem 41290,5;// Mysterious Fragmentset#DPOINTS,#DPOINTS +10; dispbottom "Congratulations! You've earned 10 Donation Points!";}
Question
rakuzas
Hello,
Below is my scripts but not sure if it broken or not.. Last time, It does not lock player mac address (unique_ID).. So player can keep spamming claim the reward..
I tested it working for my PC and It does block mine.. But other players can spam it without any limitations at all.. Please help me recheck this script.. And please tell me which part I messed up..
Thank in Advance..
Link to comment
Share on other sites
2 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.