Problema support_system

  • Autor subiect kazuhiri
  • Dată creare
  • Răspunsuri: Răspunsuri 6
  • Vizualizări: Vizualizări 2K
Stare
Nu este deschis pentru răspunsuri viitoare.

kazuhiri

Member
21 Iun 2018
137
4
18
Romania
Monede Dragon
0
Salut infomanii,am si eu o mica problema cu sursa game cand o compilez
compiling BattleArena.cpp
In file included from BattleArena.cpp:3:0:
constants.h:100:1: error: expected initializer before 'extern'
extern const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1];
^
In file included from BattleArena.cpp:7:0:
char.h:1637:3: error: 'CSupportSystem' does not name a type
CSupportSystem* GetSupportSystem() { return m_supportSystem; }
^
char.h:1640:3: error: 'CSupportSystem' does not name a type
CSupportSystem* m_supportSystem;
^
gmake: *** [.obj/BattleArena.o] Error 1
constants: Infomanii - Din pasiune pentru jocuri !
char.h Infomanii - Din pasiune pentru jocuri !
 
Ultima editare:
Salut infomanii,am si eu o mica problema cu sursa game cand o compilez
compiling BattleArena.cpp
In file included from BattleArena.cpp:3:0:
constants.h:100:1: error: expected initializer before 'extern'
extern const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1];
^
In file included from BattleArena.cpp:7:0:
char.h:1637:3: error: 'CSupportSystem' does not name a type
CSupportSystem* GetSupportSystem() { return m_supportSystem; }
^
char.h:1640:3: error: 'CSupportSystem' does not name a type
CSupportSystem* m_supportSystem;
^
gmake: *** [.obj/BattleArena.o] Error 1
constants: Infomanii - Din pasiune pentru jocuri !
char.h Infomanii - Din pasiune pentru jocuri !

constans.h-> linia 98:
asta
HTML:
extern const DWORD        party_exp_distribute_table
ar trebui sa fie
HTML:
extern const DWORD        party_exp_distribute_table;

In cazul celei de-a doua erori: ai adaugat
HTML:
#define ENABLE_SUPPORT_SYSTEM
in common?
 
constans.h-> linia 98:
asta
HTML:
extern const DWORD        party_exp_distribute_table
ar trebui sa fie
HTML:
extern const DWORD        party_exp_distribute_table;

In cazul celei de-a doua erori: ai adaugat
HTML:
#define ENABLE_SUPPORT_SYSTEM
in common?
in common da
#ifndef __INC_SERVICE_H__
#define __INC_SERVICE_H__

#define _IMPROVED_PACKET_ENCRYPTION_ // ÆÐŶ ¾ÏÈ£È °³¼±
//#define __AUCTION__
#define __PET_SYSTEM__
#define __UDP_BLOCK__
#endif
#define ENABLE_SUPPORT_SYSTEM
 

i1vgcJi.png

As vrea sa cred, ca intelegi de acolo, fara explicatii suplimentare ;)

Bafta.
 
asta primesc acum
char.cpp: In member function 'DWORD CHARACTER::GetNextExp() const':
char.cpp:7458:10: error: 'exp_table' was not declared in this scope
return exp_table[GetLevel()];
^
compiling char_quickslot.cpp
char.cpp:7459:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
compiling char_resist.cpp
gmake: *** [.obj/char.o] Error 1
gmake: *** Waiting for unfinished jobs....
char_battle.cpp: In function 'DWORD __GetPartyExpNP(DWORD)':
char_battle.cpp:52:41: error: invalid types 'const DWORD {aka const unsigned int}[const DWORD {aka const unsigned int}]' for array subscript
return party_exp_distribute_table[level];
^
char_battle.cpp:53:1: warning: control reaches end of non-void function [-Wreturn-type]
}
 
Stare
Nu este deschis pentru răspunsuri viitoare.