How to script that? Function with different timers

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
MartaLabieniec
Expert Cheater
Expert Cheater
Posts: 237
Joined: Sat Oct 06, 2018 3:19 pm
Reputation: 104

How to script that? Function with different timers

Post by MartaLabieniec » Sun Nov 17, 2019 8:41 pm

Hello People,

I have a function which is having a timers of all enemies - to be more correct, when someone shoot in you or shoot in the sky, on the little radar, the enemy who shot will appear on few seconds in the radar, then when the timer will deplete, the person from radar dissapear.

And I found a function which has timers of all enemies.

When I am starting new round with new enemies, I can wait for all enemies to shoot, then when they addresses will load, I can freeze their timers and they will be all the time on the radar - I know that the value when the timer is starting is 2000 in 4-Bytes Decimal and it is counting down to 0.
Every enemy has the same timer - from 2000 to 0.

My function is: movd xmm0,[ebx+00000314]

I was trying to write a 2000 value into [ebx+00000314] but it is not working.

How can I write a value to all addresses which this function has sharing or accessing?

Thank you for your help.

Marta.

User avatar
Dread_Pony_Roberts
Fearless Donors
Fearless Donors
Posts: 113
Joined: Sun Dec 09, 2018 8:46 am
Reputation: 46

Re: How to script that? Function with different timers

Post by Dread_Pony_Roberts » Sun Nov 17, 2019 9:47 pm

If you just want to change [ebx+00000314] then you can try this.

mov [ebx+00000314],(double)2000


If you want to move it directly to xmm0 then you can try this.

alloc(timer,16)

mov [timer],(double)2000
movd xmm0,[timer]
How fair is it that you are the only one with a One Hit Kill? What if the AI had just as much power? That would definitely make the gameplay a bit more...EXTREME!

Post Reply

Who is online

Users browsing this forum: No registered users