Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Showcase / Steam API Plugin

Author
Message
adambiser
AGK Developer
2
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
Posted: 10th Jan 2018 17:31
Yeah, there is so much involved with the game server/multiplayer stuff. I've never played any multiplayer games through Steam, so I have to look into how it does things. The Spacewar sample code they include with the SDK is helpful though.

Simply exporting direct access to the API functions doesn't seem like an acceptable solution. I want to make it as easy as possible to use outside the plugin, but that means that all the hard stuff is inside the plugin. I had hoped that I could skip some of the networking stuff since AppGameKit has some networking/socket functionality, but that might not be the case.

I have no estimate or guess as to when the game server/multiplayer stuff will be done.
IBOL
Moderator
13
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 22nd Jan 2018 20:55
is there any handling for DLC?

like, GetSteamDLCOwned() ? , something?

Thanks,

Bob
adambiser
AGK Developer
2
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
Posted: 24th Jan 2018 06:14
@IBOL: I will look into adding it soon.
(Sorry for the late reply, forum email notifications aren't working for me.)
IBOL
Moderator
13
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 24th Jan 2018 14:25
Thanks a lot, i hope that would be much easier than all that multiplayer stuff
adambiser
AGK Developer
2
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
Posted: 25th Jan 2018 04:34
Considerably easier.
Have the code done, but need to add information about all the new commands to the wiki.
adambiser
AGK Developer
2
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
Posted: 25th Jan 2018 06:12 Edited at: 25th Jan 2018 06:14
OK, v1.4 of the plugin is up and includes app and DLC-related commands from ISteamApps.
A DLC example project has been added and the wiki has been updated with the new commands.

Added Commands
IsVACBanned
GetAppBuildID, GetCurrentBetaName, GetAvailableGameLanguages, GetCurrentGameLanguage, IsAppInstalled, GetAppInstallDir, GetAppOwner, GetEarliestPurchaseUnixTime, GetInstalledDepotsJSON
GetLaunchQueryParam, HasNewLaunchQueryParameters
IsCybercafe, IsLowViolence, IsSubscribed, IsSubscribedApp, IsSubscribedFromFreeWeekend, MarkContentCorrupt
IsDLCInstalled, GetDLCDataJSON, GetDLCCount, GetDLCDataByIndexJSON, InstallDLC, UninstallDLC, GetDLCDownloadProgressJSON, HasNewDLCInstalled, GetNewDLCInstalled

@IBOL: The is no direct "GetSteamDLCOwned".
If you just want to see if DLC is installed, use IsDLCInstalled with the DLC App ID.
If you want to see if the current user owns it (installed or not), use GetDLCDataJSON, find the index with the matching DLC App ID and check the Available value. If 1, it's owned, 0 means not owned.

This can't be tested with Spaceware/App 480. It has two DLC packages (plus a hidden one), but they can't be installed (says I don't own them and can't figure out how to add them to my account).
IBOL
Moderator
13
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 26th Jan 2018 14:31
Wow, that's great, and super fast. When i switch gears again i will let you know if it's working on my end. Thank you!!!
adambiser
AGK Developer
2
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
Posted: 26th Jan 2018 19:13 Edited at: 26th Jan 2018 19:14
You're welcome. The example project should show you how it can be used.

I'll have another little update with some new commands soon.

The Game Server stuff is very daunting. It looks like it will be very difficult to come up with a simple interface for it that will cover most of the main features.
adambiser
AGK Developer
2
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
Posted: 28th Jan 2018 03:15
Another set of commands, these are utility methods and might not be useful to very many.

// Utility methods.
GetCurrentBatteryPower, HasLowBatteryWarning, GetMinutesBatteryLeft
GetIPCCallCount
GetIPCountry, HasIPCountryChanged
GetSecondsSinceAppActive, GetSecondsSinceComputerActive, GetServerRealTime, GetSteamUILanguage
IsOverlayEnabled, SetOverlayNotificationInset, SetOverlayNotificationPosition
IsSteamShuttingDown, SetWarningMessageHook

// Big Picture Mode:
IsSteamInBigPictureMode
ShowGamepadTextInput
HasGamepadTextInputDismissedInfo
GetGamepadTextInputDismissedInfoJSON

// VR Stuff:
IsSteamRunningInVR
StartVRDashboard
SetVRHeadsetStreamingEnabled
IsVRHeadsetStreamingEnabled
IBOL
Moderator
13
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 6th Feb 2018 14:48
Adam, as far as i can tell, the steam DLC "checker" command is working. I am using it just to check with steam whether a user has purchased a DLC or not, and it works, so great, wow, thanks!
Supertino
User Offline
Joined: 22nd Jun 2017
Location: Behind you!
Posted: 7th Feb 2018 11:43
Before long this plugin will be making me tea in the morning.
adambiser
AGK Developer
2
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
Posted: 7th Feb 2018 17:34
@IBOL: Good to hear. i had checked it as well, but always good to get a confirmation from someone else.

@Supertino: Might be faster than the game server stuff. Actually, I have been busy with something else and haven't had the chance to look into it further.

Login to post a reply

Server time is: 2018-02-21 01:24:20
Your offset time is: 2018-02-21 01:24:20