Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fantoms
Copy link
Contributor

@fantoms fantoms commented May 14, 2017

@tfarley
Copy link
Owner

tfarley commented May 17, 2017

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.

@fantoms
Copy link
Contributor Author

fantoms commented May 17, 2017

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.

@tfarley
Copy link
Owner

tfarley commented May 18, 2017

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.

@fantoms fantoms closed this May 18, 2017
@fantoms fantoms deleted the feature-combatATTACKDONEEVENT branch May 18, 2017 13:04
@fantoms fantoms restored the feature-combatATTACKDONEEVENT branch May 18, 2017 13:05
@fantoms fantoms reopened this May 18, 2017
@fantoms
Copy link
Contributor Author

fantoms commented May 18, 2017

Sorry for the confusion, accidentally deleted this branch and restored in my github.

@fantoms
Copy link
Contributor Author

fantoms commented May 18, 2017

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
2 : 2,140
14 : 3
29 : 550
31 : 1
35 : 115
54 : 6,698
55 : 4,717
56 : 2,427
57 : 5,795
58 : 50
60 : 1
61 : 203
75 : 47
1016 : 42
1067 : 24
1073 : 7

@fantoms fantoms force-pushed the feature-combatATTACKDONEEVENT branch from ac39fc5 to 53193a9 Compare June 28, 2017 03:40
@fantoms fantoms force-pushed the feature-combatATTACKDONEEVENT branch from 53193a9 to 190ab40 Compare June 28, 2017 03:43
LtRipley36706 pushed a commit to LtRipley36706/aclogview that referenced this pull request Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants