Raised This Month: $51 Target: $400
 12% 

Possible ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 05-09-2011 , 07:16   Possible ?
Reply With Quote #1

Hey, is it possible to allow non-steam players join my server, but then kick them with message You need steam please visit steamstore.com. Instead of this message: Steam validation rejected.

I've tried this:

PHP Code:
public client_authorized(id)
{
    new 
szAuth[33];
    
get_user_authid(idszAuth32)
    if( (
containi(szAuth"ID_LAN") != -1) || (containi(szAuth"ID_PENGING") != -1) )
    {
        
client_cmd(id"disconnect;echo ^"Only steamed players allowed.;echo please visit steamstore.com.^"")
    }

I've installed dproto to allow non-steams see this message, but dam dproto gives a player random steam ID, and then they have STEAM_0:1:616516 instead of STEAM_ID_LAN, and I can't check whether they are steamed or not. Well I wan't to make a little commercial for my friends steam store
reinert is offline
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 05-09-2011 , 07:20   Re: Possible ?
Reply With Quote #2

reinert
This forum is about steam only. Ask someplace else.
__________________

SonicSonedit is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 05-09-2011 , 07:21   Re: Possible ?
Reply With Quote #3

Aww then I think I've to forget it. :/ (sad)
reinert is offline
pRoxxxDD
Junior Member
Join Date: Feb 2011
Location: Ukraine
Old 05-09-2011 , 10:06   Re: Possible ?
Reply With Quote #4

Try with dproto module.
__________________
pRoxxxDD is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 05-09-2011 , 10:09   Re: Possible ?
Reply With Quote #5

I've tried it, I've set that NoSteam players will get STEAM_ID_VALVE auth, but they still got STEAM_0:1:651616 even if they are non steamed.
reinert is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 05-09-2011 , 11:50   Re: Possible ?
Reply With Quote #6

How is that possible to take steamid when they are using a non steam Counter Strike? :/
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 05-09-2011 , 11:56   Re: Possible ?
Reply With Quote #7

It's automaticly generated, something like STEAM_0:0ARSED_IP_ADDRESS;

As I tried to enter with non steam account I received this steam ID: STEAM_0:0:670257513 therefore my real steam ID is STEAM_0:1:19464837, the generated one contains one more character than original.
reinert is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 05-09-2011 , 12:00   Re: Possible ?
Reply With Quote #8

Anyway with the function
public client_authorized(id)
you can retrieve a player when is authorized by Steam...
try
client_connect...
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-09-2011 , 14:53   Re: Possible ?
Reply With Quote #9

This thread needs trashed.
__________________
fysiks 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 06:04.


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