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

SteamTools (v1.2.0)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-05-2015 , 09:57   SteamTools (v1.2.0)
Reply With Quote #1



SteamTools
「 v1.2.0, October 19th, 2017 - github.com/Arkshine/SteamTools



Table of contents:

DESCRIPTION
0
This module gives access to a select few SteamWorks functions for AMX Mod X plugins.
For people who don't know, SteamWorks is basically an API provided by Steam which developers can use to integrate many of Steam's functions.

Interface presently supported and exposed to Pawn is essentially ISteamGameServer for now.

Usually, the relevant interfaces from GoldSrc server point of view are: ISteamGameServer, ISteamUtils, ISteamNetworking, and ISteamHTTP.
Not all functions are going to work for GoldSrc, but let met know if they are some you would want to see implemented.

API
0
The fast way is to check directly steamtools.inc include.
All is documented, it should be easy to use them.

CVARS
0
sv_setsteamaccount <login_token>

From this thread, https://forums.alliedmods.net/showthread.php?t=234901:

Gameserver accounts are now a Steam feature.
Using a steam gameserver account provides one important advantage right now: client favorite lists are keyed by the Steam account if present. This means that you can move your server to another IP address, and clients who have your server in their favorites or history will follow you to your new location.


How to get a login token?

➀ Follow instructions here: http://steamcommunity.com/dev/managegameservers
➁ Open 1amxmodx/configs/steamtools.cfg and paste the login token as cvar value.
➂ On server start, Steam should be able to establish connection (if not, you pasted a wrong token)

➥ It could take some time before server being recorded by Steam.

NOTES
0
  • ISteamHTTP is likely to be supported for the next version.

CREDITS
0
  • asherkin and KyleS: Largely inspirated from their SteamTools and SteamWorks SourceMod extension respectively.
  • GoRiLliAz (cs.team-shk.fr): Originally a paid request for specific feature and I would not done a full API without his request

CHANGELOG
0

INSTALLATION
0
➀ Download latest version from GitHub
➁ Stop your server, unzip package and overwrite content in your 1amxmodx.
➂ If needs, configure sv_setsteamaccount cvar
➃ If you are not using API, open modules.ini and add steamtools.
⑤ Then start your server.

➥Eventually, check for any errors in the console.


__________________

Last edited by Arkshine; 10-19-2017 at 14:12. Reason: Updated to v1.2.0
Arkshine is offline
 



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:27.


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