educofu Expert Cheater
Reputation: 3
Joined: 21 Aug 2009 Posts: 171 Location: Brazil,MG,OP
|
Posted: Thu Dec 17, 2009 6:43 pm Post subject: Need help with changing memory as i like(Torchlight MAPHACK) |
|
|
Ok, heres the problem:
ive got the game Torchlight (1 of best games eva)
and i want to create a map hack for it.
i would do it like this:
(i call this language Logical Language )
store char position (x and y)
set char pos (x and y) -1000
lol
increase char pos x by 10
compare char pos x with 1000
if not equal jump to lol
if equal jump to law
law
set char pos x 0
increase char pos y 10
compare char pos y with 1000
if not equal jump to lol
if equal jump to end
end
restore char pos (y and x) stored at the begining
-------
Now thats what i would do with AA(only thing i know):
//Char pos Y add= [[[[[Torchlight.exe+00777008]+48]+4C]+64]+2C]+70
//Char pos X add= [[[[[Torchlight.exe+00777008]+48]+4C]+64]+2C]+78
alloc(storeandzero,1024)
alloc(increasex,1024)
alloc(increasey,1024)
alloc(exit,1024)
storeandzero:
push eax
push ebx
push ecx
push edx
mov eax,[[[[[Torchlight.exe+00777008]+48]+4C]+64]+2C]+70
mov ebx,eax+8
mov ecx,[eax] //storing values
mov edx,[ebx] //storing
mov [eax],-1000 //set x to -1000
mov [ebx],-1000 //set y to -1000
jmp increasex
increasex:
add [eax],10
cmp [eax],1000
jne increasex
je increasey
increasey:
mov [eax],-1000
add [ebx],10
cmp [ebx],1000
jne increasex
je exit
exit:
mov [eax],ecx
mov [ebx],ebx
---------
Now:
1º - How do i do execute this code when i want during the game?
2º - The values are float notations, how do i handle with then?
3º - Does this code i created need modifications?
4º - Ty for those who help
5º
push eax
mov eax,troughthewindow
jmp eax
lol
_________________
"I finally started thinking outside of the box, only to find myself in a larger box." |
|