LRFLEW / OpenRCT2Launcher

An Open Source Launcher & Updater for OpenRCT2
MIT License
200 stars 20 forks source link

Play button is grayed out #64

Open ferrybig opened 2 years ago

ferrybig commented 2 years ago

At the moment, the launcher is not working and the play button is grayed out: image

According to Wireshark, it is communicating with the OpenRCT2 servers, and apparently transferred more than 16 megabytes using HTTPS. https://i.imgur.com/5wHmU8e.png

The only weird thing I see at the moment is that the latest development build on openrct2.org contains no Windows version, but I would expect the launcher to never get stuck in a limbo, and allow me to play the already downloaded version. At the moment, I'm unable to play

I was unable to find any logs relating to what the launcher is doing, but Wireshark is showing it is send and receiving encrypted traffic

OS: Windows 64 bit

ferrybig commented 2 years ago

Update: It seems the developers have pushed a windows version, which made the launcher unstuck itself. I would consider it a poor interface of leaving people unable to play without any message indicating the exact reason

Sadret commented 2 years ago

I have the same problem today.

LRFLEW commented 2 years ago

I'm working on #63 right now for an update to the launcher, but I can also try to tackle this at the same time.

I'll try to catch the issue while it's happening, but I could use some help with that. Next time it happens, please add a comment here with what this page returns: https://openrct2.org/altapi/?command=get-latest-download&flavourId=6&gitBranch=develop

Additionally, there should be a URL in the result. If you can upload the file you get from that URL while the issue is happening, that may help pin down the issue. There shouldn't be anywhere that the project would get stuck in a loop (more likely the button just isn't getting the reactivate signal), but if there is an infinite loop, having the file will help immensely with debugging it.

Sadret commented 2 years ago

{"error":1,"errorMessage":"No download available."}

redace0001 commented 2 years ago

Hello, once again the launcher is stuck because there is no windows version of OpenRCT2 for the last dev build. This URL https://openrct2.org/altapi/?command=get-latest-download&flavourId=6&gitBranch=develop returns the following : {"error":1,"errorMessage":"No download available."}

This URL https://openrct2.org/downloads/develop/latest returns : image

It could be a good idea to revert to the second newest version, and so on, and check it or simply handle that exception and let the launcher start the current version anyway. I think the first solution is the best tho

redace0001 commented 2 years ago

Also in that state today. Same thing as before :-/

SpartanFrederic104 commented 2 years ago

Now I'm having the issue too. Worse, I even get a "Network access is disabled." message

If it helps inform anyone, I use Windows 10 64-bit as my OS

DoeEensGek commented 1 year ago

I've the same problem right now for a few days. Only thing that helps, is disconnect internet while starting the game.

this url gives an error(1): https://openrct2.org/altapi/?command=get-latest-download&flavourId=6&gitBranch=develop errorMessage | "No download available."

Is it possible to unlock the start button if an error code returns?

Apparently new builds are generated now. Available since 1 minute ago: Nov 16, 2022, 11:24:03 AM But should be nice if it gets fixed, so it does not happen in the future.