Like it~*
New member
- Messages
- 175
- Points
- 0
What do I need to change so that the command does not convert the item's status, bonus, etc, only its visual part?
src/map/status.c | 3 +++ 1 file changed, 3 insertions(+)diff --git a/src/map/status.c b/src/map/status.cindex 699e734..7223a04 100644--- a/src/map/status.c+++ b/src/map/status.c@@ -2317,6 +2317,9 @@ int status_calc_pc_(struct map_session_data* sd, enum e_status_calc_opt opt) { continue; if(!sd->inventory_data[index]) continue;+ if ( i >= EQI_COSTUME_TOP || i <= EQI_SHADOW_ACC_L )+ if ( MakeDWord(sd->status.inventory[index].card[2],sd->status.inventory[index].card[3]) == 999998 )+ continue; for(k = 0; k < map->list[sd->bl.m].zone->disabled_items_count; k++) { if( map->list[sd->bl.m].zone->disabled_items[k] == sd->inventory_data[index]->nameid ) {
@edit2
I apologize to everyone, because I only realized that the plugin already has this functionality. The problem is in the main post of the official author, as he updated the plugin but not the description of the main topic post.
![]()
File Name: Costume Item PluginsFile Submitter: Mhalicot
File Submitted: 10 Feb 2014
File Category: Plugins
HPM @costumeitem complete package.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only afk.c
Instruction.some Linux Systwem got many bugs with files what are all ready compiled under VS2010 .
(Windows Compiled wont work on *nix)
1. Download and extract files using 7z or any application that can extract it.
2. extract it in your server directory ex: C:/RO Server/Hercules/
2.1. edit conf/plugins.conf and add costumeitem
3. Your done. you can now try your plugins
if you are using VS2010/VS2009/vs2013 or whatsoever and you are failing to compile because of platform issue.
this is what you need to do.
In Recompiling:
If you are using other MSVS/C
Quote
Note: Recompile if you modify the script.>>>>>>right click costumeitem>Configuration Properties>General>
search for Platform Toolset, change to VS2009(v90) / VS2010(v100) / VS2012(v110) / VS2013(v120)
then try to recompile again..
If you have any questions feel free to drop a comment.the command is @costumeitem
If you want to edit look for src/plugins/costumeitem.c
you can also add alias in atcommand.conf
NOTE: You done have to edit your src to add this custom features(Less conflict when you want to update your server). Thanks to Mr. Ind for making this Plugins possible, This Plugins will convert your items to costume(item stats/combos/bonuses will also copied)
for more info on how to to use HPM visit Here
(Tested on Hercules rev. 146**)
Script Release: Costume System
Click here to download this file
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.
Please, ask some moderators to delete or close the topic! Thank you!
Solved!
Last edited by a moderator: