Jump to content

How To Compile the Source code on FreeBSD


Exynox

Recommended Posts

  • Premium

M2 Download Center

This is the hidden content, please
( Internal )

Description:
Today's New Year's eve, and I felt that I should help the people who can't compile the gamecore/db on FreeBSD, because of the library mess that's usually going on - most people compile DevIL, mysqlclient etc from the ports collection, as this takes a lot of time, hardware resources, and even knowledge for some.
 
Given this situation, I've decided to compile from the official sources of all the required libraries, and tidy a bit up the all lib-includes files, by putting them all into the Extern folder (link below). This allows to brush away some stuff from the Server folder:
 
(Yay, it's so clean and shiny  :wub: )
https://metin2.download/picture/lQEH81qxI44A7UTK8eVsAnD7xs1F5bY5/.png
 
I've also changed the makefiles according to the needs (link also below).
 
This pre-done stuff should easy the process of compilation a lot for others, not to mention that it should work on all branches (I'm gonna test this next year lol  :rolleyes: )
 
Usage:

  • Decompress your Server folder from your favourite branch, and upload it to a FreeBSD machine, which has gmake, makedepend and python installed. Nothing more is needed (except for gcc/g++ ofc).
  • Upload the Extern.tgz archive into the same folder where you put the Server folder, and extract it.
  • Patch the Makefiles in the Server folder with the ones from Makefiles.zip.
  • Compile using gmake / gmake all / gmake game / gmake db from within the Server folder.

Video (da n00b prooph part):
 
Note: my English pronounciation isn't that great; I'll be adding subtitles asap.

 

Downloads:

Extern.tgz: https://mega.co.nz/#!EZMzxD4R!w1HSgj5F14-K0nB2oLOMzvXZan-UOVKtYjNiGjc3Ioo

Makefiles.zip: https://mega.co.nz/#!ZY1FGBzD!3tgmBRLfAfVTwC-qWo4oDAW2sq_jkGX7gADzkExn3_c

 

Happy New Year!  :lol:

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 28
  • Eyes 1
  • Dislove 2
  • Angry 1
  • Sad 1
  • Cry 1
  • Think 2
  • Scream 1
  • Lmao 1
  • Good 22
  • muscle 2
  • Love 7
  • Love 90
Link to comment
Share on other sites

  • Bronze

happy new year , you could also clean and upload every released src (about 20mb per each on) the totale would be about 8*20 mb (for server src) the client would be the same this will be a totale of 300 mb for the full src (wich mean about 9-10 time less the krizy.txz). this can be helpfull for ppl with slow internet .

 

Link to comment
Share on other sites

 now start server but ..
So, and when i writing incorrect login and password - client say that login or password are incorrect.

But when i writing correctly login and password - client say that error with connecting to server.
how to fix?

i`m try with db no compile but im use db from 34k SF. 

db can`t compile error:

 
root@BddAdsa:~ # cd /usr/src/mainline/Srcs/Server/db/src
root@BddAdsa:/usr/src/mainline/Srcs/Server/db/src # gmake clean
p4: not found
p4: not found
root@BddAdsa:/usr/src/mainline/Srcs/Server/db/src # gmake -j20
p4: not found
p4: not found
compile Config.cpp
compile NetBase.cpp
compile Peer.cpp
compile PeerBase.cpp
compile Main.cpp
compile Lock.cpp
compile DBManager.cpp
compile Cache.cpp
compile LoginData.cpp
compile ClientManager.cpp
compile ClientManagerPlayer.cpp
In file included from ClientManager.cpp:6:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile ClientManagerLogin.cpp
compile ClientManagerBoot.cpp
compile ClientManagerParty.cpp
compile ClientManagerGuild.cpp
compile GuildManager.cpp
compile HB.cpp
In file included from ClientManagerBoot.cpp:8:
ProtoReader.h:36:7: warning: no newline at end of file
Cache.cpp:365:7: warning: no newline at end of file
compile PrivManager.cpp
compile MoneyLog.cpp
compile ItemAwardManager.cpp
compile ClientManagerEventFlag.cpp
compile Marriage.cpp
compile Monarch.cpp
compile BlockCountry.cpp
compile ItemIDRangeManager.cpp
ItemAwardManager.cpp:129:2: warning: no newline at end of file
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTable()':
ClientManagerBoot.cpp:402: warning: statement has no effect
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTable()':
ClientManagerBoot.cpp:703: warning: unused variable 'testValue'
ClientManagerBoot.cpp: In member function 'bool CClientManager::MirrorItemTableIntoDB()':
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 25 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 27 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 29 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 31 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 33 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 34 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 35 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 38 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 39 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 25 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 27 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 29 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 31 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 33 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 34 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 35 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 38 has type 'long int'
ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 39 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 23 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 25 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 27 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 29 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 31 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 32 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 33 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 34 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 35 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 23 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 25 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 27 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 29 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 31 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 32 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 33 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 34 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 35 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
compile ClientManagerHorseName.cpp
ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)':
ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returned
p4: not found
compile AuctionManager.cpp
compile version.cpp
AuctionManager.cpp:719:7: warning: no newline at end of file
compile ProtoReader.cpp
compile CsvReader.cpp
In file included from ProtoReader.cpp:4:
ProtoReader.h:36:7: warning: no newline at end of file
ProtoReader.cpp: In function 'std::string* StringSplit(std::string, std::string)':
ProtoReader.cpp:33: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_Type_Value(std::string)':
ProtoReader.cpp:87: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_SubType_Value(int, std::string)':
ProtoReader.cpp:204: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp:207: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_AntiFlag_Value(std::string)':
ProtoReader.cpp:250: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_Flag_Value(std::string)':
ProtoReader.cpp:279: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_WearFlag_Value(std::string)':
ProtoReader.cpp:307: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_Immune_Value(std::string)':
ProtoReader.cpp:333: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_LimitType_Value(std::string)':
ProtoReader.cpp:361: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_ApplyType_Value(std::string)':
ProtoReader.cpp:400: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_Rank_Value(std::string)':
ProtoReader.cpp:426: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_Type_Value(std::string)':
ProtoReader.cpp:448: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_BattleType_Value(std::string)':
ProtoReader.cpp:469: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_Size_Value(std::string)':
ProtoReader.cpp:490: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_AIFlag_Value(std::string)':
ProtoReader.cpp:512: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_RaceFlag_Value(std::string)':
ProtoReader.cpp:537: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_ImmuneFlag_Value(std::string)':
ProtoReader.cpp:561: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'bool Set_Proto_Item_Table(TItemTable*, cCsvTable&, std::map<int, const char*, std::less<int>, std::allocator<std::pair<const int, const char*> > >&)':
ProtoReader.cpp:696: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp:757: warning: comparison between signed and unsigned integer expressions
CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const':
CsvReader.cpp:72: warning: left-hand operand of comma has no effect
CsvReader.cpp:72: warning: right-hand operand of comma has no effect
CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const':
CsvReader.cpp:90: warning: left-hand operand of comma has no effect
CsvReader.cpp:90: warning: right-hand operand of comma has no effect
p4: not found
linking ...
/usr/bin/ld: cannot find -lmysqlclient
gmake: *** [../db_r] Error 1
Link to comment
Share on other sites

 

i`m try with db no compile but im use db from 34k SF. 

db can`t compile error:

1. Are you compiling on a 32-bit system?

2. Are you sure you've put the files in the Makefiles.zip archive into your Server folder?

 

1.yes

2. with makefile in archive other errors.. cuz i think makefile in archive for db on novaline but im compile mainline..

Link to comment
Share on other sites

../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
../../../Extern/include/cryptopp/cryptlib.h:277:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = int]':
../../../Extern/include/cryptopp/cryptlib.h:283:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
........
 
What with this? Thanks
Link to comment
Share on other sites

 

Why is this happen?

dwpee.png

Your Virtual Machine network is not properly configured. Or at least this is what it seems to be.

 

Hi Exynox 

 

 
 
../../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 :(

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.