Raised This Month: $ Target: $400
 0% 

Admin Flatfile & Bots


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 01-16-2015 , 18:10   Admin Flatfile & Bots
Reply With Quote #1

In my admins.cfg, I have the following entry...
Code:
Admins
{
	"Bots"
	{
		"auth"		"steam"
		"identity"	"BOT"
		"group" 	"Bots"
	}
}
Which has always worked fine. Bots were added to the bots group and flags were assigned properly. But recently, I've been getting this in the error logs and I don't know why.

Quote:
L 01/16/2015 - 23:06:43: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 01/16/2015 - 23:06:43: [admin-flatfile.smx] (line 7) Failed to bind auth "steam" to identity "BOT"
L 01/16/2015 - 23:06:43: [admin-flatfile.smx] (line Failed to bind auth "steam" to identity "BOT"
Anyone have any ideas? Have the bots ID been changed to something else?

Edit
Just remembered we recently changed from the stable branch to the dev branch.
PHP Code:
SourceMod Version1.7.0-dev+5126 

Last edited by Snaggle; 01-16-2015 at 18:14.
Snaggle is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-16-2015 , 18:32   Re: Admin Flatfile & Bots
Reply With Quote #2

Some of the admin identity handling was changed in 1.7 to support both Steam2 and Steam3 format ids. "BOT" apparently breaks in this detection. That wasn't necessarily intentional, but may I ask why you're adding bots into the admin system?
psychonic is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 01-17-2015 , 04:14   Re: Admin Flatfile & Bots
Reply With Quote #3

Makes sense, since you can just give them flags, rather than edit every plugin to treat fake clients incorrectly.
Many plugins like idle managers and such have immunity flags, giving those to bots would make that feature disable for that group.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 01-17-2015 , 05:13   Re: Admin Flatfile & Bots
Reply With Quote #4

Quote:
Originally Posted by friagram View Post
Makes sense, since you can just give them flags, rather than edit every plugin to treat fake clients incorrectly.
Many plugins like idle managers and such have immunity flags, giving those to bots would make that feature disable for that group.
Pretty much this. We assign a custom flag to bots so plugins can be used on them. Things like spawn speed and immunity. We may switch back to the stable branch for now then.

Last edited by Snaggle; 01-17-2015 at 05:13.
Snaggle is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-17-2015 , 16:20   Re: Admin Flatfile & Bots
Reply With Quote #5

Quote:
Originally Posted by psychonic View Post
Some of the admin identity handling was changed in 1.7 to support both Steam2 and Steam3 format ids. "BOT" apparently breaks in this detection. That wasn't necessarily intentional...
This is fixed now in 1.7.0-git5131 and later.
psychonic is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 01-17-2015 , 19:12   Re: Admin Flatfile & Bots
Reply With Quote #6

Quote:
Originally Posted by psychonic View Post
This is fixed now in 1.7.0-git5131 and later.
Awesome, thanks.
Snaggle is offline
Reply



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 18:00.


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