jharick Posted January 15, 2013 Posted January 15, 2013 (edited) When drop item i cant get it.. and @bounditem not working in the latest svn? @bounditem work in latest svn using the v1.3.0 diff. Edited January 25, 2013 by jharick
Jhedzkie Posted January 23, 2013 Posted January 23, 2013 (edited) Requesting for updated version of .diff/.patch file to prevent conflicts with latest revision of rA. Thanks for the update. Edited January 26, 2013 by Jhedzkie
serakh00 Posted February 27, 2013 Posted February 27, 2013 it doesnt work on rathena 17163 i got errors on atcommand.c
Xantara Posted March 7, 2013 Author Posted March 7, 2013 Thanks to @Snow for PMing me that this needed updating again, I have uploaded v1.4.0 to work with rAthena SVN revision 17178. 3
Elysium Posted April 2, 2013 Posted April 2, 2013 Hello, there! i have concern regarding this what if the player want to sell his/her items etc, is there any possible to unbind those items? if yes, my suggestion would use scroll item e.g Unbinding of Scroll. only on a selected items would be unbind Thank you, and for this wonder useful system prevent hack equipments. i would be please to hear ur feedback also. Thank you.
Jhedzkie Posted April 9, 2013 Posted April 9, 2013 Hello, there! i have concern regarding this what if the player want to sell his/her items etc, is there any possible to unbind those items? if yes, my suggestion would use scroll item e.g Unbinding of Scroll. only on a selected items would be unbind Thank you, and for this wonder useful system prevent hack equipments. i would be please to hear ur feedback also. Thank you. create a scroll, that calls a script function with a delitem, and getitem2. details: - function should list all account-bound items inside the inventory. (using @inventorylist_bound) - the user of the scroll should now be able to select which equip to remove binding. - delete the bound item (delitem) and create an identical item (getitem2) w/ the same params as the deleted item. (for refs, cards, etc.) that should probably do the trick.
Luciar Posted April 11, 2013 Posted April 11, 2013 The mod needs to be updated again. There's a conflict in pc_groups.h PC_PERM_TRADE_BOUNDED = 0x200000, conflicts with PC_PERM_CHANNEL_ADMIN = 0x200000,
MoGuri Posted April 12, 2013 Posted April 12, 2013 (edited) Change it to (And put it the last) PC_PERM_TRADE_BOUNDED = 0x400000, Edited April 12, 2013 by MoGuri
Jhedzkie Posted April 17, 2013 Posted April 17, 2013 (edited) for the benefit of all our comrades that would like to have an unbinding script to go together with this wonderful mod, i would like to share to you my script for unbinding bound items. function script unbind { set .id, 22007; // or any item id that would correspond to your item/scroll that you wish to use. setarray .itemid[0],0; setarray .name$[0],""; setarray .identify[0],0; setarray .attrib[0],0; setarray .refine[0],0; setarray .card1[0],0; setarray .card2[0],0; setarray .card3[0],0; setarray .card4[0],0; getinventorylist; set @count,0; for(set @i, 0; @i <@inventorylist_count; set @i, @i + 1) { if(@inventorylist_bound[@i] && @inventorylist_equip[@i]==0) { set .itemid[@count], @inventorylist_id[@i]; set .name$[@count], getitemname(@inventorylist_id[@i]); set .identify[@count], @inventorylist_identify[@i]; set .attrib[@count], @inventorylist_attribute[@i]; set .refine[@count], @inventorylist_refine[@i]; set .card1[@count], @inventorylist_card1[@i]; set .card2[@count], @inventorylist_card2[@i]; set .card3[@count], @inventorylist_card3[@i]; set .card4[@count], @inventorylist_card4[@i]; set @count,@count+1; } } if(getarraysize(.itemid)==0) { message strcharinfo(0), "No unbindable item found in the inventory."; end; } else { set @id, select(implode(.name$,":")); delitem2 .itemid[@id-1],1,.identify[@id-1],.refine[@id-1],.attrib[@id-1],.card1[@id-1],.card2[@id-1],.card3[@id-1],.card4[@id-1]; getitem2 .itemid[@id-1],1,.identify[@id-1],.refine[@id-1],.attrib[@id-1],.card1[@id-1],.card2[@id-1],.card3[@id-1],.card4[@id-1]; delitem .id,1; message strcharinfo(0), "Item has been unbinded."; close; } } and for the item, 25001,Scroll_of_Unbinding,Scroll of Unbinding,11,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc("unbind"); },{},{} Notice that the item type should be 11, and not 2 because the script is the one that handles the actual consumption of the item.known issues:- if multiple account-bind items are identical, like, multiple pcs of +10 Knife[3] (one or more binded and one not binded), the script will fail because it would be confused which item would be deleted because it has the same typical parameters. other than this issue, everything works fine.. we may be needing a 'getitemuniqueid' script command to fix this issue. If you find some parts of the script wrong, please let me know, and please do share your thoughts about it. am not really a pro scripter so pardon me if I have some bugs on it.Thanks. Edited April 17, 2013 by Jhedzkie
Xantara Posted April 20, 2013 Author Posted April 20, 2013 (edited) I've updated the diff to work on the latest SVN revision (r17276). Download will be up as soon as a mod approves it. That was fast - the download is now up! Edited April 20, 2013 by Xantara 1
Luciar Posted April 21, 2013 Posted April 21, 2013 (edited) This mod needs to be updated again to include the first of the two arguments msg_txt now requires: msg_txt(sd,#) Also, getting error: can_trade_bounded doesn't exist Edited April 21, 2013 by luciar
Xantara Posted April 25, 2013 Author Posted April 25, 2013 This mod needs to be updated again to include the first of the two arguments msg_txt now requires: msg_txt(sd,#) Also, getting error: can_trade_bounded doesn't exist Sorry about that! I cleaned and updated my computer a few days before the update so I didn't have Visual Studio installed yet. I have now updated the download so that it can patch and compile successfully. 1
Mr BrycE Posted May 10, 2013 Posted May 10, 2013 (edited) i got an sql db error unknown column 'bound' using the latest svn* Edited May 10, 2013 by Mr BrycE
Mr BrycE Posted May 10, 2013 Posted May 10, 2013 (edited) i fixed it now my problem is...the color doesn't show * i looked up in clif.c some of the patch is not there Edited May 10, 2013 by Mr BrycE
jharick Posted May 10, 2013 Posted May 10, 2013 try this patch Its work for me. xantara_item_bound.patch 2
ivanyan Posted September 29, 2013 Posted September 29, 2013 Hi all, I have a question about bounding items. I have script for changing colour of items, the part of the script is if(countitem2(@inventorylist_id[getarg(0)],@inventorylist_identify[getarg(0)],@inventorylist_refine[getarg(0)],@inventorylist_attribute[getarg(0)],@inventorylist_card1[getarg(0)],@inventorylist_card2[getarg(0)],@inventorylist_card3[getarg(0)],@inventorylist_card4[getarg(0)]) > 0 ) { pcblockmove getcharid(3),1; Zeny -= 1000000; if( getarg(2) > 0 ) delitem getarg(2),3; delitem2 @inventorylist_id[getarg(0)],1,@inventorylist_identify[getarg(0)],@inventorylist_refine[getarg(0)],@inventorylist_attribute[getarg(0)],@inventorylist_card1[getarg(0)],@inventorylist_card2[getarg(0)],@inventorylist_card3[getarg(0)],@inventorylist_card4[getarg(0)]; getitem2 getarg(3),1,@inventorylist_identify[getarg(0)],@inventorylist_refine[getarg(0)],@inventorylist_attribute[getarg(0)],@inventorylist_card1[getarg(0)],@inventorylist_card2[getarg(0)],@inventorylist_card3[getarg(0)],@inventorylist_card4[getarg(0)]; pcblockmove getcharid(3),0; } else goto FLExit2; what will happen with bounded item after using this script? it will be unbounded?
ivanyan Posted October 4, 2013 Posted October 4, 2013 (edited) The solution is to change countitem2, delitem2 to check for bound = 0 And add commands countbound2 delitembound2 Edited October 4, 2013 by ivanyan
Recommended Posts