Playnite Forums
SuccessStory - Printable Version

+- Playnite Forums (https://playnite.link/forum)
+-- Forum: Extension Database (https://playnite.link/forum/forum-3.html)
+--- Forum: Generic Extensions (https://playnite.link/forum/forum-6.html)
+--- Thread: SuccessStory (/thread-275.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


RE: SuccessStory - xrayspex - 08-20-2020

How does the RetroAchievements work? I have an account and put my username and API key into the plugin, but the plugin shows 0/0 achievements. There is nothing to refresh.


RE: SuccessStory - Lacro59 - 08-20-2020

(08-20-2020, 01:28 PM)xrayspex Wrote: Is there a way to read the trophies unlocked via the rpcs3 emulator? The client clearly is keeping a local profile that tracks trophies as you can bring up an interface within rpcs3 to see them. It would be great to have this plugin read that and display the progress.
I created a issue for it when I will had a better PC for tested this emulator.

(08-20-2020, 06:05 PM)xrayspex Wrote: How does the RetroAchievements work? I have an account and put my username and API key into the plugin, but the plugin shows 0/0 achievements. There is nothing to refresh.
If the indicator is 0/0, the plugin don't find a game what correspond for RetroAchievements.
Have you any emulated game?


RE: SuccessStory - xrayspex - 08-20-2020

I figured it out. You MUST use Playnite's emulator options rather than add them manually. Now I am starting to see the achievements.

Thanks and I really like your plugins.


RE: SuccessStory - MrRobot5110 - 08-22-2020

I installed the Plugin but I can't use it It won't appear in the extensions menu and I can't use it I activated it in settings - extensions but it won't work I only use the how long to beat extension and the default theme how can I fix it?


RE: SuccessStory - Lacro59 - 08-22-2020

(08-22-2020, 08:10 AM)MrRobot5110 Wrote: I installed the Plugin but I can't use it It won't appear in the extensions menu and I can't use it I activated it in settings - extensions but it won't work I only use the how long to beat extension and the default theme how can I fix it?
Have you the latest version of HowLonToBeat plugin (v0. 4)?


RE: SuccessStory - MrRobot5110 - 08-22-2020

(08-22-2020, 08:18 AM)Lacro59 Wrote:
(08-22-2020, 08:10 AM)MrRobot5110 Wrote: I installed the Plugin but I can't use it It won't appear in the extensions menu and I can't use it I activated it in settings - extensions but it won't work I only use the how long to beat extension and the default theme how can I fix it?
Have you the latest version of HowLonToBeat plugin (v0. 4)?
I installed the last version of how long to beat and now it's working fine thanks very much


RE: SuccessStory - keysr - 08-24-2020

Did anyone test it with the Magpie theme (https://playnite.link/forum/thread-336.html)? Can't get it to work properly, even adding the code to the theme.


RE: SuccessStory - super_red_panda - 08-30-2020

I believe I set up the extension correctly (pics below), but can't see anything in the description with either the "on game description" or "with toggle button" option. I'm using Playnite 7.9 with the Classic theme.


RE: SuccessStory - Lacro59 - 08-30-2020

(08-30-2020, 09:14 AM)super_red_panda Wrote: I believe I set up the extension correctly (pics below), but can't see anything in the description with either the "on game description" or "with toggle button" option. I'm using Playnite 7.9 with the Classic theme.
Can you post your Playnite.log in %appdata%\Playnite folder (or directly Playnite folder for portable version) ?
Thanks.


RE: SuccessStory - super_red_panda - 08-30-2020

EDIT: I got it to work by removing another one of your extensions (Indiegala). It seems I can only use one of the extensions you've authored, at a time, is this normal?

I see two errors near the start and end (bolded).

2020-08-30 13:46:43.7840|INFO:Application started from 'C:\Users\NAME\AppData\Local\Playnite', with '' arguments.
2020-08-30 13:46:44.5968|ERROR:PluginCommon - File C:\Users\NAME\AppData\Roaming\Playnite\Extensions\IndiegalaLibrary_d4046ab260d97067e8d21002f5153645\localization\LocSource.xaml not found.
2020-08-30 13:46:44.5968|INFO:PluginCommon - Parse plugin localization file C:\Users\NAME\AppData\Roaming\Playnite\Extensions\IndiegalaLibrary_d4046ab260d97067e8d21002f5153645\localization\LocSource.xaml.
2020-08-30 13:46:44.5968|ERROR:PluginCommon - File C:\Users\NAME\AppData\Roaming\Playnite\Extensions\IndiegalaLibrary_d4046ab260d97067e8d21002f5153645\localization\LocSource.xaml not found.
2020-08-30 13:46:44.5968|ERROR:PluginCommon - File C:\Users\NAME\AppData\Roaming\Playnite\Extensions\IndiegalaLibrary_d4046ab260d97067e8d21002f5153645\Resources\LiveChartsCommon\Common.xaml not found.
2020-08-30 13:46:44.5968|INFO:PluginCommon - Download https://api.github.com/repos/Lacro59/playnite-indiegala-plugin/releases
2020-08-30 13:46:45.1614|INFO:PluginCommon - Find v0.3.2
2020-08-30 13:46:45.1614|INFO:Loaded plugin: IndiegalaLibrary
2020-08-30 13:46:45.2179|INFO:PluginCommon - Parse plugin localization file C:\Users\NAME\AppData\Roaming\Playnite\Extensions\SuccessStory_e19bcf3b4090d027d90f39ef7ff733f3\localization\LocSource.xaml.
2020-08-30 13:46:45.2328|INFO:PluginCommon - Download https://api.github.com/repos/Lacro59/playnite-successstory-plugin/releases
2020-08-30 13:46:45.6890|INFO:PluginCommon - Find v0.9
2020-08-30 13:46:45.6890|INFO:Loaded plugin: Success Story
2020-08-30 13:46:45.7163|INFO:Loaded plugin: Bethesda Library Importer
2020-08-30 13:46:45.7738|INFO:Loaded plugin: Epic Store Library Importer
2020-08-30 13:46:45.8085|DEBUG:Updating GOG settings from version 0.
2020-08-30 13:46:45.8085|INFO:Loaded plugin: GOG Library Importer
2020-08-30 13:46:45.8348|INFO:Loaded plugin: Humble Library Importer
2020-08-30 13:46:45.8641|INFO:Loaded plugin: IGDB metadata provider
2020-08-30 13:46:45.9241|INFO:Loaded plugin: itch.io Library Importer
2020-08-30 13:46:45.9564|INFO:Loaded plugin: Origin Library Importer
2020-08-30 13:46:46.1904|INFO:Loaded plugin: Steam Library Importer
2020-08-30 13:46:46.2257|INFO:Loaded plugin: Twitch Library Importer
2020-08-30 13:46:46.2857|INFO:Loaded plugin: Uplay Library Importer
2020-08-30 13:46:46.9047|INFO:Loaded script extension: C:\Users\NAME\AppData\Local\Playnite\Extensions\LibraryExporter\LibraryExporter.ps1
2020-08-30 13:46:47.1930|INFO:Opening db C:\Users\NAME\AppData\Roaming\Playnite\library
2020-08-30 13:46:50.0455|INFO:Completely recalculating database statistics...
2020-08-30 13:46:50.1690|ERROR:SuccessStory [H:\Lacro59\playnite-successstory-plugin\SuccessStory.cs 429] - OnGameSelected()  System.MissingMethodException: Method not found: 'Void PluginCommon.ResourcesList.set_Value(System.String)'.
  at SuccessStory.SuccessStory.Integration()
  at SuccessStory.SuccessStory.OnGameSelected(GameSelectionEventArgs args) in H:\Lacro59\playnite-successstory-plugin\SuccessStory.cs:line 247
2020-08-30 13:46:50.2643|INFO:SuccessStory - Add Header button
2020-08-30 13:46:50.4309|INFO:PluginCommon - btHeader [] insert
2020-08-30 13:46:50.4344|INFO:Importing games from Indiegala plugin.
2020-08-30 13:46:50.5639|INFO:Application 7.9.0.18735 started
2020-08-30 13:47:00.7854|INFO:IndiegalaLibrary - GetIsUserLoggedIn() - User is connected
2020-08-30 13:47:00.8990|INFO:IndiegalaLibrary - Get on https://www.indiegala.com/library/showcase/1
2020-08-30 13:47:05.1196|DEBUG:IndiegalaLibrary - webView on https://www.indiegala.com/library/showcase/1
2020-08-30 13:47:05.3007|DEBUG:IndiegalaLibrary - Find Showcase
2020-08-30 13:47:05.3007|INFO:IndiegalaLibrary - Find 5251571 Theatre of War 2 - Battle for Caen
2020-08-30 13:47:05.3007|INFO:IndiegalaLibrary - Find 5200830 Death Track: Resurrection
2020-08-30 13:47:05.3007|INFO:IndiegalaLibrary - Find 5149107 Theatre of War 2: Centauro
2020-08-30 13:47:05.3126|INFO:IndiegalaLibrary - Find 4984704 BorderZone
2020-08-30 13:47:05.3126|INFO:IndiegalaLibrary - Find 4873045 Theatre of War
2020-08-30 13:47:05.3126|INFO:IndiegalaLibrary - Find 4732824 Adam Wolfe (Complete Edition)
2020-08-30 13:47:05.3126|INFO:IndiegalaLibrary - Find 4533150 UBERSOLDIER II
2020-08-30 13:47:05.3126|INFO:IndiegalaLibrary - Find 4368160 Theatre of War 2: Africa 1943
2020-08-30 13:47:05.3126|INFO:IndiegalaLibrary - Get on https://www.indiegala.com/library/showcase/2
2020-08-30 13:47:10.3034|DEBUG:IndiegalaLibrary - webView on https://www.indiegala.com/library/showcase/2
2020-08-30 13:47:10.3114|DEBUG:IndiegalaLibrary - Find Showcase
2020-08-30 13:47:10.3114|INFO:IndiegalaLibrary - Find 4318779 Snow White Solitaire. Charmed Kingdom
2020-08-30 13:47:10.3114|INFO:IndiegalaLibrary - Find 4276180 Spirits of Xanadu
2020-08-30 13:47:10.3114|INFO:IndiegalaLibrary - Find 4014045 Naval Warfare
2020-08-30 13:47:10.3114|INFO:IndiegalaLibrary - Find 3934456 Construct: Escape the System
2020-08-30 13:47:10.3114|INFO:IndiegalaLibrary - Find 3836659 Spoiler Alert
2020-08-30 13:47:10.3114|INFO:IndiegalaLibrary - Find 3751621 Lovely Planet
2020-08-30 13:47:10.3114|INFO:IndiegalaLibrary - Find 3696854 Dreamscapes: The Sandman - Premium Edition
2020-08-30 13:47:10.3114|INFO:IndiegalaLibrary - Find 3638787 ManaCollect
2020-08-30 13:47:10.3114|INFO:IndiegalaLibrary - Get on https://www.indiegala.com/library/showcase/3
2020-08-30 13:47:13.7179|DEBUG:IndiegalaLibrary - webView on https://www.indiegala.com/library/showcase/3
2020-08-30 13:47:13.7179|DEBUG:IndiegalaLibrary - Find Showcase
2020-08-30 13:47:13.7179|INFO:IndiegalaLibrary - Find 3510446 Camp Sunshine
2020-08-30 13:47:13.7179|INFO:IndiegalaLibrary - Find 3401467 Marble Duel: Sphere-Matching Tactical Fantasy
2020-08-30 13:47:13.7179|INFO:IndiegalaLibrary - Find 3304889 Off-Road Drive
2020-08-30 13:47:13.7179|INFO:IndiegalaLibrary - Find 3205288 Brigade E5: New Jagged Union
2020-08-30 13:47:13.7179|INFO:IndiegalaLibrary - Find 3141272 Stalingrad
2020-08-30 13:47:13.7179|INFO:IndiegalaLibrary - Find 835925 The Deed
2020-08-30 13:47:13.7179|INFO:IndiegalaLibrary - Get on https://www.indiegala.com/library/showcase/4
2020-08-30 13:47:24.4995|DEBUG:IndiegalaLibrary - webView on https://www.indiegala.com/library/showcase/4
2020-08-30 13:47:24.5119|DEBUG:IndiegalaLibrary - Find Showcase
2020-08-30 13:47:24.5119|INFO:IndiegalaLibrary - End list
2020-08-30 13:47:24.5119|DEBUG:Found 22 library Indiegala games.
2020-08-30 13:47:24.6394|INFO:Importing games from Bethesda plugin.
2020-08-30 13:47:24.6394|DEBUG:Found 0 installed Bethesda games.
2020-08-30 13:47:24.6523|INFO:Importing games from Epic plugin.
2020-08-30 13:47:24.6523|DEBUG:Found 0 installed Epic games.
2020-08-30 13:47:25.9233|DEBUG:Found 130 library Epic games.
2020-08-30 13:47:26.6326|INFO:Importing games from GOG plugin.
2020-08-30 13:47:26.6470|DEBUG:Found 0 installed GOG games.
2020-08-30 13:47:27.7264|DEBUG:Found 50 library GOG games.
2020-08-30 13:47:27.9764|INFO:Importing games from Humble plugin.
2020-08-30 13:48:53.3295|INFO:Importing games from itch.io plugin.
2020-08-30 13:48:53.5602|INFO:[db prepare] [debug] Current DB version is 1542741863
2020-08-30 13:48:53.5602|INFO:[db prepare] [debug] Latest migration is  1542741863
2020-08-30 13:48:53.5602|INFO:[db prepare] [debug] No migrations to run
2020-08-30 13:48:53.5602|DEBUG:{"secret":"a123b076-7ada-4c2d-88c9-e6bb78e6def32dd0742e-ee29-46d4-b3d2-2e0615e59a80fb155d9e-0bf8-4c2b-9755-3c3d3a2c2b85c4b6f834-2a16-434e-a5ad-bbb1a3e914be","tcp":{"address":"127.0.0.1:58865"},"time":1598820533,"type":"butlerd/listen-notification"}
2020-08-30 13:48:53.6898|INFO:[router] [info] Initiating graceful butlerd shutdown
2020-08-30 13:48:53.6898|INFO:[router] [info] While shutting down, request 1611959242 has completed
2020-08-30 13:48:53.6898|INFO:[router] [info] No in-flight requests left, we can shut down now.
2020-08-30 13:48:53.6898|DEBUG:Butler: Closing TCP listener...
2020-08-30 13:48:53.6898|DEBUG:Butler: While accepting connection: accept tcp 127.0.0.1:58865: use of closed network connection
2020-08-30 13:48:53.6898|DEBUG:Butler: Waiting for TCP connections to close...
2020-08-30 13:48:53.7476|DEBUG:Butler: All TCP connections closed
2020-08-30 13:48:53.7649|DEBUG:Found 0 installed itch.io games.
2020-08-30 13:48:53.9403|INFO:[db prepare] [debug] Current DB version is 1542741863
2020-08-30 13:48:53.9403|INFO:[db prepare] [debug] Latest migration is  1542741863
2020-08-30 13:48:53.9403|INFO:[db prepare] [debug] No migrations to run
2020-08-30 13:48:53.9403|DEBUG:{"secret":"5204dadf-9ddb-4497-8a52-da84763a6d3a5d556701-beb7-4a16-a9a4-14a4aca480a132ef78ce-f1c8-4696-9fb2-bd0f60f7b63ec6b16135-f839-4519-9120-335098c8612b","tcp":{"address":"127.0.0.1:58868"},"time":1598820533,"type":"butlerd/listen-notification"}
2020-08-30 13:48:54.0666|INFO:Butler: Fetching fresh data...
2020-08-30 13:48:54.0666|INFO:Butler: Fetching page 1
2020-08-30 13:48:54.3591|INFO:Butler: Fetching page 2
2020-08-30 13:48:54.4489|INFO:Butler: Fetching page 3
2020-08-30 13:48:54.5382|INFO:Butler: Fetching page 4
2020-08-30 13:48:54.6483|INFO:Butler: Fetching page 5
2020-08-30 13:48:54.7357|INFO:Butler: Fetching page 6
2020-08-30 13:48:54.7858|INFO:Butler: Waited 723.1615ms for fetch (non-shared)
2020-08-30 13:48:54.8717|INFO:[router] [info] Initiating graceful butlerd shutdown
2020-08-30 13:48:54.8717|INFO:[router] [info] While shutting down, request 898899422 has completed
2020-08-30 13:48:54.8717|INFO:[router] [info] No in-flight requests left, we can shut down now.
2020-08-30 13:48:54.8717|DEBUG:Butler: Closing TCP listener...
2020-08-30 13:48:54.8717|DEBUG:Butler: While accepting connection: accept tcp 127.0.0.1:58868: use of closed network connection
2020-08-30 13:48:54.8717|DEBUG:Butler: Waiting for TCP connections to close...
2020-08-30 13:48:54.9329|DEBUG:Butler: All TCP connections closed
2020-08-30 13:48:54.9596|DEBUG:Found 205 library itch.io games.
2020-08-30 13:48:56.1660|INFO:Importing games from Origin plugin.
2020-08-30 13:48:56.1700|DEBUG:Found 0 installed Origin games.
2020-08-30 13:48:57.3769|DEBUG:Downloading data from https://api2.origin.com/ecommerce2/public/supercat/Origin.OFR.50.0000461/en_IE?country=IE.
2020-08-30 13:48:57.5852|DEBUG:Downloading data from https://api1.origin.com/ecommerce2/public/Origin.OFR.50.0000461/en_US.
2020-08-30 13:48:57.6997|DEBUG:Downloading data from https://api2.origin.com/ecommerce2/public/supercat/OFB-EAST:1000017/en_IE?country=IE.
2020-08-30 13:48:57.9700|DEBUG:Downloading data from https://api1.origin.com/ecommerce2/public/OFB-EAST:1000017/en_US.
2020-08-30 13:48:58.0712|DEBUG:Downloading data from https://api2.origin.com/ecommerce2/public/supercat/Origin.OFR.50.0001956/en_IE?country=IE.
2020-08-30 13:48:58.2750|DEBUG:Downloading data from https://api1.origin.com/ecommerce2/public/Origin.OFR.50.0001956/en_US.
2020-08-30 13:48:58.4338|DEBUG:Downloading data from https://api2.origin.com/ecommerce2/public/supercat/Origin.OFR.50.0000357/en_IE?country=IE.
2020-08-30 13:48:58.6129|DEBUG:Downloading data from https://api1.origin.com/ecommerce2/public/Origin.OFR.50.0000357/en_US.
2020-08-30 13:48:58.7106|DEBUG:Downloading data from https://api2.origin.com/ecommerce2/public/supercat/OFB-EAST:56694/en_IE?country=IE.
2020-08-30 13:48:58.9004|DEBUG:Downloading data from https://api1.origin.com/ecommerce2/public/OFB-EAST:56694/en_US.
2020-08-30 13:48:58.9965|DEBUG:Downloading data from https://api2.origin.com/ecommerce2/public/supercat/OFB-EAST:109547468/en_IE?country=IE.
2020-08-30 13:48:59.1801|DEBUG:Downloading data from https://api1.origin.com/ecommerce2/public/OFB-EAST:109547468/en_US.
2020-08-30 13:48:59.3540|DEBUG:Found 6 library Origin games.
2020-08-30 13:48:59.3927|INFO:Importing games from Steam plugin.
2020-08-30 13:48:59.4527|DEBUG:Found 9 installed Steam games.
2020-08-30 13:48:59.4527|DEBUG:Downloading string content from https://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key=6B14119561FE7141ECE3C4243A93CE31&include_appinfo=1&include_played_free_games=1&format=json&steamid=76561198142121093 using System.Text.UTF8Encoding encoding.
2020-08-30 13:48:59.8161|DEBUG:Found 777 library Steam games.
2020-08-30 13:49:04.1654|INFO:Importing games from Twitch plugin.
2020-08-30 13:49:04.1788|DEBUG:Found 0 installed Twitch games.
2020-08-30 13:49:05.7443|DEBUG:Found 136 library Twitch games.
2020-08-30 13:49:06.4371|INFO:Importing games from Uplay plugin.
2020-08-30 13:49:06.4371|DEBUG:Found 0 installed Uplay games.
2020-08-30 13:49:06.6365|DEBUG:Found 17 library Uplay games.
2020-08-30 13:49:07.2244|ERROR:Failed to load execute OnLibraryUpdated method from Success Story plugin.System.MissingMethodException: Method not found: 'Void PluginCommon.ResourcesList.set_Value(System.String)'.
  at SuccessStory.SuccessStory.Integration()
  at SuccessStory.SuccessStory.OnLibraryUpdated() in H:\Lacro59\playnite-successstory-plugin\SuccessStory.cs:line 134
  at Playnite.Plugins.ExtensionFactory.NotifiyOnLibraryUpdated() in E:\Devel\Playnite\source\Playnite\Plugins\ExtensionFactory.cs:line 658
2020-08-30 13:49:07.2388|DEBUG:Downloading string content from http://www.playnite.link/update/stable/info.json using System.Text.UTF8Encoding encoding.


RE: SuccessStory - Lacro59 - 09-02-2020

New release - v0.10:
  • Added wiki for custom theme integration
  • Added new features for custom theme integration
  • Added option for separate achievements & RetroAchievements
  • Added zn_CH (thanks to XiaofengdiZhu)
  • Many improvements



RE: SuccessStory - lufalu - 09-03-2020

The plugin v0.10.1 is crashing my playnite at start, im using a custom theme: Emixednite.


RE: SuccessStory - Lacro59 - 09-03-2020

(08-30-2020, 10:18 PM)super_red_panda Wrote: EDIT: I got it to work by removing another one of your extensions (Indiegala). It seems I can only use one of the extensions you've authored, at a time, is this normal?
Yes, it's normal because my plugins using a dll common that I developed.
This is part of the known problems mentioned in the description of the plugins.
But, in the future, this problem would be less truth.

(09-03-2020, 03:58 AM)lufalu Wrote: The plugin v0.10.1 is crashing my playnite at start, im using a custom theme: Emixednite.
I have standardized the interactions with custom plugins.
You must be wait a update from theme.
Sorry for the inconvenience.


RE: SuccessStory - FF7CloudsNobody - 09-03-2020

(09-02-2020, 07:28 AM)Lacro59 Wrote: New release - v0.10:
  • Added wiki for custom theme integration
  • Added new features for custom theme integration
  • Added option for separate achievements & RetroAchievements
  • Added zn_CH (thanks to XiaofengdiZhu)
  • Many improvements

Hey, I'm looking at adding integration to SteamNite and sending him a pull request, but I was wondering if you thought of having secondary versions of your "Custom theme integration" parts with the sizes set to auto. I'm looking at doing things manually but that would have helped me add it in more easily. 

[Image: y4mRgq2Xk7X4pQSabVeEuyXqPyw94dC4Q_JTwpv6...pmode=none]


RE: SuccessStory - Lacro59 - 09-03-2020

(09-03-2020, 03:48 PM)F7CloudsNobody Wrote:
(09-02-2020, 07:28 AM)Lacro59 Wrote: New release - v0.10:
  • Added wiki for custom theme integration
  • Added new features for custom theme integration
  • Added option for separate achievements & RetroAchievements
  • Added zn_CH (thanks to XiaofengdiZhu)
  • Many improvements

Hey, I'm looking at adding integration to SteamNite and sending him a pull request, but I was wondering if you thought of having secondary versions of your "Custom theme integration" parts with the sizes set to auto. I'm looking at doing things manually but that would have helped me add it in more easily. 
Can you give more information?
What want you try to do?


RE: SuccessStory - Mellified - 09-03-2020

I've got GOG and Origin achievements populating. When I try to "Get missing" on RetroAchievements Playnite crashes - consistently. Seems like a problem!

I've also added my Steam login name and API key, but I get the "no Steam configuration" error. In the logs are hundreds of entries like:
"ERROR:SuccessStory - No Steam configuration."

Not sure what to do to get these working.


RE: SuccessStory - sheepbeep - 09-05-2020

If your Steam profile is not public (in my case friends-only), SuccessStory will not be able to get achievement data.

2020-09-05 09:52:10.0817|DEBUG:Downloading string content from https://api.steampowered.com/ISteamUserStats/GetPlayerAchievements/v0001/?appid=324810&key=APIKEY&steamid=STEAMID&l=english using System.Text.UTF8Encoding encoding.
2020-09-05 09:52:10.4167|ERROR:SuccessStory [E:\Lacro59\playnite-successstory-plugin\Clients\SteamAchievements.cs 92] - Failed to load from https://api.steampowered.com/ISteamUserStats/GetPlayerAchievements/v0001/?appid=324810&key=APIKEY&steamid=STEAMID&l=english. 


System.Net.WebException: The remote server returned an error: (403) Forbidden.


   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at System.Net.WebClient.DownloadString(String address)
   at Playnite.Common.Web.Downloader.DownloadString(String url, Encoding encoding)
   at Playnite.Common.Web.HttpDownloader.DownloadString(String url, Encoding encoding)
   at SuccessStory.Clients.SteamAchievements.GetAchievements(IPlayniteAPI PlayniteApi, Guid Id, String PluginUserDataPath, Boolean isLocal) in E:\Lacro59\playnite-successstory-plugin\Clients\SteamAchievements.cs:line 92


See issue https://github.com/Lacro59/playnite-successstory-plugin/issues/65


RE: SuccessStory - Lacro59 - 09-05-2020

(09-03-2020, 10:43 PM)Mellified Wrote: I've got GOG and Origin achievements populating. When I try to "Get missing" on RetroAchievements Playnite crashes - consistently. Seems like a problem. 
Can you post your Playnite.log file locate in %appdata%\Playnite folder?

(09-03-2020, 10:43 PM)Mellified Wrote: I've also added my Steam login name and API key, but I get the "no Steam configuration" error. In the logs are hundreds of entries like:
"ERROR:SuccessStory - No Steam configuration."
The script reports this error when Steam name and/or API key is empty.

(09-05-2020, 08:00 AM)sheepbeep Wrote: If your Steam profile is not public (in my case friends-only), SuccessStory will not be able to get achievement data.

See issue https://github.com/Lacro59/playnite-successstory-plugin/issues/65
I think for resolve it, I will must use a other identification method and not use api key.
I will investigate more.


RE: SuccessStory - Mellified - 09-05-2020

OK, taking another look at this I made a couple of mistakes. Listing them here in case anyone else runs into the same problems.
  1. The Steam API Key needs to be specified in Settings -> Libraries -> Steam.
  2. The User and API key in Success Story are for RetroAchievements.
  3. The 100% reproduceable crash I found was from putting in a bad API key into SuccessStory's configuration for RetroAchievements. Seems like you have an unhandled exception in there.
Here is the RetroAchievements crash (I x'd out my API key):
2020-09-05 19:26:45.2567|DEBUG:Downloading string content from https://retroachievements.org/API/API_GetConsoleIDs.php?z=Mellified&y=xxxxxxx using System.Text.UTF8Encoding encoding.
2020-09-05 19:26:45.8851|ERROR:SuccessStory [E:\Lacro59\playnite-successstory-plugin\Clients\RetroAchievements.cs 194] - Failed to parse Invalid API Key Newtonsoft.Json.JsonReaderException: Error parsing Infinity value. Path '', line 1, position 2.
   at Newtonsoft.Json.JsonTextReader.ParseNumberPositiveInfinity(ReadType readType, Boolean matched)
   at Newtonsoft.Json.JsonTextReader.ParseValue()
   at Newtonsoft.Json.JsonTextReader.Read()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at SuccessStory.Clients.RetroAchievements.GetConsoleIDs(String PluginUserDataPath) in E:\Lacro59\playnite-successstory-plugin\Clients\RetroAchievements.cs:line 194
2020-09-05 19:26:45.9070|ERROR:Unhandled exception occured.System.NullReferenceException: Object reference not set to an instance of an object.
   at SuccessStory.Clients.RetroAchievements.GetAchievements(IPlayniteAPI PlayniteApi, Guid Id, String PluginUserDataPath) in E:\Lacro59\playnite-successstory-plugin\Clients\RetroAchievements.cs:line 68
   at SuccessStory.Models.AchievementsDatabase.Add(Game GameAdded, SuccessStorySettings settings) in E:\Lacro59\playnite-successstory-plugin\Database\AchivementsDatabase.cs:line 746
   at SuccessStory.SuccessStorySettingsView.<>c__DisplayClass34_1.<RefreshData>b__0() in E:\Lacro59\playnite-successstory-plugin\Views\SuccessStorySettingsView.xaml.cs:line 384
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at SuccessStory.SuccessStorySettingsView.RefreshData(String SourceName, Boolean IsGet) in E:\Lacro59\playnite-successstory-plugin\Views\SuccessStorySettingsView.xaml.cs:line 374
   at SuccessStory.SuccessStorySettingsView.Button_Click_Get_RetroAchievements(Object sender, RoutedEventArgs e) in E:\Lacro59\playnite-successstory-plugin\Views\SuccessStorySettingsView.xaml.cs:line 257
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.Show()
   at System.Windows.Window.ShowDialog()
   at Playnite.Windows.WindowFactory.<>c__DisplayClass12_0.<CreateAndOpenDialog>b__0(Object a) in E:\Devel\Playnite\source\Playnite\Windows\WindowFactory.cs:line 72
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at System.Windows.Threading.DispatcherSynchronizationContext.Send(SendOrPostCallback d, Object state)
   at Playnite.Windows.WindowFactory.CreateAndOpenDialog(Object dataContext) in E:\Devel\Playnite\source\Playnite\Windows\WindowFactory.cs:line 54
   at Playnite.DesktopApp.ViewModels.DesktopAppViewModel.<InitializeCommands>b__332_45(Object a) in E:\Devel\Playnite\source\Playnite.DesktopApp\ViewModels\DesktopAppViewModel.cs:line 637
   at Playnite.SDK.RelayCommand`1.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at Playnite.DesktopApp.ProgramEntry.Main(String[] args) in E:\Devel\Playnite\source\Playnite.DesktopApp\ProgramEntry.cs:line 46


So with the Steam configuration correct SuccessStory is pulling Steam achievement data for my profile. Looking at the logs I see a new issue with the plugin. Success Story seems to be making an incorrect assumption about the Steam Community URL. My community name is "Mellified" but someone else took that URL. My URL is "Mellified_".

2020-09-05 16:48:14.9865|DEBUG:Downloading string content from https://api.steampowered.com/ISteamUserStats/GetPlayerAchievements/v0001/?appid=332310&key=30768AA9DA35E42958ED98C3A29A1AA3&steamid=76561197965222199&l=english using System.Text.UTF8Encoding encoding.
2020-09-05 16:48:15.1631|DEBUG:Downloading string content from https://api.steampowered.com/ISteamUserStats/GetSchemaForGame/v2/?key=30768AA9DA35E42958ED98C3A29A1AA3&appid=332310&l=english using System.Text.UTF8Encoding encoding.
2020-09-05 16:48:15.6267|DEBUG:SuccessStory - Load profil data for Mellified - 332310
2020-09-05 16:48:15.6267|DEBUG:Downloading string content from https://steamcommunity.com/id/Mellified/stats/332310/?tab=achievements using cookies and System.Text.UTF8Encoding encoding.

So SuccessStory seems to be pulling information from the wrong user's profile. You can confirm this by visiting the URLs:
https://steamcommunity.com/id/Mellified/
versus
https://steamcommunity.com/id/Mellified_/

The latter has the same avatar image I use here.


RE: SuccessStory - FF7CloudsNobody - 09-06-2020

(09-03-2020, 07:03 PM)Lacro59 Wrote:
(09-03-2020, 03:48 PM)F7CloudsNobody Wrote:
(09-02-2020, 07:28 AM)Lacro59 Wrote: New release - v0.10:
  • Added wiki for custom theme integration
  • Added new features for custom theme integration
  • Added option for separate achievements & RetroAchievements
  • Added zn_CH (thanks to XiaofengdiZhu)
  • Many improvements

Hey, I'm looking at adding integration to SteamNite and sending him a pull request, but I was wondering if you thought of having secondary versions of your "Custom theme integration" parts with the sizes set to auto. I'm looking at doing things manually but that would have helped me add it in more easily. 
Can you give more information?
What want you try to do?
Well, I was trying to just adjust where your buttons show up and that was where my first picture went, so I went the custom code route as a noob. At this point, I've kind of forced my way into making it show up in Blend by editing the app.xaml (I know, bad), read your values to adjust the numbers and bar. But due to me not knowing how to work with buttons and resources, I can't seem to figure out how to get either a button layout xaml or a resource xaml to properly load into the page view so it loads correctly in the live application. I feel like I am so close to making the SteamNite theme better and yet I can't seem to find online a way to get it to work.

[Image: y4m1OmbKnUp7onDRkaHrla2wMaKBmpOnHCLUQt35...pmode=none]