Hi, how are you all?
I'm starting to create a game hack I'm in the 1 part XD
I want to do
teleport hack because with the quest to go and return takes a long time
I already have all the points I leave the game and I go back in and everything is still there XD
now using that code except on the ALT + 1 key and the character does not walk anymore
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(INJECT,Engine.dll,D9 9B A8 01 00 00 D9 45 E0) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
label(_Teleport)
label(save_coords)
label(load_coords)
label(undo_coords)
label(Back_Teleport)
label(Exit_Teleport)
label(xpos)
label(ypos)
label(zpos)
label(xpos_undo)
label(ypos_undo)
label(zpos_undo)
label(s_enable)
label(l_enable)
label(u_enable)
registersymbol(_Teleport)
registersymbol(s_enable)
registersymbol(l_enable)
registersymbol(u_enable)
Teleport_Mem:
xpos:
dd 0
ypos:
dd 0
zpos:
dd 0
xpos_undo:
dd 0
ypos_undo:
dd 0
zpos_undo:
dd 0
s_enable:
dd 0
l_enable:
dd 0
u_enable:
dd 0
_Teleport:
cmp [s_enable],1
je save_coords
cmp [l_enable],1
je load_coords
cmp [u_enable],1
je undo_coords
jmp Back_Teleport
// Save Position
save_coords:
mov [s_enable],0
jmp Back_Teleport
// Load Position
load_coords:
mov [l_enable],0
jmp Back_Teleport
// Undo Teleport
undo_coords:
mov [u_enable],0
jmp Back_Teleport
Back_Teleport: // Original Code
jmp Exit_Teleport
Teleport:
jmp _Teleport
Exit_Teleport:
newmem:
code:
fstp dword ptr [ebx+000001A8]
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db D9 9B A8 01 00 00
unregistersymbol(INJECT)
dealloc(newmem)
unregistersymbol(Teleport)
unregistersymbol(s_enable)
unregistersymbol(l_enable)
unregistersymbol(u_enable)
xpos
ypos
Zpos
and I had the idea of passing the code to C ++ or C # but I do not have much experience of those codes
so if someone can give me a little hand
help with the save of the Cheat engine or move to C ++, C #
asin that I have all echo postare everything here
Thank you