Problema sursa - Shop offline

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
CoSmY
Nivel 1

Nivel 1
Mesaje: 76
Membru din: 18 Ian 2016, 15:07
Server: Metin2Revolution
Regat: Jinno
Aprecieri: 17  
Mulţumiri: 2  
Medalii

Salutare!
Incercand sa instalez shop offline by great am constatat ca la compilare primesc urmatoarele erori!
root@:~ # cd /usr/src/mainline_released/game/src
root@:/usr/src/mainline_released/game/src # gmake
compile char.cpp
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:26:
shop_manager.h:48:7: warning: no newline at end of file
In file included from char.cpp:61:
spamblock.h:8:51: warning: no newline at end of file
In file included from char.cpp:64:
PetSystem.h:163:31: warning: no newline at end of file
char.cpp:8051: warning: this decimal constant is unsigned only in ISO C90
shop.h: In member function 'void CHARACTER::Destroy()':
shop.h:63: error: 'void CShop::RemoveGuest(CHARACTER*)' is protected
char.cpp:479: error: within this context
shop.h: In member function 'void CHARACTER::Disconnect(const char*)':
shop.h:63: error: 'void CShop::RemoveGuest(CHARACTER*)' is protected
char.cpp:1344: error: within this context
char.cpp: In member function 'void CHARACTER::LoadGiftPage(int)':
char.cpp:1941: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'void CHARACTER::OpenMyShop(const char*, TShopItemTable*, BYTE, DWORD)':
char.cpp:2082: warning: comparison between signed and unsigned integer expressions
char.cpp:2104: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'void CHARACTER::UpdateShopItems()':
char.cpp:2360: warning: comparison is always false due to limited range of data type
shop.h:69: error: 'void CShop::BroadcastUpdateItem(BYTE)' is protected
char.cpp:2405: error: within this context
char.cpp: In member function 'void CHARACTER::OpenShop(DWORD, const char*, bool)':
char.cpp:2534: warning: comparison is always false due to limited range of data type
char.cpp:2508: warning: unused variable 'c'
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
char.cpp:3926: warning: comparison between signed and unsigned integer expressions
shop.h: In member function 'void CHARACTER::OnClick(CHARACTER*)':
shop.h:62: error: 'virtual bool CShop::AddGuest(CHARACTER*, DWORD, bool)' is protected
char.cpp:5767: error: within this context
char.cpp: In member function 'bool CHARACTER::SpamListCheck(const char*)':
char.cpp:8088: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'bool CHARACTER::BannListCheck(const char*)':
char.cpp:8101: warning: comparison between signed and unsigned integer expressions
gmake: *** [OBJDIR/char.o] Error 1
root@:/usr/src/mainline_released/game/src # gmake
compile char.cpp
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:26:
shop_manager.h:48:7: warning: no newline at end of file
In file included from char.cpp:61:
spamblock.h:8:51: warning: no newline at end of file
In file included from char.cpp:64:
PetSystem.h:163:31: warning: no newline at end of file
char.cpp:8051: warning: this decimal constant is unsigned only in ISO C90
shop.h: In member function 'void CHARACTER::Destroy()':
shop.h:63: error: 'void CShop::RemoveGuest(CHARACTER*)' is protected
char.cpp:479: error: within this context
shop.h: In member function 'void CHARACTER::Disconnect(const char*)':
shop.h:63: error: 'void CShop::RemoveGuest(CHARACTER*)' is protected
char.cpp:1344: error: within this context
char.cpp: In member function 'void CHARACTER::LoadGiftPage(int)':
char.cpp:1941: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'void CHARACTER::OpenMyShop(const char*, TShopItemTable*, BYTE, DWORD)':
char.cpp:2082: warning: comparison between signed and unsigned integer expressions
char.cpp:2104: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'void CHARACTER::UpdateShopItems()':
char.cpp:2360: warning: comparison is always false due to limited range of data type
shop.h:69: error: 'void CShop::BroadcastUpdateItem(BYTE)' is protected
char.cpp:2405: error: within this context
char.cpp: In member function 'void CHARACTER::OpenShop(DWORD, const char*, bool)':
char.cpp:2534: warning: comparison is always false due to limited range of data type
char.cpp:2508: warning: unused variable 'c'
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
char.cpp:3926: warning: comparison between signed and unsigned integer expressions
shop.h: In member function 'void CHARACTER::OnClick(CHARACTER*)':
shop.h:62: error: 'virtual bool CShop::AddGuest(CHARACTER*, DWORD, bool)' is protected
char.cpp:5767: error: within this context
char.cpp: In member function 'bool CHARACTER::SpamListCheck(const char*)':
char.cpp:8088: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'bool CHARACTER::BannListCheck(const char*)':
char.cpp:8101: warning: comparison between signed and unsigned integer expressions
gmake: *** [OBJDIR/char.o] Error 1
root@:/usr/src/mainline_released/game/src #
Daca ati putea sa ma ajutati v-as fi recunoscator!
Imagine
Afișează semnătura
Avatar utilizator
LikePc
Nivel 10

Nivel 10
Mesaje: 2240
Membru din: 11 Aug 2015, 00:01
Server: M3
Regat: Chunjo
Aprecieri: 9  
Mulţumiri: 270  
 Contact:
Medalii

http://just4metin.ro/probleme/model-pos ... 67107.html
Subiect arhivat, te rog sa respecti modelul.
https:/horus-maps.com
Afișează semnătura
Închis
Răspunsuri
2
Vizualizări
284
Răspunsuri
1
Vizualizări
315
Răspunsuri
4
Vizualizări
419

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 71 vizitatori