Raised This Month: $ Target: $400
 0% 

Is server steam?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-22-2009 , 05:03   Is server steam?
Reply With Quote #1

I know sounds weird, but maybe its possible to get?
__________________
xPaw is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 02-22-2009 , 05:43   Re: Is server steam?
Reply With Quote #2

Code:
status
Just check what protocol server has.
__________________
hleV is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-22-2009 , 05:47   Re: Is server steam?
Reply With Quote #3

and wich has nonsteam if not secret? i dont have it to check
__________________
xPaw is offline
mazmaajinsh
Senior Member
Join Date: Apr 2005
Location: Latvia
Old 02-22-2009 , 05:48   Re: Is server steam?
Reply With Quote #4

I checked it. This wont work, because the updated non-steam servers now also show protocol as "48" . If the server is not updated it will show it as 47
__________________
Ahujena
mazmaajinsh is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 02-22-2009 , 06:04   Re: Is server steam?
Reply With Quote #5

you can check functions functionality which does not work on non-steam, but as problems on non-steam, not all version has same results
Owyn is offline
Send a message via ICQ to Owyn
Dr.G
Senior Member
Join Date: Nov 2008
Old 02-22-2009 , 06:12   Re: Is server steam?
Reply With Quote #6

cant we check a file in the mod dir or something..
__________________
Dr.G is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-22-2009 , 11:14   Re: Is server steam?
Reply With Quote #7

Just check to see if the SteamIDs that are connected are valid SteamIDs. If they aren't, it is a good chance that they are non-steam servers/clients.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-22-2009 , 17:33   Re: Is server steam?
Reply With Quote #8

Quote:
Originally Posted by YamiKaitou View Post
Just check to see if the SteamIDs that are connected are valid SteamIDs. If they aren't, it is a good chance that they are non-steam servers/clients.
When using LAN there are no STEAM IDs but maybe you could check for the LAN version also.

That would be cool to add this type of check so amx can't run on non-steam .

Last edited by fysiks; 02-22-2009 at 17:35.
fysiks is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 02-22-2009 , 18:09   Re: Is server steam?
Reply With Quote #9

Quote:
Originally Posted by fysiks View Post
When using LAN there are no STEAM IDs but maybe you could check for the LAN version also.

That would be cool to add this type of check so amx can't run on non-steam .
The whole point of not support no-steam is doing less work, not more, find ways of blocking no-steam would just take more of the already scarce dev time.
__________________

Community / No support through PM
danielkza is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-22-2009 , 19:19   Re: Is server steam?
Reply With Quote #10

Quote:
Originally Posted by fysiks View Post
When using LAN there are no STEAM IDs but maybe you could check for the LAN version also.
PHP Code:
if (get_cvar_num("sv_lan"))
//server is lan, don't check for valid steamids
else
// server is not lan, check for valid steamids 
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou 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 17:09.


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