BugsLIFE Posted October 30, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 37 Reputation: 4 Joined: 06/07/13 Last Seen: April 27, 2022 Share Posted October 30, 2013 http://rathena.org/board/topic/83324-r17351-accountguildparty-item-bound-system/ can anyone try to make a working freebie npc using getitembound2? example knife? bound by account? Quote Link to comment Share on other sites More sharing options...
Capuche Posted October 30, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted October 30, 2013 There are a lot of freebie script in the forum, choose one and replace the getitem by getitembound2. *getitembound2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>{,<account ID>};*getitembound2 "<item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>{,<account ID>};This command behaves identically to 'getitem2', but the items created will bebound to the target character as specified by the bound type. All items createdin this manner cannot be dropped, sold, vended, auctioned, or mailed, and insome cases cannot be traded or stored.For a list of bound types see 'getitembound'. Source : doc/script_commands.txt Quote Link to comment Share on other sites More sharing options...
BugsLIFE Posted October 31, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 37 Reputation: 4 Joined: 06/07/13 Last Seen: April 27, 2022 Author Share Posted October 31, 2013 can u make an example? using getitembound2.. thanks in advance Quote Link to comment Share on other sites More sharing options...
Patskie Posted October 31, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 13 minutes ago Share Posted October 31, 2013 Try : prontera,150,150,0 script Freebies 100,{ setarray .Items[0], 4001,5,4002,5; // <item id>,<amount> set .size, getarraysize(.Items); if ( #Freebies ) end; mes "Here is your freebies!"; next; for ( set .@i, 0; .@i < .size; set .@i, .@i + 2 ) getitembound2 .Items[.@i],.Items[.@i+1],1,0,0,0,0,0,0,1; set #Freebies, 1; mes "Done!"; close; } Quote Link to comment Share on other sites More sharing options...
BugsLIFE Posted November 3, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 37 Reputation: 4 Joined: 06/07/13 Last Seen: April 27, 2022 Author Share Posted November 3, 2013 (edited) can you add 50% weight cant get freebies? and also .. warned players with the same account who tries to take freebies again example. you already claimed your freebies additional: what if +7 Lord Kahoo 1pc? Edited November 3, 2013 by BugsLIFE Quote Link to comment Share on other sites More sharing options...
Patskie Posted November 3, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 13 minutes ago Share Posted November 3, 2013 Try : prontera,150,150,0 script Freebies 100,{ setarray .Items[0], 5013,5,7,4002,5,0; // <item id>,<amount>,<refine> set .size, getarraysize(.Items); if ( #Freebies ) end; mes "Here is your freebies!"; next; if ( (MaxWeight/2) <= Weight ) end; for ( set .@i, 0; .@i < .size; set .@i, .@i + 3 ) getitembound2 .Items[.@i],.Items[.@i+1],1,.Items[.@i+2],0,0,0,0,0,1; set #Freebies, 1; mes "Done!"; close; } and also .. warned players with the same account who tries to take freebies again If you want it that way. check their ip address Quote Link to comment Share on other sites More sharing options...
BugsLIFE Posted November 5, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 37 Reputation: 4 Joined: 06/07/13 Last Seen: April 27, 2022 Author Share Posted November 5, 2013 like this npc.. once player get freebies and tried once more to get with the same character/account it will say mes "You had already received before the gift."; sorry for asking too many... i am really trying to add these on my own but it doesnt work. prontera,177,104,4 script Freebies 790,{ OnInit: waitingroom " Freebies",0; if(#sorry == 1) goto L_1; mes "You will receive Some Present as a reward for joining the server"; mes "We're gladly thankful for your support in the future too."; next; if(checkweight(2504,1) == 0 ) goto L_OverWeight; getitem2 14533,10,1,0,0,0,0,0,0; // (Custom Items emotion e_thx; set #sorry,1; close; L_OverWeight: mes "Sorry, you are over weight"; emotion e_omg; close; L_1: mes "You had already received before the gift."; emotion e_bzz; close; } Quote Link to comment Share on other sites More sharing options...
AincradRO Posted November 24, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 09/03/13 Last Seen: November 25, 2013 Share Posted November 24, 2013 (edited) Anyone Can Fix this Script..Item must be Bounded but i cannot get it... invek,153,116,4 script Freebies NPC 423,{ OnInit: waitingroom "Freebies",0; if(#sorry == 1) goto L_1; mes "You will receive Some Present as a reward for joining the server"; mes "We're gladly thankful for your support in the future too."; next; if(checkweight(2504,1) == 0 ) goto L_OverWeight; // rentitem 20036,604800; //hokagehat // rentitem 20014,604800; //vampirewing // rentitem 20057,604800; //hallowmask // rentitem 2115,259200; //shield valk // rentitem 2630,259200; //briss // rentitem 4047,259200; //ghost-ring // rentitem 4198,259200; //maya-p // rentitem 4146,259200; //maya // rentitem 4131,259200; //moonlight c // rentitem 4147,259200; //baphomet getitembound2 14533,20,1,0,0,0,0,0,0; // (Custom Items getitembound2 12210,4,1,0,0,0,0,0,0; // (Custom Items getitembound2 12214,5,1,0,0,0,0,0,0; // (Custom Items getitembound2 20117,1,1,0,0,0,0,0,0; // (Custom Items getitembound2 20118,1,1,0,0,0,0,0,0; // (Custom Items getitembound2 20119,1,1,0,0,0,0,0,0; // (Custom Items getitembound2 20120,2,1,0,0,0,0,0,0; // (Custom Items getitembound2 20121,1,1,0,0,0,0,0,0; // (Custom Items getitembound2 20122,1,1,0,0,0,0,0,0; // (Custom Items getitembound2 20143,1,1,0,0,0,0,0,0; // (Custom Items getitembound2 20142,1,1,0,0,0,0,0,0; // (Custom Items getitembound2 20144,1,1,0,0,0,0,0,0; // (Custom Items getitembound2 4302,1,1,0,0,0,0,0,0; getitembound2 4142,1,1,0,0,0,0,0,0; emotion e_thx; set #sorry,1; close; L_OverWeight: mes "Sorry, you are over weight"; emotion e_omg; close; L_1: mes "You had already received before the gift."; emotion e_bzz; close; } Edited November 24, 2013 by Patskie Change to code Quote Link to comment Share on other sites More sharing options...
Question
BugsLIFE
http://rathena.org/board/topic/83324-r17351-accountguildparty-item-bound-system/
can anyone try to make a working freebie npc
using getitembound2?
example knife? bound by account?
Link to comment
Share on other sites
7 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.