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

Old thread


Post New Thread Closed Thread   
 
Thread Tools Display Modes
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-19-2010 , 09:53   Re: SteamTools - SteamWorks for SourceMod
#41

Updated with 0.5, this adds a Steam_GetClientSubscription native.
With this native you can get the subscription id of the pack the client bought the game as part of.

As with most of SteamTools, this'll be pretty useless for most people .

Here are a few sub ids, I'll try and write a program similar to the stats lister to generate a list of them all. Copying them out by hand is annoying .

EDIT:
Thanks to the SteamKit team for providing the BlobLib project and to psychonic for a Java port of it, linked below is the full subscription listing from the CDR.
http://citrus.limetech.org/proofens/CDRApps.txt < Warning, this thing is 2MB.

The file is formated like:
Code:
469 = "The Orange Box"
	340 ("Half-Life 2: Lost Coast")
	341 ("LostCoast Content")
	211 ("Source SDK")
	215 ("Source SDK Base 2006")
	218 ("Source SDK Base - Orange Box")
	220 ("Half-Life 2")
	213 ("Episode 1 Shared")
	380 ("Half-Life 2: Episode One")
	381 ("Half-Life 2: Episode One")
	216 ("Source 2007 Binaries")
	315 ("Source 2007 Mac Binaries")
	317 ("Source 2007 Binaries 2")
	305 ("Source 2007 Shared Materials")
	306 ("Source 2007 Shared Models")
	307 ("Source 2007 Shared Sounds")
	400 ("Portal")
	401 ("Portal Content")
	402 ("Portal French")
	403 ("Portal German")
	404 ("Portal Russian")
	405 ("Portal English")
	406 ("Portal Spanish")
	308 ("Episodic 2007 Shared")
	309 ("Episode One 2007 Content")
	420 ("Half-Life 2: Episode Two")
	421 ("Episode Two Content")
	422 ("Episode Two Materials")
	423 ("Episode Two Maps")
	424 ("Half-Life 2: Episode Two French")
	425 ("Half-Life 2: Episode Two German")
	426 ("Half-Life 2: Episode Two Russian")
	428 ("Half-Life 2: Episode Two English")
	429 ("Half-Life 2: Episode Two Spanish")
	440 ("Team Fortress 2")
	441 ("Team Fortress 2 Content")
	442 ("Team Fortress 2 Materials")
	443 ("Team Fortress 2 Client Content")
= Subscription ID (Which is what the native returns)
= Subscription Name
= Application ID
= Application Name
__________________

Last edited by asherkin; 11-19-2010 at 13:18.
asherkin is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 11-20-2010 , 10:00   Re: SteamTools - SteamWorks for SourceMod
#42

extension hangs if some plugin has an syntax error in result function o.O
PHP Code:
public Steam_Reputation(iReputationScorebool:bBannediBannedIPiBannedPortiBannedGameIDiBanExpires)
{
   
PrintToChatAll("Format fail %d"); // for example...
// huh? { } lime? 
__________________
Leonardo is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 11-20-2010 , 18:21   Re: SteamTools - SteamWorks for SourceMod
#43

Quote:
Originally Posted by asherkin View Post
As with most of SteamTools, this'll be pretty useless for most people .
Actually I disagree with you there!
It's a really neat little tool and I'm using it for Steam Group privs!
So big thanks!
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
Old 11-25-2010, 17:46
fentorydekson
This message has been deleted by psychonic. Reason: spam
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 11-27-2010 , 16:28   Re: SteamTools - SteamWorks for SourceMod
#44

Code:
L 11/28/2010 - 00:19:30: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected ticked version. (cubAuthBlobSize = 28)
L 11/28/2010 - 00:19:30: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected ticked version. (tickeetVersion = 128)
is there my fault? or wha? or what's it mean?
__________________

Last edited by Leonardo; 11-27-2010 at 16:45.
Leonardo is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-27-2010 , 22:52   Re: SteamTools - SteamWorks for SourceMod
#45

Quote:
Originally Posted by Leonardo View Post
Code:
L 11/28/2010 - 00:19:30: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected ticked version. (cubAuthBlobSize = 28)
L 11/28/2010 - 00:19:30: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected ticked version. (tickeetVersion = 128)
is there my fault? or wha? or what's it mean?
What game?
__________________
asherkin is offline
Meow Mix
Member
Join Date: Mar 2009
Old 11-28-2010 , 03:06   Re: SteamTools - SteamWorks for SourceMod
#46

Quote:
Originally Posted by asherkin View Post
As with most of SteamTools, this'll be pretty useless for most people .
Quote:
Originally Posted by strontiumdog View Post
Actually I disagree with you there!
I also disagree with that statement. I'm working on developing a new community in my free time, and I have big plans for using SteamTools in the near future (right now working on website, game server stuff is next).

So thanks in advance for this plugin asherkin, keep up the good work!
Meow Mix is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 11-28-2010 , 05:56   Re: SteamTools - SteamWorks for SourceMod
#47

Quote:
Originally Posted by asherkin View Post
What game?
tf2. and same error with ... err, eReply or something esle... Im not remember.... when I trying to get server's reputation in plugin's function OnPluginLoad
__________________
Leonardo is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-28-2010 , 09:40   Re: SteamTools - SteamWorks for SourceMod
#48

Quote:
Originally Posted by Leonardo View Post
tf2. and same error with ... err, eReply or something esle... Im not remember.... when I trying to get server's reputation in plugin's function OnPluginLoad
I've created a small ext that'll dump tickets to text files so I can debug this, you'll find them inside the orangebox directory with a filename starting with ticket_*.
Join the server a few times, restart the game, join, restart Steam, join, you get the idea. After you have about 10, zip them up and attach them here.

I didn't know if your server is on Windows or Linux so I compiled copies for both. Just drop one of the binaries in addons/sourcemod/extensions and create an empty file called ticket.autoload in the same directory.

As per the license, source code is available on request.
Attached Files
File Type: so ticket.ext.so (142.8 KB, 155 views)
File Type: dll ticket.ext.dll (91.5 KB, 152 views)
__________________

Last edited by asherkin; 11-28-2010 at 10:18.
asherkin is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 11-28-2010 , 12:12   Re: SteamTools - SteamWorks for SourceMod
#49

previous messages from logs
Code:
L 11/27/2010 - 19:48:27: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected AuthBlob size. (cubAuthBlobSize = 28)
L 11/27/2010 - 19:48:27: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected ticket version. (ticketVersion = 0)
L 11/28/2010 - 17:20:13: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected AuthBlob size. (cubAuthBlobSize = 210)
L 11/28/2010 - 00:19:30: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected AuthBlob size. (cubAuthBlobSize = 28)
L 11/28/2010 - 00:19:30: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected ticket version. (ticketVersion = 128)
L 11/28/2010 - 00:38:06: [STEAMTOOLS] Server Gameplay Stats received with an unexpected eResult. (eResult = 16)
L 11/28/2010 - 01:05:11: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected AuthBlob size. (cubAuthBlobSize = 210)
L 11/28/2010 - 01:51:23: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected AuthBlob size. (cubAuthBlobSize = 210)
L 11/28/2010 - 14:20:47: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected AuthBlob size. (cubAuthBlobSize = 210)
L 11/28/2010 - 17:20:13: [STEAMTOOLS] SendUserConnectAndAuthenticate: Aborting due to unexpected AuthBlob size. (cubAuthBlobSize = 210)
Attached Files
File Type: zip tickets.zip (3.2 KB, 178 views)
__________________

Last edited by asherkin; 11-28-2010 at 12:15.
Leonardo is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-28-2010 , 12:54   Re: SteamTools - SteamWorks for SourceMod
#50

All the tickets in the zip are the expected 206 bytes, I need some of the mystical 28 and 210 byte tickets your error logs complain of .

Code:
ticket_206_76561198018841530_1290962397.txt
The highlighted portion is the size, PM me if you gather any with a size of 28 or 210.
It's safe to leave the plugin running in the background, if anybody else sees SendUserConnectAndAuthenticate errors in the log feel free to chip in as well.
After I get this, I can fix the issue in SteamTools.
__________________
asherkin is offline
Closed Thread



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:30.


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