- Mesaj
- 150
- Çözümler
- 1
- Beğeni
- 93
- Puan
- 689
- Ticaret Puanı
- 0
Merhabalar,
GamesSrc Build işleminde hata alıyorum...
Sizce sebebi nedir ?
Yardımlarınızı bekliyorum.
Saygılarımla.
GamesSrc Build işleminde hata alıyorum...
GameSrc_Build_Err:
compile char.cpp
char.cpp:7915:124: warning: trigraph ??) ignored, use -trigraphs to enable
char.cpp:7915:248: warning: trigraph ??) ignored, use -trigraphs to enable
char.cpp:7915:278: warning: trigraph ??) ignored, use -trigraphs to enable
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, long long int, bool, bool)':
char.cpp:3649: error: duplicate case value
char.cpp:3640: error: previously used here
Makefile:136: recipe for target 'OBJDIR/char.o' failed
gmake[1]: *** [OBJDIR/char.o] Error 1
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/game/src'
Makefile:53: recipe for target 'all' failed
gmake: *** [all] Error 2
char.cpp:
case POINT_GOLD:
{
long long newGold = MINMAXLL(0, static_cast<long long>(GetGold()) + static_cast<long long>(amount), g_llMaxGold);
SetGold(newGold);
val = GetGold();
}
break;
#ifdef ENABLE_CHEQUE_SYSTEM
case POINT_CHEQUE:
{
SetCheque(GetCheque() + amount);
val = GetCheque();
}
break;
#endif
#ifdef ENABLE_COINS_SYSTEM
case POINT_COINS:
{
SetCoins(GetCoins() + amount);
val = GetCoins();
}
break;
#endif
case POINT_SKILL:
case POINT_STAT:
case POINT_SUB_SKILL:
case POINT_STAT_RESET_COUNT:
case POINT_HORSE_SKILL:
SetPoint(type, GetPoint(type) + amount);
val = GetPoint(type);
SetRealPoint(type, val);
break;
Sizce sebebi nedir ?
Yardımlarınızı bekliyorum.
Saygılarımla.