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

Steam Group Admins (HTTP Prefetch)


Post New Thread Reply   
 
Thread Tools Display Modes
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 01-02-2013 , 18:57   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #71

Kula was having a different, still-unsolved problem related to Windows file-locking on some systems/configurations. That's why he had the "Error reading XML data from local cached file for Steam group ID" error. I still have some ideas to potentially solve it, but they aren't elegant, and I still wish I knew why it worked for some but not others.

Do you also have that error in your error log? The message you're quoting, from your regular Sourcemod log (not the error log) only means that cURL couldn't successfully connect to the Steam XML API web server at the URL it generated based on your group ID. It normally only happens when the API server is down or there are other connectivity problems, but if you see it coupled with actual errors, then something else is going on.

Last edited by Mister_Magotchi; 01-02-2013 at 18:58.
Mister_Magotchi is offline
stickz
Senior Member
Join Date: Oct 2012
Location: Ontario, Canada
Old 01-24-2013 , 17:44   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #72

crashings are happening due to this... as usual running the latest snapshots etc

Quote:
L 01/24/2013 - 1604: [SM] Native "CloseHandle" reported: Handle 4ff0337 is invalid (error 3)
L 01/24/2013 - 1604: [SM] Displaying call stack trace for plugin "steam-group-admins-http.smx":
L 01/24/2013 - 1604: [SM] [0] Line 105, steam-group-admins-http.sp:nCacheWritten()

Last edited by stickz; 01-24-2013 at 17:45.
stickz is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 01-24-2013 , 17:55   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #73

Are any files getting created at all in sourcemod/data/steam-group-admins-http ?

I'm also confused by that error, because (and I know you may not understand this, but others might):
cURL only runs if cache_file, a global variable, is a valid handle, and onCacheWritten is cURL's callback function, so technically onCacheWritten should never even run if cache_file isn't a valid handle.
Mister_Magotchi is offline
stickz
Senior Member
Join Date: Oct 2012
Location: Ontario, Canada
Old 01-24-2013 , 18:05   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #74

ya 3 files were created in sourcemod/data/steam-groups-admins-http

temp.xml
and 2 with the steamgroup ids xml files
stickz is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 01-24-2013 , 18:21   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #75

Sorry I didn't ask this before, but what game are you using it in, and is it Windows, Linux, or Mac?
Mister_Magotchi is offline
stickz
Senior Member
Join Date: Oct 2012
Location: Ontario, Canada
Old 01-24-2013 , 18:34   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #76

L4D2 Linux
stickz is offline
Lord_Rofl
Senior Member
Join Date: Aug 2006
Location: Bad Pyrmont, Germany
Old 01-31-2013 , 04:54   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #77

Plugin doesent work for me. (On Linux with CSS)
The .xml files in the data folder are correct but Ingame nothing happend.
One time i got a Rank, but this was random luck... after mapchange it was gone.
Lord_Rofl is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 01-31-2013 , 13:51   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #78

"got a Rank"?
Mister_Magotchi is offline
Lord_Rofl
Senior Member
Join Date: Aug 2006
Location: Bad Pyrmont, Germany
Old 01-31-2013 , 15:30   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #79

sorry, i mean flag
Lord_Rofl is offline
narugo
Member
Join Date: Mar 2013
Location: São Paulo - Brazil
Old 05-25-2013 , 12:10   Re: Steam Group Admins (HTTP Prefetch)
Reply With Quote #80

It is difficult to edit this plugin to work with the IP.Board forum?
__________________
narugo is offline
Send a message via Skype™ to narugo
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 11:13.


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