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 


Defined AOB in memory _Question !
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
AylinCE
Grandmaster Cheater Supreme
Reputation: 30

Joined: 16 Feb 2017
Posts: 1227

PostPosted: Wed Oct 05, 2022 2:00 pm    Post subject: Reply with quote

Csimbi wrote:
...
AylinCE wrote:
@Csimbi ..

So why is he asking if he has a working code already Confused


I've given an example that works for the general logic, yes.
I think she wants this in the asm code she shows, by code injection.

Or she wants to see and learn an example of the same method working in the injection of the code.

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
friedeggs912
Cheater
Reputation: 0

Joined: 25 Sep 2022
Posts: 25

PostPosted: Thu Oct 06, 2022 3:32 am    Post subject: Reply with quote

AylinCE wrote:
Csimbi wrote:
...
AylinCE wrote:
@Csimbi ..

So why is he asking if he has a working code already Confused


I've given an example that works for the general logic, yes.
I think she wants this in the asm code she shows, by code injection.

Or she wants to see and learn an example of the same method working in the injection of the code.



Yes AylinCE Exactly
Back to top
View user's profile Send private message
friedeggs912
Cheater
Reputation: 0

Joined: 25 Sep 2022
Posts: 25

PostPosted: Mon Oct 10, 2022 2:15 pm    Post subject: Reply with quote

Csimbi wrote:
friedeggs912 wrote:
yes but I don't understand

your description :p please can u demonstrate it

I could demonstrate, but I won't - you have all information you need.
How do you want to write the rest of the code if you can't even understand the basics?
You need to flip into creative mode and figure it out.
I want to teach you to catch your own fish and not catch it for you.

AylinCE wrote:
@Csimbi ..

So why is he asking if he has a working code already Confused


@Csimbi
please can u help me with the 2nd
if its Right or wrong
i swear i dont know
check the photo



1.PNG
 Description:
 Filesize:  41.95 KB
 Viewed:  801 Time(s)

1.PNG


Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Mon Oct 10, 2022 3:09 pm    Post subject: Reply with quote

It's wrong. *You changed the inage between when i started and when I posted. I didnt look at your new image.*

Please take some time to understand what you are doing.

When dealing with an injection script you have three options, you either replace existing code, you jump to new code, or you allocate a code cave for new code.

Usually this means you are executing the code only when a particular function is called in the game that houses your code or a jump to your code. More advanced users will tell the game to execute their code by creating a thread for executing the instructions in the code cave.

Your original examples in this post are AOB injections which would execute only when the original game functions themselves executed.

This new example is just a random line of code which is never placed anywhere in the game and provides no context for eax.

You should go back to the original two aob injections, select one of them, have it perform a check to see if the value has been set in the other one, if it has been set then write it to the current one.

In an alternative example, you can leave the original two unchanged and instead create a timer to continuously check if both memory addresses are populated and if so write the value from one address to the other.
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 91

Joined: 14 Jul 2007
Posts: 3093

PostPosted: Tue Oct 11, 2022 7:34 am    Post subject: Reply with quote

cooleko wrote:
You should go back to the original two aob injections, select one of them, have it perform a check to see if the value has been set in the other one, if it has been set then write it to the current one.

That!
Back to top
View user's profile Send private message
friedeggs912
Cheater
Reputation: 0

Joined: 25 Sep 2022
Posts: 25

PostPosted: Thu Oct 20, 2022 6:04 am    Post subject: Reply with quote

cooleko wrote:
It's wrong. *You changed the inage between when i started and when I posted. I didnt look at your new image.*

Please take some time to understand what you are doing.

When dealing with an injection script you have three options, you either replace existing code, you jump to new code, or you allocate a code cave for new code.

Usually this means you are executing the code only when a particular function is called in the game that houses your code or a jump to your code. More advanced users will tell the game to execute their code by creating a thread for executing the instructions in the code cave.

Your original examples in this post are AOB injections which would execute only when the original game functions themselves executed.

This new example is just a random line of code which is never placed anywhere in the game and provides no context for eax.

You should go back to the original two aob injections, select one of them, have it perform a check to see if the value has been set in the other one, if it has been set then write it to the current one.

In an alternative example, you can leave the original two unchanged and instead create a timer to continuously check if both memory addresses are populated and if so write the value from one address to the other.






sorry yes the game updated and every thing was a mess i apologize

im still working on that .. but my method is not working by any means !! right


nesting both instructions in one script and do the copy from one and paste in another ? is that even possible
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 Gamehacking All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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