PazerOP / tf2_bot_detector

Automatically detects and votekicks cheaters/bots in TF2 casual.
MIT License
400 stars 55 forks source link

Can you make the chat normal please? #176

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi my chat is not displaying like it usually does when I run the bot detector and when I close it my chat doesn't return to normal I even tried deleting my config from the steam cloud and that still didn't fix it so I had to delete my steam cloud, steam itself and go into my regedit and delete every trace of steam, half life 2 and team fortress 2 just to make it return to normal.

Normal chat would display like this:

Blastoise: testing

The bot detector is making my chat display like this:

Blastoise: testing

It's chopping my comments off and putting them on the line below, yes I might have OCD but I can't have it like this.

Also can you make the program minimize to the task bar notification area on the right side please?

Thank you.

CrazyGunman2C4U commented 4 years ago

The chat displays unusually, because every time you launch TF2 through TF2BD, it generates chat wrappers (invisible characters which get added to the localization of the chat strings).

This was added as bots found a way to mark innocent users by spamming "fake" myg0t messages with their username attached. The chat log doesn't get colored and just uses a static formatting. Meaning, unless you randomize the characters the format uses, bots will be able to exploit this app.

If you prefer a normal chat over a working instance of the detector, simply go to ...\steamapps\common\Team Fortress 2\tf\custom and delete the folder called "aaaaaaaaaa_loadfirst_tf2_bot_detector".

[You may access that folder by going to your Steam Library, right-click on Team Fortress 2 → Properties → Local files → Browse local files... Now simply navigate to \tf\custom]

By running the tool again, it will recreate the folder containing randomized chat wrappers.

Also can you make the program minimize to the task bar notification area on the right side please?

Kindly create a new issue specifying your requirements (functionality, suggested settings and default behavior, ...). This ensures that pazer can see every issue at a glance and tackle them separately.

Thank you for your input! Sadly it seems like this one cannot be fixed (unless our genius comes up with another solution to the exploit these bots were using!)

ghost commented 4 years ago

Okay thats good I'll use the app now that I can delete that folder and have the chat return to normal.

Thank you.

CrazyGunman2C4U commented 4 years ago

To avoid misunderstandings: If you delete the folder while running the game, it won't do anything, and if you delete it before the game starts, it will simply regenerate it.

If you somehow manage to delete it before the game reads it, the app will break as it can no longer detect the chat messages.

Either use the app or don't and delete the folder to restore the chat to its default state.

PazerOP commented 4 years ago

@blastoise33

  1. Do you have Windows or TF2 set to a language that isn't English?
  2. What resolution do you use?
  3. What HUD do you use?
ghost commented 4 years ago

I'm playing on a laptop with resolution 1200x600. English language. Default hud but minimized.

ClusterConsultant commented 4 years ago

This is caused due to custom chat wrappers. For some reason the chat-box sometimes decides to wrap text based off the count of certain characters rather than the actual rendering of the text. Since it is impossible to test the tool with every parameter that could cause this issue (screen resolution, hud, font, chat window size, etc), this may keep cropping up until it is determined exactly what metric is used to determine wrapping