It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
This worked for me right away. Using chrome, pasted it in the field under developer tools, and it immediately took effect when I refreshed the page. Thank you again!
low rated
I bought the ROLLER COASTER TYCOON V3 game some time ago, but my computer died. I am now on a new one, but desperately need this game back... highly addictive~!!!! thanks
PLEASE email me at romraidr@vianet.ca regarding how I can reclaim my fave game!!!
I tried to follow the manual instructions, but no luck.

With the main GOG page, there was no - list:[] entry.

But today with a different page, I got that list entry. However, I could find no way to edit it.

https://www.gog.com/games?price=discounted&sort=popularity&page=1

Luckily, a mate who knows JavaScript told me to run the following in the Developer Tools - Console tab.
Pasted and hit ENTER.

(function () {
const userData_games = JSON.parse(localStorage.userData_games);
var games = [];
for (const gameid of userData_games) {
games.push(parseInt(gameid));
}

const USER_KEY = "ngStorage-user";
var ngStorage_user = JSON.parse(localStorage.getItem(USER_KEY));
ngStorage_user.games.list = games;
localStorage.setItem(USER_KEY, JSON.stringify(ngStorage_user));
})()
I have checked a few pages, some being Sales ones, and all appear to be working fine now.

EDIT
It appears that this is the same instructions as those on Page 1 - Post 13. So thanks renloz.
Post edited April 30, 2019 by Timboli
avatar
renloz: If you want to do it manually.......

You should now have the owned list working fine for your current owned games.
Worked for me - thank you :)
script does not work really with my browser and GreaseMonkey.

On opening the raw paste of the userscript, it is also not recognized as one. Please fix it or upload it to GreasyFork.. better the lazy GOG click baiters team should fix this.
i noticed this very annoying bug too. what i do as workaround is using chrome on my android phone, there the deal page shows my owned items correctly
avatar
Oedi: i noticed this very annoying bug too. what i do as workaround is using chrome on my android phone, there the deal page shows my owned items correctly
This bug occurs as soon as you clear your cookies. So do not delete the cookies on your phone until GOG fixes it ;)
Also games purchased after the bug started (January/February I think) will nowhere show as owned unless you use the workaround mentioned here in this thread.
avatar
bratmaxe: This bug occurs as soon as you clear your cookies. So do not delete the cookies on your phone until GOG fixes it ;)
Also games purchased after the bug started (January/February I think) will nowhere show as owned unless you use the workaround mentioned here in this thread.
oh wow you're right... just checked the sale again, bought games won't show up. thanks for the advice, i will keep my cookies safe :D
Post edited May 03, 2019 by Oedi
avatar
engel666sk: Can someone make a tutorial for chromium user? What do u have to do? I don't get it
avatar
renloz: If you want to do it manually then you need to use your browser devtools.

1. Load the GOG main page

2. Open the Storage tool that should be part of the developer tools

3. In Local Storage section there is the gog web address, select it

4. Inside it there are a lot of keys (the first column) and their respective values (second column) look for the userData_games key and copy its value. It should look similar to ["1","2","3"], each number is a game that you own

5. Paste the value into a text editor. We need to remove the " from the list so we end up with something like [1,2,3]. The text editor has an option for "Replace" use it to replace every " with nothing

6. In the browser look for the ngStorage-user key and copy its value. Paste the contents on the text editor in an empty document (do not mix it with the previous value)

7. The values is be long and messy but it must have a section that looks like "list": [] The brackets area might contain a series of comma separated numbers that are the games that are being curretly shown as owned. Replace the brackes, and only the brackets and its contents, with the result of step 5 so you end up with something like "list": [1,2,3]

8. Copy the results of 7 back to the ngStorage-user value

You should now have the owned list working fine for your current owned games.
Hiya, I've just tried this, but it resulted in all deals pages being empty, as in the below link:

https://i.imgur.com/ycZE4g4.png

I then tried copying the original ngStorage-user text with no games in the list [] back in, but it remains empty - any ideas?

--edit

nevermind, figured it out. If anyone else gets in the same situation, the following fixed it:

1) I cleared the last hour of all history data - cookies, offline data etc. This got me back to the original situation - I can see deals pages now, but all games show as not owned.
2) This time, instead of copying out the entire ngStorage-user value and then copying it back in with the games list, I copied the games list directly into the value between the brackets.

Now the deals pages show all the games I own properly.

I figure the text editor I was using was adding some unseen formatting that gog doesn't like.
Post edited May 03, 2019 by ZarkonDrule
Not sure what the GOG developers are up to for the last couple of years. Both the website and the galaxy client have numerous issues that are never addressed. I hope they realise not being able to see which games are owned is a show stopper preventing people from shopping. They better start cleaning up their technical debt or GOG is doomed.
avatar
PrinceThrakhath: Not sure what the GOG developers are up to for the last couple of years. Both the website and the galaxy client have numerous issues that are never addressed. I hope they realise not being able to see which games are owned is a show stopper preventing people from shopping. They better start cleaning up their technical debt or GOG is doomed.
It's pretty sad. I raised a support ticket about this two weeks ago and was told it was a known issue and there was nothing that could be done, and bam, ticket closed.

Then I randomly browse the forum to see how many people it's affecting to find that a user had found a fix 2 months ago :/
I noticed that I do not have the problem when I use Galaxy to browse the store. I know some will see it as a conspiracy to make peoples start using Galaxy but I think it's probably just due to whatever browser engine that Galaxy uses.
I had to run the script again, after buying another game, to have it shown as owned on the sale page.

This topic is linked to one of mine.
Post edited May 07, 2019 by Timboli
GOG finally fixed the issue: https://www.gog.com/forum/general/owned_games_not_showing_as_such_on_some_sale_pages/post9
high rated
Yaaaay!!! :D