Raised This Month: $32 Target: $400
 8% 

[TF2] Class Restrictions For Bots (26.12.2022)


Post New Thread Reply   
 
Thread Tools Display Modes
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-29-2016 , 14:21   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #41

Quote:
Originally Posted by zyox123cc View Post
This plugin has errors
I set the other branches
But he was fixed only spy sniper
I need more details.
__________________
luki1412 is offline
CoolJosh3k
AlliedModders Donor
Join Date: Mar 2010
Old 10-24-2017 , 01:58   Re: [TF2] Class Restrictions For Bots (04.05.2017)
Reply With Quote #42

It would appear that the recent TF2 update broke this plugin.

Now it keeps just killing the bots shortly after they respawn. Over and over.
Depends on the number of tf bots and the class limits, but settings that used to be fine no longer work.

For example:

Code:
tf_bot_quota_mode fill
tf_bot_quota 6

sm_crb_blu_demomen "1"
sm_crb_red_demomen "1"

sm_crb_blu_engineers "1"
sm_crb_red_engineers "1"

sm_crb_blu_heavies "1"
sm_crb_red_heavies "1"

sm_crb_blu_medics "0"
sm_crb_red_medics "0"

sm_crb_blu_pyros "1"
sm_crb_red_pyros "1"

sm_crb_blu_scouts "1"
sm_crb_red_scouts "1"

sm_crb_blu_snipers "0"
sm_crb_red_snipers "0"

sm_crb_blu_soldiers "1"
sm_crb_red_soldiers "1"

sm_crb_blu_spies "0"
sm_crb_red_spies "0"
Used to work, but now they just die over and over.
CoolJosh3k is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-24-2017 , 05:39   Re: [TF2] Class Restrictions For Bots (04.05.2017)
Reply With Quote #43

the plugin isnt broken. that update changed bots. they keep killing themselves to change class to one they are supposed to have. not sure what to do about that.
__________________

Last edited by luki1412; 10-24-2017 at 06:17.
luki1412 is offline
CoolJosh3k
AlliedModders Donor
Join Date: Mar 2010
Old 10-24-2017 , 21:37   Re: [TF2] Class Restrictions For Bots (04.05.2017)
Reply With Quote #44

Sounds like the way it detects bot's classes needs to be rewritten. Are you able to figure out which function no longer gives the data you need?
CoolJosh3k is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-25-2017 , 17:23   Re: [TF2] Class Restrictions For Bots (04.05.2017)
Reply With Quote #45

No the game kills them, not the plugin. Plugin doesnt kill anyone.
__________________
luki1412 is offline
CoolJosh3k
AlliedModders Donor
Join Date: Mar 2010
Old 10-26-2017 , 08:16   Re: [TF2] Class Restrictions For Bots (04.05.2017)
Reply With Quote #46

Can confirm.

tf_bot_keep_class_after_death 1

It now no longer works.
CoolJosh3k is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-26-2017 , 17:36   Re: [TF2] Class Restrictions For Bots (04.05.2017)
Reply With Quote #47

Confirm what?
__________________
luki1412 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-26-2017 , 20:44   Re: [TF2] Class Restrictions For Bots (04.05.2017)
Reply With Quote #48

psychonic mentioned in another thread that TF2 has a new hidden cvar that controls bots. So, if you're using this plugin, put this in your server.cfg:

Code:
sm_cvar tf_bot_spawn_use_preset_roster 0
On a side note, TF2 now uses a smarter roster of what classes bots should play by default instead of them being completely random.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 10-26-2017 at 20:44.
Powerlord is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-27-2017 , 06:43   Re: [TF2] Class Restrictions For Bots (04.05.2017)
Reply With Quote #49

Quote:
Originally Posted by Powerlord View Post
psychonic mentioned in another thread that TF2 has a new hidden cvar that controls bots. So, if you're using this plugin, put this in your server.cfg:

Code:
sm_cvar tf_bot_spawn_use_preset_roster 0
On a side note, TF2 now uses a smarter roster of what classes bots should play by default instead of them being completely random.
It doesnt stop them from killing themselves. They wont stop til they spawn as the class they are supposed to have.
__________________
luki1412 is offline
ScrapEngineer
Member
Join Date: Oct 2016
Location: The fourth worst country
Old 11-02-2017 , 04:43   Re: [TF2] Class Restrictions For Bots (04.05.2017)
Reply With Quote #50

I think it's fixed now, could be wrong.
__________________
Amateur coder and sentient lemon.

Last edited by ScrapEngineer; 11-02-2017 at 04:53.
ScrapEngineer 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 00:52.


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