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