When they haven't got their ID it will return a STEAM_ID_*, for lan game I
know its STEAM_ID_LAN. Which works for me to just keep polling it every few
seconds till it returns something valid if it's the STEAM_ID_* string for an
unresolved SteamID. I was thinking of using it to do a built in ban system
to ban griefers from playing online with the mod I work on, but no one liked
the idea :(

Chris

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Saul Rennison
Sent: Saturday, February 23, 2008 10:21 AM
To: hlcoders@list.valvesoftware.com
Subject: Re: [hlcoders] Get a Player's SteamID?

In plugins its NetworkIDValidated().

On 23 Feb 2008, at 08:41, Mark Chandler wrote:

> There is a call back function that gets called once a users id gets
> validated. Ill have to find it.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mulchman
> Sent: Saturday, February 23, 2008 10:44 AM
> To: hlcoders@list.valvesoftware.com
> Subject: [hlcoders] Get a Player's SteamID?
>
> There's also some latency involved with it getting resolved as well.
> It can
> take several seconds after a player joins before the steam id is
> something
> you would want to use / check.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Matt
> Stafford
> Sent: Sunday, February 17, 2008 17:44
> To: hlcoders@list.valvesoftware.com
> Subject: Re: [hlcoders] Get a Player's SteamID?
>
> --
> [ Picked text/plain from multipart/alternative ]
> Providing that the user has joined an MP game, won't work otherwise
>
> On Feb 18, 2008 8:09 AM, Hyperjag 3 <[EMAIL PROTECTED]> wrote:
>
>>
>> All you need to do is get a pointer to the player and call the
>> GetNetworkIDString() function.  It returns the full SteamID of the
>> client.
>>
>> Jory
>>
>>> From: [EMAIL PROTECTED]
>>> To: hlcoders@list.valvesoftware.com
>>> Subject: [hlcoders] Get a Player's SteamID?
>>> Date: Sun, 17 Feb 2008 14:46:23 -0500
>>>
>>> This is a multipart message in MIME format.
>>> --
>>> [ Picked text/plain from multipart/alternative ]
>>> Is there a way preferably on the server side to get a client's
>>> SteamID?
>>>
>>>
>>>
>>> Thanks
>>>
>>> Chris
>>>
>>> --
>>>
>>>
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list
>>> archives,
>> please visit:
>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>>
>>
>> _________________________________________________________________
>> Shed those extra pounds with MSN and The Biggest Loser!
>> http://biggestloser.msn.com/
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list
>> archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>
>>
>
>
> --
> Matt Stafford (Wraiyth)
> http://www.wraiyth.com
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to