w3gjs icon indicating copy to clipboard operation
w3gjs copied to clipboard

Action 0x16 how to recognize the game object?

Open krot3232 opened this issue 2 years ago • 4 comments

Player auto-attacks multiple heroes, replay is the last thing I see Action 0x16 ObjectID1 61,55,0,0, ObjectID2 223,57,0,0 ObjectID1 31,30,0,0, ObjectID2 237,57,0,0 How to find out what it is by ObjectID1? find trigger or Unit, Building, Area How to determine how many heroes killed enemies? Is it possible to know the triggers of everything that happens?

krot3232 avatar May 22 '23 22:05 krot3232

how to convert dword object to string object? find out who is attacking, what is selling?

krot3232 avatar May 27 '23 15:05 krot3232

Work for ObjectId to unit type has been done here: https://github.com/jblanchette/wc3v Especially the docs give some insight here: https://github.com/jblanchette/wc3v/blob/master/docs/DESIGN.md

find trigger or Unit, Building, Area How to determine how many heroes killed enemies? Is it possible to know the triggers of everything that happens?

Those questions are impossible to answer with just a replay file.

PBug90 avatar Jun 21 '23 21:06 PBug90

Is it possible to find out which item was sold? when the object is laid out there the coordinates of the integer item is it possible to find out by the integer item of the string item

krot3232 avatar Jul 04 '23 18:07 krot3232

Only player shops and neutral shops can be tracked reasonably. There's some tricks to the position as you mentioned

Items from camps or something spawned from rng need to have the whole rng system cracked - which afaik nobody has done

It's possible to do since the game does it. But it'll take a lot recreating game events and objects exactly in sequence (probably)

On Tue, Jul 4, 2023, 2:45 PM krot3232 @.***> wrote:

Is it possible to find out which item was sold? when the object is laid out there the coordinates of the integer item is it possible to find out by the integer item of the string item

— Reply to this email directly, view it on GitHub https://github.com/PBug90/w3gjs/issues/107#issuecomment-1620617970, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSLCLMHIEEYVNXNU5HLWSDXORQFVANCNFSM6AAAAAAYLBPGUY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jblanchette avatar Jul 04 '23 19:07 jblanchette