-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Combat ATTACK_DONE_EVENT 0x01A7 #18
base: master
Are you sure you want to change the base?
Conversation
Have you found any of these packets in pcaps? I'm not too sure this is actually the number of attacks. The only way it's used in the client code is that it will abort auto-attacking if it's non-zero. It's also called "etype" as a local var, which matches up with some other event handlers that have parameters also called "etype". Those handlers branch on etype's various values to do different things. I'm thinking that this is actually something more like "event type" where a value of 1 means to stop auto-attacking and any other value doesn't do anything. |
Yes, I have seen most of these packet's show up as mostly 0, but every once and awhile there is a positive integer present. The values I have witnessed as a uint: 0, 2, 39, 55, 56, 57, 59 - so I am not confident that this message is truely, the number of attacks. |
Interesting. Could you please add a TODO comment to investigate this one a little more, to determine (or verify) what the field might be? Just since it's not easy to confirm what it actually is via the client, and skunkworks has been known to be a bit off or outdated for some packets. Looks good otherwise. |
Sorry for the confusion, accidentally deleted this branch and restored in my github. |
Here are the results from doing a quick count of the values that come back from ATTACK_DONE, utilizing 2,376 PCAP files: value : occurrences total 0 : 255,702 |
ac39fc5
to
53193a9
Compare
53193a9
to
190ab40
Compare
This message returns an integer and I set the label to NumberOfAttacks, as described in skunkworks: http://skunkworks.sourceforge.net/protocol/Protocol.php?stylesheet=Classic.css&frame=frameMsg&type=F7B0&case=0x01A7