Mhalicot 392 Posted October 11, 2013 File Name: Costume System File Submitter: Mhalicot File Submitted: 12 Oct 2013 File Category: Utility ~ Originally script by Rebel, Zephyrus [rAthena], ~ I don't own this script I'd revised it to make it compatible with Hercules. ~ [Original Topic] http://goo.gl/YU1Z7o ~ 100% compatible in (revision 137*) //===== Hercules Script ====================================== //= Headgear to Costume converter >> Costume to Headgear converter //===== By: ================================================== //= Rebel, Zephyrus [rAthena] //= Mhalicot [Hercules] //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= Hercules Revision 137* //===== Description: ========================================= //= Allows a user to convert the equipped headgear // (on Top, Mid or Low) into a costume item. // It will remove any card and refine of the Item. //= Allows a user to restore the equipped costume headgear // (on Top, Mid or Low) into its original form. // It will not return any card or refine of the item. //===== Additional Comments: ================================= //= 1.0 Initial script [All of this script are credit to // Rebel, Zephyrus of [rAthena] and revised by Mhalicot // to make it compatible in Hercules.] // Note: You must apply the patch in order to use this script //============================================================ Download contains: Costume System.diff and costume.txt Click here to download this file 9 oblinez, Apacman, dhaisuke and 6 others reacted to this Quote Share this post Link to post Share on other sites
karazu 33 Posted October 13, 2013 Thank you very much for Converting it to work in Hercules..Wow I have it now. thank you Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted October 13, 2013 Your welcome, I really appreciate your if you make vote/rate on it 1 karazu reacted to this Quote Share this post Link to post Share on other sites
Mumbles 193 Posted October 17, 2013 Would love to see this as a plugin for HPM! 1 pr3p reacted to this Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted October 18, 2013 It's sad to say, I'd try to make it a plugin but still no luck.. Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted October 21, 2013 It's sad to say, I'd try to make it a plugin but still no luck.. I wish you can do it. Good Luck bro Me support you. Quote Share this post Link to post Share on other sites
penwilders 0 Posted November 24, 2013 where will i put the .difff file? Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted November 24, 2013 for now you need to manually add it in your server because it is out of date.. I will update it soon.. Quote Share this post Link to post Share on other sites
darkxxcrow 0 Posted December 5, 2013 I manually patched the src with the data of your diff and it worked! Thanks for the conversion to hercules On other point, i don't know if this is intended or not, but whenever I equip a Costume item like a headgear, the functional headgear will unequip, and when i equip back the functional headgear, the costume headgear unequips too...How do I keep both items equipped, so I can equip both the functional (stats, refined, etc) item and the costume item (wich hides functional item)? Thanks in advance. Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 5, 2013 I manually patched the src with the data of your diff and it worked! Thanks for the conversion to hercules On other point, i don't know if this is intended or not, but whenever I equip a Costume item like a headgear, the functional headgear will unequip, and when i equip back the functional headgear, the costume headgear unequips too... How do I keep both items equipped, so I can equip both the functional (stats, refined, etc) item and the costume item (wich hides functional item)? Thanks in advance. its working as intended see attachment. what client you use? did you client have a costume tab in equipment window? is it possible to you to provide screenshot if any? Note: Costume headgears will only hide your Headgear sprite like for example in attachment, Hat sprite is replaced with Cap sprite, but the Hat attributes/functionality remains. Quote Share this post Link to post Share on other sites
darkxxcrow 0 Posted December 5, 2013 (edited) Thanks for the quick answer. I think it's a server-side bug (or I just missed something), because Im not having any client issues. My client date is 2012-04-10. As shown in the first screenshot, everytime I equip a same-position item, it replaces (unequips) the previous one, even if its a costume item. Edited December 5, 2013 by darkxxcrow Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 5, 2013 Did you try to equip a regular/default costume? can you try to do that? and is there any error in your map-server console? Quote Share this post Link to post Share on other sites
darkxxcrow 0 Posted December 5, 2013 I just tried with a costume hat and a normal cap, and they still replace each other :/No errors in console, either...Maybe the latest hercules revision changed the functionality Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 5, 2013 ^ before that, can you try to use different client like 20130807? and what Revision of hercules you use? take note of this 100% compatible in (revision 12624) 1 darkxxcrow reacted to this Quote Share this post Link to post Share on other sites
darkxxcrow 0 Posted December 5, 2013 (edited) I had a lot of trouble making a client for newer versions of the exe (mainly lua files), that's why i got a 2012 version... I use hercules 13434 --I'll try making a 2013 client anyways... Thanks for the help Edited December 5, 2013 by darkxxcrow Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 5, 2013 okay your welcome, you can look at Client-Side Releases section for that. 1 darkxxcrow reacted to this Quote Share this post Link to post Share on other sites
darkxxcrow 0 Posted December 5, 2013 Thanks I managed to connect with the 2013-08-07 exe.But, that doesn't seem to fix my problem :c Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 5, 2013 ^ So its on your server side problem, is there any modification on your source code? can you check this line in your script.c? // aegis->athena slot position conversion table unsigned int equip[SCRIPT_EQUIP_TABLE_SIZE] = {EQP_HEAD_TOP,EQP_ARMOR,EQP_HAND_L,EQP_HAND_R,EQP_GARMENT,EQP_SHOES,EQP_ACC_L,EQP_ACC_R,EQP_HEAD_MID,EQP_HEAD_LOW,EQP_COSTUME_HEAD_LOW,EQP_COSTUME_HEAD_MID,EQP_COSTUME_HEAD_TOP,EQP_COSTUME_GARMENT,EQP_SHADOW_ARMOR, EQP_SHADOW_WEAPON, EQP_SHADOW_SHIELD, EQP_SHADOW_SHOES, EQP_SHADOW_ACC_R, EQP_SHADOW_ACC_L}; and this in in your pc.h //Equip position constantsenum equip_pos { EQP_HEAD_LOW = 0x000001, EQP_HEAD_MID = 0x000200, //512 EQP_HEAD_TOP = 0x000100, //256 EQP_HAND_R = 0x000002, //2 EQP_HAND_L = 0x000020, //32 EQP_ARMOR = 0x000010, //16 EQP_SHOES = 0x000040, //64 EQP_GARMENT = 0x000004, //4 EQP_ACC_L = 0x000008, //8 EQP_ACC_R = 0x000080, //128 EQP_COSTUME_HEAD_TOP = 0x000400, //1024 EQP_COSTUME_HEAD_MID = 0x000800, //2048 EQP_COSTUME_HEAD_LOW = 0x001000, //4096 EQP_COSTUME_GARMENT = 0x002000, //8192 //UNUSED_COSTUME_FLOOR = 0x004000, //16384 EQP_AMMO = 0x008000, //32768 EQP_SHADOW_ARMOR = 0x010000, //65536 EQP_SHADOW_WEAPON = 0x020000, //131072 EQP_SHADOW_SHIELD = 0x040000, //262144 EQP_SHADOW_SHOES = 0x080000, //524288 EQP_SHADOW_ACC_R = 0x100000, //1048576 EQP_SHADOW_ACC_L = 0x200000, //2097152 if available? Quote Share this post Link to post Share on other sites
darkxxcrow 0 Posted December 5, 2013 This is the first modification I did to the source, and the lines you requested are there (my hercules lines = the lines you posted) Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 5, 2013 I can't reproduce your case, did you diff your client "Increase Headgear ViewID to 5000"? btw can you share your client 20130807 I want to try it. Quote Share this post Link to post Share on other sites
darkxxcrow 0 Posted December 5, 2013 Im sure i did, but i don't know... 2013-08-07aRagexe.patched.rar Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 5, 2013 after a quick try, Still I cant reproduce your problem, see attachment. try to rollback your modification and equip only regular costume. 1 darkxxcrow reacted to this Quote Share this post Link to post Share on other sites
darkxxcrow 0 Posted December 5, 2013 (edited) Ok, I'll try with a new fresh hercules in the afternoon, thanks! Edited December 5, 2013 by darkxxcrow Quote Share this post Link to post Share on other sites