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.
How to script that? Function with different timers
-
- Expert Cheater
- Posts: 312
- Joined: Sat Oct 06, 2018 3:19 pm
- Reputation: 137
- Dread_Pony_Roberts
- Table Makers
- Posts: 525
- Joined: Sun Dec 09, 2018 8:46 am
- Reputation: 388
Re: How to script that? Function with different timers
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]
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]
Who is online
Users browsing this forum: No registered users