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.
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.