- Mesaj
- 1.053
- Çözümler
- 38
- Beğeni
- 781
- Puan
- 1.109
- Ticaret Puanı
- 0
char.cpp de bul bu kodu:
arat:
bool CHARACTER::Sync(long x, long y)
içinde bul:
if (!new_tree)
{
if (GetDesc())
{
sys_err("cannot find tree at %d %d (name: %s)", x, y, GetName());
GetDesc()->SetPhase(PHASE_CLOSE);
}
else
{
sys_err("no tree: %s %d %d %d", GetName(), x, y, GetMapIndex());
Dead();
}
return false;
}
Değiştir:
if (!new_tree)
{
if (GetDesc())
{
sys_err("cannot find tree at %d %d (name: %s)", x, y, GetName());
#ifdef ENABLE_KICK_SYNC_FIX
x = GetX();
y = GetY();
new_tree = GetSectree();
#else
GetDesc()->SetPhase(PHASE_CLOSE);
#endif
}
else
{
sys_err("no tree: %s %d %d %d", GetName(), x, y, GetMapIndex());
Dead();
}
return false;
}
common: service.h ya da commondefines hangisini kullanıyorsan ekle:
#define ENABLE_KICK_SYNC_FIX // Cannot find tree/sync fixed
valiant2 filesında ne var ne yok bakarken gördüm forumda yoktu sanırım paylaşmak istedim.
Sıkıntı çıkarsa yazın çözeriz, bu hata sanırım karakterler kick yiyince çıkıyordu loglarda