Advanced XRay (Neoforge Edition)

Advanced XRay (Neoforge Edition)

5M Downloads

Minecraft crashes on Z

Jaeiya opened this issue ยท 12 comments

commented

Describe the bug
Going into a new world, when I hit the Z key to bring up the GUI, it crashes minecraft instantly.

To Reproduce

  1. Load into a new world
  2. Tap Z

Expected behavior
The GUI to appear.

Crash Log
crash-2018-07-24_15.18.52-client.txt

Minecraft Enviorment

  • Minecraft Version: 1.12.2
  • XRay Mod Version: 1.12.2-1.5.0
  • Forge Version: 14.23.4.2736
commented

It was not a fresh install, but it was a newly generated world. The odd thing is, I originally installed this mod to check the ore distributions before making the world official.... at the time I was doing this it worked great.

A few days ago I wanted to tweak a few things so I created a test world and then got this crash out of no where.... So it did work before...

I'm loading up the game now with your config to test.

commented

Confirmed, that did in fact fix it for me, no crashes.

Edit
Feels like it's working even faster than before actually lol.

commented

It's your lucky day though, while traversing in spectator mode through the ground to check out the ore distributions, XRay crashed again ๐Ÿ˜†

crash-2018-07-25_13.44.05-client.txt

Edit
Seems to happen if I move faster than the chunks can load.

commented

Thanks for all this, I'll be able to get a lot sorted because of these.

commented

Glad I could help ๐Ÿ˜„

I should also add that before the original crash, I had uninstalled XRay once I decided to make my world "official". So when it stopped working, that was on a re-install (using the Twitch app). I use the Twitch app exclusively to update/install/uninstall my mods.

I'm a programmer myself so I know every bit of information (seemingly pointless or not) can be helpful.

commented

If you know java then feel free to fix the issue, haha. Contribuations are always welcome. I've been aware of the issues for a little while now but I've not had the time to update the mod. I've started a v2 rewrite of the system because as it stands there is a lot of code debt from the very first version.

They are all on my todo list but I think I'm going to be pushing a config fix very soon. I'm likely going to start adopting a rapid development -> depoyment standard to fix issues faster than the next release

commented

Haha, if it was written in JavaScript then I might take a stab at it, but Java isn't a language I've made a part of my repertoire. Good luck though; this is a great mod for checking ore distribution, might I say, invaluable in that regard.

commented

I'm glad it has served an alternative use apart from being used to cheat :P I personally only made it because I have very little time in my days to play games and when I do I don't want to spend 5 hours mining for ores. So instead I use this mod as a helping tool. I'm sure others use in a much more hacky way. Thanks for your nice comments though โค๏ธ

commented

If you have any suggestions for the mod then be sure to make a new issue with them. I consider all feedback I recieve

commented

Will do. It's nice to see a dev passionate about their project ๐Ÿ˜„

As far as using it as a tool to quickly gather resources; what I've done to make things a little easier, is actually adjust the default world gen using cofh world. I've basically adjusted it so that the harder to find ores, spawn in a limited area so I know exactly which Y-level to strip mine, to get a bunch of it.

Still a little grindy, but it's much quicker than vanilla for sure.

commented

Wooh. thats a fun one. Was this a fresh install?
I've attached my config, could you confirm if this fixes your issue.

xray.cfg.zip

commented

Should be fixed as of f893ffc with #85