Facepunch / sbox-issues

175 stars 12 forks source link

SourceTV crashes server #1139

Closed Glitchvid closed 2 years ago

Glitchvid commented 2 years ago

Describe the bug

Enabling Source TV crashes the host.

To Reproduce

  1. tv_enable 1 in console
  2. Load a map
  3. Crash

Expected behavior

In Source 1 games this would create an additional bot client, and bind to 27020 (default).

Additional context

Garry's Mod passively abandoned working SourceTV support some time in 2013.
I think that was a mistake, since SourceTV and tv_transmitall allows a server to record the entirety of a match to a demo file. Which becomes exceptionally useful with SFM, since you can then import an entire match to create films from.

walllable commented 2 years ago

I could see this (and demo recording in general, last time I tried playing a demo it wouldn't work since it couldn't load a map) being really useful for creating trailers, or something like that.

Glitchvid commented 2 years ago

last time I tried playing a demo it wouldn't work since it couldn't load a map

I ran into this issue as well, you might want to file a bug report for it – the game should be able to locate the map if it's on the sbox servers.