icculus / Serious-Engine

An open source version of a game engine developed by Croteam for the classic Serious Sam games.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

net_iCompression==1 crashes

dyrverE opened this issue · comments

//uses the LZRW1 compressor algorithm by Ross Williams.

Game is both faster and more stable using zlib ==2 or really no networkmessage compression at all ==0.

Serious-Engine/Sources/Engine/Network/Compression.cpp
the issue seems to stem from line 311, 'p' does not get a memory area that is accessible. I'll work on a fresh gdb log after work if you need one.

I just pushed what I think is a fix from this (at least, this bug went from 100% reproducible to not at all).

That fix is a059520