csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

HTML tags don't work in env_hudhint

Open ericek111 opened this issue 5 years ago • 16 comments
trafficstars

Affects both Windows and Linux. Breaks community server experience.

Valve, please fix.

20191119144749_1

ericek111 avatar Nov 19 '19 13:11 ericek111

As currenty workaround, add #SFUI_Notice_NewWaveBegun_\n at the beginning of every PrintHintText.

Example: PrintHintText(client, "#SFUI_Notice_NewWaveBegun_\n your text...");

Bara avatar Nov 19 '19 15:11 Bara

@Bara did we can hide #SFUI_Notice_NewWaveBegun_ or something like this?

BlackYuzia avatar Nov 19 '19 16:11 BlackYuzia

oh and, if we use #SFUI "bypasss methond". We get spam in to console: image

We can't stop this spam too?

BlackYuzia avatar Nov 19 '19 16:11 BlackYuzia

@Bara did we can hide #SFUI_Notice_NewWaveBegun_ or something like this?

No.

Bara avatar Nov 19 '19 16:11 Bara

there is a SM workaround fix plugin that fixes this html issue well... ( if you search for it you will find it ). Please , valve dont get rid of our last and only possible workaround , otherwise you can say rip to community servers. Better option is to fix the root of the problem and not disable it completely....

WildBanan avatar Dec 02 '19 22:12 WildBanan

@kisak-valve I understand that you are not a CS:GO developer, but could we have some official statement on this issue, please? I don't understand your intentions. If the "fix" (disabling HTML in HintText) was made for security reasons, then you did a horrible job, like really awfully pathetic job. If it's a byproduct of some other fix, it should be easy to revert it.

I know that you are super busy adding stickers and brightening maps, but does it really take that long to revert part of an update?

We have players regularly telling us to "fix" our HintText pop-ups, since the available workaround puts translated text in front of the message in some languages.

Or perhaps, as a courtesy to community server administrators that keep your games alive, add a translation with one string placeholder (Like "#SFUI_We_Broke_HintText" = "%s"). Surely you could sneak that in.

Thanks! ^_^

ericek111 avatar Dec 16 '19 01:12 ericek111

there is a SM workaround fix plugin that fixes this html issue well... ( if you search for it you will find it ). Please , valve dont get rid of our last and only possible workaround , otherwise you can say rip to community servers. Better option is to fix the root of the problem and not disable it completely....

Can't find something like that. Any help?

jmbluethner avatar Mar 12 '20 22:03 jmbluethner

Here: https://github.com/Franc1sco/FixHintColorMessages

I love Valve for what they're doing, but the CS:GO dev team (if there is any) overshadows it all with annoyances like this. :(

ericek111 avatar Mar 13 '20 10:03 ericek111

Thanks alot @ericek111 !

jmbluethner avatar Mar 13 '20 13:03 jmbluethner

@ericek111 The Plugin shows a green "$" sign at the beginning of each hint:

Any way to fix / bypass that?

jmbluethner avatar Mar 13 '20 13:03 jmbluethner

Nope. Be glad it doesn't look like this:

You can edit your language files and remove the dollar sign, but that'd only work for you, of course. This workaround also introduces the 254 char limit that's hardcoded in CS:GO.

ericek111 avatar Mar 13 '20 13:03 ericek111

Okay thanks @ericek111 . I'll just use uncolored hint texts... Thanks Valve! But I'm still asking myself how all the Surf-Servers are doing it

jmbluethner avatar Mar 13 '20 18:03 jmbluethner

Any update on this issue? :(

sadcommunityserverowner avatar Aug 07 '20 02:08 sadcommunityserverowner

Any update on this issue? :(

nothing :(

gooxoopoo avatar Aug 08 '20 02:08 gooxoopoo

现在好像修复了,可以使用html标签,不需要使用#SFUI_XXXXX


Google translate: It seems to be fixed now, you can use html tags, no need to use #SFUI_XXXXX

isMADAO avatar Mar 09 '22 09:03 isMADAO

Can also confirm that this seems to be fixed for env_message now.

csgo_2022-04-07_21-33-31

Unfortunately, HTML formatting is still broken on env_hudhint.

csgo_2022-04-07_21-33-45

Vauff avatar Apr 07 '22 23:04 Vauff