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

documentation #2

Open
crimsdings opened this issue Sep 25, 2016 · 1 comment
Open

documentation #2

crimsdings opened this issue Sep 25, 2016 · 1 comment

Comments

@crimsdings
Copy link

is there any sort of documentation on how to use this ? thx

@miedzinski
Copy link
Owner

Unfortunately, no. In order to use this you have to:

  1. Update .proto files. You can find these on SteamDB.
  2. Make sure net and server messages are up to date in DemoDump class.
  3. Additionally, you can generate new game_events.txt list using this library (look at svc_GameEventList).

Usage is quite simple: just pass file-like object (e.g. obtained with open(...) call) to DemoDump constructor, register any callbacks you need on events you want to watch with register_on_* methods and call do_dump(). This routine will start reading file to the end and will call appropriate callbacks when it finds corresponding messages.

As always, all contributions are welcome. :)

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

2 participants