Problema compilare baza de date! VDS

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Avatar utilizator
LegendaXXL
Deţinător Server

Deţinător Server
Mesaje: 1562
Membru din: 11 Aug 2013, 01:35
Server: TrueCloud
Regat: Jinno
Aprecieri: 349  
Mulţumiri: 528  
Discord: Copiază ID
 Contact:
Medalii

Martinel scrie:
LegendaXXL scrie:Cam cat dureaza? Am asteptat 4 ore si pana la urma mi-a murit vds-ul, 1 gb ovinetwork... clar =))
Cel mai ok pentru compilarea unei surse este pe Pc
Iei freebsd 9.2 de la dev si ai tot instalat acolo tu doar montezi freebsd si bagi sursa ... e mult mai usor si ai mai multe tutoriale daca nu te descurci ;)
Imi poti da si mie link de la freebsd ala si un tutorial cum montez freebsd-ul si configurez virtual box-ul?
☁ TRUECLOUD.RO

Găzduire Web • Domenii • E-mail Business
VPS-uri Linux & FreeBSD în curând

🎁 Prima lună GRATUITĂ pentru primii 10 clienți
Cod promoțional: TRUECLOUD10

👉 www.truecloud.ro
Afișează semnătura
Avatar utilizator
FALLEN1
Nivel 4

Nivel 4
Mesaje: 585
Membru din: 14 Noi 2015, 20:12
Server: Dark-Fusion2
Regat: Chunjo
Aprecieri: 366  
Mulţumiri: 758  
  Rezolvări prob.: 2
Discord: Copiază ID
Medalii

LegendaXXL scrie:
Martinel scrie:
LegendaXXL scrie:Cam cat dureaza? Am asteptat 4 ore si pana la urma mi-a murit vds-ul, 1 gb ovinetwork... clar =))
Cel mai ok pentru compilarea unei surse este pe Pc
Iei freebsd 9.2 de la dev si ai tot instalat acolo tu doar montezi freebsd si bagi sursa ... e mult mai usor si ai mai multe tutoriale daca nu te descurci ;)
Imi poti da si mie link de la freebsd ala si un tutorial cum montez freebsd-ul si configurez virtual box-ul?
Desigur
Aici este linku cum sa configurezi vps-ul ( sa te poti conecta pe el ) in loc de vds-ul care il foloseste alin o sa il pui pe asta
http://just4metin.ro/sursa/freebsd-surs ... 10793.html Succes !
Daca te-am ajutat nu uita de un thanks acolo :)))
Pentru acest mesaj, FALLEN1 for the post:
LegendaXXL
Avatar utilizator
LegendaXXL
Deţinător Server

Deţinător Server
Mesaje: 1562
Membru din: 11 Aug 2013, 01:35
Server: TrueCloud
Regat: Jinno
Aprecieri: 349  
Mulţumiri: 528  
Discord: Copiază ID
 Contact:
Medalii

Mda, mi se pare mai complicat pe virtual box, nu stie cineva cum pot instala boost-urile alea? adica alea pentru game, cum am zis problema de mai sus..
☁ TRUECLOUD.RO

Găzduire Web • Domenii • E-mail Business
VPS-uri Linux & FreeBSD în curând

🎁 Prima lună GRATUITĂ pentru primii 10 clienți
Cod promoțional: TRUECLOUD10

👉 www.truecloud.ro
Afișează semnătura
Avatar utilizator
LegendaXXL
Deţinător Server

Deţinător Server
Mesaje: 1562
Membru din: 11 Aug 2013, 01:35
Server: TrueCloud
Regat: Jinno
Aprecieri: 349  
Mulţumiri: 528  
Discord: Copiază ID
 Contact:
Medalii

Am rezolvat cu compilarea ..
problema urmatoare de la ce apare cand compilez:

Cod: Selectaţi tot

root@ovinetwork:/usr/src/source_game/akesy_src/game/src # gmake -j20
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile acce.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
In file included from desc.h:7,
                 from arena.cpp:5:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from desc.h:7,
                 from battle.cpp:4:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from desc.h:7,
                 from char_battle.cpp:4:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
compile char_change_empire.cpp
compile char_horse.cpp
compile char_item.cpp
compile char_manager.cpp
compile char_quickslot.cpp
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
In file included from desc.h:7,
                 from char_manager.cpp:4:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from desc.h:7,
                 from OXEvent.cpp:12:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from desc.h:7,
                 from desc_client.h:4,
                 from char.cpp:12:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from desc.h:7,
                 from desc_client.h:4,
                 from char_affect.cpp:10:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from desc.h:7,
                 from building.cpp:12:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
battle.cpp:842:2: warning: no newline at end of file
In file included from char_battle.cpp:27:
shop_manager.h:40:7: 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 desc.h:7,
                 from char_item.cpp:10:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from char.cpp:69:
offlineshop_config.h:19:7: warning: no newline at end of file
char.cpp:7608: warning: this decimal constant is unsigned only in ISO C90
char.cpp:7687:2: warning: no newline at end of file
In file included from desc.h:7,
                 from char_battle.cpp:4:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
In file included from desc.h:7,
                 from arena.cpp:5:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
In file included from desc.h:7,
                 from battle.cpp:4:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
In file included from desc.h:7,
                 from char_quickslot.cpp:4:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
☁ TRUECLOUD.RO

Găzduire Web • Domenii • E-mail Business
VPS-uri Linux & FreeBSD în curând

🎁 Prima lună GRATUITĂ pentru primii 10 clienți
Cod promoțional: TRUECLOUD10

👉 www.truecloud.ro
Afișează semnătura
Avatar utilizator
FALLEN1
Nivel 4

Nivel 4
Mesaje: 585
Membru din: 14 Noi 2015, 20:12
Server: Dark-Fusion2
Regat: Chunjo
Aprecieri: 366  
Mulţumiri: 758  
  Rezolvări prob.: 2
Discord: Copiază ID
Medalii

LegendaXXL scrie:Mda, mi se pare mai complicat pe virtual box, nu stie cineva cum pot instala boost-urile alea? adica alea pentru game, cum am zis problema de mai sus..
Poti sa folosesti si putty :))
Pornesti virtual box si dupa te conectezi in putty cu localhost root si pw dev :))
Pentru acest mesaj, FALLEN1 for the post:
LegendaXXL
Avatar utilizator
LegendaXXL
Deţinător Server

Deţinător Server
Mesaje: 1562
Membru din: 11 Aug 2013, 01:35
Server: TrueCloud
Regat: Jinno
Aprecieri: 349  
Mulţumiri: 528  
Discord: Copiază ID
 Contact:
Medalii

battle.cpp:842:2: 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:69:
offlineshop_config.h:19:7: warning: no newline at end of file
char.cpp:7608: warning: this decimal constant is unsigned only in ISO C90
char.cpp:7687:2: warning: no newline at end of file
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file


astea afecteaza cu ceva la compilare? Cum se pot rezolva?
☁ TRUECLOUD.RO

Găzduire Web • Domenii • E-mail Business
VPS-uri Linux & FreeBSD în curând

🎁 Prima lună GRATUITĂ pentru primii 10 clienți
Cod promoțional: TRUECLOUD10

👉 www.truecloud.ro
Afișează semnătura
Avatar utilizator
FALLEN1
Nivel 4

Nivel 4
Mesaje: 585
Membru din: 14 Noi 2015, 20:12
Server: Dark-Fusion2
Regat: Chunjo
Aprecieri: 366  
Mulţumiri: 758  
  Rezolvări prob.: 2
Discord: Copiază ID
Medalii

LegendaXXL scrie:battle.cpp:842:2: 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:69:
offlineshop_config.h:19:7: warning: no newline at end of file
char.cpp:7608: warning: this decimal constant is unsigned only in ISO C90
char.cpp:7687:2: warning: no newline at end of file
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file


astea afecteaza cu ceva la compilare? Cum se pot rezolva?
Nu iti afecteaza cu nimic dar te avertizeaza ca e ceva gresit pe acolo recomandat ar fi sa incerci sa rezolvi alea sa nu ti le mai dea :)
Avatar utilizator
LegendaXXL
Deţinător Server

Deţinător Server
Mesaje: 1562
Membru din: 11 Aug 2013, 01:35
Server: TrueCloud
Regat: Jinno
Aprecieri: 349  
Mulţumiri: 528  
Discord: Copiază ID
 Contact:
Medalii

Martinel scrie:
LegendaXXL scrie:battle.cpp:842:2: 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:69:
offlineshop_config.h:19:7: warning: no newline at end of file
char.cpp:7608: warning: this decimal constant is unsigned only in ISO C90
char.cpp:7687:2: warning: no newline at end of file
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file


astea afecteaza cu ceva la compilare? Cum se pot rezolva?
Nu iti afecteaza cu nimic dar te avertizeaza ca e ceva gresit pe acolo recomandat ar fi sa incerci sa rezolvi alea sa nu ti le mai dea :)
Astept de ceva timp sa se compileze si tot primesc erori.. sunt multe

Cod: Selectaţi tot

root@ovinetwork:/usr/src/source_game/akesy_src/game/src # gmake -j20
compile BattleArena.cpp
compile OXEvent.cpp
compile acce.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
compile char_change_empire.cpp
compile char_horse.cpp
compile char_item.cpp
compile char_manager.cpp
compile char_quickslot.cpp
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
compile PetSystem.cpp
battle.cpp:842:2: 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:69:
offlineshop_config.h:19:7: warning: no newline at end of file
char.cpp:7608: warning: this decimal constant is unsigned only in ISO C90
char.cpp:7687:2: warning: no newline at end of file
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file
char_change_empire.cpp: In member function 'int CHARACTER::ChangeEmpire(BYTE)':
char_change_empire.cpp:29: warning: too few arguments for format
char_change_empire.cpp:29: warning: too few arguments for format
char_change_empire.cpp:89: warning: too few arguments for format
char_change_empire.cpp:89: warning: too few arguments for format
char_change_empire.cpp: In member function 'DWORD CHARACTER::GetAID() const':
char_change_empire.cpp:163: warning: too few arguments for format
char_change_empire.cpp:163: warning: too few arguments for format
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'
/usr/local/include/boost/functional/hash/extensions.hpp: In member function 'size_t boost::hash<T>::operator()(const T&) const [with T = VID]':
/usr/local/include/boost/unordered/detail/buckets.hpp:599:   instantiated from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>, T = VID, SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/table.hpp:758:   instantiated from 'size_t boost::unordered::detail::table<Types>::hash(const typename Types::key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >]'
/usr/local/include/boost/unordered/detail/table.hpp:784:   instantiated from 'boost::unordered::iterator_detail::iterator<typename Types::node> boost::unordered::detail::table<Types>::find_node(const typename Types::key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >]'
/usr/local/include/boost/unordered/unordered_map.hpp:1212:   instantiated from 'typename boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const K&) [with K = VID, T = unsigned int, H = boost::hash<VID>, P = std::equal_to<VID>, A = std::allocator<std::pair<const VID, unsigned int> >]'
char_skill.cpp:3546:   instantiated from here
/usr/local/include/boost/functional/hash/extensions.hpp:269: error: no matching function for call to 'hash_value(const VID&)'
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:2427: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2431: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2443: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2447: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2474: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2482: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:5284: warning: comparison between signed and unsigned integer expressions
char_item.cpp:1710: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5354: warning: unused variable 'wCell'
char_item.cpp:5355: warning: unused variable 'window_type'
char_item.cpp:5356: warning: unused variable 'wDestCell'
char_item.cpp:5357: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6379: warning: array subscript has type 'char'
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
char_item.cpp:7777: warning: unused variable 'itemType'
char_item.cpp:7778: 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_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901: warning: unused variable 'rider'
E ceva normal pentru o sursa sau majoritatea au avertizarile astea?
☁ TRUECLOUD.RO

Găzduire Web • Domenii • E-mail Business
VPS-uri Linux & FreeBSD în curând

🎁 Prima lună GRATUITĂ pentru primii 10 clienți
Cod promoțional: TRUECLOUD10

👉 www.truecloud.ro
Afișează semnătura
Avatar utilizator
FALLEN1
Nivel 4

Nivel 4
Mesaje: 585
Membru din: 14 Noi 2015, 20:12
Server: Dark-Fusion2
Regat: Chunjo
Aprecieri: 366  
Mulţumiri: 758  
  Rezolvări prob.: 2
Discord: Copiază ID
Medalii

LegendaXXL scrie:
Martinel scrie:
LegendaXXL scrie:battle.cpp:842:2: 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:69:
offlineshop_config.h:19:7: warning: no newline at end of file
char.cpp:7608: warning: this decimal constant is unsigned only in ISO C90
char.cpp:7687:2: warning: no newline at end of file
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file


astea afecteaza cu ceva la compilare? Cum se pot rezolva?
Nu iti afecteaza cu nimic dar te avertizeaza ca e ceva gresit pe acolo recomandat ar fi sa incerci sa rezolvi alea sa nu ti le mai dea :)
Astept de ceva timp sa se compileze si tot primesc erori.. sunt multe

Cod: Selectaţi tot

root@ovinetwork:/usr/src/source_game/akesy_src/game/src # gmake -j20
compile BattleArena.cpp
compile OXEvent.cpp
compile acce.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
compile char_change_empire.cpp
compile char_horse.cpp
compile char_item.cpp
compile char_manager.cpp
compile char_quickslot.cpp
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
compile PetSystem.cpp
battle.cpp:842:2: 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:69:
offlineshop_config.h:19:7: warning: no newline at end of file
char.cpp:7608: warning: this decimal constant is unsigned only in ISO C90
char.cpp:7687:2: warning: no newline at end of file
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file
char_change_empire.cpp: In member function 'int CHARACTER::ChangeEmpire(BYTE)':
char_change_empire.cpp:29: warning: too few arguments for format
char_change_empire.cpp:29: warning: too few arguments for format
char_change_empire.cpp:89: warning: too few arguments for format
char_change_empire.cpp:89: warning: too few arguments for format
char_change_empire.cpp: In member function 'DWORD CHARACTER::GetAID() const':
char_change_empire.cpp:163: warning: too few arguments for format
char_change_empire.cpp:163: warning: too few arguments for format
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'
/usr/local/include/boost/functional/hash/extensions.hpp: In member function 'size_t boost::hash<T>::operator()(const T&) const [with T = VID]':
/usr/local/include/boost/unordered/detail/buckets.hpp:599:   instantiated from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>, T = VID, SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/table.hpp:758:   instantiated from 'size_t boost::unordered::detail::table<Types>::hash(const typename Types::key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >]'
/usr/local/include/boost/unordered/detail/table.hpp:784:   instantiated from 'boost::unordered::iterator_detail::iterator<typename Types::node> boost::unordered::detail::table<Types>::find_node(const typename Types::key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >]'
/usr/local/include/boost/unordered/unordered_map.hpp:1212:   instantiated from 'typename boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const K&) [with K = VID, T = unsigned int, H = boost::hash<VID>, P = std::equal_to<VID>, A = std::allocator<std::pair<const VID, unsigned int> >]'
char_skill.cpp:3546:   instantiated from here
/usr/local/include/boost/functional/hash/extensions.hpp:269: error: no matching function for call to 'hash_value(const VID&)'
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:2427: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2431: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2443: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2447: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2474: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2482: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:5284: warning: comparison between signed and unsigned integer expressions
char_item.cpp:1710: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5354: warning: unused variable 'wCell'
char_item.cpp:5355: warning: unused variable 'window_type'
char_item.cpp:5356: warning: unused variable 'wDestCell'
char_item.cpp:5357: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6379: warning: array subscript has type 'char'
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
char_item.cpp:7777: warning: unused variable 'itemType'
char_item.cpp:7778: 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_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901: warning: unused variable 'rider'
E ceva normal pentru o sursa sau majoritatea au avertizarile astea?
Daca nu ma insel folosesti sursa de la afterhours nu ?
Daca vrei sa faci un server calumea ia o sursa ( game / client ) clean si apucate si lucreaza pe ea
Nu are rost sa te consumi cu afterhours e full bug cel putin pe sursa am gasit vreo 20 de erori acum ceva timp
Avatar utilizator
LegendaXXL
Deţinător Server

Deţinător Server
Mesaje: 1562
Membru din: 11 Aug 2013, 01:35
Server: TrueCloud
Regat: Jinno
Aprecieri: 349  
Mulţumiri: 528  
Discord: Copiază ID
 Contact:
Medalii

Folosesc sursa de la battle2 .. akesy_src ..o sursa cu offline shop si 4 inventare stii? :D
☁ TRUECLOUD.RO

Găzduire Web • Domenii • E-mail Business
VPS-uri Linux & FreeBSD în curând

🎁 Prima lună GRATUITĂ pentru primii 10 clienți
Cod promoțional: TRUECLOUD10

👉 www.truecloud.ro
Afișează semnătura
Închis
Răspunsuri
5
Vizualizări
711
Răspunsuri
2
Vizualizări
349

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

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: DuckDuckGo [Bot] și 29 vizitatori