This site is a testing version, but all data is shared with the live forum.


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

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 11-13-2013 , 21:04   Re: [ANY] SteamWorks
Reply With Quote #1

Nope, no output at all.

I actually don't necessarily care about who prevents someone from joining, I'd simply like to join either way (if that is still possible).
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.

Last edited by Dr. Greg House; 11-13-2013 at 21:10.
Dr. Greg House is offline
Haxobaby
New Member
Join Date: Sep 2017
Old 09-07-2017 , 13:20   Re: [ANY] SteamWorks
Reply With Quote #2

Hello, when i added this steamworks ext file to my FTP it would not load i kept getting this message SteamWorks.ext.dll
Loaded: No (error code 0000007e) Also i had a new ext file i was unaware of called steamtools i do not know if this is needed but it too would not load steamtools.ext.dll
Loaded: No (error code 0000007e)

-Haxobaby
Haxobaby is offline
L3NNyyy
New Member
Join Date: Apr 2020
Old 04-18-2020 , 06:22   Re: [ANY] SteamWorks how to install
Reply With Quote #3

Hey Ho,

i would really need some help about SteamWorks.

I dont know where to put the Stuffs in my Server. Nothing works....

I would really appreaciate all help i can have.
L3NNyyy is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-27-2013 , 10:49   Re: [ANY] SteamWorks
Reply With Quote #4

You need to attach the exact source code you used.
__________________
asherkin is offline
KorDen
Member
Join Date: Sep 2012
Old 11-27-2013 , 11:18   Re: [ANY] SteamWorks
Reply With Quote #5

Quote:
Originally Posted by asherkin View Post
You need to attach the exact source code you used.
I'm used sources from first post, just modified VS project variables to include right folders for compiler. Am I need to upload this files? Also, am i need to modify it to use environment variables instead of full paths? I see that SteamTools don't use this logic (e.g. path to opensteamworks dir is d:\opensteamworks)

Last edited by KorDen; 11-27-2013 at 11:19.
KorDen is offline
KorDen
Member
Join Date: Sep 2012
Old 11-27-2013 , 12:14   Re: [ANY] SteamWorks
Reply With Quote #6

Quote:
Originally Posted by KyleS View Post
However, I've only tested using CS:S on Linux. Windows builds are possible, but I can't support them.
Did you tested that it really shows Owner SteamID? I have a problem on Linux: If I install libraries from SDK, my server shows correct OwnerID, but lagging like under DDoS. If I install original files, it don't show correct OwnerID. I have no idea what happens... Also, on Windows server it shows right OwnerID without any replaces (maybe because it use interfaces of running Steam Client..)
KorDen is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 11-27-2013 , 12:36   Re: [ANY] SteamWorks
Reply With Quote #7

Quote:
Originally Posted by KorDen View Post
Did you tested that it really shows Owner SteamID?
http://steamcommunity.com/groups/gbe_elites Yes, it works... In some bizarre cases 0 is returned, so who knows.

Quote:
Originally Posted by KorDen View Post
I have a problem on Linux: If I install libraries from SDK, my server shows correct OwnerID, but lagging like under DDoS.
I'm very confused by this; it also seems really unrelated to the extension

Quote:
Originally Posted by KorDen View Post
If I install original files, it don't show correct OwnerID.
Correct, the value is uninitialized; garbage memory is being read.

Quote:
Originally Posted by KorDen View Post
I have no idea what happens... Also, on Windows server it shows right OwnerID without any replaces (maybe because it use interfaces of running Steam Client..)
I believe this was the case with really old games. Newer games are independent, as far as I'm aware; I'm not very aware.
KyleS is offline
KorDen
Member
Join Date: Sep 2012
Old 11-28-2013 , 10:50   Re: [ANY] SteamWorks
Reply With Quote #8

Quote:
Originally Posted by KyleS View Post
I believe this was the case with really old games. Newer games are independent, as far as I'm aware; I'm not very aware.
Tested: copied server to the PC without Steam - see random garbage. Installed Steam, updated it and close - see real ID. Uninstalled Steam - grabage. Downloaded and updated SteamCMD - garbage. Copied files from SDK - real ID

Attached MSVC10 project files. Using environment variables HL2SDK and STEAMWORKS_SDK, other paths are relative to sourcemod/extensions folder. It's enough for compile.

Also, here is simple fix for SB plugin (add this to the end of sourcebans.sp) that will just check if the user using Family sharing and if the owner banned.
PHP Code:
#include <SteamWorks>
public SW_OnValidateClient(OwnerSteamIDClientSteamID)
{
    if(
OwnerSteamID && OwnerSteamID!=ClientSteamID)
    {
        new 
tmp;
        for(new 
1<= MaxClientsi++)
        {
            if(
IsClientConnected(i))
            {
                
tmp GetSteamAccountID(i);
                if(
tmp && tmp == ClientSteamID)
                {
                    
decl String:steamid[32];
                    
Format(steamidsizeof(steamid),"STEAM_0:%d:%d", (OwnerSteamID 1), (OwnerSteamID >> 1));
                    
LogMessage("[SB] Checking FamilySharing user %L Owner: %s (OSID: %d, CSID: %d)",i,steamid,OwnerSteamID,ClientSteamID);
                    
OnClientAuthorized(i,steamid);
                    break;
                }
            }
        }
    }

The only problem with this fix is that if OwnerID banned, than query in VerifyBan function that insert info into banlogs table will fail, because this ID will not be in banlist. I think that I need to modify VerifyBan query to select not only bid, but authid too.. I will try to realize it later.
Also, later I will try to modify banning system to ban only owner SteamID.
Attached Files
File Type: zip msvc10.zip (3.4 KB, 550 views)

Last edited by KorDen; 11-30-2013 at 15:53.
KorDen is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 11-29-2013 , 14:56   Re: [ANY] SteamWorks
Reply With Quote #9

Quote:
Originally Posted by KorDen View Post
Format(steamid,sizeof(steamid),"STEAM_0:%d:%d ",OwnerSteamID%2,OwnerSteamID/2);
PHP Code:
Format(steamidsizeof(steamid),"STEAM_0:%d:%d", (OwnerSteamID 1), (OwnerSteamID >> 1)); 
Modulo is usually pretty slow. I guess the end result is the same, how we get there is slightly different ;)
KyleS is offline
KorDen
Member
Join Date: Sep 2012
Old 11-30-2013 , 16:03   Re: [ANY] SteamWorks
Reply With Quote #10

Quote:
Originally Posted by KyleS View Post
Modulo is usually pretty slow. I guess the end result is the same, how we get there is slightly different ;)
Ah, forgot about bit operations at the night when wrote this code, thanks.

Will you add my MSVC config (and maybe compiled win version) to the first post? Or you will not support windows builds at all?

Last edited by KorDen; 11-30-2013 at 16:03.
KorDen 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 02:22.


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