Hi. Anyone knows how to fix this syssers error? It´s something with a mount i think.. because this errror is showed everytime when i ride a mount, after few minutes my char unmount but item is still in the slot :(
PyObject* netRecvGuildSymbol(PyObject* poSelf, PyObject* poArgs)
{
char * szIP;
if (!PyTuple_GetString(poArgs, 0, &szIP))
return Py_BuildException();
int iPort;
if (!PyTuple_GetInteger(poArgs, 1, &iPort))
return Py_BuildException();
int iGuildID;
if (!PyTuple_GetInteger(poArgs, 2, &iGuildID))
return Py_BuildException();
CNetworkAddress kAddress;
kAddress.Set(szIP, iPort);
std::vector<DWORD> kVec_dwGuildID;
kVec_dwGuildID.clear();
kVec_dwGuildID.push_back(iGuildID);
#ifdef fix_header254
if (kVec_dwGuildID.size()>0)
{
CGuildMarkDownloader& rkGuildMarkDownloader=CGuildMarkDownloader::Instance();
if (!rkGuildMarkDownloader.ConnectToRecvSymbol(kAddress, 0, 0, kVec_dwGuildID))
{
assert(!"Failed connecting to recv symbol");
}
}
#endif
return Py_BuildNone();
}
bool CPythonNetworkStream::RecvLandPacket()
{
TPacketGCLandList kLandList;
if (!Recv(sizeof(kLandList), &kLandList))
return false;
std::vector<DWORD> kVec_dwGuildID;
CPythonMiniMap & rkMiniMap = CPythonMiniMap::Instance();
CPythonBackground & rkBG = CPythonBackground::Instance();
CInstanceBase * pMainInstance = CPythonPlayer::Instance().NEW_GetMainActorPtr();
rkMiniMap.ClearGuildArea();
rkBG.ClearGuildArea();
int iPacketSize = (kLandList.size - sizeof(TPacketGCLandList));
for (; iPacketSize > 0; iPacketSize-=sizeof(TLandPacketElement))
{
TLandPacketElement kElement;
if (!Recv(sizeof(TLandPacketElement), &kElement))
return false;
rkMiniMap.RegisterGuildArea(kElement.dwID,
kElement.dwGuildID,
kElement.x,
kElement.y,
kElement.width,
kElement.height);
if (pMainInstance)
if (kElement.dwGuildID == pMainInstance->GetGuildID())
{
rkBG.RegisterGuildArea(kElement.x,
kElement.y,
kElement.x+kElement.width,
kElement.y+kElement.height);
}
if (0 != kElement.dwGuildID)
kVec_dwGuildID.push_back(kElement.dwGuildID);
}
#ifdef fix_header254
if (kVec_dwGuildID.size()>0)
__DownloadSymbol(kVec_dwGuildID);
#endif
return true;
}