PazerOP / tf2_bot_detector

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

[BUG] Generating Chat Wrapper Hard Crash #419

Closed HenryMigo closed 1 year ago

HenryMigo commented 1 year ago

Describe the bug

The application is hard crashing when generating chat wrapper.

To Reproduce

Steps to reproduce the behavior:

  1. Load exe
  2. Skip updating
  3. Generate chat wrapper gets to 19% then crashes
  4. See error

Expected behavior

The application to complete and load

Logs

Add any relevant logs. Logs are found by going to File → Open Logs Folder tf2-bot-detector_x64-windows_1.2.1.934_Release.zip

Screenshots

If applicable, add screenshots to help explain your problem. Error

Desktop (please complete the following information):

  • OS: Windows 11
  • Version of bot detector 1.2.1.934
Jesseman1 commented 1 year ago

The bot detector was not created for W11. I don't think anyone can help with this.

surepy commented 1 year ago

likely hud issue, change encoding of all of your chat resources in your hud (save it from utf-8 to utf-16)

located in tf/custom/(your hud)/resource/chat_*.txt

see also: https://github.com/surepy/tf2_bot_detector/issues/6

HenryMigo commented 1 year ago

likely hud issue, change encoding of all of your chat resources in your hud (save it from utf-8 to utf-16)

located in tf/custom/(your hud)/resource/chat_*.txt

see also: surepy#6

They are UTF-16 LE

HenryMigo commented 1 year ago

I'll try removing the hud and see if that works

HenryMigo commented 1 year ago

Yeah it was the hud

surepy commented 1 year ago

yea just fix encoding for all the files and it should launch

HenryMigo commented 1 year ago

Issue found and resolved