Elite Diviner
- Joined
- Jul 27, 2009
- Messages
- 478
- Reaction score
- 411
You're most welcome.Thank you For Sharing you're Knowledge on how to add a new Custome
Keep it up bro !.. btw im just concern about you're "00" thingy
What's up with that?
*bump*
Need guide for adding ep10 items. Thanks.
<avatar type="7" >
...
...
<avatar_item id="1" armor_item_id="1061" armor_item_fx="-1" weapon_mesh1="" weapon_mesh2="" addEFX="" class_type="0" astral_id="-1" />
..
..
Good day, i have an question.
I have an custom man18.ech and woman18.ech, I already add this to cabal main, I try to replace some costumes in my "cabal.enc", now, I have found the avatar that I want to replace:
Code:<avatar type="7" > ... ... <avatar_item id="1" armor_item_id="1061" armor_item_fx="-1" weapon_mesh1="" weapon_mesh2="" addEFX="" class_type="0" astral_id="-1" /> .. ..
What variable is the one that points to the ".ech" file and how can I recognize it? thank you.
I have searched in item.enc but I have not been successful, it does not seem to be there, the structure of item.enc that I use and has served me so far is as follows. ¨It's been a while since i didn't worked on cabal files anymore...like 4-5 years but as far as i remember the Item.enc points to the .ech, i might be wrong...
typedef struct { char visual_id[60]; char item_id[60]; char desc_id[60]; ubyte unkba0[20]; Type type ; Display display_code_pt1; int display_code_pt2; Vector3 translation_male; Vector3 translation_female; Vector3 rotation_male; Vector3 rotation_female; float scale_male; float scale_female; uint limit_level; Class limit_class; int limit_reputation; ubyte unkba2[31]; uint d_str_2; uint d_dex_2; uint d_int_2; uint price_sell; Slots slot_spaces; uint value_lv; uint attack_rate__opt_1; uint defen_rate__opt_1_val__phy_att_max; uint defense__lev_lmt__mag_att_val; uint max_core; uint str_lmt_1__opt2; uint dex_lmt_1__opt_2_val; uint int_lmt_1__opt_3; uint str_lmt_2__opt_3_val; uint dex_lmt_2__opt_4; uint int_lmt_2__opt_4_val; uint d_str_1; uint d_dex_1; uint d_int_1; Property property; ubyte enchant_code_lnk; ubyte unkb; ubyte grade; ubyte unkb; ClassB class_id_1; ClassB class_id_2; ubyte period_type; ubyte period_use; ubyte unkba3[5]; } Item;
[Item] Type PriceSell Width Height Opt2/STRLmt1 DEXLmt1/Opt2Val INTLmt1/Opt3 Opt3Val/STRLmt2 DEXLmt2/Opt4 INTLmt2/Opt4Val AttckRate/Opt1 DefenRate/Opt1Val/PhyAttMax Defense/LEVLmt/MagAttVal ValueLv MaxCore dSTR1 dDEX1 dINT1 dSTR2 dDEX2 dINT2 LimitLv LimitClass LimitReputation Grade EnchantCodeLnk Property PeriodType PeriodUse FixType Price2 UniqueGrade MaxReputation
I have searched in item.enc but I have not been successful, it does not seem to be there, the structure of item.enc that I use and has served me so far is as follows. ¨In the server, Item.scp have the same or similar headers.Code:typedef struct { char visual_id[60]; char item_id[60]; char desc_id[60]; ubyte unkba0[20]; Type type ; Display display_code_pt1; int display_code_pt2; Vector3 translation_male; Vector3 translation_female; Vector3 rotation_male; Vector3 rotation_female; float scale_male; float scale_female; uint limit_level; Class limit_class; int limit_reputation; ubyte unkba2[31]; uint d_str_2; uint d_dex_2; uint d_int_2; uint price_sell; Slots slot_spaces; uint value_lv; uint attack_rate__opt_1; uint defen_rate__opt_1_val__phy_att_max; uint defense__lev_lmt__mag_att_val; uint max_core; uint str_lmt_1__opt2; uint dex_lmt_1__opt_2_val; uint int_lmt_1__opt_3; uint str_lmt_2__opt_3_val; uint dex_lmt_2__opt_4; uint int_lmt_2__opt_4_val; uint d_str_1; uint d_dex_1; uint d_int_1; Property property; ubyte enchant_code_lnk; ubyte unkb; ubyte grade; ubyte unkb; ClassB class_id_1; ClassB class_id_2; ubyte period_type; ubyte period_use; ubyte unkba3[5]; } Item;
The "efx"shows in item.enc is the figure shows in the inventory, this is okey. Thank you very much for the help.Code:[Item] Type PriceSell Width Height Opt2/STRLmt1 DEXLmt1/Opt2Val INTLmt1/Opt3 Opt3Val/STRLmt2 DEXLmt2/Opt4 INTLmt2/Opt4Val AttckRate/Opt1 DefenRate/Opt1Val/PhyAttMax Defense/LEVLmt/MagAttVal ValueLv MaxCore dSTR1 dDEX1 dINT1 dSTR2 dDEX2 dINT2 LimitLv LimitClass LimitReputation Grade EnchantCodeLnk Property PeriodType PeriodUse FixType Price2 UniqueGrade MaxReputation
005daf38 CMP EAX,13 (Activate _19)
005db06a CMP EAX,13 (Activate _19)