Raised This Month: $61 Target: $400
 15% 

SteamTools (v1.2.0)


Post New Thread Reply   
 
Thread Tools Display Modes
zeus
Senior Member
Join Date: Jul 2008
Old 04-16-2015 , 07:40   Re: SteamTools (v1.0.2)
Reply With Quote #41

sorry, I'm idiot

Last edited by zeus; 04-16-2015 at 08:01. Reason: I'm idiot
zeus is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-12-2016 , 18:00   Re: SteamTools (v1.0.2)
Reply With Quote #42

Here an update, to see changelog and download binaries: https://github.com/Arkshine/SteamTools/releases/latest

The main post has been updated about how to get a token for the game server. There is now an official steam page to get that.
__________________
Arkshine is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 04-13-2016 , 09:52   Re: SteamTools (v1.1)
Reply With Quote #43

Hello, any chance you can implement a method to retrieve the player's playtime of the specified appid?
__________________
gabuch2 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-15-2016 , 11:36   Re: SteamTools (v1.1)
Reply With Quote #44

I can be wrong, but I don't think you can from server-side unless it exists raw server stats available for that game (which doesn't seem the case for goldsrc game). To retrieve user stats, you need an active session (steam client opened), so for a dedicated server, it can't work.
__________________
Arkshine is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 05-16-2017 , 13:20   Re: SteamTools (v1.1)
Reply With Quote #45

Server crashes whenever I try to load the module.
Code:
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Segmentation fault
__________________
gabuch2 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-16-2017 , 14:29   Re: SteamTools (v1.1)
Reply With Quote #46

This first line is expected, a server can't connect to the steam client API. It's a warning from the engine which can be ignored.

Are you sure it crashes because of this module? Maybe something has changed, will test later. btw, are you using ReHLDS?
__________________
Arkshine is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 05-16-2017 , 16:07   Re: SteamTools (v1.1)
Reply With Quote #47

Quote:
Originally Posted by Arkshine View Post
This first line is expected, a server can't connect to the steam client API. It's a warning from the engine which can be ignored.

Are you sure it crashes because of this module? Maybe something has changed, will test later. btw, are you using ReHLDS?
I'm testing with SvenDS.

Code:
Protocol version 48
Exe version 5.0.0.0 (svencoop)
Exe build: 12:01:35 Feb 19 2017 (7423)
Tested again with ReHLDS, game Valve's cstrike

Code:
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.0.0.518-dev
Build date: 20:24:57 Mar 20 2017 (1073)
Build from: https://github.com/dreamstalker/rehlds/commit/7e05e65
Same result.

Code:
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Segmentation fault (core dumped)
Deleting the .so files from /modules/ fixes the crash.
__________________

Last edited by gabuch2; 05-16-2017 at 16:08.
gabuch2 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-17-2017 , 07:01   Re: SteamTools (v1.1)
Reply With Quote #48

I updated svencoop via SteamCMD, then tried to run the server with "steamtools" declared in modules.ini, and it did not crash. Module is well loaded. I tried with cstrike, no issue as well.
__________________
Arkshine is offline
PartialCloning
Senior Member
Join Date: Dec 2015
Old 05-17-2017 , 10:27   Re: SteamTools (v1.1)
Reply With Quote #49

Works for me. Windows, CStrike, ReHLDS.
PartialCloning is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 05-17-2017 , 11:02   Re: SteamTools (v1.1)
Reply With Quote #50

For some reason I can't get it working on Linux. Am I missing something?
__________________
gabuch2 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:11.


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