- Mesaj
- 1.317
- Çözümler
- 84
- Beğeni
- 791
- Puan
- 1.475
- Ticaret Puanı
- 0
FİX:
Game-Db Source/Server/common/service.h
gir ve müsait bir yere ekle;
#define ENABLE_LONCA_YANG_FIX
Game-Db Source/Server/game/src/input_main.cpp
gir ve arat;
const int gold = MIN(*reinterpret_cast<const int*>(c_pData), 500000);
değiştir;
#ifdef ENABLE_LONCA_YANG_FIX
const int gold = *reinterpret_cast<const int*>(c_pData);
#else
const int gold = MIN(*reinterpret_cast<const int*>(c_pData), 500000);
#endif
tekrar arat;
pGuild->RequestWithdrawMoney(ch, gold);
üstüne ekle ve derle;
#ifdef ENABLE_LONCA_YANG_FIX
if(ch->GetGold()+gold/**/ >= /**/ GOLD_MAX)
{
ch->ChatPacket(CHAT_TYPE_INFO, "Yang miktarın maksimum seviyeye ulaşmış.");
return SubPacketLen;
}
#endif
Selamlar arkadaşlar. Bu fix ne işe yarıyor? Neyi çözmüş yada önlemiş oluyoruz?