Facepunch / garrysmod-issues

Garry's Mod issue tracker
147 stars 56 forks source link

sv_skyname does not update on dedicated server for players #5400

Closed Ethorbit closed 1 year ago

Ethorbit commented 1 year ago

Details

Changing sv_skyname on a dedicated server console does not update the sky for clients, they will continue to see the map's default skybox no matter what... This works fine in Singleplayer.

Server:

Protocol version 24
Exe version 2022.06.08 (garrysmod)
Exe build: 18:07:47 Jan  6 2023 (8826) (4000)
GMod version 2023.01.26, branch: unknown
Linux 32bit Dedicated Server

Client:

Protocol version 24
Exe version 2022.06.08 (garrysmod)
Exe build: 18:26:23 Jan  9 2023 (8829) (4000)
GMod version 2023.01.26, branch: unknown, multicore: 0
Windows 32bit
Beta: None

Steps to reproduce

Create Linux dedicated server ``` docker run -it --name gmod-test --rm -v gmod-test:/home/srcds/server -p 27015:27015/udp --env SRCDS_APPID=4020 --env SRCDS_RUN_ARGS='-port 27015 +gamemode "sandbox" +map "gm_construct"' ethorbit/srcds-server:latest ```

In the dedicated server console, cycle between these two sky names:

You'll notice the sky does not change at all for players.

robotboy655 commented 1 year ago

Cannot confirm this. Perhaps it was fixed since then.

Ethorbit commented 1 year ago

Yep, this doesn't seem to be occurring anymore. I don't see anything in the changes that would have addressed this issue, but something must've fixed it.