AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Information: The MAX length of a Steam authid is 34Bytes! (https://forums.alliedmods.net/showthread.php?t=3420)

EKS 07-05-2004 22:21

Information: The MAX length of a Steam authid is 34Bytes!
 
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.

BAILOPAN 07-05-2004 22:48

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

STEAM_7:9:BCDEFGH

18 bytes

EKS 07-05-2004 23:19

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 :)

jtp10181 07-05-2004 23:32

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.

Downtown1 07-06-2004 00:07

Wow, good to know, will use 34 chars for the STEAM_IDs if I ever read them into an array :).

AssKicR 07-09-2004 22:53

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

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

BAILOPAN 07-10-2004 00:32

Why was this stickied?

EKS 07-10-2004 01:07

Quote:

Originally Posted by BAILOPAN
Why was this stickied?

Becuse im a nice charming guy, and all my posts contain tons of great information?

AssKicR 07-10-2004 01:12

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 :lol:

EKS 07-10-2004 01:31

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 :lol:

pulling alot of all nighers in your last days of freedom i see :)


All times are GMT -4. The time now is 14:42.

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