Raised This Month: $ Target: $400
 0% 

Information: The MAX length of a Steam authid is 34Bytes!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 07-05-2004 , 22:21   Information: The MAX length of a Steam authid is 34Bytes!
Reply With Quote #1

For those that dont know, iv noticed that most plugins use a lower number then this.

Quote:
Florian Zschocke:

They vary in length. DOn't make the mistake to use only one number for a
Steam id. The *whole*thing* is the Steam id, STEAM_ included. The length
of a Steam id, i.e. the complete string, can be up to 34 bytes. But
since these ids can also have a diffrent prefix, e.g VALVE_, they could
in future also be longer depending on that prefix.
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
BAILOPAN
Join Date: Jan 2004
Old 07-05-2004 , 22:48  
Reply With Quote #2

Right now steam ids generally are less than 20 bytes so it's not an issue.

STEAM_7:9:BCDEFGH

18 bytes
__________________
egg
BAILOPAN is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 07-05-2004 , 23:19  
Reply With Quote #3

yea, i just figured id warn ppl. I think most plugins use around 3x bytes for the plugin so not very likely to to create problems yet. But no point in taking chances
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 07-05-2004 , 23:32  
Reply With Quote #4

I always go 32 to be safe.... but maybe I will go 34 from now on, heh.

one of the main issues I see when porting from old AMX plugins is the authid vars only using 8 chars.... messes up logging and then messes up peoples stats.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Downtown1
Veteran Member
Join Date: Mar 2004
Old 07-06-2004 , 00:07  
Reply With Quote #5

Wow, good to know, will use 34 chars for the STEAM_IDs if I ever read them into an array .
Downtown1 is offline
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 07-09-2004 , 22:53  
Reply With Quote #6

i have always used 32... maybe it is time to change to 34..

Awww what the heck.. i just got 9 days left anyways
__________________
My Plugins

Got ??
AssKicR is offline
BAILOPAN
Join Date: Jan 2004
Old 07-10-2004 , 00:32  
Reply With Quote #7

Why was this stickied?
__________________
egg
BAILOPAN is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 07-10-2004 , 01:07  
Reply With Quote #8

Quote:
Originally Posted by BAILOPAN
Why was this stickied?
Becuse im a nice charming guy, and all my posts contain tons of great information?
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 07-10-2004 , 01:12  
Reply With Quote #9

Quote:
Originally Posted by EKS
Quote:
Originally Posted by BAILOPAN
Why was this stickied?
Becuse im a nice charming guy, and all my posts contain tons of great information?
try again
__________________
My Plugins

Got ??
AssKicR is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 07-10-2004 , 01:31  
Reply With Quote #10

Quote:
Originally Posted by AssKicR
Quote:
Originally Posted by EKS
Quote:
Originally Posted by BAILOPAN
Why was this stickied?
Becuse im a nice charming guy, and all my posts contain tons of great information?
try again
pulling alot of all nighers in your last days of freedom i see
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS 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 14:42.


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