Raised This Month: $ Target: $400
 0% 

Steam Group Admins (updated 2011-09-26)


Post New Thread Reply   
 
Thread Tools Display Modes
psychonic

BAFFLED
Join Date: May 2008
Old 12-16-2010 , 08:54   Re: Steam Group Admins
Reply With Quote #31

Minor update to 1.0.5 posted to fix more g_SteamClients Steam_RequestGroupStatus errors.
psychonic is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 12-16-2010 , 13:51   Re: Steam Group Admins
Reply With Quote #32

What do you mean by "not to mention up to 64 non-threads queries in a frame during a map change"?

It's one HTTP GET request. There are no database queries whatsoever. Am I missing something?
Mister_Magotchi is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 12-16-2010 , 14:55   Re: Steam Group Admins
Reply With Quote #33

Thanks again for the plugin. I'll see what I can do with making that one. I wasn't trying to debate you. I'm just not experienced, and I was asking for advice. I'll have it use the admin cache in the same manner admin-flatfile and admin-sql-prefetch already do.
Mister_Magotchi is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 12-27-2010 , 05:52   Re: Steam Group Admins
Reply With Quote #34

everything is updated

Whene I press reload admin cache i get this :

Code:
11:51:22 L 12/27/2010 - 11:24:20: [SM] Native "Steam_RequestGroupStatus" reported: No g_SteamClients entry found for client 10
11:51:22 L 12/27/2010 - 11:24:20: [SM] Displaying call stack trace for plugin "steamgroupadmins.smx":
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [0]  Line 129, steamgroupadmins.sp::LookupPlayerGroups()
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [1]  Line 92, steamgroupadmins.sp::DoFullCheck()
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [2]  Line 255, steamgroupadmins.sp::ParseConfig()
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [3]  Line 116, steamgroupadmins.sp::OnRebuildAdminCache()
11:51:22 L 12/27/2010 - 11:24:20: [SM] Native "Steam_RequestGroupStatus" reported: No g_SteamClients entry found for client 10
11:51:22 L 12/27/2010 - 11:24:20: [SM] Displaying call stack trace for plugin "steamgroupadmins.smx":
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [0]  Line 129, steamgroupadmins.sp::LookupPlayerGroups()
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [1]  Line 92, steamgroupadmins.sp::DoFullCheck()
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [2]  Line 255, steamgroupadmins.sp::ParseConfig()
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [3]  Line 116, steamgroupadmins.sp::OnRebuildAdminCache()
11:51:22 L 12/27/2010 - 11:24:20: [SM] Native "Steam_RequestGroupStatus" reported: No g_SteamClients entry found for client 10
11:51:22 L 12/27/2010 - 11:24:20: [SM] Displaying call stack trace for plugin "steamgroupadmins.smx":
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [0]  Line 129, steamgroupadmins.sp::LookupPlayerGroups()
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [1]  Line 92, steamgroupadmins.sp::DoFullCheck()
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [2]  Line 255, steamgroupadmins.sp::ParseConfig()
11:51:22 L 12/27/2010 - 11:24:20: [SM]   [3]  Line 116, steamgroupadmins.sp::OnRebuildAdminCache()
EDIT:

This is in my error log file:
Code:
L 12/28/2010 - 19:01:46: [SM] Native "Steam_RequestGroupStatus" reported: No g_SteamClients entry found for client 1
L 12/28/2010 - 19:01:46: [SM] Displaying call stack trace for plugin "steamgroupadmins.smx":
L 12/28/2010 - 19:01:46: [SM]   [0]  Line 129, steamgroupadmins.sp::LookupPlayerGroups()
L 12/28/2010 - 19:01:46: [SM]   [1]  Line 104, steamgroupadmins.sp::OnClientPostAdminCheck()
L 12/28/2010 - 21:34:37: [SM] Native "Steam_RequestGroupStatus" reported: No g_SteamClients entry found for client 10
L 12/28/2010 - 21:34:37: [SM] Displaying call stack trace for plugin "steamgroupadmins.smx":
L 12/28/2010 - 21:34:37: [SM]   [0]  Line 129, steamgroupadmins.sp::LookupPlayerGroups()
L 12/28/2010 - 21:34:37: [SM]   [1]  Line 92, steamgroupadmins.sp::DoFullCheck()
L 12/28/2010 - 21:34:37: [SM]   [2]  Line 78, steamgroupadmins.sp::RecheckPlayers()
Got about 20.000 lines of errors

Last edited by Groger; 12-28-2010 at 16:18.
Groger is offline
Minez
Junior Member
Join Date: Aug 2010
Old 01-09-2011 , 12:00   Re: Steam Group Admins
Reply With Quote #35

I am using the latest version of both sourcemod and metamod. I am running this plugin and it works perfectly. However I am too improving the "changemap" bug. Whenever the map is changed, if the user in the group does not reconnect, he loses his admin powers. Any news on this?
Minez is offline
PtxDK
Junior Member
Join Date: Jan 2011
Location: Denamrk
Old 01-10-2011 , 20:01   Re: Steam Group Admins
Reply With Quote #36

Quote:
Originally Posted by Minez View Post
I am using the latest version of both sourcemod and metamod. I am running this plugin and it works perfectly. However I am too improving the "changemap" bug. Whenever the map is changed, if the user in the group does not reconnect, he loses his admin powers. Any news on this?
I have the excact same problem.

If an admin joins the game, the plugin checks and see ok this is an admin so hes now an admin, but its like it forgets whos admin then the server changes map, but if you rejoin, the plugin checks you again and says ok here is an admin hes now an admin............

But if you use this plugin in stead it all works perfectly, ALSO then you changes the map !

http://forums.alliedmods.net/showthread.php?p=1375108
PtxDK is offline
Send a message via Skype™ to PtxDK
SuperRaWR
SourceMod Donor
Join Date: Jan 2010
Location: Sylvan Lake, Alberta, Ca
Old 01-11-2011 , 14:25   Re: Steam Group Admins
Reply With Quote #37

Quote:
Originally Posted by Mister_Magotchi View Post
What do you mean by "not to mention up to 64 non-threads queries in a frame during a map change"?

It's one HTTP GET request. There are no database queries whatsoever. Am I missing something?
I know this is from two weeks ago, but what Physconic is trying to tell you, and what you are failing to realize is that any group with over 1000 members is returned as paginated XML, meaning if there is a couple thousand people in your community group, you have to do more than one non-threaded query * the amount of players in your server.

It's easier to check using Steam Tools which grabs the feed for that individual player.
__________________
[WDZ]SuperRaWR

I use event scripts.
SuperRaWR is offline
Send a message via Skype™ to SuperRaWR
psychonic

BAFFLED
Join Date: May 2008
Old 01-11-2011 , 14:27   Re: Steam Group Admins
Reply With Quote #38

To address the last couple pages, I am aware of the mapchange issues. There is a discrepancy between Steam (and thus, SteamTools) and SM between whether or not a client is authed at times. Asherkin and I will find a solution to this hopefully later this week.
psychonic is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 01-11-2011 , 14:34   Re: Steam Group Admins
Reply With Quote #39

SuperRaWR: You're late to the party, I doubt you're the official Psychonic translator, and the 1000-player pagination was never mentioned in our discussion in this thread. As for the Steam Tools method being easier, you're probably correct. Easier doesn't mean better. The Steam Tools implementation has its advantages. My method has its advantages.
Mister_Magotchi is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-15-2011 , 16:57   Re: Steam Group Admins
Reply With Quote #40

Quote:
Originally Posted by psychonic View Post
To address the last couple pages, I am aware of the mapchange issues. There is a discrepancy between Steam (and thus, SteamTools) and SM between whether or not a client is authed at times. Asherkin and I will find a solution to this hopefully later this week.
Asherkin has now updated and release a new version of SteamTools with a fix for this issue.
psychonic 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 19:28.


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