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

[Protocol] Make gamespy1 parsing less likely to fail #107

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

Douile
Copy link
Collaborator

@Douile Douile commented Sep 27, 2023

This fixes the "playername" field being filtered out, which would cause parsing to fail for some bf1942 servers which use that field instead of "player".

It also makes more fields on the Gamespy1 Player type optional, this is because in my testing I saw some servers (bf1942) not providing them so as a result the parse would fail if these were not optional.

This is taken from #92 but is just partial work on #88, it might not solve all issues, but they are the obvious fixes that should help us in narrowing down the other ones.

@github-actions github-actions bot added the protocol This is something regarding a protocol label Sep 27, 2023
@CosminPerRam CosminPerRam merged commit efc1828 into gamedig:main Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
protocol This is something regarding a protocol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants