ThePooter 4 Posted January 24, 2015 Share Posted January 24, 2015 Hi metin2 dev ../../common/VnumHelper.h:59:32: warning: no newline at end of file constants.cpp:421: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:422: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:423: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:424: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:425: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:426: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:427: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:428: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:429: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:430: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:431: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:432: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:433: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:434: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:435: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:436: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:437: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:438: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:439: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:440: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:441: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:442: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:443: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:444: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:445: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:446: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:447: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:448: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:449: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:450: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:451: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:452: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:453: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:454: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:455: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:456: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:457: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:458: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:459: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:460: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:461: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:462: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:463: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:464: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:465: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:466: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:467: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:468: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:469: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:470: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:471: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:472: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:473: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:474: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:475: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:476: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:477: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:478: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:479: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:480: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:481: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:482: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:483: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:484: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:485: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:486: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:487: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:488: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:489: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:490: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:491: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:492: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:493: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:494: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:495: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:496: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:497: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:498: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:499: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:500: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:501: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:502: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:503: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:504: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:505: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:506: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:507: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:508: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:509: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:510: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:511: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:512: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:513: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:514: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:515: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:516: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:517: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:518: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:519: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:520: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:521: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:522: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:523: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:524: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:525: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:526: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:527: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:528: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:529: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:530: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:531: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:532: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:533: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:534: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:535: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:536: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:537: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:538: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:539: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:540: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:541: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:542: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:543: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:544: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:545: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:546: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:547: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:548: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:549: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:550: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:551: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:552: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:553: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:554: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:555: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:556: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:557: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:558: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:559: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:560: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:561: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:562: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:563: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:564: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:565: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:566: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:567: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:568: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:569: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:570: warning: this decimal constant is unsigned only in ISO C90 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' compile dungeon.cpp constants.cpp:317: error: too many initializers for 'const DWORD [121]' constants.cpp:571: error: too many initializers for 'const DWORD [121]' constants.cpp:826: error: too many initializers for 'const DWORD [121]' 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/constants.o] Error 1 gmake: *** Waiting for unfinished jobs.... char_state.cpp: In member function 'virtual void CHARACTER::StateMove()': char_state.cpp:901: warning: unused variable 'rider' In file included from config.cpp:22: 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 desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)': desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions 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 Help me Link to comment Share on other sites More sharing options...
Denis 1474 Posted January 24, 2015 Share Posted January 24, 2015 For the start, post your errors that you're getting. Link to comment Share on other sites More sharing options...
ThePooter 4 Posted January 24, 2015 Author Share Posted January 24, 2015 (edited) For the start, post your errors that you're getting. constants.cpp:569: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:570: warning: this decimal constant is unsigned only in ISO C90 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' compile dungeon.cpp constants.cpp:317: error: too many initializers for 'const DWORD [121]' constants.cpp:571: error: too many initializers for 'const DWORD [121]' constants.cpp:826: error: too many initializers for 'const DWORD [121]' 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/constants.o] Error 1 gmake: *** Waiting for unfinished jobs.... char_state.cpp: In member function 'virtual void CHARACTER::StateMove()': char_state.cpp:901: warning: unused variable 'rider' Help me Denis Edited January 24, 2015 by ThePooter Link to comment Share on other sites More sharing options...
Denis 1474 Posted January 24, 2015 Share Posted January 24, 2015 Post your constants.cpp/constats.h files Link to comment Share on other sites More sharing options...
ThePooter 4 Posted January 24, 2015 Author Share Posted January 24, 2015 Post your constants.cpp/constats.h files https://mega.co.nz/#!1lwDiCJb!vkFPm8WoG8laF9cVOzKo4OJPD2K2IhiBMyhD0Y9fOOY Link to comment Share on other sites More sharing options...
Denis 1474 Posted January 24, 2015 Share Posted January 24, 2015 Did you set PLAYER_EXP_TABLE_MAX to 250? Link to comment Share on other sites More sharing options...
ThePooter 4 Posted January 24, 2015 Author Share Posted January 24, 2015 Did you set PLAYER_EXP_TABLE_MAX to 250? yes Where is the error ? Thank you Link to comment Share on other sites More sharing options...
Denis 1474 Posted January 24, 2015 Share Posted January 24, 2015 Post your length.h here. Link to comment Share on other sites More sharing options...
ThePooter 4 Posted January 24, 2015 Author Share Posted January 24, 2015 Post your length.h here. https://mega.co.nz/#!A4Yi0KDb!3qjO0Pltz2MtJny94LCt5DNr5CCpxSvOmPVNbnpSX3Y Link to comment Share on other sites More sharing options...
ThePooter 4 Posted January 24, 2015 Author Share Posted January 24, 2015 help me Guys Link to comment Share on other sites More sharing options...
Reboot 772 Posted January 25, 2015 Share Posted January 25, 2015 constants.cpp:555: warning: this decimal constant is unsigned only in ISO C90 On that line after number , try like this example: 123456LL Put LL after all numbers with that warning 3 Link to comment Share on other sites More sharing options...
ThePooter 4 Posted February 4, 2015 Author Share Posted February 4, 2015 constants.cpp:555: warning: this decimal constant is unsigned only in ISO C90 On that line after number , try like this example: 123456LL Put LL after all numbers with that warning I'm sorry I did not understand Can you give examples ? Link to comment Share on other sites More sharing options...
Woytman 89 Posted April 1, 2016 Share Posted April 1, 2016 In constants.cpp -> On line 555 is a number, examples 200300, change to 200300LL. Link to comment Share on other sites More sharing options...
Haruka 15 Posted April 1, 2016 Share Posted April 1, 2016 You can put U,too. Example. 200300U 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