Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 HEMEN TIKLA!
Party Üyeleri İçin Yerden Item Toplama (Client Fix)
Party Üyeleri İçin Yerden Item Toplama (Client Fix)Bu küçük ama işlevsel client düzenlemesi sayesinde party (grup) üyelerine ait itemleri yerden toplama problemi çözülmüş olur.
C++:
PythonItem.cpp
// yok ise ekle
#include "PythonPlayer.h"
CPythonItem::GetCloseItemVector içinde
TGroundItemInstanceMap::iterator i;
//altına ekle
CPythonPlayer& rkPlayer = CPythonPlayer::Instance();
if (dwDistance < dwCloseItemDistance && (pInstance->stOwnership == "" || pInstance->stOwnership == myName))
//değiştir
if (dwDistance < dwCloseItemDistance && (pInstance->stOwnership == "" || pInstance->stOwnership == myName || rkPlayer.IsPartyMemberByName(pInstance->stOwnership.c_str())))