betacraftuk / betacraft-launcher

A launcher for Minecraft focused on legacy versions of the game
https://betacraft.uk
GNU General Public License v3.0
309 stars 39 forks source link

[BUG] Game can't set game directory?? #266

Open jadenquinn opened 1 year ago

jadenquinn commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Buy 2008 Mac Pro
  2. Get the launcher
  3. Launch game
  4. See error

Expected behavior I expect the game to launch without any issues.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context This is experienced on a 2008 Mac Pro, although I think I've had this happen on many computers over about a year. This has also happened on every OS I've upgraded to this Mac Pro back to OSX 10.6.8.

Error: (15:15:00) Java version: Oracle Corporation, Java(TM) SE Runtime Environment, 1.8.0_371-b11 (15:15:00) System: mac os x, 10.11.6, x86_64 (15:15:00) Loaded in: 490906170 ns (15:15:01) Error in LSRegisterURL: -10811 (15:15:05) [Beta Evolutions] Authenticated with 2 nodes (15:15:05) (15:15:05) Classpath: (15:15:05) /Users/jaden/Library/Application Support/betacraft/versions/b1.1_02.jar (15:15:05) /Users/jaden/Library/Application Support/betacraft/bin/jinput.jar (15:15:05) /Users/jaden/Library/Application Support/betacraft/bin/lwjgl.jar (15:15:05) /Users/jaden/Library/Application Support/betacraft/bin/lwjgl_util.jar (15:15:05) (15:15:05) (15:15:05) Loading addons: (15:15:05) (15:15:05) java.lang.NullPointerException (15:15:05) at org.betacraft.Wrapper.loadMainClass(Wrapper.java:400) (15:15:05) at org.betacraft.Wrapper.loadJars(Wrapper.java:479) (15:15:05) at org.betacraft.Wrapper.play(Wrapper.java:489) (15:15:05) at org.betacraft.Wrapper.(Wrapper.java:183) (15:15:05) at org.betacraft.launcher.Launcher.main(Launcher.java:209) (15:15:05) java.lang.NullPointerException (15:15:05) at org.betacraft.Wrapper.setGameFolder(Wrapper.java:412) (15:15:05) at org.betacraft.Wrapper.play(Wrapper.java:493) (15:15:05) at org.betacraft.Wrapper.(Wrapper.java:183) (15:15:05) at org.betacraft.launcher.Launcher.main(Launcher.java:209) (15:15:05) A critical error has occurred! (15:15:05) java.lang.NullPointerException (15:15:05) at org.betacraft.Wrapper.play(Wrapper.java:551) (15:15:05) at org.betacraft.Wrapper.(Wrapper.java:183) (15:15:05) at org.betacraft.launcher.Launcher.main(Launcher.java:209)

Moresteck commented 1 year ago

The version jar failed to download. Possibly the launcher is ran by outdated Java. Run it with latest Java, then in instance settings enable "Force update" and it should work.

jadenquinn commented 1 year ago

It's whatever the latest was two weeks ago.

jadenquinn commented 1 year ago

Ok, force updating worked. Changed nothing else, the game launches now, thanks! The fuck...