ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
784 stars 69 forks source link

HTML tags don't work in env_hudhint #2233

Open ericek111 opened 4 years ago

ericek111 commented 4 years ago

Affects both Windows and Linux. Breaks community server experience.

Valve, please fix.

20191119144749_1

Bara commented 4 years ago

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

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

BlackYuzia commented 4 years ago

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

BlackYuzia commented 4 years ago

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

We can't stop this spam too?

Bara commented 4 years ago

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

No.

WildBanan commented 4 years ago

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....

ericek111 commented 4 years ago

@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! ^_^

jmbluethner commented 4 years ago

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?

ericek111 commented 4 years ago

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. :(

jmbluethner commented 4 years ago

Thanks alot @ericek111 !

jmbluethner commented 4 years ago

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

Any way to fix / bypass that?

ericek111 commented 4 years ago

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.

jmbluethner commented 4 years ago

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

sadcommunityserverowner commented 4 years ago

Any update on this issue? :(

gooxoopoo commented 4 years ago

Any update on this issue? :(

nothing :(

isMADAO commented 2 years ago

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


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

Vauff commented 2 years ago

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