PazerOP / tf2_bot_detector

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

Problem with temp fix [BUG] #333

Closed Jesseman1 closed 3 years ago

Jesseman1 commented 3 years ago

Describe the bug

My localconfig.vdf file does not have the launch options section in it, and I don't want to break TF2 or Steam by trying to do it myself and getting it wrong.

To Reproduce

Steps to reproduce the behavior:

  1. Go to localconfig.vdf
  2. Scroll down to "440"
  3. See no "launchOptions" or "Launch Options go here" fields.

Expected behavior

I was hoping to follow the guide and see the exact place to type in my launch options.

Screenshots

LocalConfig error

Desktop

  • OS: Windows 10
  • Version of bot detector: 1.2.0.798

Additional context

I apologize for making a Git Issue for this instead of asking in the Discord server, but Discord disabled my 5 year old account last week(never would tell me what I did) and won't let me verify with my phone again.

Spygineer2 commented 3 years ago

This just means you haven't added any launch options to TF2 yet. You can just add a launch option to TF2 using steam to fix this, or you can add "LaunchOptions" underneath "PlayTime" to fix it as well.

Jesseman1 commented 3 years ago

but I have added launch options to TF2, I use the ones Mastercoms says to use when running the Comfig

KaineWooten commented 3 years ago

but I have added launch options to TF2, I use the ones Mastercoms says to use when running the Comfig

they aren't referring to those launch options, the launch options that are used for the program are what you are missing in order to have TF2BD work

the ones you have in steam are alright, they will be executed along with whatever you have put into LaunchOptions

Jesseman1 commented 3 years ago

Ok, so I put "launchOptions" below playtime, now the "launch options go here" bit, that goes beside just like "46" does above?

Spygineer2 commented 3 years ago

Yeah, it should look something like this:

"440"
{
    "LastPlayed"        "1624484106"
    "Playtime"      "46"
    "LaunchOptions"     "(Launch options here) "

}
Jesseman1 commented 3 years ago

Ok, so I tried putting the commands in this file as instructed and it did not work. However I then copied the commands and posted them into the actual launch options box through Steam and now the BD seems to be working.

Also if anyone knows how I can get Discord to let me verify this new account I would really appreciate it.

Jesseman1 commented 3 years ago

Ok still not completely fixed yet. I used these commands "-usercon +ip 0.0.0.0 +rcon_password [pass] +hostport [port]" Since Creyon said that was all that was needed. The BD is able to launch and read chat, but cannot see player names. What commands do I need to add to make this work correctly?

Spygineer2 commented 3 years ago

Try copying all of the launch commands that Koi posted and pasting them into notepad. Then add your rcon password and host port. Then copy them and paste them into the launch options fiend in steam.

Jesseman1 commented 3 years ago

I thought people were saying there are problems with the command list being too long. Do I need all of them or are there some that aren't necessary?

Spygineer2 commented 3 years ago

It should work fine if you paste them in instead of typing them.

Jesseman1 commented 3 years ago

Just tried it, didn't work

Jesseman1 commented 3 years ago

huh, ok this time it did.

PazerOP commented 3 years ago

Duplicate of #331