HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Carnival of Game Actions

09-02-2009, 01:07 AM#1
Strilanc
Starting from the actions format mentioned in the w3map format, I've figured out most of the remaining data. Essentially I, with help from Varlock, figured out all the trigger actions and refined a lot of the already known actions.

I don't really have a spec, just the code I use to create a parser for my hosting bot:
http://github.com/Strilanc/HostBot/b...3GameAction.vb

Essential overview of code:
- A pickle is a combination object/serialized-object
- A jar makes pickles
Therefore this:
Code:
            reg(jar, W3GameActionId.TriggerDialogButtonClicked,
                        New ObjectIdJar("dialog").Weaken,
                        New ObjectIdJar("button").Weaken)
means the TriggerDialogButtonClicked action (0x6A) data is composed of two object ids (an object id is two uint32s [allocated id; counter id], the jar is implemented near the bottom of the code file).

I'm sure someone can come up with some use for it. I wonder what happens if you send a hacked dialog click even when the dialog is not shown?