Closed kqr closed 11 years ago
This does not happen on testmap. So far only tested on Wheel of Fortune 0.1.
worth noting is also that it works fine with the ip of the network card, but not the ip of the router, which is then forwarded to the machine
And it is actually the client that segfaults, but because of receiving bogus data from the server. The client running the server receives the MSG_JOIN correctly with the name of the joining player in one chunk. The next chunk however has an incorrect length and the following messages just contain crap, eventually making the client download a huge payload that overwrites all memory and segfaults
And it seems to be an issue related to the size of the map. testmap is small and works well. Wheel of fortune is slightly larger and crashes. testmap with some random large file added in the ldi will also cause a crash
This issue has been somewhat resolved by ff302b9aed. I will close this issue (it seems to work for larger maps now) and open a new one about the network code in general that will have to be resolved post release. Currently, we need features and we need features that work. This works in the sense that it doesn't destroy gameplay.
I'm sure @h4xxel can fill you out on the details, as he probably has a more clear picture of the issue than I do.
Reproduction steps on my computer: