View previous topic :: View next topic |
Author |
Message |
vile2night How do I cheat? Reputation: 0
Joined: 22 Feb 2018 Posts: 3
|
Posted: Thu Feb 22, 2018 9:35 am Post subject: Zoom in out |
|
|
Hi,
I'm pretty new at this auto assemble and cheat engine.
I been working on to find out how to get this thing working here it goes.
So in this game i'm playing the zoom setting is set to max = 500
I can change that manually, but want to make a script for it so I won't have to search for it all the time.
1. I found the address of the said value which in this time it was
0D21AACC and
2. I went to search for what access this address and found
0070F963 - F3 0F11 41 1C - movss[ecx+1C],xmm0
So here's the question.
I'm trying to set it so that the max zoom is at 1000 instead of 500
from my understanding that movss[ecx+1C],xmm0 is getting value from xmm0 and set it on ecx+1C.
How do i make it so that the value is set it as 1000 float instead of 500 float?
------------------------
EDIT
TheyCallMeTim13 wrote: | Just replace it (in an injection script) with some thing like this.
Code: | mov [ecx+1C],(float)1000 |
|
Thanks, I just tried it but it did not work.
I found out looking at FPU
xmm0:500.00 _ 0.00 _ 0.00 _ 0.00
makes me think that I have to update the xmm0 value some how.. any tips?
Last edited by vile2night on Thu Feb 22, 2018 10:28 am; edited 2 times in total |
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Thu Feb 22, 2018 9:45 am Post subject: |
|
|
Just replace it (in an injection script) with some thing like this.
Code: | mov [ecx+1C],(float)1000 |
_________________
|
|
Back to top |
|
|
vile2night How do I cheat? Reputation: 0
Joined: 22 Feb 2018 Posts: 3
|
Posted: Thu Feb 22, 2018 10:32 am Post subject: |
|
|
TheyCallMeTim13 wrote:
Just replace it (in an injection script) with some thing like this.
Code:
mov [ecx+1C],(float)1000
Thanks, I just tried it but it did not work. Sad
I found out looking at FPU
xmm0:500.00 _ 0.00 _ 0.00 _ 0.00
makes me think that I have to update the xmm0 value some how.. any tips?
p.s.
I updated the main post. |
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Thu Feb 22, 2018 10:51 am Post subject: |
|
|
Yeah I should have thought of that, it's pretty common for it to really use the xmm registry. The easiest way is set the address then the xmm registry.
Code: | mov [ecx+1C],(float)1000
movss xmm0,[ecx+1C] |
_________________
|
|
Back to top |
|
|
vile2night How do I cheat? Reputation: 0
Joined: 22 Feb 2018 Posts: 3
|
Posted: Thu Feb 22, 2018 1:37 pm Post subject: |
|
|
Thanks this worked.
Now to create the trainer! |
|
Back to top |
|
|
|