Hi,
It is strange that sometimes my bot can't get out of combat state even if the monsters have gone far. So I try to update the combat flag like this :
but this seems not to work.Code:CGPlayer *pLocal=GetLocalPlayer(); DWORD dwObjectStorage=*(DWORD *)((DWORD)pLocal+8); *(DWORD *)(dwObjectStorage+0xec)=*(DWORD *)(dwObjectStorage+0xec)&0x00000008;
I can't find the reason why this happened.
Can anyone give me a hand?
Thanks!