dothu 1 Posted July 16, 2018 Share Posted July 16, 2018 Hi metin2dev! I have a problem with attbonus_wolfman and resist wolfman. The problem: attbonus_wolfman is displayed as bleeding_pct and resist_wolfman is displayed as bleeding_reduce. Can somebody help me please? Link to comment Share on other sites More sharing options...
dothu 1 Posted July 17, 2018 Author Share Posted July 17, 2018 Up! Link to comment Share on other sites More sharing options...
dothu 1 Posted July 17, 2018 Author Share Posted July 17, 2018 up! Link to comment Share on other sites More sharing options...
ridetpro 116 Posted July 17, 2018 Share Posted July 17, 2018 Enumeration must be identical in client / server / SQL/ dump_proto Example of a wrong enumeration OF source. enum Server : std::uint8_t { POINT_WOLFMAN, // OK POINT_WARRIOR, // OK } enum Client : std::uint8_t { POINT_WARRIOR, // WRONG POINT_WOLFMAN, // WRONG } Example of a correct enumeration. enum Server : std::uint8_t { POINT_WOLFMAN, // OK POINT_WARRIOR, // OK } enum client : std::uint8_t { POINT_WOLFMAN, // OK POINT_WARRIOR, // OK } Read more about how enum works here. https://en.cppreference.com/w/cpp/language/enum Most likely, I think you fucked the dump_proto enumerations. Example of wrong dump_proto enumeration. //Dump_proto int get_Item_ApplyType_Value(string inputString) { string arApplyType[] = { "APPLY_WOLFMAN", // ok "APPLY_BLEEDING", // ok }; int retInt = -1; // ProtoReader.cpp int get_Item_ApplyType_Value(std::string inputString) { std::string arApplyType[] = { "APPLY_BLEEDING", // wrong "APPLY_WOLFMAN", // wrong }; int retInt = -1; Check also the SQL enumeration order, from item_attr 2 Link to comment Share on other sites More sharing options...
dothu 1 Posted July 17, 2018 Author Share Posted July 17, 2018 Thank you mate! Dump_proto was the problem! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now