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 


[HELP] Hacking with random CE Script.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
aslox
How do I cheat?
Reputation: 0

Joined: 22 Sep 2016
Posts: 3

PostPosted: Thu Sep 22, 2016 8:15 am    Post subject: [HELP] Hacking with random CE Script. Reply with quote

Hey. I want to know how can I do that thing, When I press F6 for example, it will activate my hack. And when I'm pressing F5 It's turning off the hack. With this code on CE :


BTW I NEED HELP FOR C++ HOW CAN I WRITE THIS HACK.


[ENABLE]

00ABF837:
jmp 00F8039B
nop

00F8039B:
mov ecx, [ebp-34]
mov [ecx+30], 1
jmp 00ABF83D

[DISABLE]

00ABF837:
mov ecx, [ebp-34]
mov [ecx+30],eax

If someone could help me I will be thankful. Thanks !


Last edited by aslox on Thu Sep 22, 2016 1:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
kuntz
Cheater
Reputation: 0

Joined: 29 Aug 2016
Posts: 44
Location: Canada

PostPosted: Thu Sep 22, 2016 11:30 am    Post subject: Reply with quote

Your code under [DISABLE] may cause crashes so it's advised you only use DB's for returning code to it's original form.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4712

PostPosted: Thu Sep 22, 2016 12:10 pm    Post subject: Reply with quote

Right click on a record in the address list and select "Set hotkeys".
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
aslox
How do I cheat?
Reputation: 0

Joined: 22 Sep 2016
Posts: 3

PostPosted: Thu Sep 22, 2016 1:34 pm    Post subject: Reply with quote

ParkourPenguin wrote:
Right click on a record in the address list and select "Set hotkeys".

kuntz wrote:
Your code under [DISABLE] may cause crashes so it's advised you only use DB's for returning code to it's original form.

Sorry if I didn't say but, I want help for C++ Sad
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Fri Sep 23, 2016 5:49 am    Post subject: Reply with quote

In that case, you can either copy the bytes of your injection for enable and normal game code for disable. Then use WriteProcessMemory to inject them when you press f6 to enable and f5 to disable.

Or you could write your own assembler or use any open-source ones available if you want to write autoassemble scripts in your c++ code. This is a real pain in the anushole so i don't recommend this at all.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
kuntz
Cheater
Reputation: 0

Joined: 29 Aug 2016
Posts: 44
Location: Canada

PostPosted: Fri Sep 23, 2016 11:55 am    Post subject: Reply with quote

Here's one simple way to get a hotkey press in Windows:

Code:
if ((GetAsyncKeyState(VK_F5)&0x8001UL) == 0x8001UL)
{
    // Put your code here
}


And here's a link to some example C code for reading & writing memory:

http://forum.cheatengine.org/viewtopic.php?t=594536
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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