I've been trying to convert the FMA + Godmode script to c++ to use for a trainer but I'm having difficulties with it and would appreciate if someone could tell me how exactly do I go about doing this. The script that I'm trying to convert is:
I believe that a codecave is used for this and I've been reading how to do codecaves through darkspace's tutorial but this script seems different from the codecaves/scripts he uses in his examples so I'm not sure how to go about doing this.Code:[enable] alloc(IntersectRectHook,128) label(intersectrect_return) label(return_true) label(return_false) IntersectRect: jmp IntersectRectHook intersectrect_return: IntersectRectHook: cmp [esp],0071E82E // dEM // 85 c0 75 0C 8B 5C ? ? 45 je return_true cmp [esp],0071E076 // phsyical godmode // 85 C0 75 35 ? 4C ? ? ? 44 je return_false mov edi,edi push ebp mov ebp,esp jmp intersectrect_return return_true: mov eax,1 ret 0C return_false: mov eax,0 ret 0C [disable] dealloc(IntersectRectHook)
I know that this script needs to be updated but I haven't had a chance to actually patch my game yet.
Any help would be appreciated! Thanks in advance.
#Recovery Mode
LinkBack URL
About LinkBacks
Reply With Quote



Bookmarks