Jump to content
  • 0
Sign in to follow this  
Like it~*

Change Plugin Costume Item

Question

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

 

 

topic plugin: http://herc.ws/board/topic/4383-costume-item-plugins/

 

 

@edit

I found a topic with the same request, however the resolution is with a patch and I like it as a plugin, could anyone convert it or edit the original plugin?

http://herc.ws/board/topic/11415-costumeitem-adds-stats/

 

Patch by Annieruru

 

 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.

 

 

 

 

thumb-f03b8f9102faf60e646f2e87ed116e71-s

File Name: Costume Item Plugins

File SubmitterMhalicot

File Submitted: 10 Feb 2014

File CategoryPlugins

 

HPM @costumeitem complete package.

 

Compatible with Windows System Only

 

if you are using Linux, ignore other files and use only afk.c

some Linux Systwem got many bugs with files what are all ready compiled under VS2010 .

(Windows Compiled wont work on *nix)

Instruction.

 

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

>>>>>

>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..

Note: Recompile if you modify the script.

the command is @costumeitem

If you want to edit look for src/plugins/costumeitem.c

you can also add alias in atcommand.conf

If you have any questions feel free to drop a comment.

 

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!  :)

Edited by Like it~*

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.