Raised This Month: $12 Target: $400
 3% 

Steam Group Admins (HTTP Prefetch)


Post New Thread Reply   
 
Thread Tools Display Modes
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 09-24-2012 , 20:40   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #61

Quote:
Originally Posted by markg View Post
One request:

you based this one on Psychonics plugin which does not precache, so we cant use it for reserved slot.

but he has the ability to have different permissions for group Admins vs group Members.

can you possibly add that? it would make for a major improvement

thanks
> Can be bothered to reply to thread.
> Can't be bothered to read other people's replies.
__________________
asherkin is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 09-24-2012 , 22:15   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #62

Thanks for having my back, Asherkin.

Yeah, as he said, I've answered that question already:
https://forums.alliedmods.net/showpo...1&postcount=16
Mister_Magotchi is offline
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 09-26-2012 , 08:53   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #63

Actually you should be able to ;)
I'm sure it's possible and could probably do moderators differently as well. You would just have to adjust your parsing.
Use the Actual page instead of the Group XML.
__________________

Last edited by tcviper; 09-26-2012 at 09:33.
tcviper is offline
Send a message via MSN to tcviper
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 09-26-2012 , 09:29   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #64

Quote:
L 09/26/2012 - 15:27:27: [steam-group-admins-http.smx] Error replacing cache with fresh XML content temp. file. Steam Group ID: 4949
L 09/26/2012 - 15:27:27: [steam-group-admins-http.smx] Error reading XML data from local cached file for Steam group ID: 4949.
L 09/26/2012 - 15:27:29: [steam-group-admins-http.smx] Error replacing cache with fresh XML content temp. file. Steam Group ID: 3413317
L 09/26/2012 - 15:27:29: [steam-group-admins-http.smx] Error reading XML data from local cached file for Steam group ID: 3413317.
L 09/26/2012 - 15:27:29: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 09/26/2012 - 15:27:29: [SM] Displaying call stack trace for plugin "steam-group-admins-http.smx":
L 09/26/2012 - 15:27:29: [SM] [0] Line 105, Y:\scripting\steam-group-admins-http.sp:nCacheWritten()
__________________
tcviper is offline
Send a message via MSN to tcviper
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 09-26-2012 , 13:49   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #65

Quote:
Originally Posted by tcviper View Post
Use the Actual page instead of the Group XML.
I will not do that.

Regarding the error, I'm going to need some more details. Operating system? Game?
Mister_Magotchi is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 11-19-2012 , 14:18   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #66

Well, since 0 clearly isn't a valid Steam group ID, the plugin is either failing to properly read the config. file, or the config. file isn't set up correctly. Are you sure yours is in the right format? If so, could I see it?
Mister_Magotchi is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-19-2012 , 16:02   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #67

Quote:
Originally Posted by Mister_Magotchi View Post
Well, since 0 clearly isn't a valid Steam group ID
Quote:
Originally Posted by kulawend View Post
Removed the group IDs.
__________________
asherkin is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 12-01-2012 , 08:36   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #68

Yeah. I really need to get on this, I guess, and figure out a better way to avoid the problems with file writes, etc. I've been busy with other things, but I'll put some good work in on it soon.

Last edited by Mister_Magotchi; 12-01-2012 at 08:36.
Mister_Magotchi is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 12-03-2012 , 19:34   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #69

Quote:
Originally Posted by kulawend View Post
Code:
L 11/19/2012 - 13:01:18: [steam-group-admins-http.smx] Couldn't fetch fresh XML
data from Steam API server for Steam group ID: 0. Using old cached data, if
available.
L 11/19/2012 - 13:01:18: [steam-group-admins-http.smx] Error reading XML data fr
om local cached file for Steam group ID: 0.
L 11/19/2012 - 13:01:18: [steam-group-admins-http.smx] Couldn't fetch fresh XML
data from Steam API server for Steam group ID: 0. Using old cached data, i
f available.
L 11/19/2012 - 13:01:18: [steam-group-admins-http.smx] Error reading XML data fr
om local cached file for Steam group ID: 0.
I imagine you may have already moved on due to my lack of response on this, but anyway, as I'm finally spending some much-needed time on working on it now, this error indicates that cURL returned a status other than okay. Normally I'd assume this was likely a network problem, but since you said that your temp.xml file had data for the Rookie group in it (the last of the three groups in your config.), I assume the error was due to file locking. I also therefore assume your server is running on Windows.

Anyway, I'm going to go off of those assumptions in troubleshooting this unless you have other info. that might help.

Sorry for not responding to you originally. I got sidetracked with other things and forgot about it.

Last edited by Mister_Magotchi; 12-03-2012 at 19:35.
Mister_Magotchi is offline
markg
Senior Member
Join Date: Jan 2009
Old 01-01-2013 , 11:16   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #70

i love this plugin, thanks for writing it. saves me a lot of time managing the server groups.

Recently, i am also having the same problem as kulawend.

running a tf2 server, windows, metamod 1.9.1, sourcemod 1.50-3740, but it also happened on the last versions of each.

i thought it might be a temporary thing, but has been consistent the last couple weeks.

Logs look like this:
L 01/01/2013 - 08:13:51: [admin\steam-group-admins-http.smx] Couldn't fetch fresh XML data from Steam API server for Steam group ID: 3424xxx. Using old cached data, if available.
L 01/01/2013 - 08:13:51: [admin\steam-group-admins-http.smx] Couldn't fetch fresh XML data from Steam API server for Steam group ID: 4099xxx. Using old cached data, if available.
L 01/01/2013 - 08:13:51: [admin\steam-group-admins-http.smx] Couldn't fetch fresh XML data from Steam API server for Steam group ID: 4032xxx. Using old cached data, if available.
L 01/01/2013 - 08:13:51: [admin\steam-group-admins-http.smx] Couldn't fetch fresh XML data from Steam API server for Steam group ID: 3904xxx. Using old cached data, if available.
L 01/01/2013 - 08:13:52: [admin\steam-group-admins-http.smx] Couldn't fetch fresh XML data from Steam API server for Steam group ID: 4150xxx. Using old cached data, if available.

let me know if there is anything that would help you debug this.

thanks

mark
markg 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 09:08.


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