Add a value into the script

Want Cheat Engine to do something specific and no idea how to do that, ask here. (From simple scripts to full trainers and extensions)
Post Reply
Novice Cheater
Novice Cheater
Posts: 18
Joined: Tue Sep 28, 2021 4:40 pm
Reputation: 1

Add a value into the script

Post by 3qalves3 »

Hello im trying to learn some basics and i need some help here.


Rbx is the number that i know already, i want to know how i can find the xmm0 value and its possible to change the xmm0 value ?

User avatar
Expert Cheater
Expert Cheater
Posts: 87
Joined: Wed Mar 22, 2017 12:30 pm
Reputation: 49

Re: Add a value into the script

Post by EphenSteve »

Sometimes you can simply change the line to something like this
mov [rbx],(double)100 // or if its float you can write (float) if its an integer you can simply do # without the parenthesis

everything else can remain the same. most of the time it works but some games have checks later in the assembly which can make weird results or crashes. just depends on what you are trying to do.

Hall of Famer
Hall of Famer
Posts: 163
Joined: Thu Mar 02, 2017 11:01 pm
Reputation: 85

Re: Add a value into the script

Post by Eric »

Nerdy: Aaactually....

Code: Select all

mov [rbx],(double)100
will result in invalid code as the value in `mov [memoryaddress],value` can only be 32-bits

you'd want to do:

Code: Select all

mov [rbx],(double32l)100
mov [rbx+4],(double32h)100

Code: Select all

mov rax,(double)100
mov [rbx],rax

Post Reply

Who is online

Users browsing this forum: No registered users