Cilindro 14 Posted July 20, 2015 Share Posted July 20, 2015 i found yesterday the error thanks Link to comment Share on other sites More sharing options...
Kamylek 10 Posted July 20, 2015 Share Posted July 20, 2015 In file included from char_horse.cpp:14: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_state.cpp:25: ../../common/VnumHelper.h:59:32: warning: no newline at end of file char_state.cpp: In member function 'virtual void CHARACTER::StateMove()': char_state.cpp:901: warning: unused variable 'rider' In file included from blend_item.cpp:13: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' In file included from PetSystem.cpp:8: PetSystem.h:163:31: warning: no newline at end of file In file included from PetSystem.cpp:9: ../../common/VnumHelper.h:59:32: warning: no newline at end of file PetSystem.cpp:637:2: warning: no newline at end of file PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()': PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone' PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)': PetSystem.cpp:552: warning: unused variable 'petVID' gmake: *** [OBJDIR/blend_item.o] Bł±d 1 gmake: *** Oczekiwanie na niezakończone zadania.... In file included from OXEvent.cpp:9: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/OXEvent.o] Bł±d 1 In file included from castle.cpp:21: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/castle.o] Bł±d 1 In file included from cmd.cpp:7: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/cmd.o] Bł±d 1 In file included from cmd_general.cpp:36: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from cmd_general.cpp:36: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/cmd_general.o] Bł±d 1 In file included from char_skill.cpp:22: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/char_skill.o] Bł±d 1 In file included from char.cpp:4: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char.cpp:25: shop_manager.h:40:7: warning: no newline at end of file In file included from char.cpp:62: PetSystem.h:163:31: warning: no newline at end of file char.cpp:7225:2: warning: no newline at end of file char.cpp:7217: warning: this decimal constant is unsigned only in ISO C90 In file included from char.cpp:33: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)': char.cpp:3088: warning: comparison between signed and unsigned integer expressions gmake: *** [OBJDIR/char.o] Bł±d 1 In file included from char_item.cpp:44: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_item.cpp:47: belt_inventory_helper.h:108:42: warning: no newline at end of file In file included from char_item.cpp:20: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' In file included from char_item.cpp:48: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:640: warning: comparison is always false due to limited range of data type char_item.cpp:666: warning: comparison is always false due to limited range of data type char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:5085: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5157: warning: unused variable 'wDestCell' char_item.cpp:5158: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6158: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6222: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)': char_item.cpp:6234: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7420: warning: unused variable 'itemType' char_item.cpp:7421: warning: unused variable 'itemSubType' gmake: *** [OBJDIR/char_item.o] Bł±d 1 In file included from char_battle.cpp:27: shop_manager.h:40:7: warning: no newline at end of file In file included from char_battle.cpp:18: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/char_battle.o] Bł±d 1 Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted July 20, 2015 Author Premium Share Posted July 20, 2015 Do this again: log.hEdit this: void LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, BYTE bLevel, BYTE bJob, DWORD dwPlayTime); To this: void LogManager::LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, int bLevel, BYTE bJob, DWORD dwPlayTime) log.cppReplace this: void LogManager::LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, BYTE bLevel, BYTE bJob, DWORD dwPlayTime) To this: void LogManager::LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, int bLevel, BYTE bJob, DWORD dwPlayTime) The one and only UI programming guideline Link to comment Share on other sites More sharing options...
Kamylek 10 Posted July 20, 2015 Share Posted July 20, 2015 In file included from char_horse.cpp:14: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_state.cpp:25: ../../common/VnumHelper.h:59:32: warning: no newline at end of file char_state.cpp: In member function 'virtual void CHARACTER::StateMove()': char_state.cpp:901: warning: unused variable 'rider' In file included from PetSystem.cpp:8: PetSystem.h:163:31: warning: no newline at end of file In file included from PetSystem.cpp:9: ../../common/VnumHelper.h:59:32: warning: no newline at end of file PetSystem.cpp:637:2: warning: no newline at end of file PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()': PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone' PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)': PetSystem.cpp:552: warning: unused variable 'petVID' constants.cpp:373: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:374: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:375: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:376: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:377: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:378: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:379: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:380: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:381: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:382: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:383: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:384: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:385: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:386: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:387: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:388: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:389: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:390: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:391: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:392: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:393: warning: this decimal constant is unsigned only in ISO C90 guild.cpp: In member function 'void CGuild::SendListOneToAll(DWORD)': guild.cpp:407: error: 'struct TGuildMemberPacketData' has no member named 'byNameFlag' guild.cpp:408: error: 'struct TGuildMemberPacketData' has no member named 'byGrade' guild.cpp:409: error: 'struct TGuildMemberPacketData' has no member named 'byIsGeneral' guild.cpp:410: error: 'struct TGuildMemberPacketData' has no member named 'byJob' guild.cpp:411: error: 'struct TGuildMemberPacketData' has no member named 'byLevel' guild.cpp:412: error: 'struct TGuildMemberPacketData' has no member named 'dwOffer' guild.cpp: In member function 'void CGuild::SendListPacket(CHARACTER*)': guild.cpp:459: error: 'struct TGuildMemberPacketData' has no member named 'byNameFlag' guild.cpp:460: error: 'struct TGuildMemberPacketData' has no member named 'byGrade' guild.cpp:461: error: 'struct TGuildMemberPacketData' has no member named 'byIsGeneral' guild.cpp:462: error: 'struct TGuildMemberPacketData' has no member named 'byJob' guild.cpp:463: error: 'struct TGuildMemberPacketData' has no member named 'byLevel' guild.cpp:464: error: 'struct TGuildMemberPacketData' has no member named 'dwOffer' guild.cpp: In member function 'bool CGuild::OfferExp(CHARACTER*, int)': guild.cpp:983: error: 'struct TGuildMemberPacketData' has no member named 'byNameFlag' guild.cpp:984: error: 'struct TGuildMemberPacketData' has no member named 'byGrade' guild.cpp:985: error: 'struct TGuildMemberPacketData' has no member named 'byIsGeneral' guild.cpp:986: error: 'struct TGuildMemberPacketData' has no member named 'byJob' guild.cpp:987: error: 'struct TGuildMemberPacketData' has no member named 'byLevel' guild.cpp:988: error: 'struct TGuildMemberPacketData' has no member named 'dwOffer' guild.cpp: In member function 'void CGuild::LevelChange(DWORD, int)': guild.cpp:1656: error: 'struct TGuildMemberPacketData' has no member named 'byNameFlag' guild.cpp:1657: error: 'struct TGuildMemberPacketData' has no member named 'byGrade' guild.cpp:1658: error: 'struct TGuildMemberPacketData' has no member named 'byIsGeneral' guild.cpp:1659: error: 'struct TGuildMemberPacketData' has no member named 'byJob' guild.cpp:1660: error: 'struct TGuildMemberPacketData' has no member named 'byLevel' guild.cpp:1661: error: 'struct TGuildMemberPacketData' has no member named 'dwOffer' guild.cpp: In member function 'void CGuild::ChangeMemberData(DWORD, DWORD, int, BYTE)': guild.cpp:1698: error: 'struct TGuildMemberPacketData' has no member named 'byNameFlag' guild.cpp:1699: error: 'struct TGuildMemberPacketData' has no member named 'byGrade' guild.cpp:1700: error: 'struct TGuildMemberPacketData' has no member named 'byIsGeneral' guild.cpp:1701: error: 'struct TGuildMemberPacketData' has no member named 'byJob' guild.cpp:1702: error: 'struct TGuildMemberPacketData' has no member named 'byLevel' guild.cpp:1703: error: 'struct TGuildMemberPacketData' has no member named 'dwOffer' desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)': desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions gmake: *** [OBJDIR/guild.o] Bł±d 1 gmake: *** Oczekiwanie na niezakończone zadania.... cube.cpp: In function 'bool Cube_make(CHARACTER*)': cube.cpp:544: warning: comparison between signed and unsigned integer expressions cube.cpp: In function 'void Cube_MakeCubeInformationText()': cube.cpp:716: warning: unused variable 'npcVNUM' cube.cpp: In function 'bool Cube_InformationInitialize()': cube.cpp:783: warning: comparison between signed and unsigned integer expressions In file included from desc_manager.cpp:15: ClientPackageCryptInfo.h:117:41: warning: no newline at end of file In file included from config.cpp:23: check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)': check_server.h:24: warning: comparison between signed and unsigned integer expressions config.cpp: In function 'void config_init(const std::string&)': config.cpp:435: warning: NULL used in arithmetic config.cpp:459: warning: NULL used in arithmetic config.cpp:483: warning: NULL used in arithmetic config.cpp:505: warning: unused variable 'line' cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)': cmd_gm.cpp:3935: warning: NULL used in arithmetic cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)': cmd_gm.cpp:4357: warning: 'cell' may be used uninitialized in this function cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)': cmd_gm.cpp:3977: warning: 'n' may be used uninitialized in this function cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)': cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this function cmd_gm.cpp:855: warning: 'y' may be used uninitialized in this function In file included from char_item.cpp:44: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_item.cpp:47: belt_inventory_helper.h:108:42: warning: no newline at end of file In file included from char_item.cpp:48: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:640: warning: comparison is always false due to limited range of data type char_item.cpp:666: warning: comparison is always false due to limited range of data type char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:5085: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5157: warning: unused variable 'wDestCell' char_item.cpp:5158: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6158: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6222: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)': char_item.cpp:6234: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7420: warning: unused variable 'itemType' char_item.cpp:7421: warning: unused variable 'itemSubType' char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:679: warning: control reaches end of non-void function char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)': char_item.cpp:6269: warning: 'pBuff' may be used uninitialized in this function In file included from cmd_general.cpp:36: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_battle.cpp:27: shop_manager.h:40:7: warning: no newline at end of file In file included from char.cpp:4: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char.cpp:25: shop_manager.h:40:7: warning: no newline at end of file In file included from char.cpp:62: PetSystem.h:163:31: warning: no newline at end of file char.cpp:7225:2: warning: no newline at end of file char.cpp:7217: warning: this decimal constant is unsigned only in ISO C90 char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)': char.cpp:3088: warning: comparison between signed and unsigned integer expressions Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted July 20, 2015 Author Premium Share Posted July 20, 2015 Are you kidding me? Please read and do the whole tutorial... This time you forget to do this: guild.hReplace this: typedef struct SGuildMemberPacketData { DWORD pid; BYTE grade; BYTE is_general; BYTE job; BYTE level; DWORD offer; BYTE name_flag; char name[CHARACTER_NAME_MAX_LEN+1]; } TGuildMemberPacketData; To this: typedef struct SGuildMemberPacketData { DWORD pid; BYTE byGrade; BYTE byIsGeneral; BYTE byJob; int byLevel; DWORD dwOffer; BYTE byNameFlag; } TGuildMemberPacketData; The one and only UI programming guideline Link to comment Share on other sites More sharing options...
Kamylek 10 Posted July 20, 2015 Share Posted July 20, 2015 In file included from PetSystem.cpp:8: PetSystem.h:163:31: warning: no newline at end of file In file included from PetSystem.cpp:9: ../../common/VnumHelper.h:59:32: warning: no newline at end of file PetSystem.cpp:637:2: warning: no newline at end of file PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()': PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone' PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)': PetSystem.cpp:552: warning: unused variable 'petVID' constants.cpp:373: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:374: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:375: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:376: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:377: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:378: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:379: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:380: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:381: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:382: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:383: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:384: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:385: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:386: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:387: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:388: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:389: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:390: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:391: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:392: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:393: warning: this decimal constant is unsigned only in ISO C90 cube.cpp: In function 'bool Cube_make(CHARACTER*)': cube.cpp:544: warning: comparison between signed and unsigned integer expressions cube.cpp: In function 'void Cube_MakeCubeInformationText()': cube.cpp:716: warning: unused variable 'npcVNUM' cube.cpp: In function 'bool Cube_InformationInitialize()': cube.cpp:783: warning: comparison between signed and unsigned integer expressions desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)': desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions In file included from desc_manager.cpp:15: ClientPackageCryptInfo.h:117:41: warning: no newline at end of file In file included from char_horse.cpp:14: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_state.cpp:25: ../../common/VnumHelper.h:59:32: warning: no newline at end of file char_state.cpp: In member function 'virtual void CHARACTER::StateMove()': char_state.cpp:901: warning: unused variable 'rider' In file included from cmd_general.cpp:36: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from config.cpp:23: check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)': check_server.h:24: warning: comparison between signed and unsigned integer expressions config.cpp: In function 'void config_init(const std::string&)': config.cpp:435: warning: NULL used in arithmetic config.cpp:459: warning: NULL used in arithmetic config.cpp:483: warning: NULL used in arithmetic config.cpp:505: warning: unused variable 'line' In file included from char_battle.cpp:27: shop_manager.h:40:7: warning: no newline at end of file input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)': input_auth.cpp:467: warning: unused variable 'last' cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)': cmd_gm.cpp:3935: warning: NULL used in arithmetic cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)': cmd_gm.cpp:4357: warning: 'cell' may be used uninitialized in this function cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)': cmd_gm.cpp:3977: warning: 'n' may be used uninitialized in this function cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)': cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this function cmd_gm.cpp:855: warning: 'y' may be used uninitialized in this function In file included from char_item.cpp:44: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_item.cpp:47: belt_inventory_helper.h:108:42: warning: no newline at end of file In file included from char_item.cpp:48: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:640: warning: comparison is always false due to limited range of data type char_item.cpp:666: warning: comparison is always false due to limited range of data type char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:5085: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5157: warning: unused variable 'wDestCell' char_item.cpp:5158: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6158: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6222: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)': char_item.cpp:6234: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7420: warning: unused variable 'itemType' char_item.cpp:7421: warning: unused variable 'itemSubType' char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:679: warning: control reaches end of non-void function char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)': char_item.cpp:6269: warning: 'pBuff' may be used uninitialized in this function log.cpp:92: error: prototype for 'void LogManager::LoginLog(bool, DWORD, DWORD, int, BYTE, DWORD)' does not match any in class 'LogManager' log.h:35: error: candidate is: void LogManager::LoginLog(bool, DWORD, DWORD, BYTE, BYTE, DWORD) In file included from char.cpp:4: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char.cpp:25: shop_manager.h:40:7: warning: no newline at end of file In file included from char.cpp:62: PetSystem.h:163:31: warning: no newline at end of file char.cpp:7225:2: warning: no newline at end of file char.cpp:7217: warning: this decimal constant is unsigned only in ISO C90 char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)': char.cpp:3088: warning: comparison between signed and unsigned integer expressions gmake: *** [OBJDIR/log.o] Bł±d 1 gmake: *** Oczekiwanie na niezakończone zadania.... In file included from item.cpp:22: belt_inventory_helper.h:108:42: warning: no newline at end of file In file included from item.cpp:23: ../../common/VnumHelper.h:59:32: warning: no newline at end of file item.cpp:2084:2: warning: no newline at end of file In file included from item.cpp:23: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions item.h: In constructor 'CItem::CItem(DWORD)': item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized after item.h:283: warning: 'LPEVENT CItem::m_pkExpireEvent' item.cpp:25: warning: when initialized here item.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)': item.cpp:1725: warning: unused variable 'vnum' item.cpp: In member function 'bool CItem::CanPutInto(CItem*)': item.cpp:1758: warning: comparison between signed and unsigned integer expressions item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)': item.cpp:2014: warning: comparison between signed and unsigned integer expressions item.cpp:2016: warning: comparison between signed and unsigned integer expressions item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)': item.cpp:2038: warning: comparison between signed and unsigned integer expressions item.cpp: In member function 'int CItem::GetDuration()': item.cpp:2069: warning: array subscript has type 'char' In file included from input_db.cpp:13: shop_manager.h:40:7: warning: no newline at end of file input_db.cpp:2722:2: warning: no newline at end of file In file included from input_main.cpp:16: shop_manager.h:40:7: warning: no newline at end of file monarch.cpp:276:2: warning: no newline at end of file In file included from item_manager.cpp:21: ../../common/VnumHelper.h:59:32: warning: no newline at end of file item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)': item_manager.cpp:604: warning: comparison between signed and unsigned integer expressions Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted July 20, 2015 Author Premium Share Posted July 20, 2015 log.hEdit this: void LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, BYTE bLevel, BYTE bJob, DWORD dwPlayTime); To this: void LogManager::LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, int bLevel, BYTE bJob, DWORD dwPlayTime) The one and only UI programming guideline Link to comment Share on other sites More sharing options...
Kamylek 10 Posted July 20, 2015 Share Posted July 20, 2015 (edited) log.hEdit this: void LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, BYTE bLevel, BYTE bJob, DWORD dwPlayTime); To this: void LogManager::LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, int bLevel, BYTE bJob, DWORD dwPlayTime) In file included from char_horse.cpp:14: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_state.cpp:25: ../../common/VnumHelper.h:59:32: warning: no newline at end of file char_state.cpp: In member function 'virtual void CHARACTER::StateMove()': char_state.cpp:901: warning: unused variable 'rider' In file included from PetSystem.cpp:8: PetSystem.h:163:31: warning: no newline at end of file In file included from PetSystem.cpp:9: ../../common/VnumHelper.h:59:32: warning: no newline at end of file PetSystem.cpp:637:2: warning: no newline at end of file PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()': PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone' PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)': PetSystem.cpp:552: warning: unused variable 'petVID' constants.cpp:373: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:374: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:375: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:376: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:377: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:378: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:379: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:380: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:381: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:382: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:383: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:384: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:385: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:386: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:387: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:388: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:389: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:390: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:391: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:392: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:393: warning: this decimal constant is unsigned only in ISO C90 In file included from blend_item.cpp:13: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/blend_item.o] Bł±d 1 gmake: *** Oczekiwanie na niezakończone zadania.... In file included from desc_manager.cpp:15: ClientPackageCryptInfo.h:117:41: warning: no newline at end of file desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)': desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions In file included from OXEvent.cpp:9: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/OXEvent.o] Bł±d 1 In file included from castle.cpp:21: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/castle.o] Bł±d 1 In file included from cmd.cpp:7: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/cmd.o] Bł±d 1 In file included from cube.cpp:14: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' cube.cpp: In function 'bool Cube_make(CHARACTER*)': cube.cpp:544: warning: comparison between signed and unsigned integer expressions cube.cpp: In function 'void Cube_MakeCubeInformationText()': cube.cpp:716: warning: unused variable 'npcVNUM' cube.cpp: In function 'bool Cube_InformationInitialize()': cube.cpp:783: warning: comparison between signed and unsigned integer expressions gmake: *** [OBJDIR/cube.o] Bł±d 1 In file included from char_skill.cpp:22: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' In file included from db.cpp:18: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/char_skill.o] Bł±d 1 In file included from char_battle.cpp:27: shop_manager.h:40:7: warning: no newline at end of file In file included from char_battle.cpp:18: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/db.o] Bł±d 1 gmake: *** [OBJDIR/char_battle.o] Bł±d 1 In file included from desc.cpp:21: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' In file included from config.cpp:10: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' In file included from config.cpp:23: check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)': check_server.h:24: warning: comparison between signed and unsigned integer expressions config.cpp: In function 'void config_init(const std::string&)': config.cpp:435: warning: NULL used in arithmetic config.cpp:459: warning: NULL used in arithmetic config.cpp:483: warning: NULL used in arithmetic config.cpp:505: warning: unused variable 'line' gmake: *** [OBJDIR/desc.o] Bł±d 1 gmake: *** [OBJDIR/config.o] Bł±d 1 In file included from char_item.cpp:44: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_item.cpp:47: belt_inventory_helper.h:108:42: warning: no newline at end of file In file included from char_item.cpp:20: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' In file included from char_item.cpp:48: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:640: warning: comparison is always false due to limited range of data type char_item.cpp:666: warning: comparison is always false due to limited range of data type char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:5085: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5157: warning: unused variable 'wDestCell' char_item.cpp:5158: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6158: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6222: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)': char_item.cpp:6234: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7420: warning: unused variable 'itemType' char_item.cpp:7421: warning: unused variable 'itemSubType' gmake: *** [OBJDIR/char_item.o] Bł±d 1 In file included from char.cpp:4: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char.cpp:25: shop_manager.h:40:7: warning: no newline at end of file In file included from char.cpp:62: PetSystem.h:163:31: warning: no newline at end of file char.cpp:7225:2: warning: no newline at end of file char.cpp:7217: warning: this decimal constant is unsigned only in ISO C90 In file included from char.cpp:33: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)': char.cpp:3088: warning: comparison between signed and unsigned integer expressions gmake: *** [OBJDIR/char.o] Bł±d 1 In file included from cmd_general.cpp:36: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from cmd_general.cpp:36: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' gmake: *** [OBJDIR/cmd_general.o] Bł±d 1 In file included from cmd_gm.cpp:35: log.h:35: error: extra qualification 'LogManager::' on member 'LoginLog' cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)': cmd_gm.cpp:3935: warning: NULL used in arithmetic gmake: *** [OBJDIR/cmd_gm.o] Bł±d 1 Edited July 20, 2015 by Kamylek Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted July 20, 2015 Author Premium Share Posted July 20, 2015 Lol sorry, wrong quote... So: log.hEdit this: void LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, BYTE bLevel, BYTE bJob, DWORD dwPlayTime); To this: void LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, int bLevel, BYTE bJob, DWORD dwPlayTime); 1 The one and only UI programming guideline Link to comment Share on other sites More sharing options...
Kamylek 10 Posted July 20, 2015 Share Posted July 20, 2015 (edited) Lol sorry, wrong quote... So: log.hEdit this: void LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, BYTE bLevel, BYTE bJob, DWORD dwPlayTime); To this: void LoginLog(bool isLogin, DWORD dwAccountID, DWORD dwPID, int bLevel, BYTE bJob, DWORD dwPlayTime); game compilling succes but i have this in error log: In file included from char_horse.cpp:14:../../common/VnumHelper.h:59:32: warning: no newline at end of fileIn file included from PetSystem.cpp:8:PetSystem.h:163:31: warning: no newline at end of fileIn file included from PetSystem.cpp:9:../../common/VnumHelper.h:59:32: warning: no newline at end of filePetSystem.cpp:637:2: warning: no newline at end of filePetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone'PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':PetSystem.cpp:552: warning: unused variable 'petVID'In file included from char_state.cpp:25:../../common/VnumHelper.h:59:32: warning: no newline at end of filechar_state.cpp: In member function 'virtual void CHARACTER::StateMove()':char_state.cpp:901: warning: unused variable 'rider'constants.cpp:373: warning: this decimal constant is unsigned only in ISO C90constants.cpp:374: warning: this decimal constant is unsigned only in ISO C90constants.cpp:375: warning: this decimal constant is unsigned only in ISO C90constants.cpp:376: warning: this decimal constant is unsigned only in ISO C90constants.cpp:377: warning: this decimal constant is unsigned only in ISO C90constants.cpp:378: warning: this decimal constant is unsigned only in ISO C90constants.cpp:379: warning: this decimal constant is unsigned only in ISO C90constants.cpp:380: warning: this decimal constant is unsigned only in ISO C90constants.cpp:381: warning: this decimal constant is unsigned only in ISO C90constants.cpp:382: warning: this decimal constant is unsigned only in ISO C90constants.cpp:383: warning: this decimal constant is unsigned only in ISO C90constants.cpp:384: warning: this decimal constant is unsigned only in ISO C90constants.cpp:385: warning: this decimal constant is unsigned only in ISO C90constants.cpp:386: warning: this decimal constant is unsigned only in ISO C90constants.cpp:387: warning: this decimal constant is unsigned only in ISO C90constants.cpp:388: warning: this decimal constant is unsigned only in ISO C90constants.cpp:389: warning: this decimal constant is unsigned only in ISO C90constants.cpp:390: warning: this decimal constant is unsigned only in ISO C90constants.cpp:391: warning: this decimal constant is unsigned only in ISO C90constants.cpp:392: warning: this decimal constant is unsigned only in ISO C90constants.cpp:393: warning: this decimal constant is unsigned only in ISO C90desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':desc_client.cpp:299: warning: comparison between signed and unsigned integer expressionsIn file included from desc_manager.cpp:15:ClientPackageCryptInfo.h:117:41: warning: no newline at end of fileinput_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)':input_auth.cpp:467: warning: unused variable 'last'In file included from item.cpp:22:belt_inventory_helper.h:108:42: warning: no newline at end of fileIn file included from item.cpp:23:../../common/VnumHelper.h:59:32: warning: no newline at end of fileitem.cpp:2084:2: warning: no newline at end of fileIn file included from item.cpp:23:belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressionsitem.h: In constructor 'CItem::CItem(DWORD)':item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized afteritem.h:283: warning: 'LPEVENT CItem::m_pkExpireEvent'item.cpp:25: warning: when initialized hereitem.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)':item.cpp:1725: warning: unused variable 'vnum'item.cpp: In member function 'bool CItem::CanPutInto(CItem*)':item.cpp:1758: warning: comparison between signed and unsigned integer expressionsitem.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':item.cpp:2014: warning: comparison between signed and unsigned integer expressionsitem.cpp:2016: warning: comparison between signed and unsigned integer expressionsitem.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':item.cpp:2038: warning: comparison between signed and unsigned integer expressionsitem.cpp: In member function 'int CItem::GetDuration()':item.cpp:2069: warning: array subscript has type 'char'In file included from input_main.cpp:16:shop_manager.h:40:7: warning: no newline at end of fileIn file included from item_manager.cpp:21:../../common/VnumHelper.h:59:32: warning: no newline at end of fileitem_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)':item_manager.cpp:604: warning: comparison between signed and unsigned integer expressionsIn file included from input_db.cpp:13:shop_manager.h:40:7: warning: no newline at end of fileinput_db.cpp:2722:2: warning: no newline at end of filemonarch.cpp:276:2: warning: no newline at end of filequestlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(CHARACTER*)':questlua.cpp:78: warning: 'returnBool' may be used uninitialized in this functionIn file included from questlua_pet.cpp:11:PetSystem.h:163:31: warning: no newline at end of filequestlua_pet.cpp:157:2: warning: no newline at end of fileIn file included from questlua_npc.cpp:9:shop_manager.h:40:7: warning: no newline at end of filequestlua_npc.cpp: In function 'int quest::npc_get_vid_attack_mul(lua_State*)':questlua_npc.cpp:293: warning: unused variable 'q'questlua_npc.cpp: In function 'int quest::npc_set_vid_attack_mul(lua_State*)':questlua_npc.cpp:309: warning: unused variable 'q'questlua_npc.cpp: In function 'int quest::npc_get_vid_damage_mul(lua_State*)':questlua_npc.cpp:324: warning: unused variable 'q'questlua_npc.cpp: In function 'int quest::npc_set_vid_damage_mul(lua_State*)':questlua_npc.cpp:340: warning: unused variable 'q'utils.cpp: In function 'bool WildCaseCmp(const char*, const char*)':utils.cpp:243: warning: NULL used in arithmeticutils.cpp:255: warning: NULL used in arithmeticutils.cpp:269: warning: NULL used in arithmeticshop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':shop.cpp:576: warning: comparison between signed and unsigned integer expressionsIn file included from trigger.cpp:8:shop_manager.h:40:7: warning: no newline at end of filequestnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)':questnpc.cpp:500: warning: unused variable 'pPC'In file included from cmd_general.cpp:36:../../common/VnumHelper.h:59:32: warning: no newline at end of fileFileMonitor_FreeBSD.cpp:136:2: warning: no newline at end of fileIn file included from ClientPackageCryptInfo.cpp:2:ClientPackageCryptInfo.h:117:41: warning: no newline at end of fileClientPackageCryptInfo.h: In constructor 'CClientPackageCryptInfo::CClientPackageCryptInfo()':ClientPackageCryptInfo.h:50: warning: 'CClientPackageCryptInfo::m_pSerializedCryptKeyStream' will be initialized afterClientPackageCryptInfo.h:48: warning: 'int CClientPackageCryptInfo::m_nCryptKeyPackageCnt'ClientPackageCryptInfo.cpp:9: warning: when initialized herebuff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffValue(BYTE)':buff_on_attributes.cpp:113: warning: unused variable 'old_value'buff_on_attributes.cpp:114: warning: unused variable 'new_value'In file included from check_server.cpp:2:check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':check_server.h:24: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In constructor 'CGroupTextParseTreeLoader::CGroupTextParseTreeLoader()':group_text_parse_tree.h:93: warning: 'CGroupTextParseTreeLoader::m_dwcurLineIndex' will be initialized aftergroup_text_parse_tree.h:91: warning: 'CGroupNode* CGroupTextParseTreeLoader::m_pRootGroupNode'group_text_parse_tree.cpp:5: warning: when initialized heregroup_text_parse_tree.cpp: In member function 'bool CGroupTextParseTreeLoader::LoadGroup(CGroupNode*)':group_text_parse_tree.cpp:99: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.cpp: In member function 'bool CGroupNode::GetRow(int, const CGroupNode::CGroupNodeRow**) const':group_text_parse_tree.cpp:206: warning: comparison between signed and unsigned integer expressionschar_dragonsoul.cpp:143:2: warning: no newline at end of filechar_dragonsoul.cpp: In member function 'bool CHARACTER::DragonSoul_ActivateDeck(int)':char_dragonsoul.cpp:91: warning: control reaches end of non-void functionIn file included from DragonSoul.cpp:9:dragon_soul_table.h:74:7: warning: no newline at end of fileDragonSoul.cpp: In function 'int Gamble(std::vector<float, std::allocator<float> >&)':DragonSoul.cpp:19: warning: comparison between signed and unsigned integer expressionsDragonSoul.cpp:25: warning: comparison between signed and unsigned integer expressionsDragonSoul.cpp: In member function 'bool DSManager::RefreshItemAttributes(CItem*)':DragonSoul.cpp:203: warning: comparison between signed and unsigned integer expressionsDragonSoul.cpp: In member function 'bool DSManager::PutAttributes(CItem*)':DragonSoul.cpp:273: warning: comparison between signed and unsigned integer expressionsDragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(CHARACTER*, CItem*, CItem*)':DragonSoul.cpp:350: warning: unused variable 'sum'DragonSoul.cpp: In member function 'bool DSManager::PullOut(CHARACTER*, TItemPos, CItem*&, CItem*)':DragonSoul.cpp:435: warning: unused variable 'dwVnum'DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 3 has type 'double'DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 4 has type 'double'DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(CHARACTER*, TItemPos (&)[15])':DragonSoul.cpp:555: warning: unused variable 'prob_sum'DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(CHARACTER*, TItemPos (&)[15])':DragonSoul.cpp:763: warning: unused variable 'sum'In file included from dragon_soul_table.cpp:4:dragon_soul_table.h:74:7: warning: no newline at end of filedragon_soul_table.cpp: In member function 'bool DragonSoulTable::ReadAdditionalApplys()':dragon_soul_table.cpp:223: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckApplyNumSettings()':dragon_soul_table.cpp:283: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckWeightTables()':dragon_soul_table.cpp:311: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineGradeTables()':dragon_soul_table.cpp:343: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp:372: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStepTables()':dragon_soul_table.cpp:397: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp:427: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStrengthTables()':dragon_soul_table.cpp:453: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonHeartExtTables()':dragon_soul_table.cpp:494: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp:513: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp:522: warning: comparison between signed and unsigned integer expressionsdragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonSoulExtTables()':dragon_soul_table.cpp:545: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = std::string]':dragon_soul_table.cpp:129: instantiated from heregroup_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = BYTE]':dragon_soul_table.cpp:134: instantiated from heregroup_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = int]':dragon_soul_table.cpp:201: instantiated from heregroup_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = float]':dragon_soul_table.cpp:260: instantiated from heregroup_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = float]':dragon_soul_table.cpp:828: instantiated from heregroup_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = int]':group_text_parse_tree.h:159: instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = int]'group_text_parse_tree.h:203: instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = int]'dragon_soul_table.cpp:612: instantiated from heregroup_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]':group_text_parse_tree.h:159: instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = unsigned int]'group_text_parse_tree.h:203: instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = unsigned int]'dragon_soul_table.cpp:884: instantiated from heregroup_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressionsshopEx.cpp: In member function 'virtual int CShopEx::Buy(CHARACTER*, BYTE)':shopEx.cpp:159: warning: comparison between signed and unsigned integer expressions../../../Extern/include/cryptopp/algparam.h: In constructor 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':../../../Extern/include/cryptopp/filters.h:793: instantiated from here../../../Extern/include/cryptopp/algparam.h:26: warning: unused variable 'cryptopp_assert_26'../../../Extern/include/cryptopp/algparam.h: In member function 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':cipher.cpp:397: instantiated from here../../../Extern/include/cryptopp/algparam.h:322: warning: unused variable 'p'../../../Extern/include/cryptopp/misc.h: At global scope:../../../Extern/include/cryptopp/misc.h:548: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not useditem_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)':item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup'item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized in this functionIn file included from main.cpp:14:shop_manager.h:40:7: warning: no newline at end of fileIn file included from main.cpp:94:check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':check_server.h:24: warning: comparison between signed and unsigned integer expressionsIn file included from shop_manager.cpp:22:shop_manager.h:40:7: warning: no newline at end of fileshop_manager.cpp: In function 'bool ConvertToShopItemTable(CGroupNode*, TShopTableEx&)':shop_manager.cpp:473: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]':group_text_parse_tree.h:175: instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = DWORD]'shop_manager.cpp:381: instantiated from heregroup_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':group_text_parse_tree.h:175: instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = std::string]'shop_manager.cpp:387: instantiated from heregroup_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressionsgroup_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned char]':group_text_parse_tree.h:136: instantiated from 'bool CGroupNode::GetValue(size_t, const std::string&, T&) const [with T = BYTE]'shop_manager.cpp:442: instantiated from heregroup_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressionscube.cpp: In function 'bool Cube_make(CHARACTER*)':cube.cpp:544: warning: comparison between signed and unsigned integer expressionscube.cpp: In function 'void Cube_MakeCubeInformationText()':cube.cpp:716: warning: unused variable 'npcVNUM'cube.cpp: In function 'bool Cube_InformationInitialize()':cube.cpp:783: warning: comparison between signed and unsigned integer expressionsIn file included from config.cpp:23:check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':check_server.h:24: warning: comparison between signed and unsigned integer expressionsconfig.cpp: In function 'void config_init(const std::string&)':config.cpp:435: warning: NULL used in arithmeticconfig.cpp:459: warning: NULL used in arithmeticconfig.cpp:483: warning: NULL used in arithmeticconfig.cpp:505: warning: unused variable 'line'cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':cmd_gm.cpp:3935: warning: NULL used in arithmeticcmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':cmd_gm.cpp:4357: warning: 'cell' may be used uninitialized in this functioncmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':cmd_gm.cpp:3977: warning: 'n' may be used uninitialized in this functioncmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this functioncmd_gm.cpp:855: warning: 'y' may be used uninitialized in this functionIn file included from char.cpp:4:../../common/VnumHelper.h:59:32: warning: no newline at end of fileIn file included from char.cpp:25:shop_manager.h:40:7: warning: no newline at end of fileIn file included from char.cpp:62:PetSystem.h:163:31: warning: no newline at end of filechar.cpp:7225:2: warning: no newline at end of filechar.cpp:7217: warning: this decimal constant is unsigned only in ISO C90char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':char.cpp:3088: warning: comparison between signed and unsigned integer expressionsIn file included from char_item.cpp:44:../../common/VnumHelper.h:59:32: warning: no newline at end of fileIn file included from char_item.cpp:47:belt_inventory_helper.h:108:42: warning: no newline at end of fileIn file included from char_item.cpp:48:belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressionschar_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':char_item.cpp:640: warning: comparison is always false due to limited range of data typechar_item.cpp:666: warning: comparison is always false due to limited range of data typechar_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int'char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int'char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int'char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int'char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int'char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int'char_item.cpp:5085: warning: comparison between signed and unsigned integer expressionschar_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':char_item.cpp:5157: warning: unused variable 'wDestCell'char_item.cpp:5158: warning: unused variable 'bDestInven'char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':char_item.cpp:6158: warning: array subscript has type 'char'char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':char_item.cpp:6222: warning: comparison between signed and unsigned integer expressionschar_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':char_item.cpp:6234: warning: comparison between signed and unsigned integer expressionschar_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':char_item.cpp:7420: warning: unused variable 'itemType'char_item.cpp:7421: warning: unused variable 'itemSubType'char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':char_item.cpp:679: warning: control reaches end of non-void functionchar_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':char_item.cpp:6269: warning: 'pBuff' may be used uninitialized in this functionIn file included from char_battle.cpp:27:shop_manager.h:40:7: warning: no newline at end of file its okey to be? Edited July 20, 2015 by Kamylek Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted July 20, 2015 Author Premium Share Posted July 20, 2015 Yes, I don't see any error in this log. 1 The one and only UI programming guideline Link to comment Share on other sites More sharing options...
Kamylek 10 Posted July 20, 2015 Share Posted July 20, 2015 Yes, I don't see any error in this log. Thanks :)))) Link to comment Share on other sites More sharing options...
Evler. 0 Posted July 20, 2015 Share Posted July 20, 2015 (edited) Help me : In file included from char_horse.cpp:14: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from PetSystem.cpp:8: PetSystem.h:163:31: warning: no newline at end of file In file included from PetSystem.cpp:9: ../../common/VnumHelper.h:59:32: warning: no newline at end of file PetSystem.cpp:637:2: warning: no newline at end of file PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()': PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone' PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)': PetSystem.cpp:552: warning: unused variable 'petVID' cube.cpp: In function 'bool Cube_make(CHARACTER*)': cube.cpp:544: warning: comparison between signed and unsigned integer expressions cube.cpp: In function 'void Cube_MakeCubeInformationText()': cube.cpp:716: warning: unused variable 'npcVNUM' cube.cpp: In function 'bool Cube_InformationInitialize()': cube.cpp:783: warning: comparison between signed and unsigned integer expressions In file included from config.cpp:23: check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)': check_server.h:24: warning: comparison between signed and unsigned integer expressions config.cpp: In function 'void config_init(const std::string&)': config.cpp:435: warning: NULL used in arithmetic config.cpp:459: warning: NULL used in arithmetic config.cpp:483: warning: NULL used in arithmetic config.cpp:505: warning: unused variable 'line' In file included from desc_manager.cpp:15: ClientPackageCryptInfo.h:117:41: warning: no newline at end of file input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)': input_auth.cpp:467: warning: unused variable 'last' constants.cpp:1528: error: too many initializers for 'const int [301]' gmake: *** [OBJDIR/constants.o] Bł±d 1 gmake: *** Oczekiwanie na niezakończone zadania.... In file included from desc_client.cpp:14: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)': desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions gmake: *** [OBJDIR/desc_client.o] Bł±d 1 In file included from char_state.cpp:25: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_state.cpp:11: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' char_state.cpp: In member function 'virtual void CHARACTER::StateMove()': char_state.cpp:901: warning: unused variable 'rider' gmake: *** [OBJDIR/char_state.o] Bł±d 1 In file included from char_manager.cpp:9: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' gmake: *** [OBJDIR/char_manager.o] Bł±d 1 In file included from char_skill.cpp:19: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' gmake: *** [OBJDIR/char_skill.o] Bł±d 1 In file included from cmd_general.cpp:36: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from cmd_general.cpp:20: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' gmake: *** [OBJDIR/cmd_general.o] Bł±d 1 In file included from dungeon.cpp:6: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' gmake: *** [OBJDIR/dungeon.o] Bł±d 1 In file included from char.cpp:4: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char.cpp:25: shop_manager.h:40:7: warning: no newline at end of file In file included from char.cpp:62: PetSystem.h:163:31: warning: no newline at end of file char.cpp:7215:2: warning: no newline at end of file char.cpp:7207: warning: this decimal constant is unsigned only in ISO C90 In file included from char.cpp:30: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)': char.cpp:3088: warning: comparison between signed and unsigned integer expressions gmake: *** [OBJDIR/char.o] Bł±d 1 In file included from input_login.cpp:19: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' gmake: *** [OBJDIR/input_login.o] Bł±d 1 In file included from char_battle.cpp:27: shop_manager.h:40:7: warning: no newline at end of file In file included from char_battle.cpp:34: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' gmake: *** [OBJDIR/char_battle.o] Bł±d 1 In file included from input_p2p.cpp:12: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' gmake: *** [OBJDIR/input_p2p.o] Bł±d 1 In file included from char_item.cpp:44: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_item.cpp:47: belt_inventory_helper.h:108:42: warning: no newline at end of file char_item.cpp:7541:2: warning: no newline at end of file In file included from char_item.cpp:25: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' In file included from char_item.cpp:48: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:640: warning: comparison is always false due to limited range of data type char_item.cpp:666: warning: comparison is always false due to limited range of data type char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:5087: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5159: warning: unused variable 'wDestCell' char_item.cpp:5160: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6160: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6224: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)': char_item.cpp:6236: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7422: warning: unused variable 'itemType' char_item.cpp:7423: warning: unused variable 'itemSubType' gmake: *** [OBJDIR/char_item.o] Bł±d 1 In file included from cmd_gm.cpp:30: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)': cmd_gm.cpp:3935: warning: NULL used in arithmetic gmake: *** [OBJDIR/cmd_gm.o] Bł±d 1 In file included from input_db.cpp:13: shop_manager.h:40:7: warning: no newline at end of file input_db.cpp:2722:2: warning: no newline at end of file In file included from input_db.cpp:22: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' gmake: *** [OBJDIR/input_db.o] Bł±d 1 In file included from input_main.cpp:16: shop_manager.h:40:7: warning: no newline at end of file In file included from input_main.cpp:25: party.h:171: error: 'int CParty::GetMemberMaxLevel()' cannot be overloaded party.h:170: error: with 'int CParty::GetMemberMaxLevel()' gmake: *** [OBJDIR/input_main.o] Bł±d 1 In file included from item.cpp:22: belt_inventory_helper.h:108:42: warning: no newline at end of file In file included from item.cpp:23: ../../common/VnumHelper.h:59:32: warning: no newline at end of file item.cpp:2084:2: warning: no newline at end of file In file included from item.cpp:23: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions item.h: In constructor 'CItem::CItem(DWORD)': item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized after item.h:283: warning: 'LPEVENT CItem::m_pkExpireEvent' item.cpp:25: warning: when initialized here item.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)': item.cpp:1725: warning: unused variable 'vnum' item.cpp: In member function 'bool CItem::CanPutInto(CItem*)': item.cpp:1758: warning: comparison between signed and unsigned integer expressions item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)': item.cpp:2014: warning: comparison between signed and unsigned integer expressions item.cpp:2016: warning: comparison between signed and unsigned integer expressions item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)': item.cpp:2038: warning: comparison between signed and unsigned integer expressions item.cpp: In member function 'int CItem::GetDuration()': item.cpp:2069: warning: array subscript has type 'char' In file included from item_manager.cpp:21: ../../common/VnumHelper.h:59:32: warning: no newline at end of file item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)': item_manager.cpp:604: warning: comparison between signed and unsigned integer expressions Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium MrLibya 554 Posted July 24, 2015 Premium Share Posted July 24, 2015 if u want to use int then use unsigned int If you're going to do something, then do it right. Link to comment Share on other sites More sharing options...
Tacticus 73 Posted July 24, 2015 Share Posted July 24, 2015 why unsigned int? Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted July 24, 2015 Former Staff Share Posted July 24, 2015 why unsigned int? because int rang is from –2,147,483,648 to 2,147,483,647 and unsigned int is from 0 to 4,294,967,295 so you wont get exp in minus 1 Link to comment Share on other sites More sharing options...
smutnazaba.jpg 3 Posted July 30, 2015 Share Posted July 30, 2015 After adding this probably I have a bug with the guild. Someone had a problem? Link to comment Share on other sites More sharing options...
Finch 16 Posted August 5, 2015 Share Posted August 5, 2015 (edited) nice Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 1 Link to comment Share on other sites More sharing options...
Cilindro 14 Posted August 6, 2015 Share Posted August 6, 2015 yes but ther is one erro on guild then on me it's coming Unknown packet header: 102, last: 75 75 any one know too fix this ? Link to comment Share on other sites More sharing options...
Lajk. 16 Posted August 7, 2015 Share Posted August 7, 2015 yes but ther is one erro on guild then on me it's coming Unknown packet header: 102, last: 75 75 any one know too fix this ? check all files 1 Link to comment Share on other sites More sharing options...
Sr.Agente 24 Posted August 8, 2015 Share Posted August 8, 2015 Thank you for the tutorial. work fine for me Link to comment Share on other sites More sharing options...
WhiteWorld 31 Posted August 8, 2015 Share Posted August 8, 2015 yes but ther is one erro on guild then on me it's coming Unknown packet header: 102, last: 75 75 any one know too fix this ? I wrote, 0808 04:49:38376 :: Unknown packet header: 166, last: 75 75 solution it was a good character with no guild I apologize in English google 1 Link to comment Share on other sites More sharing options...
Cilindro 14 Posted August 8, 2015 Share Posted August 8, 2015 i check all files the fix is not on this topico but i fix it thanks Link to comment Share on other sites More sharing options...
margoss 1 Posted September 9, 2015 Share Posted September 9, 2015 (edited) Unknown packet header: 101, last: 75 69Help ? Guild not work ....!! Edited September 9, 2015 by margoss Link to comment Share on other sites More sharing options...
fatihbab34 15 Posted September 12, 2015 Share Posted September 12, 2015 Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts