just press download and the video will play in browser
[Hidden Content]
see debug log when the BINARY_NEW_AddAffect 20 0 0 4 come but after Remove Affect 20 0 come with a delay thats remove the effect of 2 th skill so i think thats the problem.
PythonNetworkStreamPhaseGame.cpp
BINARY_NEW_AddAffect
bool CPythonNetworkStream::RecvAffectAddPacket()
{
TPacketGCAffectAdd kAffectAdd;
if (!Recv(sizeof(kAffectAdd), &kAffectAdd))
return false;
TPacketAffectElement & rkElement = kAffectAdd.elem;
if (rkElement.bPointIdxApplyOn == POINT_ENERGY)
{
CPythonPlayer::instance().SetStatus (POINT_ENERGY_END_TIME, CPythonApplication::Instance().GetServerTimeStamp() + rkElement.lDuration);
__RefreshStatus();
}
PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_NEW_AddAffect", Py_BuildValue("(iiii)", rkElement.dwType, rkElement.bPointIdxApplyOn, rkElement.lApplyValue, rkElement.lDuration));
CPythonPlayer::instance().AddAffect(rkElement.dwType, kAffectAdd.elem); //martysama source come without this line
return true;
}
BINARY_NEW_RemoveAffect
bool CPythonNetworkStream::RecvAffectRemovePacket()
{
TPacketGCAffectRemove kAffectRemove;
if (!Recv(sizeof(kAffectRemove), &kAffectRemove))
return false;
PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_NEW_RemoveAffect", Py_BuildValue("(ii)", kAffectRemove.dwType, kAffectRemove.bApplyOn));
CPythonPlayer::instance().RemoveAffect(kAffectRemove.dwType, kAffectRemove.bApplyOn); //martysama source come without this line
return true;
}