mhielo12 Posted November 10, 2021 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 112 Reputation: 4 Joined: 08/28/14 Last Seen: March 27 Share Posted November 10, 2021 On 11/9/2021 at 10:26 AM, sader1992 said: I can see a problem in the code without testing it not sure if there is more , will leave it for you to test i have tested the code and yes there is a glitch with other regular costume items. it seems it also remove all the effect for regular costume Quote Link to comment Share on other sites More sharing options...
Takuyakii Posted October 15, 2022 Group: Members Topic Count: 38 Topics Per Day: 0.02 Content Count: 206 Reputation: 10 Joined: 08/30/19 Last Seen: Thursday at 06:57 PM Share Posted October 15, 2022 Does anyone can convert this into latest git? Quote Link to comment Share on other sites More sharing options...
Remix_ Posted March 30 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 10 Reputation: 6 Joined: 03/14/24 Last Seen: Sunday at 02:23 AM Share Posted March 30 On 10/15/2022 at 5:28 PM, Takuyakii said: Does anyone can convert this into latest git? Code Update: Old: // Start costume conversion logic (1) if(!strcmpi(command+1, "costumeitem")) { if(!battle_config.reserved_costume_id) { clif_displaymessage(fd, "Costume conversion is disabled. Set a value for reserved_costume_id in your battle.conf file."); return -1; } if(!(item_data[j]->equip&EQP_HEAD_LOW) && !(item_data[j]->equip&EQP_HEAD_MID) && !(item_data[j]->equip&EQP_HEAD_TOP) && !(item_data[j]->equip&EQP_COSTUME_HEAD_LOW) && !(item_data[j]->equip&EQP_COSTUME_HEAD_MID) && !(item_data[j]->equip&EQP_COSTUME_HEAD_TOP)) { clif_displaymessage(fd, "You cannot costume this item. Costumes only work for headgears."); return -1; } costume = 1; } // End costume conversion logic (1) New(Tested on Latest rA): // Start costume conversion logic (1) if(!strcmpi(command+1, "costumeitem")) { if(!battle_config.reserved_costume_id) { clif_displaymessage(fd, "Costume conversion is disabled. Set a value for reserved_costume_id in your battle.conf file."); return -1; } if(!(item->equip&EQP_HEAD_LOW) && !(item->equip&EQP_HEAD_MID) && !(item->equip&EQP_HEAD_TOP) && !(item->equip&EQP_COSTUME_HEAD_LOW) && !(item->equip&EQP_COSTUME_HEAD_MID) && !(item->equip&EQP_COSTUME_HEAD_TOP)) { clif_displaymessage(fd, "You cannot costume this item. Costumes only work for headgears."); return -1; } costume = 1; } // End costume conversion logic (1) Quote Link to comment Share on other sites More sharing options...
Dev j Posted March 31 Group: Members Topic Count: 17 Topics Per Day: 0.06 Content Count: 79 Reputation: 1 Joined: 06/22/23 Last Seen: April 13 Share Posted March 31 The item effect of costume items are not working Quote Link to comment Share on other sites More sharing options...
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.