How to script that? Function with different timers
Posted: 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.
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.