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 change a value based on other value

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
SrmsReis
How do I cheat?
Reputation: 0

Joined: 28 Feb 2021
Posts: 7
Location: Brazil

PostPosted: Wed Apr 28, 2021 11:30 am    Post subject: How change a value based on other value Reply with quote

idk how I gonna explain it
but I gonna try

like I have a address named A
and other named B

and I wanna make a script to get the value from B and put the actual value of B on A

(B its a float and the position of the player and A is other position of other player)
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 51

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Wed Apr 28, 2021 4:05 pm    Post subject: Reply with quote

Depends on how you want to do it. I'd start with the CE tutorial first.

But for ASM:
Code:
push rax
mov eax,[addrB]
mov [addrA],eax
pop rax


And Lua:
Code:
writeFloat(addrA, readFloat(addrB))

_________________
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25807
Location: The netherlands

PostPosted: Wed Apr 28, 2021 9:50 pm    Post subject: Reply with quote

use a memrec hotkey which sets A's value to
Code:

(description of memoryrecord B)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Thu Apr 29, 2021 4:20 am    Post subject: Reply with quote

Check the links in Tim's signature.

Start learning assembly.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
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