| View previous topic :: View next topic |
| Author |
Message |
Mad Dragon How do I cheat?
Reputation: 0
Joined: 09 Sep 2006 Posts: 2
|
Posted: Sun Sep 10, 2006 8:31 am Post subject: teleporting to different map locations.. help! :cry: |
|
|
hi! i have been trying to make a code so i can just click a button on my trainer and my char will teleport to a certain place on the map...
now i have found 2 addys that say where my char is on the map and if i change them my char does teleport to different places on the map...
now this is where the problem is. the addys are dma now i have got around that by using this code:
offset 0067cb5e
mov dword ptr [eax+0x3c],4345EC61 <- the value for location relative to north and south.
fld dword ptr [eax+0x3c]
fsub dword ptr [eax+0x48]
jmp 00457ea7
offset 00457ea1
jmp 0067cb5e
nop
offset 0067dafb
mov dword ptr [eax+0x44],43775610 <- the value for location relative to east and west.
fld dword ptr [eax+0x44]
fsub dword ptr [eax+0x50]
jmp 0045C0F7
offset 0045C0F1
jmp 0067dafb
nop
now this code works fine... BUT... only if im near the middle of the map *sighs*
now you might think ok so what is the problem.
the problem is that if i go, say quite far to the east for example, then the value i get is -990229545 (C4FA4BD7 in hex).
now if i try putting this value in my code using easywrite i get this message:
error:mov dword ptr [eax+0x44],C4FA4BD7(unknown identifier)
so thats the problem...
so does anyone know a way to use values like this? i know it must be possible because if i make a pointer in cheat engine like:
P->00CB2BE4
it shows the value and i can change the value to the value i want and my char will teleport there fine.
so if cheat engine can input the value, i must be able to too
any help atall would be great because i'v been trying to figure out how to do this for days now and its driving me mad
|
|
| Back to top |
|
 |
Mad Dragon How do I cheat?
Reputation: 0
Joined: 09 Sep 2006 Posts: 2
|
Posted: Sun Sep 10, 2006 1:30 pm Post subject: |
|
|
well the problem is fixed!
i have been using tsearch converter to change the values i was getting into hex and it was working fine until i got the big values which were giving me trouble...
i also was typing the values in the search bar on cheat engine and then clicking hex to turn the value into hex and that works fine too long as the numbers arnt too big heh, but that also wasnt giving me the right hex for some reason on the big values...
but! if i click "show as hexadecimal value" on my code list so all the values show up as hex instead of decimal values, then it works fine!
i'm quite new to all this hacking (well apart from doing nops on stuff lol)
so can someone explain to me why the tsearch converter and the search bar on cheat engine was giving me the wrong hex values. ^^
|
|
| Back to top |
|
 |
|