AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Steam ID (https://forums.alliedmods.net/showthread.php?t=75043)

GoGoGo 07-29-2008 14:07

Steam ID
 
PHP Code:

new SID[32];
       
get_user_authid Players[i], SID31 
       if(
SID VALVE_ID_LAN){
       
SID == "Warning Nosteam server."
      
}
            
console_print(id "%d. Steam: %s", (1), Name SID); 

I have a problem how make when server is nonsteam it will show warning?

Iwon 07-29-2008 14:52

Re: Steam ID
 
STEAM_ID_LAN = Non Steam not Valve Id lan.

GoGoGo 07-29-2008 15:32

Re: Steam ID
 
I solved it tnx. Is it possible to check user interp by amx ?
And how to change get_user_time to make it write in format mm:ss ?

Iwon 09-07-2008 08:19

Re: Steam ID
 
PHP Code:

get_user_time(indexflag 0


PHP Code:

new interp[32]       
get_user_info id"ex_interp"interp31
console_print(id "Your interp is: %s"interp); 

to


PHP Code:

new interp[32]       
get_user_info id"ex_interp"interp31
console_print(id "Your interp is: %s"interp); 
client_print(id "Your interp is to High Changing it to 0.1"interp); 
client_cmd(id"ex_interp 0.1"


YamiKaitou 09-08-2008 10:19

Re: Steam ID
 
Quote:

Originally Posted by Iwon (Post 661095)
STEAM_ID_LAN = Non Steam not Valve Id lan.

Wrong. STEAM_ID_LAN appears even when you have legal version of the game and are playing on a server with sv_lan set to 1, I have done this before when testing plugins. VALVE_ID_LAN is one sign that it is NonSteam.

xPaw 09-08-2008 11:20

Re: Steam ID
 
its can be STEAM_ID_PENDING

Exolent[jNr] 09-08-2008 12:47

Re: Steam ID
 
  • STEAM_ID_LAN
    - When you are hosting your own listen server with sv_lan 1, this will be your steamid
  • STEAM_ID_PENDING
    - When you have not yet authorized your steamid with the server
  • STEAM_0:X:XXXXXX
    - When you have authorized your steamid with the server, your steamid will show.
  • VALVE_ID_LAN
    - When the server you are playing on is Non-Steam.
    - Which is why it is a VALVE steamid and not a STEAM steamid.

bessy 05-16-2011 11:59

Re: Steam ID
 
Hello, I just saw this issue and I have a approximately same issue ...

We in Kosovo Country, have a server, we also created a Counter-Strike 1.6 protected with an anti-cheat system...So users connecting to server with the created CS their ID is steamid, so I would like a AMXX plugin that restricts player to connect with valve id.... I'll show you an example...

STEAM_0:0:1141557505 0 17:02 79 1
VALVE_0:4:1453174001 2 46:44 98 0

taken from "status" command...Any help would be appriciated.

fysiks 05-16-2011 12:59

Re: Steam ID
 
Remove dproto.

bessy 05-16-2011 13:02

Re: Steam ID
 
Quote:

Originally Posted by fysiks (Post 1470535)
Remove dproto.

I don't seem to anderstand you, I'm kinda newbie, need some detailed infos...


All times are GMT -4. The time now is 05:30.

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