Jump to content

[SOLVED][1.8.9]External GUI Help


Recommended Posts

So I'm trying to get a GUI I made to work with forge. On its own, the GUI works properly (doesn't have any function, but everything shows and settings save on it). While trying to integrate it with forge, I created a class that allows the gui to be opened with a keybind.  However, for whatever reason this causes the GUI to open for 1 second then the minecraft and all crashes. Any ideas? 

Crash log attached.



Edited by Pokeeee
Edited to post real log
Link to comment
Share on other sites

3 hours ago, diesieben07 said:

Great. And now your code.

So I added it to a GitHub.

The main class of the GUI is testClientGUI and the class inGameKeyBind is what is actually opening the GUI, those should be the big ones.

In case your curious, I'm making this to see what I can do, to improve my coding skills and understanding of the game.


Edited by Pokeeee
Link to comment
Share on other sites

2 minutes ago, diesieben07 said:

At the time I replied your post did not contain the link to your repository.


Your repository is completely broken. The files are not in their correct folders according to their package declarations, you don't have a build.gradle, etc.

Some classes from the crash report are not there either (e.g. AJSGuildModGUI). According to the crash report, the issue is on this line, the only thing on that line that can be null is settings.

You are great, I feel dumb for this, but the issue was the reading of the settings files.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.