Raised This Month: $ Target: $400
 0% 

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 03-28-2023 , 16:26   Re: [ANY] SteamWorks
Reply With Quote #1

Having a weird issue with SteamWorks (v1.2.4, https://github.com/hexa-core-eu/Stea...ses/tag/v1.2.4) loaded-up on one of my Linux dedicated servers.

It seems to be causing errors specifically on Counter-Strike:Source (CS:S) - not the new CS-GO-related stuff, the older separate CS:S product BTW.

Not showing any such errors on TF2, or CS:GO - just CS:S.

This is the error that keeps spamming the console over and over:
Code:
RecordSteamInterfaceCreation (PID 17624): SteamGameServer014 / GameServer
Missing interface adapter for SteamGameServer014 GameServer
If I disable the SteamWorks extension, those errors go away - but of course any SteamWorks-dependent plug-ins don't work either.

not sure when this started, since I don't have cause to check the console of the CS:S servers very often. These errors do not seem to prevent game-play or crash the server - just spamming the console - and probably not allowing the dependent plug-in (steam group admins) to work properly.

PS: Also tried deleting "bin" folders with various Steam/Valve-related .so's, and then updating/validating the app install so that they get re-installed from scratch. That made no difference.
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter

Last edited by Weasel; 03-28-2023 at 16:28.
Weasel is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 03-29-2023 , 20:59   Re: [ANY] SteamWorks
Reply With Quote #2

Quote:
Originally Posted by Weasel View Post
Having a weird issue with SteamWorks (v1.2.4, https://github.com/hexa-core-eu/Stea...ses/tag/v1.2.4) loaded-up on one of my Linux dedicated servers.

It seems to be causing errors specifically on Counter-Strike:Source (CS:S) - not the new CS-GO-related stuff, the older separate CS:S product BTW.

Not showing any such errors on TF2, or CS:GO - just CS:S.

This is the error that keeps spamming the console over and over:
Code:
RecordSteamInterfaceCreation (PID 17624): SteamGameServer014 / GameServer
Missing interface adapter for SteamGameServer014 GameServer
If I disable the SteamWorks extension, those errors go away - but of course any SteamWorks-dependent plug-ins don't work either.

not sure when this started, since I don't have cause to check the console of the CS:S servers very often. These errors do not seem to prevent game-play or crash the server - just spamming the console - and probably not allowing the dependent plug-in (steam group admins) to work properly.

PS: Also tried deleting "bin" folders with various Steam/Valve-related .so's, and then updating/validating the app install so that they get re-installed from scratch. That made no difference.
You'll have to compile against an older steamworks SDK, or manually update your steamclient.
KyleS is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 03-29-2023 , 21:06   Re: [ANY] SteamWorks
Reply With Quote #3

Quote:
Originally Posted by KyleS View Post
or manually update your steamclient.
Like what? doesn't SteamCMD update itself each time it gets invoked?
__________________
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 03-29-2023 , 21:15   Re: [ANY] SteamWorks
Reply With Quote #4

Quote:
Originally Posted by Weasel View Post
Like what? doesn't SteamCMD update itself each time it gets invoked?
Check the installation instructions on the first page (obviously that attachment is ancient, so you'll have to get a new client). Also remember that should you be running Windows, it overrides the steam client on the server so you'll have to launch steam on that platform.
KyleS is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 03-29-2023 , 21:35   Re: [ANY] SteamWorks
Reply With Quote #5

Quote:
Originally Posted by KyleS View Post
Check the installation instructions on the first page (obviously that attachment is ancient, so you'll have to get a new client). Also remember that should you be running Windows, it overrides the steam client on the server so you'll have to launch steam on that platform.
So, wierd part is, I am running 15 instances of SRCDS and/or HLDS under this server all under the same Linux account, and no problems with any other game-servers, just CS:S. TF2 servers running fine, no errors, CS:GO servers running fine, no errors. HL1, TFC, DMC, CS 1.2, etc. no errors.

Same steamcmd install used to install/update all of them.
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter
Weasel is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 05-21-2023 , 13:21   Re: [ANY] SteamWorks
Reply With Quote #6

Quote:
Originally Posted by KyleS View Post
Check the installation instructions on the first page (obviously that attachment is ancient, so you'll have to get a new client). Also remember that should you be running Windows, it overrides the steam client on the server so you'll have to launch steam on that platform.
On my L4D2 server, the extension does not work. It won't load and gives this error:
Code:
L 05/21/2023 - 20:11:33: [SM] 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
I double-checked it, the extension file is in this folder. I tried all the files of this extension from this thread, did not help.

I download SteamWork from GitHub, latest release.

The server is updated, running on Linux, it has the latest SourceMod and MetaMod installed:
Code:
Loaded plugins:
---------------------
0:      "Metamod:Source 1.11.0-dev+1148"
---------------------
Listing 5 plugins:
  [01] SourceMod (1.11.0.6934) by AlliedModders LLC
  [02] Actions (2.7) by BHaType
  [03] SDK Hooks (1.11.0.6934) by AlliedModders LLC
  [04] SDK Tools (1.11.0.6934) by AlliedModders LLC
  [05] DHooks (1.11.0.6934) by AlliedModders LLC
[SM] Displaying 16 extensions:
[01] Automatic Updater (1.11.0.6934): Updates SourceMod gamedata files
[02] Webternet (1.11.0.6934): Extension for interacting with URLs
[03] Accelerator (2.5.0): SRCDS Crash Handler
[04] cURL Extension (1.3.0.0): cURL Extension
[05] Actions (2.7): Provides a functions to control behavior Actions
[06] SDK Hooks (1.11.0.6934): Source SDK Hooks
[07] BinTools (1.11.0.6934): Low-level C/C++ Calling API
[08] SDK Tools (1.11.0.6934): Source SDK Tools
[09] Top Menus (1.11.0.6934): Creates sorted nested menus
[10] Client Preferences (1.11.0.6934): Saves client preference settings
[11] SQLite (1.11.0.6934): SQLite Driver
[12] DHooks (1.11.0.6934): Dynamic Hooks
[13] Source Scramble (0.7.1): Tools for working with memory.
[14] Regex (1.11.0.6934): Provides regex natives for plugins
[15] GeoIP (1.11.0.6934): Geographical IP information
[16] <FAILED> file "SteamWorks.ext.so": /game/left4dead2/addons/sourcemod/extensions/SteamWorks.ext.so: cannot open shared object file: No such file or directory
I've read the instructions many times, but I still don't understand what the old steamclient means? Is it some kind of game/server file? Where can I find it for L4D2? How do I know what version of this file I need to get SteamWork working?

I apologize for a bunch of stupid questions, but I'm stumped and desperate. Please help me out.
Mika Misori is offline
whislex
New Member
Join Date: May 2023
Old 05-25-2023 , 12:37   Re: [ANY] SteamWorks
Reply With Quote #7

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 07-08-2023 , 01:18   Re: [ANY] SteamWorks
Reply With Quote #8

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
bottiger
AlliedModders Donor
Join Date: Dec 2010
Old 05-07-2024 , 17:32   Re: [ANY] SteamWorks
Reply With Quote #9

64 bit version. Need people to test and say if it works or not.

https://github.com/bottiger1/SteamWorks/
Attached Files
File Type: so SteamWorks.ext.so (915.3 KB, 25 views)
__________________
bottiger is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 05-26-2024 , 00:29   Re: [ANY] SteamWorks
Reply With Quote #10

SteamWoks broken after l4d1 linux update
__________________
Ja-Forces 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 23:58.


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