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

How is this information collected? #5

Closed
ghost opened this issue Mar 10, 2016 · 1 comment
Closed

How is this information collected? #5

ghost opened this issue Mar 10, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 10, 2016

Is this protocol info taken from other sources? Or do you stare at buffers and decompile the Clash of Clans binary?

@clugh
Copy link
Owner

clugh commented Mar 10, 2016

The original definitions came from here, which was forked from here. An old (unpublished) version of my proxy used clanner's Clash of Clans Documentation Project for decoding the packets. You can see here for an explanation for the switch.

As for how they were acquired at all, a few old versions of the client didn't have the debugging symbols stripped, which provided the labels for the packets and made it generally easier to decipher the decompiled code.

Any new packets or changes to the existing ones involves either "staring at buffers" (which isn't all that difficult, since most things are obvious at a glance) or stepping through the client with a debugger and/or digging through the decompiled code.

@clugh clugh closed this as completed Mar 10, 2016
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

No branches or pull requests

1 participant