Quote:
Originally Posted by WolfgangNeverDie
Can you give me a example. I change "return 0" to "return 1" but still crashed!
|
Ensure about your func address
Code:
reinterpret_cast<int(__thiscall*)(OnPacketHandle*, CMsgStreamBuffer*)>(0x0084CAB0)(this, MsgBuffer);
Because there's no class in SRO called
OnPacketHandle and I can't really tell which process you're hooking.
0084CAB0 shall mean CPSMission, so ensure about your bytes as flo mentioned first and the return value. Debugging will help you find it out quickly.
If you're interested, I had a mini-guide about this:
[Only registered and activated users can see links. Click Here To Register...] (meanwhile flo's reconstruction is way better, but I like just to stick with my reverse)