scRO Posted March 23 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 09/12/16 Last Seen: April 12 Share Posted March 23 Hello everyone. How to deliver custom grade rank?mmo.hpp `enum e_enchantgrade : uint16{ ENCHANTGRADE_NONE = 0, ENCHANTGRADE_D, ENCHANTGRADE_C, ENCHANTGRADE_B, ENCHANTGRADE_A, ENCHANTGRADE_S //I ADD }; #ifdef RENEWAL #define MAX_WEAPON_LEVEL 5 #define MAX_ARMOR_LEVEL 2 #define MAX_ENCHANTGRADE ENCHANTGRADE_S #else #define MAX_WEAPON_LEVEL 4 #define MAX_ARMOR_LEVEL 1 #define MAX_ENCHANTGRADE ENCHANTGRADE_S #endif and add here script_constants.hpp export_constant(ENCHANTGRADE_S); on client I add image `data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\basic_interface\collection_bg_g5.bmp` `data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\grade_enchant\grade_icon5.bmp` grade_icon5.bmp work collection_bg_g5.bmp no work when trying to open the description of an item I get a crash and an error about the missing file Quote Link to comment Share on other sites More sharing options...
Question
scRO
Hello everyone.
How to deliver custom grade rank?mmo.hpp
`enum e_enchantgrade : uint16{ ENCHANTGRADE_NONE = 0, ENCHANTGRADE_D, ENCHANTGRADE_C, ENCHANTGRADE_B, ENCHANTGRADE_A, ENCHANTGRADE_S //I ADD }; #ifdef RENEWAL #define MAX_WEAPON_LEVEL 5 #define MAX_ARMOR_LEVEL 2 #define MAX_ENCHANTGRADE ENCHANTGRADE_S #else #define MAX_WEAPON_LEVEL 4 #define MAX_ARMOR_LEVEL 1 #define MAX_ENCHANTGRADE ENCHANTGRADE_S #endif
and add here
script_constants.hpp
export_constant(ENCHANTGRADE_S);
on client I add image
`data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\basic_interface\collection_bg_g5.bmp`
`data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\grade_enchant\grade_icon5.bmp`
grade_icon5.bmp work
collection_bg_g5.bmp no work
when trying to open the description of an item I get a crash and an error about the missing file
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.