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

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
Mika Misori
Senior Member
Join Date: Sep 2022
Old 05-22-2023 , 08:49   Re: [ANY] SteamWorks
Reply With Quote #841

Quote:
Originally Posted by Mika Misori View Post
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...
Mika Misori is offline
whislex
New Member
Join Date: May 2023
Old 05-25-2023 , 12:37   Re: [ANY] SteamWorks
Reply With Quote #842

Quote:
Originally Posted by KyleS View Post
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.
whislex is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 06-22-2023 , 18:29   Re: [ANY] SteamWorks
Reply With Quote #843

Quote:
Originally Posted by Mika Misori View Post
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!
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter
Weasel is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 06-22-2023 , 21:54   Re: [ANY] SteamWorks
Reply With Quote #844

Quote:
Originally Posted by Weasel View Post
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
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter
Weasel is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 06-24-2023 , 21:08   Re: [ANY] SteamWorks
Reply With Quote #845

Quote:
Originally Posted by Weasel View Post
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.
KyleS is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 07-08-2023 , 00:46   Re: [ANY] SteamWorks
Reply With Quote #846

Quote:
Originally Posted by KyleS View Post
So update your client then.
Isn't that what that SteamClient.tar.xz is supposed to be?
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter
Weasel is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 07-08-2023 , 01:18   Re: [ANY] SteamWorks
Reply With Quote #847

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.
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter
Weasel 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 19:23.


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