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 


Zoom in out

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

Joined: 22 Feb 2018
Posts: 3

PostPosted: Thu Feb 22, 2018 9:35 am    Post subject: Zoom in out Reply with quote

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


Last edited by vile2night on Thu Feb 22, 2018 10:28 am; edited 2 times in total
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Thu Feb 22, 2018 9:45 am    Post subject: Reply with quote

Just replace it (in an injection script) with some thing like this.
Code:
mov [ecx+1C],(float)1000

_________________
Back to top
View user's profile Send private message Visit poster's website
vile2night
How do I cheat?
Reputation: 0

Joined: 22 Feb 2018
Posts: 3

PostPosted: Thu Feb 22, 2018 10:32 am    Post subject: Reply with quote

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
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Thu Feb 22, 2018 10:51 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
vile2night
How do I cheat?
Reputation: 0

Joined: 22 Feb 2018
Posts: 3

PostPosted: Thu Feb 22, 2018 1:37 pm    Post subject: Reply with quote

Thanks this worked.
Now to create the trainer!
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