Posted: Sun Feb 09, 2025 10:36 pm Post subject: Need Help On Using Pointers in Auto Assembler Script
Hey y’all,
I’m trying to create a script in NFS Most Wanted 2012 (NFS13.exe) that changes the color of police cars. The game uses one dynamic address for each police unit, therefore requiring a pointer to work.
And this is the pointer of the first police unit:
Offset 1: 1DB0
Offset 2: A1314
Base Address: 10EC5F0
originalcode:
movsd xmm0, [eax+30] // Load the original color value to pass through
jmp exit
exit:
jmp returnhere
// Crown Vic direct memory address
10EC5F0:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
10EC5F0:
movsd xmm0, [eax+30] // Restore original color
The error says that this line cannot be compiled
Code:
mov eax, [eax + 1DB0]
-This pointer ALWAYS works.
- I tried combining the base address and both offsets into one line.
-Whether or not if I add “NFS13.exe”+, it still doesn’t work.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum