Crash at startup #268
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm running ArchLinux, and the latest master crashes when I try to start a game on a new world:
I'm on ArchLinux-amd64, with intel video.
Does this happen consistently? Can you describe reproduction steps in more detail?
I can reproduce this consistently: it happens every single time. Steps are (sorry if this is stupidly verbose, but I just in case):
Selecting a pre-existing world has the same result.
I believe these dependencies are relevant:
I also tried deleting
~/.config/truecraft
.I can reproduce. Will look into it.
I've been getting the same error as well. When I try to just run the client I got this as an output.
Unhandled Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at TrueCraft.Client.Program.Main (System.String[] args) [0x0001c] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at TrueCraft.Client.Program.Main (System.String[] args) [0x0001c] in :0
I'm having the same issue with @hobarrera
same issue with @BearzRobotics
i think this game is dead. too bad prob no fix.
Send me a patch and I'll merge it.
Ended up figuring this out by accident. The fast path for HandleChunkData seems to assume the chunk size when it may, for example, only have block IDs without metadata, light, or sky light. This fixes the crash for me, but I'm guessing the packet is supposed to have all of these things...?
Can you send this as a pull request instead of a diff thrown into a commit? You can email me a patch if you want, too.
Done: https://github.com/SirCmpwn/TrueCraft/pull/282
Using latest commit still warrants the same effect. However, I want to note that this happens regardless of offline, or online mode and whether or not I load an already generated world. I am also compiling on VS 2017. Does the same with the precompiled binaries available on the website, with no errors.
Weird, on my side it runs fine.
Do you actually have the same error?