AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [ANY] SteamWorks (https://forums.alliedmods.net/showthread.php?t=229556)

Mika Misori 05-22-2023 08:49

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by Mika Misori (Post 2804768)
On my L4D2 server, the extension does not work. It won't load and gives this error: Unable to load extension "SteamWorks.ext": /game/left4dead2/addons/sourcemod/extensions/SteamWorks.ext.so: cannot open shared object file: No such file or directory

...

steam_group_credits.smx (Steam Group Credits): Required extension "SteamWorks" file("SteamWorks.ext") not running

Jesus Christ, I literally suffered for 4 hours to finally get this extension running on the L4D2 server.

If someone, like me, after reading the instructions 10 times can not understand how to install the extension, you need to do the following:

Download the latest release from the GitHab for your server (I have a server on Linux, so I downloaded 1.2.3c package-lin.tgz).

Download attached archive (SteamClient.tar.xz) from the first post of the thread.
From this archive transfer folder bin with all files to your server. In this folder is the file steamclient.so for L4D2, which I could not find and understand where to take...

whislex 05-25-2023 12:37

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by KyleS (Post 2058917)
Hello, this extension actually provides a bunch of things now (originally; Family Sharing detection).

This should function for any SteamWorks enabled game. However, I've only tested using CS:S on Linux. Windows builds are possible, but I can't support them.

Interfaces presently supported (and exposed to Pawn). ISteamGameServer, ISteamHTTP, ISteamGameServerStats. If you'd like more interfaces added (with natives/hooks); by all means just post.

Include File: https://github.com/KyleSanderson/Ste...SteamWorks.inc
Confirmed (maybe) working: CS:GO Lin/Win, CS:S Lin/Win, DoD:S Win, L4D2 Lin/Win, TF2 Lin/Win.

My game doesn't work! Nothing works! :(
That's a bug, let me know and we can probably fix it.

Installation Instructions:
If your server has an outdated Steam Client (presume yes, even if your game has been updated recently; unless if you know for sure), you need the latest SteamClient. I've included this from the redistributable portion of the SteamWorks SDK (1.28). This goes in the bin directory beside your gamedir.
This is no longer the case, Valve has since updated a lot of games with a newer steamclient copy then what's attached. If your game has been updated recently, you should be fine (a lot has changed in 3 years).
If you're still running an ancient game like L4D2 and not something more recent and up to date like CS:S or DoD:S you need any steamclient from the past 4 years to have this work.

The rest is pretty straight forward, just extract SteamWorks to your gamedir.

Thanks to:
VoiDeD - Showing how to use Callback Macros.
psychonic - Example for HTTP, knowing which binaries to replace, significant buildbot help.
Drifter - Significant amb2 help.
Unknown Steamworks Devs - Adding the requested functionality to SteamWorks after Family Sharing was being heavily abused.

Plugins to supplement SteamWorks.ext Functionality:
https://forums.alliedmods.net/showthread.php?p=2331846

Plugins using SteamWorks.ext:
https://forums.alliedmods.net/showthread.php?t=236521
https://forums.alliedmods.net/showthread.php?t=237481
https://forums.alliedmods.net/showthread.php?t=253404
https://forums.alliedmods.net/showthread.php?t=252712

Full Documentation:
https://github.com/alliedmodders/hl2...3/public/steam
https://partner.steamgames.com/

Hopefully this helps someone.
The latest development version can be found here: https://github.com/KyleSanderson/SteamWorks
The latest development builds can be found here: https://github.com/KyleSanderson/SteamWorks/releases
Old development builds can be found here: http://users.alliedmods.net/~kyles/builds/SteamWorks/

Hi, you said extract steamworks to your game dir. I need steamworks for my lan cs go server. How should I extract this file? Should I just paste steamworks into server dir or should I paste what's inside of steamworks into the server dir? Can you be very specific? I'm kind of new with these stuff.

Weasel 06-22-2023 18:29

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by Mika Misori (Post 2804820)
Jesus Christ, I literally suffered for 4 hours to finally get this extension running on the L4D2 server.

If someone, like me, after reading the instructions 10 times can not understand how to install the extension, you need to do the following:

Download the latest release from the GitHab for your server (I have a server on Linux, so I downloaded 1.2.3c package-lin.tgz).

Download attached archive (SteamClient.tar.xz) from the first post of the thread.
From this archive transfer folder bin with all files to your server. In this folder is the file steamclient.so for L4D2, which I could not find and understand where to take...

Thanks for this post. I didn't really understand what was going-on either. Successfully applying the SteamClient.tar.xyz update to my CS:S servers helped tons!

Weasel 06-22-2023 21:54

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by Weasel (Post 2806302)
Thanks for this post. I didn't really understand what was going-on either. Successfully applying the SteamClient.tar.xyz update to my CS:S servers helped tons!

I spoke too soon. Using the SteamClient.tax.xyz contents, breaks "Secure Mode".
So, for CS:S I have to choose between:
  • Disabling SteamWorks (and dependant plug-ins)
  • Live with repeated (constant) error messages in the console.
    HTML Code:

    RecordSteamInterfaceCreation (PID 480377): SteamGameServer014 / GameServer
    Missing interface adapter for SteamGameServer014 GameServer


KyleS 06-24-2023 21:08

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by Weasel (Post 2806306)
I spoke too soon. Using the SteamClient.tax.xyz contents, breaks "Secure Mode".
So, for CS:S I have to choose between:
  • Disabling SteamWorks (and dependant plug-ins)
  • Live with repeated (constant) error messages in the console.
    HTML Code:

    RecordSteamInterfaceCreation (PID 480377): SteamGameServer014 / GameServer
    Missing interface adapter for SteamGameServer014 GameServer


So update your client then. This software is now 10 years old, and should still work as long as the instructions are followed with only the modest amount of care.

Weasel 07-08-2023 00:46

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by KyleS (Post 2806387)
So update your client then.

Isn't that what that SteamClient.tar.xz is supposed to be?

Weasel 07-08-2023 01:18

Re: [ANY] SteamWorks
 
Opened a ticket on Valve's Git-Hub (https://github.com/ValveSoftware/Sou...es/issues/5015) asking them to update the content, so they can ignore it.


All times are GMT -4. The time now is 04:05.

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