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 


Memory class?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 510

PostPosted: Fri Feb 03, 2023 5:53 am    Post subject: Memory class? Reply with quote

it might be a request

The main thing when declaring game classes and structs, it should have a support of changing values in game
so it should look like this:
Code:
-- when indexing the value it should read it from memory
local prevPos = g_GameUpdate.m_pPlayer.m_matrix.m_vecPos -- returns current player pos

g_GameUpdate.m_pPlayer.m_matrix.m_vecPos = Vector3(1000, 15, 1450)
print(prevPos.x, g_GameUpdate.m_pPlayer.m_matrix.m_vecPos.x) -- 1344.1567 1000.0
Back to top
View user's profile Send private message
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 510

PostPosted: Sat Feb 04, 2023 1:09 pm    Post subject: Reply with quote

any1?
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