cathook icon indicating copy to clipboard operation
cathook copied to clipboard

Bot crash after someone types some unicode characters in the tf2 chat

Open furbi11 opened this issue 2 years ago • 3 comments

The bot crashes after someone types unicode characters like this ₪ for example.

Try to replicate this bug by running the bots on a private server and try different unicode characters i guess.

Same thing happened with Japanese text to me and with Chinese text to slurpybox(issue #1677)

Here are some could crash the bot : ▩ ▓ ◐ ◍ ﷽ 𪚥 ஹ

furbi11 avatar Jul 02 '22 21:07 furbi11

Unsure what causes this, a "normal" cathook with the various logging options enabled doesn't rash due to this, so it may be related to the way we load cathook for bots specifically, or it has to do with the linux distro used.

BenCat07 avatar Jul 08 '22 06:07 BenCat07

Could it possibly be that those Unicode characters are just not supported by the Linux operating system you use? Considering that past issue had 2 completely separate systems with 2 different languages that caused the crash?

I also tested this and it seems to do nothing to me so it must be system related like what ben said:

it has to do with the Linux distro used.

BlueSnoopT avatar Jul 09 '22 06:07 BlueSnoopT

thanks for this :100:

codymikol avatar Jul 23 '22 03:07 codymikol