Raised This Month: $158 Target: $400
 39% 

[TF2] Class Restrictions For Bots (02.11.2017)


Post New Thread Reply   
 
Thread Tools Display Modes
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-29-2016 , 15: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 , 02: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 , 06: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 07:17.
luki1412 is offline
CoolJosh3k
AlliedModders Donor
Join Date: Mar 2010
Old 10-24-2017 , 22: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 , 18: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 , 09: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 , 18: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 , 21: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.
__________________
Am I back? Well, we'll see.

Last edited by Powerlord; 10-26-2017 at 21:44.
Powerlord is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-27-2017 , 07: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: Somewhere in Buckinghams
Old 11-02-2017 , 05:43   Re: [TF2] Class Restrictions For Bots (04.05.2017)
Reply With Quote #50

I think it's fixed now, could be wrong.
__________________
A semi-average TF2 Engineer main, attempting to make contact with the outer world and befriend it... Even though sometimes that doesn't go well.

Oh yeah, I don't know how make plugins.

Last edited by ScrapEngineer; 11-02-2017 at 05: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 16:59.


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