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 


How to load and save values?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
cascraft
Cheater
Reputation: 0

Joined: 17 Jul 2015
Posts: 40

PostPosted: Fri Dec 09, 2016 7:51 am    Post subject: How to load and save values? Reply with quote

how can i load and save my values?

i have x, y, z player coords.
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Fri Dec 09, 2016 8:38 am    Post subject: Reply with quote

http://www.cheatengine.org/forum/viewtopic.php?p=5507903&sid=a6b9c1103b9b85dc1838a48d5f19b502
Back to top
View user's profile Send private message
cascraft
Cheater
Reputation: 0

Joined: 17 Jul 2015
Posts: 40

PostPosted: Fri Dec 09, 2016 12:46 pm    Post subject: Reply with quote

first of all, thanks for that link but...

It looks diffrend. i dont have "eax+"

My



wich one should i take here?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Dec 09, 2016 2:32 pm    Post subject: Reply with quote

The target is x64, which is why you are seeing different registers. Use an instruction that is only accessing your coordinate value and nothing else, if possible...preferably, several times per second.
Back to top
View user's profile Send private message
cascraft
Cheater
Reputation: 0

Joined: 17 Jul 2015
Posts: 40

PostPosted: Fri Dec 09, 2016 4:35 pm    Post subject: Reply with quote

Quote:
Use an instruction that is only accessing your coordinate value and nothing else, if possible.


how do i know what instruction is accessing to my coordinate value?

is that maybe the right one?:

https://www.youtube.com/watch?v=UZrCgdscWyM&feature=youtu.be

or

https://www.youtube.com/watch?v=8RZeJ6phfHU&feature=youtu.be
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Dec 09, 2016 5:30 pm    Post subject: Reply with quote

Right-click on your coordinate address inside of your cheat table and select 'find out what accesses...'. In the new debugger window that pops up, right-click on an empty, white space and select 'check if found opcodes...'.

If you see any results that are constantly being accessed and have a (1) next to them, then you're probably good to use that instruction for your hook.
Back to top
View user's profile Send private message
cascraft
Cheater
Reputation: 0

Joined: 17 Jul 2015
Posts: 40

PostPosted: Fri Dec 09, 2016 6:17 pm    Post subject: Reply with quote

ok, i did what u say but i dident found that value (1)


is that the right one?
https://www.youtube.com/watch?v=_qvrl5WEFlE&feature=youtu.be
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Dec 09, 2016 6:23 pm    Post subject: Reply with quote

Not interested in looking at the videos, sorry.

If there are no instructions that are exclusive to your coordinate address, then you'll need to filter out all of the non-relative addresses. Complete the last step of the CE tutorial that covers data structure dissection so that you can learn how to implement a unique ID for filtering out unwanted addresses (non-coordinate addresses).

Other methods used for finding a reliable ID for filtering purposes:

++METHOS wrote:
  • You can use a pointer address for your filter, inside of your script, for the value that you are trying to manipulate.
  • You can use pointer trees inside of the data structure to find something viable.
  • You can shift the data structure (+ or -) and/or expand its size to find something useful.
  • You can use the structure spider to find workable strings and/or for comparative analysis.
  • You can check the register values by attaching the debugger or setting a breakpoint to see if something can be used for your filter.
  • You can check to see if there are any instructions that are exclusive to the address/value that you are trying to manipulate and store the address for your filter by creating a second injection point.
  • You can check to see if there are any instructions that are exclusive to any other address/value inside of the data structure for the address/value that you are trying to manipulate and store the address for your filter by creating a second injection point.
  • You can analyze assembly code to see if an identifier is being checked or assigned somewhere.
  • Et al.
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 Lua Scripting 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