|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Char03 Newbie cheater Reputation: 0
Joined: 12 Nov 2015 Posts: 23
|
Posted: Sat Nov 12, 2016 8:17 pm Post subject: Fly Hack Help |
|
|
Hi everyone, what happens is that I managed to do the "fly hack", by doing AOB Injection But it turns out that the player flies but does not go down to the ground again he keeps going up without stopping once I hit the space key. I will leave the auto-assemble below to see if they can help me solve it.
Original: mov [edi+00000134],al
And I modify it to al to 9 (mov [edi+00000134],9)
Code: |
[ENABLE]
aobscan(INJECT,88 87 34 01 00 00 0F)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
// Original mov [edi+00000134],al
mov [edi+00000134],9
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 88 87 34 01 00 00
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 1596A047
""+1596A02E: 8B F0 - mov esi,eax
""+1596A030: 8D 7C 24 0C - lea edi,[esp+0C]
""+1596A034: B9 06 00 00 00 - mov ecx,00000006
""+1596A039: FC - cld
""+1596A03A: F3 A5 - repe movsd
""+1596A03C: 59 - pop ecx
""+1596A03D: 5E - pop esi
""+1596A03E: 5F - pop edi
""+1596A03F: E8 84 1E 00 00 - call 1596BEC8
""+1596A044: 83 C4 30 - add esp,30
// ---------- INJECTING HERE ----------
""+1596A047: 88 87 34 01 00 00 - mov [edi+00000134],al
// ---------- DONE INJECTING ----------
""+1596A04D: 0F B6 C0 - movzx eax,al
""+1596A050: 85 C0 - test eax,eax
""+1596A052: 0F 84 41 04 00 00 - je 1596A499
""+1596A058: 8D 85 68 FA FF FF - lea eax,[ebp-00000598]
""+1596A05E: 05 0C 00 00 00 - add eax,0000000C
""+1596A063: 8B 08 - mov ecx,[eax]
""+1596A065: 89 8D 80 FB FF FF - mov [ebp-00000480],ecx
""+1596A06B: 8B 48 04 - mov ecx,[eax+04]
""+1596A06E: 89 8D 84 FB FF FF - mov [ebp-0000047C],ecx
""+1596A074: 8B 40 08 - mov eax,[eax+08]
}
|
- Thanks.
|
|
Back to top |
|
|
Betcha Expert Cheater Reputation: 4
Joined: 13 Aug 2015 Posts: 232 Location: Somewhere In Space
|
Posted: Sun Nov 13, 2016 12:59 am Post subject: Re: Fly Hack Help |
|
|
Can't really call it a fly hack, cause all this script does is:
Destroys jump function and instead of landing or do normal jump -
Character just fly up till hit the map top and cant do nothing else..
I would suggest you to keep looking around in same place cause -
There must be somewhere around the unlimited jump function -
By nop the JE / JNE instructions will be able re-jump in air.
Also by changing in memory viewer lines like this:
mov byte ptr [esi+offset],00
To this:
mov byte ptr [esi+offset],01
Can make more useful things to happen like:
Instant re-jump - while hold space you fly up, if let go you fall down
(pretty nice air control).
Or if you want just enjoy moving in air can do this :
Find coordinates, more important just Up and Down.
Do injection on it and nop the line who writes the Up / Down value.
Add Hot-key on script for Enable / Disable.
It will make you freeze in air when Enabled and let you move left / right.
To move up and down while you frozen in air:
Add hot-key on Up / Down value for Increase value with / Decrease value with.
How to make free-fly just by pushing forward and move where you aim have no idea!
|
|
Back to top |
|
|
Char03 Newbie cheater Reputation: 0
Joined: 12 Nov 2015 Posts: 23
|
Posted: Sun Nov 13, 2016 2:25 am Post subject: Re: Fly Hack Help |
|
|
Betcha wrote: | Can't really call it a fly hack, cause all this script does is:
Destroys jump function and instead of landing or do normal jump -
Character just fly up till hit the map top and cant do nothing else..
I would suggest you to keep looking around in same place cause -
There must be somewhere around the unlimited jump function -
By nop the JE / JNE instructions will be able re-jump in air.
Also by changing in memory viewer lines like this:
mov byte ptr [esi+offset],00
To this:
mov byte ptr [esi+offset],01
Can make more useful things to happen like:
Instant re-jump - while hold space you fly up, if let go you fall down
(pretty nice air control).
Or if you want just enjoy moving in air can do this :
Find coordinates, more important just Up and Down.
Do injection on it and nop the line who writes the Up / Down value.
Add Hot-key on script for Enable / Disable.
It will make you freeze in air when Enabled and let you move left / right.
To move up and down while you frozen in air:
Add hot-key on Up / Down value for Increase value with / Decrease value with.
How to make free-fly just by pushing forward and move where you aim have no idea! |
Thanks you I started to investigate in memory of the game and I found the JE and replace it by NOP and now if it gives doubles jump.
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Nov 13, 2016 7:02 am Post subject: |
|
|
You can set up a trigger that will only execute while the spacebar is being held down, similarly to what I did here. Obviously, that is a very crude way of doing it, but it works.
Put simply, it would look something like this (excerpt only):
Code: | label(spacebar)
registersymbol(spacebar)
code:
cmp byte ptr [spacebar],1
je fly
jmp originalcode
fly:
mov [edi+00000134],9
jmp return
originalcode:
mov [edi+00000134],al
jmp return
spacebar:
db 0 |
In this case, you would also need to find the instruction that checks if the spacebar is being held down, but that is easy enough. Once found, have that instruction that is constantly reading that value to constantly store it, then just check in your fly script what that value is.
|
|
Back to top |
|
|
|
|
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
|
|