Facepunch / garrysmod-issues

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

Stuck Voiceboxes on Lua Refresh #2592

Closed stickz closed 8 years ago

stickz commented 8 years ago

To re-simulate change a client lua file live on a dedicated server while someone is talking.

The voicebox will stay stuck indefinitely for all the players on the server until map change or reconnect.

willox commented 8 years ago

What gamemode were you running?

stickz commented 8 years ago

Morbus. But it should theoretically be an issue on any server, as the voice boxes are part of the game itself and not any one gamemode in particular.

robotboy655 commented 8 years ago

You are actually wrong, they are part of the gamemode, and Morbus does override them, so I am going to assume this is a bug with that gamemode and not the default voice notifications, unless you can reproduce it in Sandbox/Base gamemode.

https://github.com/Remscar/Morbus/blob/c34b717dab7b446a20fdf74b9e806a1cc9493457/MorbusGamemode/gamemodes/morbusgame/gamemode/client/cl_chat.lua#L41

robotboy655 commented 8 years ago

The default gamemode cleans all extra icons every 10 seconds.

https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/base/gamemode/cl_voice.lua#L107-L118