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

Support for Counter-Strike 2 #10

Open
boyski33 opened this issue Mar 29, 2023 · 7 comments
Open

Support for Counter-Strike 2 #10

boyski33 opened this issue Mar 29, 2023 · 7 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@boyski33
Copy link

Is there a plan to create a library for parsing CS2 logs?

@janstuemmel
Copy link
Owner

janstuemmel commented Mar 29, 2023

Yeah sure why not. Haven't been invited for beta yet, tho...

Edit: also linux is excluded from beta and i dont have windows...

@janstuemmel
Copy link
Owner

janstuemmel commented Mar 29, 2023

If youre invited already u can maybe test and report whats changed...

Does @Rossiar still work for @faceit? He implemented public methods to inject own regexes for custom logs two years ago in #3 ... Maybe you guys can have a look and report changes then... Would be interresting...

@Rossiar
Copy link
Collaborator

Rossiar commented Mar 29, 2023

@janstuemmel unfortunately I don't work for faceit anymore - but @boyski33 does and should be able to help!

@janstuemmel janstuemmel added enhancement New feature or request help wanted Extra attention is needed labels Mar 30, 2023
@boyski33
Copy link
Author

boyski33 commented Jun 8, 2023

@janstuemmel I laid hand on a couple of logs, and AFAIK they look pretty much the same with a couple of exceptions:

  • the new SteamID3 is used instead of the old SteamID
  • some server vars use floats instead of integers, e.g. "sv_maxspeed" = "320.000000" instead of "sv_maxspeed" = "320"

I don't think the library even cares about these value, to be honest. I'll fork the repo and make these changes to test it locally, and I'll get back to you.

@janstuemmel
Copy link
Owner

should relativly easy to adapt then. but would definitly open up a new repo for cs2 -> cs2-log

@janstuemmel janstuemmel linked a pull request Jun 9, 2023 that will close this issue
@boyski33
Copy link
Author

@janstuemmel
Can you do that and link the repo here then? I'll then open a PR.

@janstuemmel
Copy link
Owner

janstuemmel commented Jun 12, 2023

https://github.com/janstuemmel/cs2-log

i'll rename files, readme and imports after...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants