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 


two questions

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
kitesan
Expert Cheater
Reputation: 0

Joined: 01 May 2014
Posts: 124

PostPosted: Thu Mar 03, 2016 3:26 am    Post subject: two questions Reply with quote

when you found coords how you recognize which one is X Y Z?

when you find a game's function can you create a thread and then call the function in your thread or if necessary push the arguments it needs and then call the function?
Back to top
View user's profile Send private message
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Thu Mar 03, 2016 4:12 am    Post subject: Re: two questions Reply with quote

kitesan wrote:
when you found coords how you recognize which one is X Y Z?

when you find a game's function can you create a thread and then call the function in your thread or if necessary push the arguments it needs and then call the function?


1/ Usually coordonates are floats (usually 4 bytes large). In almost every case the lowest address (as a value number) is X then 4 bytes later comes Y and 4 bytes later Z.
Example, if all coord addresses were :
02556058
0255605C
02556060
Then 02556058 would be X, 0255605C would be Y, 02556060 would be Z.

You can jump in game and see which address changes to find out Z. Then technically on a mathetmatical point of view, X can be Y and Y can be X, they mean the same thing just on a different vector but usually if you set your game camera (direction in which your character is oriented) to 0, you usually get to what we consider the X axis.


Question 2/
It depends of the function, most of the time this will fail and cause a crash although if you put enough time and effort into it, it can be done properly and work.
You'd need to make sure you don't miss out on anything that the function does (watch out for the stack, the return instruction, buffers or other function calls within the function you are trying to call).
I have done this before, I have used the encryption function from a MMORPG to encrypt my own packets at run time through the game's function.
Back to top
View user's profile Send private message
kitesan
Expert Cheater
Reputation: 0

Joined: 01 May 2014
Posts: 124

PostPosted: Thu Mar 03, 2016 5:26 am    Post subject: Reply with quote

many thanks
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
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