- Mesaj
- 194
- Çözümler
- 5
- Beğeni
- 90
- Puan
- 704
- Ticaret Puanı
- 0
Evet şimdi sorun ne olabilir acaba bu dosya neden hata veriyor bilgisi olan varsa destek verirseniz çok sevinirim vallahi
battlearena.cpp:
gmake[1]: Entering directory '/usr/src/source/server/Server/game/src'
compiling BattleArena.cpp
In file included from BattleArena.cpp:3:
constants.h:2:8: error: 'TBattleTypeStat' does not name a type
extern TBattleTypeStat BattleTypeStats[BATTLE_TYPE_MAX_NUM];
^~~~~~~~~~~~~~~
In file included from horse_rider.h:4,
from char.h:8,
from BattleArena.cpp:7:
constants.h:2:8: error: 'TBattleTypeStat' does not name a type; did you mean 'EBattleType'?
extern TBattleTypeStat BattleTypeStats[BATTLE_TYPE_MAX_NUM];
^~~~~~~~~~~~~~~
EBattleType
In file included from char.h:8,
from BattleArena.cpp:7:
horse_rider.h:74:26: error: 'THorseInfo' does not name a type; did you mean 'THorseStat'?
void SetHorseData(const THorseInfo& crInfo);
^~~~~~~~~~
THorseStat
horse_rider.h:75:8: error: 'THorseInfo' does not name a type; did you mean 'THorseStat'?
const THorseInfo& GetHorseData() const { return m_Horse; }
^~~~~~~~~~
THorseStat
horse_rider.h:96:2: error: 'THorseInfo' does not name a type; did you mean 'THorseStat'?
THorseInfo m_Horse;
^~~~~~~~~~
THorseStat
horse_rider.h: In member function 'BYTE CHorseRider::GetHorseLevel() const':
horse_rider.h:38:39: error: 'm_Horse' was not declared in this scope
BYTE GetHorseLevel() const { return m_Horse.bLevel; }
^~~~~~~
horse_rider.h:38:39: note: suggested alternative: 'FeedHorse'
BYTE GetHorseLevel() const { return m_Horse.bLevel; }
^~~~~~~
FeedHorse
horse_rider.h: In member function 'short int CHorseRider::GetHorseHealth() const':
horse_rider.h:46:41: error: 'm_Horse' was not declared in this scope
short GetHorseHealth() const { return m_Horse.sHealth; }
^~~~~~~
horse_rider.h:46:41: note: suggested alternative: 'FeedHorse'
short GetHorseHealth() const { return m_Horse.sHealth; }
^~~~~~~
FeedHorse
horse_rider.h: In member function 'short int CHorseRider::GetHorseStamina() const':
horse_rider.h:47:42: error: 'm_Horse' was not declared in this scope
short GetHorseStamina() const { return m_Horse.sStamina; }
^~~~~~~
horse_rider.h:47:42: note: suggested alternative: 'FeedHorse'
short GetHorseStamina() const { return m_Horse.sStamina; }
^~~~~~~
FeedHorse
horse_rider.h: In member function 'bool CHorseRider::IsHorseRiding() const':
horse_rider.h:60:38: error: 'm_Horse' was not declared in this scope
bool IsHorseRiding() const { return m_Horse.bRiding; }
^~~~~~~
horse_rider.h:60:38: note: suggested alternative: 'FeedHorse'
bool IsHorseRiding() const { return m_Horse.bRiding; }
^~~~~~~
FeedHorse
In file included from char.h:10,
from BattleArena.cpp:7:
constants.h: At global scope:
constants.h:2:8: error: 'TBattleTypeStat' does not name a type; did you mean 'EBattleType'?
extern TBattleTypeStat BattleTypeStats[BATTLE_TYPE_MAX_NUM];
^~~~~~~~~~~~~~~
EBattleType
In file included from BattleArena.cpp:7:
char.h:626:30: error: 'TPlayerTable' does not name a type
void SetPlayerProto(const TPlayerTable* table);
^~~~~~~~~~~~
char.h:627:27: error: 'TPlayerTable' has not been declared
void CreatePlayerProto(TPlayerTable& tab);
^~~~~~~~~~~~
char.h:724:8: error: 'TMobTable' does not name a type
const TMobTable& GetMobTable() const;
^~~~~~~~~
char.h:922:32: error: 'TQuickslot' has not been declared
bool GetQuickslot(BYTE pos, TQuickslot** ppSlot);
^~~~~~~~~~
char.h:923:32: error: 'TQuickslot' has not been declared
bool SetQuickslot(BYTE pos, TQuickslot& rSlot);
^~~~~~~~~~
char.h:929:2: error: 'TQuickslot' does not name a type
TQuickslot m_quickslot[QUICKSLOT_MAX_NUM];
^~~~~~~~~~
In file included from BattleArena.cpp:7:
char.h:945:35: error: 'TPacketAffectElement' has not been declared
void LoadAffect(DWORD dwCount, TPacketAffectElement* pElements);
^~~~~~~~~~~~~~~~~~~~
char.h:1110:33: error: 'TPacketMyshopPricelistHeader' does not name a type
void UseSilkBotaryReal(const TPacketMyshopPricelistHeader* p);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
char.h:1220:43: error: 'TShopItemTable' has not been declared
void OpenMyShop(const char* c_pszSign, TShopItemTable* pTable, BYTE bItemCount);
^~~~~~~~~~~~~~
char.h:1490:2: error: 'TPlayerSkill' does not name a type
TPlayerSkill* m_pSkillLevels;
^~~~~~~~~~~~
char.h:1497:30: error: 'TMobTable' does not name a type
void AssignTriggers(const TMobTable* table);
^~~~~~~~~
char.h:1543:63: error: 'TPlayerItem' has not been declared
void LoadSafebox(int iSize, DWORD dwGold, int iItemCount, TPlayerItem* pItems);
^~~~~~~~~~~
char.h:1565:35: error: 'TPlayerItem' has not been declared
void LoadMall(int iItemCount, TPlayerItem* pItems);
^~~~~~~~~~~
char.h:1676:34: error: 'TMobTable' does not name a type
void ApplyMobAttribute(const TMobTable* table);
^~~~~~~~~
cc1plus: warning: unrecognized command line option '-Wno-volatile'
gmake[1]: *** [Makefile:182: .obj/BattleArena.o] Error 1
gmake[1]: Leaving directory '/usr/src/source/server/Server/game/src'
gmake: *** [Makefile:111: all] Error 2
root@Test_Server:/usr/src/source/server/Server #