problema cube renewal

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

Nou Venit
Mesaje: 34
Membru din: 29 Apr 2021, 14:58
Server: 1
Aprecieri: 95  
Mulţumiri: 1  
Discord: Copiază ID
Medalii

*Problemă/Întrebare: Seara faina! am si eu o problema la cube renewal am incercat sa-l bag totul frumos, dar am multe erori in sursa game..
Habar n am de ce imi da atatea =)( nu mi dau seama ce am gresit.. daca m-ar putea ajuta cineva va rog frumos sau sa mi explice .=)(
Tipologie server(PvM / PvP):
*Resursă folosită: sursa/cube-renewal-t94148.html
*ServerFiles utilizat:
*Syserr:


cuberenewal.cpp:18:20: error: 'CUBE_RENEWAL_DATA' was not declared in this scope
static std::vector<CUBE_RENEWAL_DATA*> s_cube_proto;
^
cuberenewal.cpp:18:38: error: template argument 1 is invalid
static std::vector<CUBE_RENEWAL_DATA*> s_cube_proto;
^
cuberenewal.cpp:18:38: error: template argument 2 is invalid
cuberenewal.cpp:18:52: error: invalid type in declaration before ';' token
static std::vector<CUBE_RENEWAL_DATA*> s_cube_proto;
^
cuberenewal.cpp:20:21: error: 'CUBE_RENEWAL_VALUE' was not declared in this scope
typedef std::vector<CUBE_RENEWAL_VALUE> TCubeValueVector;
^
cuberenewal.cpp:20:39: error: template argument 1 is invalid
typedef std::vector<CUBE_RENEWAL_VALUE> TCubeValueVector;
^
cuberenewal.cpp:20:39: error: template argument 2 is invalid
cuberenewal.cpp:20:57: error: invalid type in declaration before ';' token
typedef std::vector<CUBE_RENEWAL_VALUE> TCubeValueVector;
^
cuberenewal.cpp:29:2: error: 'CUBE_RENEWAL_VALUE' does not name a type
CUBE_RENEWAL_VALUE reward; // º¸»ó?? ¹¹³?
^
cuberenewal.cpp: In function 'bool FN_check_valid_npc(WORD)':
cuberenewal.cpp:57:20: error: 'CUBE_RENEWAL_DATA' was not declared in this scope
for ( std::vector<CUBE_RENEWAL_DATA*>::iterator iter = s_cube_proto.begin(); iter != s_cube_proto.end(); iter++ )
^
cuberenewal.cpp:57:38: error: template argument 1 is invalid
for ( std::vector<CUBE_RENEWAL_DATA*>::iterator iter = s_cube_proto.begin(); iter != s_cube_proto.end(); iter++ )
^
cuberenewal.cpp:57:38: error: template argument 2 is invalid
cuberenewal.cpp:57:50: error: invalid type in declaration before 'iter'
for ( std::vector<CUBE_RENEWAL_DATA*>::iterator iter = s_cube_proto.begin(); iter != s_cube_proto.end(); iter++ )
^
cuberenewal.cpp:57:50: error: invalid use of qualified-name '::iterator'
cuberenewal.cpp:57:50: error: expected ';' before 'iter'
cuberenewal.cpp:57:50: error: 'iter' was not declared in this scope
cuberenewal.cpp:57:70: error: request for member 'begin' in 's_cube_proto', which is of non-class type 'int'
for ( std::vector<CUBE_RENEWAL_DATA*>::iterator iter = s_cube_proto.begin(); iter != s_cube_proto.end(); iter++ )
^
cuberenewal.cpp:57:100: error: request for member 'end' in 's_cube_proto', which is of non-class type 'int'
for ( std::vector<CUBE_RENEWAL_DATA*>::iterator iter = s_cube_proto.begin(); iter != s_cube_proto.end(); iter++ )
^
cuberenewal.cpp:57:105: error: expected ')' before ';' token
for ( std::vector<CUBE_RENEWAL_DATA*>::iterator iter = s_cube_proto.begin(); iter != s_cube_proto.end(); iter++ )
^
cuberenewal.cpp:57:107: error: 'iter' was not declared in this scope
for ( std::vector<CUBE_RENEWAL_DATA*>::iterator iter = s_cube_proto.begin(); iter != s_cube_proto.end(); iter++ )
^
cuberenewal.cpp:57:114: error: expected ';' before ')' token
for ( std::vector<CUBE_RENEWAL_DATA*>::iterator iter = s_cube_proto.begin(); iter != s_cube_proto.end(); iter++ )
^
cuberenewal.cpp: At global scope:
cuberenewal.cpp:67:33: error: 'CUBE_RENEWAL_DATA' was not declared in this scope
static bool FN_check_cube_data (CUBE_RENEWAL_DATA *cube_data)
^
cuberenewal.cpp:67:52: error: 'cube_data' was not declared in this scope
static bool FN_check_cube_data (CUBE_RENEWAL_DATA *cube_data)
^
cuberenewal.cpp:68:1: error: expected ',' or ';' before '{' token
{
^
gmake: *** [.obj/cuberenewal.o] Error 1
root@:/usr/src/SURSA/Files/game/src #


Poză:
*Detalii suplimentare:
Avatar utilizator
[HF]White
Metin Master

Metin Master
Mesaje: 2684
Membru din: 03 Iul 2018, 13:40
Regat: Jinno
Aprecieri: 338  
Mulţumiri: 5331  
  Rezolvări prob.: 13
Discord: Copiază ID
 Contact:
Medalii

inactiv, arhivat
Închis
Răspunsuri
5
Vizualizări
629
Răspunsuri
9
Vizualizări
666
Răspunsuri
2
Vizualizări
354
Răspunsuri
3
Vizualizări
380

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

  • Informaţie