Clare 0 Posted July 22, 2015 (edited) Hi, Someone can help me to make a change in rental items? I want they cannot have equipped cards.Remove the slot cards from this items. I searched an answer for this on forum, but didn't find anything that could help me, I believe it is necessary to make a change in the source.Thanks to anyone who can help me to make this change. Edited July 22, 2015 by Clare Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 22, 2015 (edited) You can change the number of card slots in the item_db.conf. Just delete Slots: x in the items you want to have them removed. For example change: { Id: 1507 AegisName: "Smasher" Name: "Smasher" Type: 4 Buy: 9000 Weight: 1000 Atk: 54 Range: 1 Slots: 2 Job: 0x0004C5B3 Loc: 2 WeaponLv: 2 EquipLv: 14 View: 8}, to: { Id: 1507 AegisName: "Smasher" Name: "Smasher" Type: 4 Buy: 9000 Weight: 1000 Atk: 54 Range: 1 Job: 0x0004C5B3 Loc: 2 WeaponLv: 2 EquipLv: 14 View: 8}, Edited July 22, 2015 by Winterfox Quote Share this post Link to post Share on other sites
0 Clare 0 Posted July 22, 2015 (edited) Hi @@Winterfox I think you don't understand what I want ... I just want sell some items in the NPC, like rental items, for a time using the rental items, but this items can't have slot for cards, without changing the original items, I want to give the option to players 1- buy the permanent item with slot 2- rent the item for a specified time without the slot for cards and to do this need to create rental items, but the items not can have their slots for cards. In other words, I want to remove the card slots of rental items in the same way that there not are card slots for costume items created by the "costume system" changing the script command rentitem or something in the source. Edited July 22, 2015 by Clare Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted July 23, 2015 (edited) @@Clareinsert before this line click if (sd->status.inventory[idx_equip].expire_time > 0) return false; srry fix typo Edited January 20, 2016 by Angelmelody 1 Clare reacted to this Quote Share this post Link to post Share on other sites
0 Clare 0 Posted July 23, 2015 (edited) EditthanksI will try again and come back to tell if it worked ^^ Edited July 23, 2015 by Clare Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted July 23, 2015 Hi @@Angelmelody thank you for answering unfortunately it not work, the cards still be equipped in rental items. its my fault, should change '<=' into '>' 1 Clare reacted to this Quote Share this post Link to post Share on other sites
0 Clare 0 Posted July 23, 2015 @Angelmelody Thank you very much, now works perfectly! <3 Quote Share this post Link to post Share on other sites
Remove the slot cards from this items.
Thanks to anyone who can help me to make this change.
Share this post
Link to post
Share on other sites