FriendsOfGalaxy / galaxy-integration-uplay

uplay integration with g2.0
MIT License
117 stars 20 forks source link

Ubisoft Connect disconnecting due to recent update #42

Open GreatOldGame opened 1 year ago

GreatOldGame commented 1 year ago

As title says, recently ubisoft connect got an update, and the plugin is getting disconnected everytime. any one can help with this is greatly appreciated

JustThat70 commented 1 year ago

Looks like the IDs changed again. Try:

Open the Python file "%LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a\consts.py" in a text editor.

Change line 15 and 16 to:

CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68" CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"

Save the file, exit and relaunch Galaxy. You may need to disconnect and reconnect Ubi in Galaxy

GreatOldGame commented 1 year ago

Looks like the IDs changed again. Try:

Open the Python file "%LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a\consts.py" in a text editor.

Change line 15 and 16 to:

CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68" CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"

Save the file, exit and relaunch Galaxy. You may need to disconnect and reconnect Ubi in Galaxy

thanks, it worked, thank you very much

HawkSE commented 1 year ago

This worked for me as well. Good to know.

KS-HTK commented 1 year ago

To avoid running into this issue again in the future see @wearepariah comment in PR #34 . It has code to actively get The app and genome ids.

shinji257 commented 1 year ago

I updated my file and it still kicks out my login from time to time.

NanoWireDnB commented 1 year ago

I updated my file and it still kicks out my login from time to time.

Same for me.

joerg-nafcom commented 1 year ago

I am having the same issue now Also Ubisoft connect stays at "connection lost" even when I try "connect" and it initially says it's successful for a fraction of a second (I am at gog galaxy 2.0 version 2.0.62,26)

kejoat commented 1 year ago

Fix mentioned above still works.

threemoons-nyc commented 1 year ago

Still having the issue as of last night.

J0hnHawk commented 11 months ago

Still having the issue as of last night.

It looks like the IDs have changed again. With the following entries it works for me at the moment:

CLUB_APPID = "314d4fef-e568-454a-ae06-43e3bece12a6"
CLUB_GENOME_ID = "85c31714-0941-4876-a18d-2c7e9dce8d40"
recoi1er commented 10 months ago

Still having the issue as of last night.

It looks like the IDs have changed again. With the following entries it works for me at the moment:

CLUB_APPID = "314d4fef-e568-454a-ae06-43e3bece12a6"
CLUB_GENOME_ID = "85c31714-0941-4876-a18d-2c7e9dce8d40"

Why on earth does GoG fail to stay on top of this???

hi-yiyang commented 8 months ago

Still having the issue as of last night.

It looks like the IDs have changed again. With the following entries it works for me at the moment:

CLUB_APPID = "314d4fef-e568-454a-ae06-43e3bece12a6"
CLUB_GENOME_ID = "85c31714-0941-4876-a18d-2c7e9dce8d40"

May I know where you found the updated IDs? In case they are changed again, which would most likely happen in a year or so.

KS-HTK commented 8 months ago

[…]

May I know where you found the updated IDs? In case they are changed again, which would most likely happen in a year or so.

There is a PR mentioned above which includes code to fetch the APPID and GENOME_ID for you. But if you still would like to get them yourself you could look at the code in the PR or just analyze a request to the Ubi connect servers. They are transmitted in any request if logged in, if I remember correctly.

MicahMaiiTso commented 4 months ago

I know I'm a bit late to this party, but, Ubisoft Connect has stopped working for me, despite me using the code that fetches the APPID and GENOME_ID. Replacing those two lines with the direct coded APPID and GENOME_ID I could log in. I guess Ubisoft has changed something again

KS-HTK commented 3 months ago

I know I'm a bit late to this party, but, Ubisoft Connect has stopped working for me, despite me using the code that fetches the APPID and GENOME_ID. Replacing those two lines with the direct coded APPID and GENOME_ID I could log in. I guess Ubisoft has changed something again

Yeah, I have not been able to use this in quite a while now. Maybe they have changed something again. I currently do not have the time to look into this. But I'll make sure to post anything I do find when I find the time to look into it.