ddnet icon indicating copy to clipboard operation
ddnet copied to clipboard

Console filtering by log's type name (`sys`)

Open gerdoe-jr opened this issue 1 year ago • 1 comments

I often do use client's console just to see what's happening in chat, but it becomes uncomfortable to use if I enter server that exploits broadcast messages as HUD. So, personally, I want to exclude broadcast log messages or to see only chat.

gerdoe-jr avatar Jun 28 '24 21:06 gerdoe-jr

You can disable server broadcasts printing with cl_print_broadcasts 0

ghost avatar Jun 29 '24 07:06 ghost

I often do use client's console just to see what's happening in chat

Better solution would maybe be to make chat scrollable.

but it becomes uncomfortable to use if I enter server that exploits broadcast messages as HUD

We should add better mod support so this shouldn't be necessary (#2875).

So, personally, I want to exclude broadcast log messages or to see only chat.

cl_print_broadcasts 0 should be enough to exclude broadcasts. Also, you can search the console with Ctrl+F for I chat to find chat messages.

Robyt3 avatar Jul 14 '24 20:07 Robyt3

This is not about this use-case only though, some kind of servers can spam out rcon and filtering output would make less work just to check some kind of log

gerdoe-jr avatar Jul 14 '24 22:07 gerdoe-jr

The added complexity doesn't really seem worth it to me with Ctrl+F searching already existing. If another maintainer wants to support this, feel free to reopen.

Robyt3 avatar Jul 15 '24 09:07 Robyt3