Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need help with changing memory as i like(Torchlight MAPHACK)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
educofu
Expert Cheater
Reputation: 3

Joined: 21 Aug 2009
Posts: 171
Location: Brazil,MG,OP

PostPosted: Thu Dec 17, 2009 6:43 pm    Post subject: Need help with changing memory as i like(Torchlight MAPHACK) Reply with quote

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 Wink )

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


push eax
mov eax,troughthewindow
jmp eax
lol

_________________
"I finally started thinking outside of the box, only to find myself in a larger box."
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites