Skip to content
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

I followed the instructions and ended up with my hand in a toaster #2

Open
jakeau opened this issue May 19, 2020 · 4 comments
Open

Comments

@jakeau
Copy link

jakeau commented May 19, 2020

Cool concept but I have honestly no idea what is meant to be done to actually run the program

If I can get this working I'll put together and push a gui, I'm guessing I am meant to put profiles in the profiles folder?

x> Error: Could not find or load main class net.minecraft.client.main.Main
x> Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Terminated...

@Ecconia
Copy link
Owner

Ecconia commented May 19, 2020

Currently there is an issue, preventing it to properly start on Windows. I assume you are using Windows. (The run command has some non or wrongly escaped/wrapped parts, I did not find all broken parts yet. [Need to invest more time])

In general one can start the launcher with with the username as argument, for it to interactively ask you for your login credentials. (This step currently has to be done every time the access-token lost its validity).

@jakeau
Copy link
Author

jakeau commented May 19, 2020

Ahhh cheers

@Ecconia
Copy link
Owner

Ecconia commented May 19, 2020

I just fixed the Windows-Bugs. It should run on windows again.

However I also noticed, that your bug is a different one. You may have forgotton to install the client first. (Or you just didn't look at the main method at all).

For that go into the main method in the MinecraftLab class and uncomment the installVersion(); method on first run.

There is a currently crappy Profile system. To use it, you have to run this project via terminal and just append your/any username as argument for it to ask for your credentials. (It from then on uses your username and a stored access-token).

I hope the hospital has medics against toastering.

@Ecconia
Copy link
Owner

Ecconia commented May 19, 2020

Adding a GUI would be awesome. I don't intend to do such thing.

Please have a look at the profile classes yourself. It currently is just some helpful classes for me to not have to copy-paste the access token anywhere. I started working on some Authentification Server API classes, which will allow me to refresh that token automatically and also validate it. But I gonna take a small break of this project again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants