Costume Item Plugins

Great plugin. One thing I've found is a sort of duplication bug, well not exactly.

If you put a normal version and costumed version of an item in a cart together then relog, their value will increase to two.

This however, is only visual. The game will only read 1 of each as there should be, but the client will show 2 of each.

 
What do I need to change so that the command does not convert the item's status, bonus, etc, only its visual part?

I'm Sorry, solved.

Update

  • 2.0 Converted Costume Items will now removed normal stats and Bonuses. [Mhalicot]
  •  
  • 3.0 Item Combos will now Ignore Converted Costume Items. [Mhalicot]
  •  
  • 3.1 Fixed HP/SP becomes 1/1 [Mhalicot]
  •  
  • 3.2 Fixed Sinx Can't Equipt dagger/sword on both arms(L/R), Special Thanks to Haru for Help [Mhalicot]
  •  
  • 3.3 Fixed Error when compiling.
 
Last edited by a moderator:
Anyone can share an updated files of this which is compatible for 2017 hercules.

 
when i try to recompile with the latest hercules rev. i get 2 errors in line 347:

"look" is no element from "item_data"
and
"struct "item_data"" has no field ""look""

 
This plugin is working fine. Is there any way to set the WEIGHT of costume items to 0? Something like

sd->weight -= sd->inventory_data[index]->weight;


Thx for reply.

 
getting this error too,

"look" is no element from "item_data"
costumeitem.c: 347:16: error: "struct "item_data"" has no member named ""look""


using dastgir costume plugin

 
Hi @Dastgir  is there way to reverse the action.  Like return back the costume created using script?

costume .@part,0; // return to normal
costume.@part,1; // make costume

 
Hi @Dastgir  is there way to reverse the action.  Like return back the costume created using script?

costume .@part,0; // return to normal
costume.@part,1; // make costume
Possible, just need to strip card values for item

 
@Dastgir Thank you.  Im using the latest Herc now, plugin did install well without error in compile.  But when I use the script

costume .@Part;  it did convert and equip the costume good. 

[SQL]: DB error - Out of range value for column 'card2' at row 1


When I logout, the item is no longer there and got error msg in char server.

 
Possible, just need to strip card values for item
I wonder if you could add "uncostume" in script command , because when returning to original it bad idea to just delete the costume item and replace with regular item in script.  It will be hard to trace equipment because the unique_id is lost. can you help @Dastgir

 
Back
Top