- Apr 25, 2017
I've got a strange issue/bug with one of my scripts. I made a 100% accuracy hack in Mass Effect. What's weird is that only like 1/5 times the script will cause the game to crash. Not entirely sure why. I can get it working on my PC most of the time. On other people game, it will also crash 1/5 times. Anyone know why it would happen? It's a fairly straightforward script. It crashed when enabled.
[ENABLE] aobscanmodule(crossSpreadReplace,MassEffectAndromeda.exe,F3 0F 58 F9 F3 0F 11 BB ?? ?? ?? ?? 0F 28 7C 24 ?? 48) globalalloc(crossSpreadOriginalWhole,12) globalalloc(crossSpreadOriginalOffset,4) crossSpreadOriginalWhole: readmem(crossSpreadReplace,12) // Read the entire two instructions to be replaced crossSpreadOriginalOffset: readmem(crossSpreadReplace+8,4) // Read just the '??' bytes crossSpreadReplace: // Write the new instruction to replace previous two. MOV [rbx+??],#0 and two NOPs for equal bytes replaced db C7 83 readmem(crossSpreadOriginalOffset,4) db 00 00 00 00 90 90 registersymbol(crossSpreadReplace) [DISABLE] crossSpreadReplace: readmem(crossSpreadOriginalWhole,12) // Replace with original two instructions unregistersymbol(crossSpreadReplace)