Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Kompilacja - Brak GAME i DB


Rekomendowane odpowiedzi

Opublikowano

Witam. Po skonczonej kompilacji GAME i DB w logach wyskakuja mi nastepujace błędy: (zwiększałem max lvl na 255) Za pomoc będą +++

Game:

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:7217: warning: this decimal constant is unsigned only in ISO C90In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file

char.cpp:7225:2: 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_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
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [Makefile:132: OBJDIR/char_skill.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from char_item.cpp:47:
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'
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:6271: warning: 'pBuff' may be used uninitialized in this function
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
char.cpp:3088: warning: comparison between signed and unsigned integer expressions
gmake: *** [Makefile:131: OBJDIR/char_battle.o] Error 1
 

DB:

In file included from ClientManager.cpp:6:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
Cache.cpp:365:7: warning: no newline at end of file
In file included from ClientManagerBoot.cpp:8:
ProtoReader.h:36:7: warning: no newline at end of file
ItemAwardManager.cpp:129:2: warning: no newline at end of file
Monarch.cpp: In member function 'bool CMonarch::AddMoney(int, int64_t)':
Monarch.cpp:132: warning: format '%lld' expects type 'long long int', but argument 4 has type 'int64_t'
Monarch.cpp:132: warning: format '%lld' expects type 'long long int', but argument 4 has type 'int64_t'
Monarch.cpp: In member function 'bool CMonarch::DecMoney(int, int64_t)':
Monarch.cpp:148: warning: format '%lld' expects type 'long long int', but argument 4 has type 'int64_t'
Monarch.cpp:148: warning: format '%lld' expects type 'long long int', but argument 4 has type 'int64_t'
Monarch.cpp: In member function 'bool CMonarch::TakeMoney(int, DWORD, int64_t)':
Monarch.cpp:166: warning: format '%lld' expects type 'long long int', but argument 4 has type 'int64_t'
Monarch.cpp:166: warning: format '%lld' expects type 'long long int', but argument 4 has type 'int64_t'
Monarch.cpp: In member function 'bool CMonarch::SetMonarch(const char*)':
Monarch.cpp:240: warning: format '%lld' expects type 'long long int', but argument 6 has type 'int64_t'
Monarch.cpp:240: warning: format '%lld' expects type 'long long int', but argument 6 has type 'int64_t'
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'
ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)':
ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returned
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
{standard input}:193: Error: file number less than one
In file included from ProtoReader.cpp:4:
ProtoReader.h:36:7: warning: no newline at end of file
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'
AuctionManager.cpp:719: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
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [Makefile:58: .obj/Marriage.o] Error 1
gmake: *** Waiting for unfinished jobs....
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [Makefile:58: .obj/ClientManager.o] Error 1
 


 

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...