justa_dude Expert Cheater Reputation: 4
Joined: 29 Jun 2010 Posts: 146
|
Posted: Wed Jul 28, 2010 8:52 pm Post subject: |
|
|
I just got this game. If only the gameplay were as good as the presentation, it would be a new favorite.
Here's a small script that will freeze the elimination timer only when you're in last place:
| Code: | [ENABLE]
alloc(newmem2,512)
label(returnhere2)
registersymbol(pole_position)
alloc(pole_position,4)
SplitSecond.exe+160EAA: //grab pole_position
jmp newmem2
nop
returnhere2:
newmem2:
push eax
lea eax,[esi+184]
mov [pole_position],eax
pop eax
cmp [esi+00000184],eax
jmp returnhere2
alloc(newmem,256)
label(returnhere)
label(exit)
SplitSecond.exe+46A70: //mess with timer
jmp newmem
nop
nop
nop
nop
returnhere:
newmem:
mov ecx,[pole_position]
cmp ecx,0 //don't dereference null
je exit //if we haven't grabbed position yet, we're probably in last anyway
push ebx
mov ebx,[ecx+4] //number of cars racing
mov ecx,[ecx]
cmp ecx, ebx
pop ebx
je exit //if position = num cars, we're in last place...
addss xmm1,xmm0 //increment elapsed time
exit:
movss [esi+08],xmm1
jmp returnhere
[DISABLE]
dealloc(newmem2)
unregistersymbol(pole_position)
dealloc(pole_position)
SplitSecond.exe+160EAA: //grab pole_position
cmp [esi+00000184],eax
//Alt: db 39 86 84 01 00 00
dealloc(newmem)
SplitSecond.exe+46A70: //mess with timer
addss xmm1,xmm0
movss [esi+08],xmm1
//Alt: db F3 0F 58 C8 F3 0F 11 4E 08
|
Cheers,
adude
|
|