Raised This Month: $ Target: $400
 0% 

Solved [TF2] How can I fix a bug where bots don't join a class?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TotalChaos SourcePawner
Senior Member
Join Date: Feb 2023
Location: IN PINEAPPLE, UNDER SEA
Old 11-15-2023 , 00:15   [TF2] How can I fix a bug where bots don't join a class?
Reply With Quote #1

Hi. Been a while since I posted anything here.

I'm looking for some help with fixing a bug in TF2 where bots don't join a class, and never spawn in.

What I want to do is this:
If a bot joins and doesn't select a class, force the bot to run the command "joinclass random" until they finally join a class. Loop through every bot that doesn't have a valid class until they have a proper class and have spawned in.

I haven't done any SourceMod coding in a while, and I can't figure out how to do this on my own for the life of me. Absolutely nothing I tried worked.

Any and all help would be greatly appreciated.
TotalChaos.

Last edited by TotalChaos SourcePawner; 11-17-2023 at 00:12.
TotalChaos SourcePawner is offline
TotalChaos SourcePawner
Senior Member
Join Date: Feb 2023
Location: IN PINEAPPLE, UNDER SEA
Old 11-17-2023 , 00:11   Re: [TF2] How can I fix a bug where bots don't join a class?
Reply With Quote #2

Update 11/16/2023:
I somehow managed to do this in VScript.
If anyone is interested, then just ask and I'll post my script here. But for now I'll keep it private.

Last edited by TotalChaos SourcePawner; 11-17-2023 at 00:12.
TotalChaos SourcePawner is offline
101
Junior Member
Join Date: Nov 2023
Old 11-25-2023 , 07:39   Re: [TF2] How can I fix a bug where bots don't join a class?
Reply With Quote #3

Quote:
Originally Posted by TotalChaos SourcePawner View Post
Update 11/16/2023:
I somehow managed to do this in VScript.
If anyone is interested, then just ask and I'll post my script here. But for now I'll keep it private.
https://forums.alliedmods.net/showthread.php?p=2656120
101 is online now
TotalChaos SourcePawner
Senior Member
Join Date: Feb 2023
Location: IN PINEAPPLE, UNDER SEA
Old 11-27-2023 , 18:17   Re: [TF2] How can I fix a bug where bots don't join a class?
Reply With Quote #4

Thanks, I already figured this out. I even made a full-on plugin that fixes this issue.
Also, that plugin isn't what I was looking for. I don't want a class randomizer for the bots.

I made my own class randomizer, anyway.
TotalChaos SourcePawner is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:50.


Powered by vBulletin®
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Theme made by Freecode