| View previous topic :: View next topic |
| Author |
Message |
padlets How do I cheat?
Reputation: 0
Joined: 11 Sep 2007 Posts: 8
|
Posted: Tue Sep 11, 2007 3:56 pm Post subject: Help in Bioshock |
|
|
I find the address for No Reload but when i enable the script the game crashes (but when i click on replace in the "find out what writes to this address" it's work)
| Code: |
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
10CD93CC:
jmp newmem
nop
nop
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
add [edi],eax
mov edi,[edi]
mov ecx,[esp+14]
originalcode:
sub [edi],eax
mov edi,[edi]
mov ecx,[esp+14]
exit:
jmp returnhere
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
10CD93CC:
sub [edi],eax
mov edi,[edi]
mov ecx,[esp+14]
|
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25949 Location: The netherlands
|
Posted: Tue Sep 11, 2007 4:03 pm Post subject: |
|
|
remove the original code since you've already written it yourself
or before the line "originalcode:" place the text :"jmp exit"
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
padlets How do I cheat?
Reputation: 0
Joined: 11 Sep 2007 Posts: 8
|
Posted: Tue Sep 11, 2007 4:15 pm Post subject: |
|
|
| The game still crashes
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25949 Location: The netherlands
|
Posted: Tue Sep 11, 2007 7:33 pm Post subject: |
|
|
try this:
| Code: |
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
10CD93CC:
jmp newmem
nop
nop
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
mov edi,[edi]
mov ecx,[esp+14]
exit:
jmp returnhere
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
10CD93CC:
sub [edi],eax
mov edi,[edi]
mov ecx,[esp+14]
|
that is effectivly a nop
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
padlets How do I cheat?
Reputation: 0
Joined: 11 Sep 2007 Posts: 8
|
Posted: Wed Sep 12, 2007 5:39 am Post subject: |
|
|
Not working!
still crashes
|
|
| Back to top |
|
 |
|