Raised This Month: $ Target: $400
 0% 

[CS] Family Sharing Check/Block


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 06-01-2015 , 12:50   Re: [ANY] Family Sharing Check/Block
Reply With Quote #8

Quote:
Originally Posted by eric0279 View Post
I connect to shared account to my server L4D2:
With a closer look on the source code, I see this:

Code:
public SW_OnValidateClient(OwnerSteamID, ClientSteamID)
{    
    decl String:oSteamID[32];
    Format(oSteamID, sizeof(oSteamID),"STEAM_0:%d:%d", (OwnerSteamID & 1), (OwnerSteamID >> 1));
    
    decl String:cSteamID[32];
    Format(cSteamID, sizeof(cSteamID),"STEAM_0:%d:%d", (ClientSteamID & 1), (ClientSteamID >> 1));
While quite a few games uses STEAM_0:[...] (as you see in your own CS:S paste), L4D2 is actually using STEAM_1:[...].

Could you try replacing the STEAM_0's with STEAM_1 in the .sp, re-compile the plugin and let us know if that solves your issue on L4D2?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
 



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 10:45.


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