halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[REQUEST] reset room_type on (dis)connect

Open MPNumB opened this issue 13 years ago • 10 comments

It would be really nice for room_type client cvar to reset to 0 whenever connecting to/disconnecting from a server, and when map changes also of course.

MPNumB avatar Feb 17 '13 14:02 MPNumB

Is there any usefulness to that?

johndrinkwater avatar Feb 17 '13 14:02 johndrinkwater

After playing on maps like cs_siege, where room_type is set on 18 (echo effect) this cvar doesn't reset; and on other maps (like de_dust), where room_type should be 0, it still equals 18.

vjatseslav avatar Feb 17 '13 14:02 vjatseslav

I agree, it's a bug and should be fixed. If you play a map with an echo or any other env_sound sound type it will be stuck with you until you restart your game. Even leaving the server will still leave your game menu sounds with an echo effect.

Quite easy to reproduce with a default map such as cs_siege, as vjatseslav mentions above.

This is quite annoying from my experience and the reason many mappers always avoided using env_sound entities too.

Egon-Spengler avatar Feb 17 '13 18:02 Egon-Spengler

Agree that it's a bug that should be fixed but it's very simply solved yourself by putting these commands in your userconfig.cfg: room_type "0" and/or room_off "1"

MaximilianKohler avatar Feb 17 '13 20:02 MaximilianKohler

@MaximilianKohler, and you should exec your userconfig on/after each map with echo. Fix required.

vjatseslav avatar Feb 17 '13 22:02 vjatseslav

Oh, that's right. I guess it works for me because I have my config.cfg on read only.

MaximilianKohler avatar Feb 17 '13 22:02 MaximilianKohler

Never use config.cfg to edit your cfg. Either use userconfig.cfg or create an own cfg which will be loaded on key press.

Surprised people still using config.cfg and set it read only :)

ghost avatar Feb 19 '13 12:02 ghost

@leon291 I have all the defaults in config.cfg on read only, then I have all my binds, aliases, & settings in userconfig.cfg.

MaximilianKohler avatar Feb 19 '13 20:02 MaximilianKohler

All seems to work perfectly on my side, room_type reset to 0 after I leave cs_siege, and this since a long time ago.

Irv1n3 avatar May 31 '13 22:05 Irv1n3

dupe of #1144

alfred-valve avatar Aug 07 '13 23:08 alfred-valve