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 


Using hotkeys to increase pointer values in ASM?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
13
I post too much
Reputation: 0

Joined: 24 Apr 2007
Posts: 4603

PostPosted: Mon Jun 29, 2009 10:23 pm    Post subject: Using hotkeys to increase pointer values in ASM? Reply with quote

Is it possible to create an auto assembly script so that whenever you press a hotkey, for say, the numberpad + hotkey, a pointer's value increase? I'm curious because I like to learn about what can be done with a cheat engine. If it's possible, can someone lead me in the right direction?
Back to top
View user's profile Send private message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Mon Jun 29, 2009 10:58 pm    Post subject: Reply with quote

I dont know if auto assembly scripts can do that because its a low level language ( I think ). Its relatively easy in a language like c++ or something else though.

You could use a C script and make a call to it within your auto assembly script but directly, idk. If you want to check this method out...look at Cheat Engine tutorial step 9

_________________
Back to top
View user's profile Send private message
13
I post too much
Reputation: 0

Joined: 24 Apr 2007
Posts: 4603

PostPosted: Mon Jun 29, 2009 11:17 pm    Post subject: Reply with quote

I'll be taking a look at it, thanks.
Back to top
View user's profile Send private message
Cheat Engine User
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Tue Jun 30, 2009 2:59 am    Post subject: Reply with quote

You can use API's in the AA too, you know.
Back to top
View user's profile Send private message
Pro-surf
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2007
Posts: 1415
Location: Under Ur Bed , Moauahauha

PostPosted: Tue Jun 30, 2009 8:29 am    Post subject: Reply with quote

uhh like this ?

C++ Example:

Quote:
if(wParam == HK1)
{
_asm
{
push eax
mov eax,[pointer]
mov eax,[eax]
inc [eax+offset]
jmp exit

exit:
}
}


EDIT : oh you wanted to edit it with a CE ..
no you cant !
only in C / C# / C++ / Java and some more crap lang's i guess

EDIT 2 : you can use the mouse animation tho ..
everytime you click the mouse, the value turns into 12. you could make a script so everytime you click the pointer value goes up

_________________
ProsTrain VIP |..........| - 80% Done Smile im close to the finish line Smile
Back to top
View user's profile Send private message
Cheat Engine User
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Tue Jun 30, 2009 1:13 pm    Post subject: Reply with quote

Pro-surf wrote:
uhh like this ?

C++ Example:

Quote:
if(wParam == HK1)
{
_asm
{
push eax
mov eax,[pointer]
mov eax,[eax]
inc [eax+offset]
jmp exit

exit:
}
}


EDIT : oh you wanted to edit it with a CE ..
no you cant !
only in C / C# / C++ / Java and some more crap lang's i guess

EDIT 2 : you can use the mouse animation tho ..
everytime you click the mouse, the value turns into 12. you could make a script so everytime you click the pointer value goes up

You can do API's in ASM, and auto assembly as well.
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Tue Jun 30, 2009 1:45 pm    Post subject: Reply with quote

Yes. All you have to do is allocate a block of memory and make a loop and use CreateThread on it. (CE supports this)
Back to top
View user's profile Send private message
Cheat Engine User
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Tue Jun 30, 2009 2:11 pm    Post subject: Reply with quote

dnsi0 wrote:
Yes. All you have to do is allocate a block of memory and make a loop and use CreateThread on it. (CE supports this)


Or use Auto Assembler.
Code:
Content:
db 'MessageBoxA',0

Title:
db 'lolwut',0

Address:
jmp Msg

Message:
push 0
push Title
push Content
push 0
call MessageBoxA
ret
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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