AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Steam Group Admins (HTTP Prefetch) (https://forums.alliedmods.net/showthread.php?t=145767)

asherkin 09-24-2012 20:40

Re: Steam Group Admins (HTTP Prefetch)
 
Quote:

Originally Posted by markg (Post 1805648)
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.

Mister_Magotchi 09-24-2012 22:15

Re: Steam Group Admins (HTTP Prefetch)
 
Thanks for having my back, Asherkin.

Yeah, as he said, I've answered that question already:
https://forums.alliedmods.net/showpo...1&postcount=16

tcviper 09-26-2012 08:53

Re: Steam Group Admins (HTTP Prefetch)
 
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.

tcviper 09-26-2012 09:29

Re: Steam Group Admins (HTTP Prefetch)
 
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::onCacheWritten()

Mister_Magotchi 09-26-2012 13:49

Re: Steam Group Admins (HTTP Prefetch)
 
Quote:

Originally Posted by tcviper (Post 1806836)
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 11-19-2012 14:18

Re: Steam Group Admins (HTTP Prefetch)
 
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?

asherkin 11-19-2012 16:02

Re: Steam Group Admins (HTTP Prefetch)
 
Quote:

Originally Posted by Mister_Magotchi (Post 1840541)
Well, since 0 clearly isn't a valid Steam group ID

Quote:

Originally Posted by kulawend (Post 1840520)
Removed the group IDs.


Mister_Magotchi 12-01-2012 08:36

Re: Steam Group Admins (HTTP Prefetch)
 
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.

Mister_Magotchi 12-03-2012 19:34

Re: Steam Group Admins (HTTP Prefetch)
 
Quote:

Originally Posted by kulawend (Post 1840520)
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.

markg 01-01-2013 11:16

Re: Steam Group Admins (HTTP Prefetch)
 
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


All times are GMT -4. The time now is 21:04.

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