cassie24 Posted June 22, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 04/25/14 Last Seen: October 31, 2014 Share 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 Link to comment Share on other sites More sharing options...
Skorm Posted June 22, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: 18 hours ago Share 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 Link to comment Share on other sites More sharing options...
cassie24 Posted June 22, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 04/25/14 Last Seen: October 31, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
c2greentea Posted June 22, 2014 Group: Members Topic Count: 68 Topics Per Day: 0.02 Content Count: 173 Reputation: 0 Joined: 06/07/14 Last Seen: December 17, 2014 Share Posted June 22, 2014 This one's not working Quote Link to comment Share on other sites More sharing options...
Eros Posted June 22, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Share Posted June 22, 2014 It's not working Quote Link to comment Share on other sites More sharing options...
c2greentea Posted June 22, 2014 Group: Members Topic Count: 68 Topics Per Day: 0.02 Content Count: 173 Reputation: 0 Joined: 06/07/14 Last Seen: December 17, 2014 Share 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 Link to comment Share on other sites More sharing options...
Eros Posted June 25, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Share Posted June 25, 2014 It has a bug everytime we relog a char it keeps on giving freebies. Quote Link to comment Share on other sites More sharing options...
cassie24 Posted June 27, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 04/25/14 Last Seen: October 31, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
c2greentea Posted July 1, 2014 Group: Members Topic Count: 68 Topics Per Day: 0.02 Content Count: 173 Reputation: 0 Joined: 06/07/14 Last Seen: December 17, 2014 Share 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 Link to comment Share on other sites More sharing options...
EL Dragon Posted July 1, 2014 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted July 1, 2014 changeable the #freebies to #freebies1 then it goes, and #freebies++; to #freebies1++; Quote Link to comment Share on other sites More sharing options...
Question
cassie24
Hello, how do I enable freebies directly in storage per account? No need to talk to any NPC? Please help.
Link to comment
Share on other sites
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.