There is any way to detect alien death?

04/26/2017 11:18 WesolyZiemniak#1
Hi, i'm looking for any way which allow me (program) detect if alien was killed. I tried via reading game memory but there is problem. I found some address which tells me that alien is marked or not (that red shit around alien). But the problem is when i restart game address is changed. I tried to find pointer of this address but no result. Can anyone help me?

PS. Sory for bad english. i'm polish...
04/26/2017 11:25 ItsTequila#2
Quote:
Originally Posted by WesolyZiemniak View Post
Hi, i'm looking for any way which allow me (program) detect if alien was killed. I tried via reading game memory but there is problem. I found some address which tells me that alien is marked or not (that red shit around alien). But the problem is when i restart game address is changed. I tried to find pointer of this address but no result. Can anyone help me?

PS. Sory for bad english. i'm polish...
You can try creating a proxy which will read all the packets
04/26/2017 12:01 WesolyZiemniak#3
I'm not so good programmer to do that
04/26/2017 13:40 Dr.Toni#4
Could be possible with Imagesearch ^^

If the Red Circle is there NPC = Alive
If it isn't there NPC = dead

Not the best way but it should work.
04/26/2017 13:42 xLikier#5
Ziemniak bota robisz? :D
04/26/2017 13:53 skeith_sk8#6
You can do it with the game client diary or you can check the ammo image as when you are ataking something it has a effect arround and when u dont attack it does not have it
This with imagesearch
04/26/2017 21:00 WesolyZiemniak#7
Quote:
Originally Posted by skeith_sk8 View Post
You can do it with the game client diary or you can check the ammo image as when you are ataking something it has a effect arround and when u dont attack it does not have it
This with imagesearch

Nice idea thanks, i'll check ammo amout via image search for now. But i really prefer via memoryread.

@[Only registered and activated users can see links. Click Here To Register...]

Już dawno zrobiony na boxy z podmianą plików w grze ale chcę dodać bicie alienków ;)
04/27/2017 18:14 Freshek#8
Why not add ExternalInterface and after ShipDestroyedCmd or ShipRemovedCmd check id and then call JavaScript? You can create something like 'setDestroyed()', 'getDestroyed()' and using CEF/Gecko call these functions from your app. Swf calls setDestroyed and your app checks for getDestroyed every 0.5sec. It's not the best idea, but it's really easy to do.
04/27/2017 22:21 ~Demetrio~#9
Quote:
Originally Posted by WesolyZiemniak View Post
Hi, i'm looking for any way which allow me (program) detect if alien was killed. I tried via reading game memory but there is problem. I found some address which tells me that alien is marked or not (that red shit around alien). But the problem is when i restart game address is changed. I tried to find pointer of this address but no result. Can anyone help me?

PS. Sory for bad english. i'm polish...
Something is clear for me , MemoryRead Don't worth in Flash player , the problem is here is that you must calculate the address (0x0000) every time you use a jump gate(not in all cases) or you reload the game!

use ExternalInterface and try what @[Only registered and activated users can see links. Click Here To Register...] Told you , it's very easy!

Quote:
Originally Posted by Dr.Toni. View Post
Could be possible with Imagesearch ^^

If the Red Circle is there NPC = Alive
If it isn't there NPC = dead

Not the best way but it should work.
There will be problems with another pixels!
04/28/2017 10:50 WesolyZiemniak#10
I'll use PixelChecksum on laser ammo. For example, if it does not change for 2 seconds, it will be considered that the attack is over.
04/28/2017 17:15 ~Demetrio~#11
Quote:
Originally Posted by WesolyZiemniak View Post
I'll use PixelChecksum on laser ammo. For example, if it does not change for 2 seconds, it will be considered that the attack is over.
but even if the npc flees away the laser will continue in use. use 2 differents ways , red pixels and imagesearch for laser ammo.