Tool YAM: Yet Another Manager [v2.6.2] (reCAPTCHA supported)

5.00 star(s) 1 Vote
Jun 17, 2019
56
53
Hi daxterygonebad!

Sorry if I didn't get in touch immediately but I started investigating the mistake.

You were right, the problem occurred when the threads followed were updated but it could also occur when I add specific games (the two errors you had were therefore linked)

The problem was in the fact that I assumed the existence of a "datetime" attribute in the OPs of the threads on the games indicating the last modification made to the post. However, this attribute is present only when the post has actually undergone a modification and in some games, which have not undergone updates in their OP, gave an error during the scraping.

This information is now optional and should no longer cause problems, I will provide an update in a few hours.
 
Jun 17, 2019
56
53
Hotfix for a bug that generated an infinite number of windows.

It is necessary to re-download the application from .
 

daxterygonebad

New Member
May 31, 2017
5
3
Thank you for looking into the issue MillenniumEarl

I tried it (v.2.6.2) and it wasn't working so I looked into the code.

After a long time of debugging I saw you were using these ld+json payloads to extract some information and this is where it broke for me (in hindsight, it should've been a clue that you are merging the ld+jsons).

The payload (yes, singular) I was receiving didn't have many of the fields you were querying for, so it gave an error.
Since I was still testing with only one game until this point, I thought maybe that game didn't have all the fields and it was an exception. But then I saw that any game search failed, even "Behind The Dune", so it couldn't be about any specific game. My account had to be the culprit. In some lightbulb moment I remembered I have a different style (DARK MODE BETA) and it changes quite a few things, so it might (it does :sleep:) generate different html and stuff: it just had one ld+json, while the default one has two.

With this, it worked for other games I tried.

TLDR: Don't use DARK MODE BETA for your style.
 
  • Like
Reactions: MillenniumEarl
Jun 17, 2019
56
53
Thank you for looking into the issue MillenniumEarl

I tried it (v.2.6.2) and it wasn't working so I looked into the code.

After a long time of debugging I saw you were using these ld+json payloads to extract some information and this is where it broke for me (in hindsight, it should've been a clue that you are merging the ld+jsons).

The payload (yes, singular) I was receiving didn't have many of the fields you were querying for, so it gave an error.
Since I was still testing with only one game until this point, I thought maybe that game didn't have all the fields and it was an exception. But then I saw that any game search failed, even "Behind The Dune", so it couldn't be about any specific game. My account had to be the culprit. In some lightbulb moment I remembered I have a different style (DARK MODE BETA) and it changes quite a few things, so it might (it does :sleep:) generate different html and stuff: it just had one ld+json, while the default one has two.

With this, it worked for other games I tried.

TLDR: Don't use DARK MODE BETA for your style.
Thanks for the tip, I had never taken into account the different types of layouts. I will work to work to adapt the API to all the different themes!
 

dQe2MUdTteDLi6

New Member
Jun 1, 2020
6
4
I'm experiencing an issue on linux using 2.6.2, upgraded from 2.5.8. The login window opens automatically but just continues to spin as if it is loading. It does not error nor prompt for captcha.

Is there a workaround for this? Here are some relevant logs I found:

Code:
[2021-10-13 10:22:05.244] [info]  Application ready (2.6.2) on linux (5.14.11-arch1-1)
[2021-10-13 10:22:05.247] [info]  Using Chrome 91.0.4472.164
[2021-10-13 10:22:05.247] [info]  Using Electron 13.5.1
[2021-10-13 10:22:05.247] [info]  Initializing languages...
[2021-10-13 10:22:05.258] [info]  Languages initialized (selected en)
[2021-10-13 10:22:05.258] [silly] Creating main window
[2021-10-13 10:22:05.297] [info]  Checking updates...
[2021-10-13 10:22:05.298] [info]  Checking for update
[2021-10-13 10:22:05.332] [info]  Database loaded succesfully from /home/[REDACTED]/.config/yam/appcache/games.db
[2021-10-13 10:22:05.332] [info]  Database loaded succesfully from /home/[REDACTED]/.config/yam/appcache/threads.db
[2021-10-13 10:22:05.338] [info]  Database loaded succesfully from /home/[REDACTED]/.config/yam/appcache/updates.db
[2021-10-13 10:22:05.965] [info]  Login required from main window
[2021-10-13 10:22:06.547] [info]  Update for version 2.6.2 is not available (latest version: 2.6.2, downgrade is disallowed).
[2021-10-13 10:22:08.395] [info]  Starting CAPTCHA harvester...
[2021-10-13 10:22:08.402] [error] Uncaught error in the main process.
Error: spawn /usr/lib/yam/resources/app.asar.unpacked/node_modules/@millenniumearl/recaptcha-harvester/node_modules/electron/dist/electron.exe ENOENT
 
Jun 17, 2019
56
53
[2021-10-13 10:22:08.395] [info] Starting CAPTCHA harvester...
[2021-10-13 10:22:08.402] [error] Uncaught error in the main process.
Error: spawn /usr/lib/yam/resources/app.asar.unpacked/node_modules/@millenniumearl/recaptcha-harvester/node_modules/electron/dist/electron.exe ENOENT[/CODE]
Yes, it does not find the path of the captcha harvester. As soon as possible I mount a virtual machine with Linux to see how to solve. Forgive me for the problem, everything was done in a bit of a hurry :cry:
 
  • Like
Reactions: dQe2MUdTteDLi6

dQe2MUdTteDLi6

New Member
Jun 1, 2020
6
4
Yes, it does not find the path of the captcha harvester. As soon as possible I mount a virtual machine with Linux to see how to solve. Forgive me for the problem, everything was done in a bit of a hurry :cry:
No problem! Thanks for taking a look and for all your work on YAM.
 

ChaosDMNS

Member
Sep 18, 2018
107
134
I give up for now.. the program is still useless...

And yes.. the captcha did pop up, I did successfully log in. but something is borked after that.

Code:
[2021-10-23 20:25:24.461] [info]  Application ready (2.6.2) on win32 (10.0.19043)
[2021-10-23 20:25:24.465] [info]  Using Chrome 91.0.4472.164
[2021-10-23 20:25:24.466] [info]  Using Electron 13.5.1
[2021-10-23 20:25:24.466] [info]  Initializing languages...
[2021-10-23 20:25:24.482] [info]  Languages initialized (selected DEFAULT)
[2021-10-23 20:25:24.483] [silly] Creating main window
[2021-10-23 20:25:24.538] [info]  Checking updates...
[2021-10-23 20:25:24.538] [info]  Checking for update
[2021-10-23 20:25:24.555] [info]  Generated new staging user ID: 9812907a-1756-59e7-82df-eb5ea428ea12
[2021-10-23 20:25:24.570] [info]  Database loaded succesfully from C:\Users\chaos\AppData\Roaming\yam\appcache\threads.db
[2021-10-23 20:25:24.571] [info]  Database loaded succesfully from C:\Users\chaos\AppData\Roaming\yam\appcache\games.db
[2021-10-23 20:25:24.572] [info]  Database loaded succesfully from C:\Users\chaos\AppData\Roaming\yam\appcache\updates.db
[2021-10-23 20:25:25.253] [info]  Login required from main window
[2021-10-23 20:25:25.614] [info]  Update for version 2.6.2 is not available (latest version: 2.6.2, downgrade is disallowed).
[2021-10-23 20:25:26.295] [info]  Starting CAPTCHA harvester...
[2021-10-23 20:25:26.681] [info]  CAPTCHA harvester ready
[2021-10-23 20:25:26.681] [info]  Fetching CAPTCHA token...
Code:
[2021-10-23 20:25:25.081] [info]  Paginator prepared
[2021-10-23 20:25:25.084] [info]  Paginator connected to DOM
[2021-10-23 20:25:25.087] [info]  DOM loaded, initializing elements
[2021-10-23 20:25:25.237] [info]  Elements initialized
[2021-10-23 20:25:25.238] [info]  Preparing internal data
[2021-10-23 20:25:25.247] [info]  Logging into F95Zone
[2021-10-23 20:25:25.256] [info]  Online status: true
[2021-10-23 20:25:25.257] [info]  Send API to main process for auth request
[2021-10-23 20:25:57.822] [info]  Authentication result: AUTHENTICATED
[2021-10-23 20:25:57.833] [info]  Retrieving user info from F95
[2021-10-23 20:25:57.834] [info]  Loading paginator
[2021-10-23 20:27:22.980] [error] Error 11225: getUserDataFromF95 -> window.F95.getUserData: Error: Error invoking remote method 'f95api': Error: Cannnot find 'data-user-id' attribute in element with selector '* div.contentRow-minor > * a.username:last-child'
[2021-10-23 20:27:23.100] [error] Something wrong while retrieving user info from F95
 
Last edited:
Jun 17, 2019
56
53
TLDR: Don't use DARK MODE BETA for your style.
I opened a report on the forum and on .

Hello, I'm not really understanding how to update a game ?
No worries! ;)

To update a game you have to press the "Update (version)" button which will open a screen with the changelog (when available).

From there you can use the "Open thread" button to open the game page on F95Zone: you need this to download the new version (it is a manual procedure).

Once you have downloaded and extracted the game, press "Open directory": this button will take you to the old version that YAM is using, just copy the new files you downloaded into this new folder, eventually overwriting them.

Once you have finished copying the files, press the third "Finalize" button, which updates the version of the game in the application.

If this last step gives you an error, make sure there are no files open in that directory (because maybe you are still copying, for example).

I give up for now.. the program is still useless...

And yes.. the captcha did pop up, I did successfully log in. but something is borked after that.

Code:
[2021-10-23 20:27:22.980] [error] Error 11225: getUserDataFromF95 -> window.F95.getUserData: Error: Error invoking remote method 'f95api': Error: Cannnot find 'data-user-id' attribute in element with selector '* div.contentRow-minor > * a.username:last-child'
[2021-10-23 20:27:23.100] [error] Something wrong while retrieving user info from F95
Forgive me again, the addition of the CAPTCHA has upset all my plans a bit besides the fact that with the development of the new API I discovered here and there some bugs in the site :cry:

However, the problem lies in the fact that it cannot locate the user who wrote a post that you saved in your favorites. Do you have any bookmarked posts where the user has been deleted?
 

ChaosDMNS

Member
Sep 18, 2018
107
134
I opened a report on the forum and on .



No worries! ;)

To update a game you have to press the "Update (version)" button which will open a screen with the changelog (when available).

From there you can use the "Open thread" button to open the game page on F95Zone: you need this to download the new version (it is a manual procedure).

Once you have downloaded and extracted the game, press "Open directory": this button will take you to the old version that YAM is using, just copy the new files you downloaded into this new folder, eventually overwriting them.

Once you have finished copying the files, press the third "Finalize" button, which updates the version of the game in the application.

If this last step gives you an error, make sure there are no files open in that directory (because maybe you are still copying, for example).



Forgive me again, the addition of the CAPTCHA has upset all my plans a bit besides the fact that with the development of the new API I discovered here and there some bugs in the site :cry:

However, the problem lies in the fact that it cannot locate the user who wrote a post that you saved in your favorites. Do you have any bookmarked posts where the user has been deleted?
huh.. I'll go remove all my favorite and try again.
 
May 21, 2018
36
21
Well, this is a tad embarrassing. Downloaded this from github, installed it, and was adding the games I already had to the program. All going well, then I thought I'd try adding a game from an url- I thought that, somehow, the program might find a way to download the game. I wasn't very thorough reading through.

Well, told the program to install the games where I install these sorts of games (called Games2), figuring it would just create a new folder there with the game. It didn't, obviously. But what it did do, and I didn't notice, is it renamed the entire Games2 folder to what it wanted to name the new game's folder. And then when I asked the program to delete that game's instance, as I was going to manually install the game and then tell the program about it, it deleted the entire Games2 folder.

And the deleted files are not in the recycling bin.

Hopefully Recuva can recover the files, but.. yeah.
 

fpavlik

New Member
Dec 1, 2020
5
7
Hey ! I created a feature request in your because I want to find your contacts and talk with you about developing and you project and package. Contact me please if you are interested :3
 
5.00 star(s) 1 Vote