Notes |
|
|
FYI, you already can block chat messages of individual players with the ignore and ignore_idx commands. |
|
|
(0008872)
|
JKist3
|
2014-06-07 15:47
|
|
thanks. I guess just spectator block needs to be added then |
|
|
|
This is something I always wanted to add, spectators chatting while I was dueling non stop pissed me off. F8 sucks as an alternative since you can't see obituaries when you killed them.
I have an idea, hopefully will post a diff soon. |
|
|
|
|
|
|
The implementation looks reasonable, but I'm unsure about one thing: Do we really want to have CVAR_ARCHIVE on cl_mutespectators? With it, Zandronum will save the setting of cl_mutespectators, i.e. you set it to true once and spectators will be muted indefinitely till you manually change it back. I think it would be more reasonable if the value is not archived, so that it reverts to false when Zandronum is restarted. This way it's more in line with the ignore function. |
|
|
|
|
|
|
|
|
|
If you want actually, I could add this to zandronum stable and then attempt a pull request. |
|
|
|
|
|
|
|
|
|
|
|
(0009710)
|
Dusk
|
2014-06-23 13:13
|
|
Perhaps could instead mess with chat levels, split chat into normal and spec chat and then allow spectators to be muted by simply setting the proper message filter? |
|
|
|
Looking at the updated patch I wonder if
(players[ulPlayer].bSpectating || static_cast<int>(ulPlayer) != consoleplayer)
is wrong. Shouldn't this be && instead of ||? How thoroughly did you test this change? If I read the code correctly, it will block the chat of all other players no matter whether they are spectators or not.
Quote from Dusk Perhaps could instead mess with chat levels, split chat into normal and spec chat and then allow spectators to be muted by simply setting the proper message filter? Doesn't the ability to block spectators separately give you more flexibility? |
|
|
|
Thats weird, it should be &&
I'll try it again and see if it works. What I put looks like it shouldn't work, I'll fix this up and re-submit. |
|
|
|
Will check into this after completing some other tickets |
|