Jump to content
Sign in to follow this  
Guest Gamers

Erro Ao Compilar Source

Recommended Posts

Guest Gamers

compile BattleArena.cpp

In file included from BattleArena.cpp:6:0:

char.h:328:2: error: 'LONGLONG' does not name a type

LONGLONG points[POINT_MAX_NUM];

^

char.h:339:2: error: 'LONGLONG' does not name a type

LONGLONG gold;

^

char.h:359:2: error: 'LONGLONG' does not name a type

LONGLONG points[POINT_MAX_NUM];

^

char.h:696:33: error: 'ULONGLONG' has not been declared

void PointChange(BYTE type, ULONGLONG amount, bool bAmount = false, bool bB roadcast = false);

^

char.h:696:10: error: 'void CHARACTER::PointChange(BYTE, int, bool, bool)' canno t be overloaded

void PointChange(BYTE type, ULONGLONG amount, bool bAmount = false, bool bB roadcast = false);

^

char.h:692:10: error: with 'void CHARACTER::PointChange(BYTE, int, bool, bool)'

void PointChange(BYTE type, int amount, bool bAmount = false, bool bBroadca st = false);

^

char.h:698:33: error: 'LONGLONG' has not been declared

void PointChange(BYTE type, LONGLONG amount, bool bAmount = false, bool bBr oadcast = false);

^

char.h:698:10: error: 'void CHARACTER::PointChange(BYTE, int, bool, bool)' canno t be overloaded

void PointChange(BYTE type, LONGLONG amount, bool bAmount = false, bool bBr oadcast = false);

^

char.h:692:10: error: with 'void CHARACTER::PointChange(BYTE, int, bool, bool)'

void PointChange(BYTE type, int amount, bool bAmount = false, bool bBroadca st = false);

^

In file included from BattleArena.cpp:6:0:

char.h:1096:3: error: 'LONGLONG' does not name a type

LONGLONG GetGold() const { return m_points.gold; }

^

char.h:1097:18: error: 'LONGLONG' has not been declared

void SetGold(LONGLONG gold) { m_points.gold = gold; }

^

char.h:1099:3: error: 'LONGLONG' does not name a type

LONGLONG GetAllowedGold() const;

^

char.h:1100:19: error: 'LONGLONG' has not been declared

void GiveGold(LONGLONG llAmount);

^

char.h: In member function 'void CHARACTER::SetGold(int)':

char.h:1097:44: error: 'CHARACTER_POINT' has no member named 'gold'

void SetGold(LONGLONG gold) { m_points.gold = gold; }

^

Makefile:63: recipe for target 'OBJDIR/BattleArena.o' failed

gmake[1]: *** [OBJDIR/BattleArena.o] Error 1

gmake[1]: Leaving directory '/tmtsource/Server/game/src'

Makefile:104: recipe for target 'rebuild' failed

gmake: *** [rebuild] Error 2

Share this post


Link to post
Share on other sites
Guest Gamers

Está é a source que o tierrilopes, disponibilizou no suite dele.

Share this post


Link to post
Share on other sites
Guest Gamers

Tudo que tem LONGLONG mudo para long long?

Share this post


Link to post
Share on other sites
Guest Gamers

tierrilopes, me aconselha alguma source para montar um clássico 2006-2010?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.