Raised This Month: $32 Target: $400
 8% 

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
Bubka3
Sir Buzz Killington, Esq.
Join Date: Jan 2010
Location: New York, NY
Old 07-25-2014 , 10:44   Re: [ANY] SteamWorks
Reply With Quote #141

Just make the same change I did. The SteamGameServer version of tf2, css, and nmrih matches the current steamworks sdk release.
Bubka3 is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 07-25-2014 , 10:48   Re: [ANY] SteamWorks
Reply With Quote #142

Quote:
Originally Posted by Bubka3 View Post
Just make the same change I did. The SteamGameServer version of tf2, css, and nmrih matches the current steamworks sdk release.
where can I get that? Also I want for csgo. =( All good fun though. Learning shit.
__________________
versatile_bfg is offline
Bubka3
Sir Buzz Killington, Esq.
Join Date: Jan 2010
Location: New York, NY
Old 07-25-2014 , 10:50   Re: [ANY] SteamWorks
Reply With Quote #143

Quote:
Originally Posted by versatile_bfg View Post
where can I get that? Also I want for csgo. =( All good fun though. Learning shit.
If you want I can compile this for you on Windows. Otherwise you you should start at the SM Wiki. Theres a very cool article on compiling extensions.
Bubka3 is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 07-27-2014 , 22:05   Re: [ANY] SteamWorks
Reply With Quote #144

Quote:
Originally Posted by Bubka3 View Post
If you want I can compile this for you on Windows. Otherwise you you should start at the SM Wiki. Theres a very cool article on compiling extensions.
If you could that would be great. =)
I just need to get the latest one for Linux as well. Which is what I'm trying to build.

Is this the wiki link you are talking about? https://wiki.alliedmods.net/Writing_extensions
__________________
versatile_bfg is offline
Bubka3
Sir Buzz Killington, Esq.
Join Date: Jan 2010
Location: New York, NY
Old 07-28-2014 , 05:20   Re: [ANY] SteamWorks
Reply With Quote #145

That's the correct link but I don't know how to compile for Linux. Fortunately, Linux is supported by the author so you should just use the attached build in the first post!
Bubka3 is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 07-28-2014 , 05:43   Re: [ANY] SteamWorks
Reply With Quote #146

Quote:
Originally Posted by Bubka3 View Post
That's the correct link but I don't know how to compile for Linux. Fortunately, Linux is supported by the author so you should just use the attached build in the first post!
Yeah the one on the first post is missing the latest commit on github. You able to upload the windows one for me? =)
__________________
versatile_bfg is offline
Bubka3
Sir Buzz Killington, Esq.
Join Date: Jan 2010
Location: New York, NY
Old 07-28-2014 , 18:35   Re: [ANY] SteamWorks
Reply With Quote #147

Quote:
Originally Posted by versatile_bfg View Post
Yeah the one on the first post is missing the latest commit on github. You able to upload the windows one for me? =)
Here you go.

Built from Github and Steamworks SDK 1.3.0.
Attached Files
File Type: dll SteamWorks.ext.dll (123.5 KB, 205 views)
Bubka3 is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 07-28-2014 , 21:34   Re: [ANY] SteamWorks
Reply With Quote #148

Quote:
Originally Posted by Bubka3 View Post
Here you go.

Built from Github and Steamworks SDK 1.3.0.
Thanks for this. =D

---
Edit:
Finally got it to compile on linux. But its only 78KB? Loads up fine on server though.
__________________

Last edited by versatile_bfg; 07-30-2014 at 03:02.
versatile_bfg is offline
SephirothSG
SourceMod Donor
Join Date: Jun 2013
Old 08-04-2014 , 21:31   Re: [ANY] SteamWorks
Reply With Quote #149

Small question, why would this plugin
PHP Code:
#include <sourcemod>
#include <SteamWorks>

public SteamWorks_OnValidateClient(ownerauthidauthid)
{
    if (
ownerauthid && ownerauthid != authid)
    {
        
decl String:SteamID[32];
        
Format(SteamID32"STEAM_0:%d:%d", (authid 1), (authid >> 1));
        new 
client GetIndexBySteamID(SteamID);
        if (
client != -1)
        {
            
KickClient(client"Family Sharing users are not allowed to join this server");
        }
    }
}

GetIndexBySteamID(const String:SteamID[])
{
    
decl String:AuthStringToCompareWith[32];
    for (new 
1<= MaxClientsi++)
    {
        if (
IsClientConnected(i) && GetClientAuthString(iAuthStringToCompareWithsizeof(AuthStringToCompareWith)) && StrEqual(AuthStringToCompareWithSteamID))
        {
            return 
i;
        }
    }
    return -
1;

Not be blocking family sharing accounts on css?

code from this post
SephirothSG is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 08-04-2014 , 22:28   Re: [ANY] SteamWorks
Reply With Quote #150

Quote:
Originally Posted by SephirothSG View Post
Small question, why would this plugin
PHP Code:
#include <sourcemod>
#include <SteamWorks>

public SteamWorks_OnValidateClient(ownerauthidauthid)
{
    if (
ownerauthid && ownerauthid != authid)
    {
        
decl String:SteamID[32];
        
Format(SteamID32"STEAM_0:%d:%d", (authid 1), (authid >> 1));
        new 
client GetIndexBySteamID(SteamID);
        if (
client != -1)
        {
            
KickClient(client"Family Sharing users are not allowed to join this server");
        }
    }
}

GetIndexBySteamID(const String:SteamID[])
{
    
decl String:AuthStringToCompareWith[32];
    for (new 
1<= MaxClientsi++)
    {
        if (
IsClientConnected(i) && GetClientAuthString(iAuthStringToCompareWithsizeof(AuthStringToCompareWith)) && StrEqual(AuthStringToCompareWithSteamID))
        {
            return 
i;
        }
    }
    return -
1;

Not be blocking family sharing accounts on css?

code from this post
There's no guarantee there's a client connected with that authid, especially one that's verified.
KyleS is offline
Reply


Thread Tools
Display Modes

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:35.


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