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 


Beginner need some help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
MadDog84
Newbie cheater
Reputation: 0

Joined: 08 Sep 2015
Posts: 16

PostPosted: Sat Mar 18, 2023 12:52 pm    Post subject: Beginner need some help Reply with quote

Hello Smile

I'm new to game hacking and needed some help concerning hacking a simple game called Peggle.

It's a game where you have to destroy "bricks" with a ball pretty much like a flipper but you can't throw more than one ball at a time and currently trying to make a script to modify that.

When there where no ball in game i scanned for 0 and 1 when i shot the ball and paused.

I found the right address and found the two instructions that i need but cant find the right way to modify the assembler code.

If someone can hint me ^^ Thanks !



peggle2.jpg
 Description:
 Filesize:  82.07 KB
 Viewed:  910 Time(s)

peggle2.jpg



peggle1.jpg
 Description:
 Filesize:  74.03 KB
 Viewed:  910 Time(s)

peggle1.jpg


Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1066
Location: 0x90

PostPosted: Sat Mar 18, 2023 4:14 pm    Post subject: Reply with quote

You could set a breakpoint on mov [ecx+08],eax to see if the value held in eax is the value you want to modify. If so then you can just use an AOB injection script by bringing up the Auto Assembler window on that instruction, then selecting the AOB injection template from the menu.

Under "newmem:" you can just set eax to whatever value e.g.:
Code:

...
newmem:
  mov eax,(int)5
...
Back to top
View user's profile Send private message
MadDog84
Newbie cheater
Reputation: 0

Joined: 08 Sep 2015
Posts: 16

PostPosted: Sun Mar 19, 2023 3:43 am    Post subject: Reply with quote

LeFiXER wrote:
You could set a breakpoint on mov [ecx+08],eax to see if the value held in eax is the value you want to modify. If so then you can just use an AOB injection script by bringing up the Auto Assembler window on that instruction, then selecting the AOB injection template from the menu.

Under "newmem:" you can just set eax to whatever value e.g.:
Code:

...
newmem:
  mov eax,(int)5
...



Thanks for your answer Smile

I've never set a breakpoint but i tried to and it crashed the game Embarassed
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