Takuyakii Posted October 15, 2022 Group: Members Topic Count: 41 Topics Per Day: 0.02 Content Count: 215 Reputation: 11 Joined: 08/30/19 Last Seen: Wednesday at 11:55 AM 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, 2024 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 10 Reputation: 7 Joined: 03/14/24 Last Seen: Tuesday at 02:59 AM Share Posted March 30, 2024 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, 2024 Group: Members Topic Count: 17 Topics Per Day: 0.03 Content Count: 80 Reputation: 1 Joined: 06/22/23 Last Seen: July 16, 2024 Share Posted March 31, 2024 The item effect of costume items are not working Quote Link to comment Share on other sites More sharing options...
HELLBOY Posted June 5, 2024 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 04/07/14 Last Seen: October 7, 2024 Share Posted June 5, 2024 On 3/30/2024 at 7:28 AM, Remix_ said: 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) Hello! does this work on latest RA(2024)? i have tried the ones before but im afraid to touch it now since last time i did, it took me 1 day to revert everything. @Remix_ 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.