shqke / sourcetvsupport

Fixes broadcasting/demo recording features in Left 4 Dead
GNU General Public License v3.0
49 stars 10 forks source link

Can't play STV demos: the map doesnt match the version on the server #41

Closed sheo9000 closed 1 year ago

sheo9000 commented 1 year ago

Hello! I have an issue. Whenever I try to replay the STV demo, the game shows this: Map does not match the version on the server (string table differs)

I was testing on a dedicated server on remote machine, but I also have a second server, installed on my home PC, and its demos work fine. The files between those two servers are fully synchronized with rsync. Whole server folder is synced, so the files are 100% equal (except launch parameters, but I didnt add anything related to STV into both of them).

This is how I test: 1) Join server, set cvars: tv_enable 1; tv_name "Spec Bot"; tv_maxclients 1; tv_delay 0; tv_snapshotrate 30 2) Then I load Confogl Zonemod: sm_forcematch zonemod 3) After map's reloaded, I start the recording: tv_record <filename> 4) Wait ~30-60 seconds, then tv_stoprecord 5) Copy the recorded .dem file to game client, try to play it with playdemo <filename> 6) Map version error appears I do same steps on both servers

The other thing that I noticed, is that my home server writes changes to the .dem file only once per ~3 minutes during recording, while the dedicated server constantly writes changes to disk. This might be related Please help.

UPD: Also those broken demos have huge size: like 700-1200Mb after a single played versus map

shqke commented 1 year ago

Could you try to reproduce it on a clean server?

Also, when did this start happening?

sheo9000 commented 1 year ago

@shqke Yes, the problem reproduces on a clean server

Also, when did this start happening?

I'm trying it the first time

shqke commented 1 year ago

Error hints on a sourcemod extension not loading up properly.

Can you post output of sm exts list?

sheo9000 commented 1 year ago

Error hints on a sourcemod extension not loading up properly.

Can you post output of sm exts list?

Yeah, you were right [03] <FAILED> file "sourcetvsupport.ext.2.l4d2.so": /lib/i386-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found (required by /home/ubuntu/l4d2server_temp/left4dead2/addons/sourcemod/extensions/sourcetvsupport.ext.2.l4d2.so) My home server is on Ubuntu 22, the servers I had issues on have Ubuntu 20 and Ubuntu 18. Do I need to update OS on the servers, or can you recompile using different OS? I should I compile it myself?

spumer commented 1 year ago

Minimal version for GitHub is ubuntu-20.04, but compiled with latest ubuntu-latest (22.04).

It would be great to compile with the lower versions dependencies

shqke commented 1 year ago

Keeping your server environment updated would be the most secure option.

However, try this https://github.com/shqke/sourcetvsupport/actions/runs/4928668105.

shqke commented 1 year ago

@sheo9000 wait for 0222e04 to finish, might've missed something else.

sheo9000 commented 1 year ago

@shqke Thanks, it now works for both Ubuntu 18 and 20