cassie24 Posted June 22, 2014 Posted June 22, 2014 Hello, how do I enable freebies directly in storage per account? No need to talk to any NPC? Please help. Quote
Skorm Posted June 22, 2014 Posted June 22, 2014 I'm pretty sure they just need to re-log to view added items in storage... <starter_map>,0,0,5 script notalk_freebie -1,500,500,{ OnTouch: if( !#freebies ) { // <itemid> <amount> <refine> <attribute> <card0> <card1> <card2> <card3> callsub( Sub_Insert, 1599 , 1 , 10 , 6 , 1599 , 1599 , 1599 , 1599); //+10 Ice Angra with 4 Angra's in card slot. callsub( Sub_Insert, 2199 , 1 , 10 , 6 , 2199 , 2199 , 2199 , 2199); //+10 Ice Ahura with 4 Ahura in card slot. //etc... #freebies++; dispbottom "Freebies have been added to your storage. Re-log to acquire them!"; } end; Sub_Insert: query_sql( "INSERT INTO `storage` (`account_id`,`nameid`,`amount`,`identify`,`refine`,`attribute`,`card0`,`card1`,`card2`,`card3`) "+ "VALUES ("+getcharid(3)+","+getarg(0)+","+getarg(1,1)+",1,"+getarg(2,0)+","+getarg(3,0)+","+getarg(4,0)+","+getarg(5,0)+","+getarg(6,0)+","+getarg(7,0)+");" ); return; } This is why I wish we had more control of the mail system from scripts. xD Quote
cassie24 Posted June 22, 2014 Author Posted June 22, 2014 Thanks Skorm! I will try this in a while. I hope you can also check my other request in Script Requests though. Badly need help Quote
c2greentea Posted June 22, 2014 Posted June 22, 2014 Now it's working. Just change starter_map to whatever map it is. However Skorm, how to make the script tell another new character from the same account that the freebies have already been given? Quote
Eros Posted June 25, 2014 Posted June 25, 2014 It has a bug everytime we relog a char it keeps on giving freebies. Quote
cassie24 Posted June 27, 2014 Author Posted June 27, 2014 (edited) Skorm, some new players reported that they dont get anything in the storage upon first logging in. How is this possible? I think I know the reason now. When they have dual client, the freebies can no longer be given from the time they have logged in a new character. Edited June 27, 2014 by cassie24 Quote
c2greentea Posted July 1, 2014 Posted July 1, 2014 Mine too. In global_reg_value it will confirm the account has already received the variable #freebie, but ingame they didnt receive it. Can someone pls help? Willing to tip Quote
EL Dragon Posted July 1, 2014 Posted July 1, 2014 changeable the #freebies to #freebies1 then it goes, and #freebies++; to #freebies1++; Quote
Question
cassie24
Hello, how do I enable freebies directly in storage per account? No need to talk to any NPC? Please help.
9 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.