New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unchecked exceptions when launching 2 copies of opsu! #119
Comments
What if the other program running on the port isn't opsu? You can change the port in the config file. 49250 is an ephemeral port, so I also don't think there's any reason to change it... |
In the case the other app, it just shows up almost exactly the same message (probably different stack message, can't confirm it because i'm on semester break for now D:) For now, i set it to 60000 and see what's what |
Sorry, let me clarify -- I can't just display an error message like "Another copy of opsu! is already running." because it might be a different program that's using the port, and (as far as I know) you can't use native Java to determine if that's the case. |
oh that.
|
Okay, that sounds good. Will do, thanks! |
When launching the 2nd opsu!, the application will immediately displays an error message:
Stack trace:
It will be proper if the application just output a JOptionPane.showMessageBox() with a message stating there's another copy of opsu! running.
Also, is it possible to have opsu! running at a higher port than the current one? I can't get it to work at my college because there's application using that port specifically for "phoning-home" to the main server for system-related telemetry
The text was updated successfully, but these errors were encountered: