PazerOP / tf2_bot_detector

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

When bot detector is set to launch TF2 on tool start, does not check if TF2 is running first #343

Closed ClusterConsultant closed 3 years ago

ClusterConsultant commented 3 years ago

If TF2 is opened by TF2BD, then TF2BD is closed and reopened TF2BD attempts to start hl2.exe a second time. TF2BD then waits for the user to close the source warning pop up and continues on to function normally. This seems to only happen when TF2BD is set to launch TF2 automatically.

ClusterConsultant commented 3 years ago

https://github.com/PazerOP/tf2_bot_detector/blob/8f42acd8fdb8245de54559ea072a754ae5dfd07a/tf2_bot_detector/SetupFlow/TF2CommandLinePage.cpp#L315 should probably check if tf2 is running first

Link2006 commented 3 years ago

I would like to say that the issue persists as of 1.2.1.940 if TF2 is already launched but not via TF2BD as it seems to complain for a brief moment that it couldn't find the arguments before going back to the main screen (With the "Launch TF2" button) when the source warning pops up

ClusterConsultant commented 3 years ago

I mean, you do have to launch tf2 via tf2bd. Maybe some kind of warning is in order

PazerOP commented 3 years ago

Hopefully that should resolve all of these issues. If not, leave another message here.