-
Notifications
You must be signed in to change notification settings - Fork 33
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
Division by Zero when trying to access storage crate #262
Comments
One known cause of this is crates being moved / teleported or similar which removes crates but doesn't correctly readd them (sounds plausible since you mentioned negative array size). There really is no easy way to fix this, because it would need a complete rewrite of how crates work. I could hide the error but I'm not the kind of person to do that. If that's not it, there's really not much I can do without information on how to reproduce it. |
As far I know the crate was not altered. |
fullness = data.getOccupiedSlots() * 255 / data.getCapacity(); This is the line in question. Can you make a Gist of the list of mods you're using? |
https://gist.github.com/MrSunday334/9ee3a930be4879011527 its a long list, so I'm not quite sure it will help. Unfortunately I have no idea how to reproduce it with another crate, so other crates work properly and this has not happened again(or before).
Items in it where of all kind of mods |
Hello,
when I try to access a specific storage crate I get an internal Server Error:
It affects only the one crate, other crates work properly.
Access by Pipes and ME do not work, too.
Its not possible to add new crates(won't connect).
Also, I saw an negative array size exception before, but was not able to reproduce it.
I'm using Build 117.
The text was updated successfully, but these errors were encountered: