AbrarSyed / SecretRoomsMod-forge

The official SecretRoomsMod repo
GNU Lesser General Public License v3.0
39 stars 35 forks source link

Gate block crashes on server startup #233

Closed evan1026 closed 6 years ago

evan1026 commented 6 years ago

I was able to place some gates and have them working in my world, but after a server reboot it is consistently crashing with this error log:

https://pastebin.com/h9MUcsFt

I also see that immersiveengineering is in the stacktrace, but since your function is at the top I'm reporting it here first. If after investigation you believe this is their issue and not yours just let me know and I'll report it to them.

Optifine?: No If so what version: N/A Does adding/removing Optifine affect the issue?: N/A

Wyn-Price commented 6 years ago

Dont bother with ImersiveEngerneering, it seems to be all to do with me. Ill look into it tommorow

Wyn-Price commented 6 years ago

OK i think ive fixed it. Could you try this build? Im busy for the next couple of hours so i wont be able to do anything, but will be able to reply and stuff

evan1026 commented 6 years ago

No, looks like the same crash https://pastebin.com/TaX0JhHq

Would it help if I sent you the world file? I tried to reproduce the bug in another world with the same setup but it worked fine there. Maybe the save got corrupted?

Wyn-Price commented 6 years ago

It looks like a corruption. If you could send over the world file that would be useful

evan1026 commented 6 years ago

https://www.dropbox.com/s/gtvhri9430kuk6d/Realistic.bak.zip?dl=0

This is for the FTB Revelation modpack (I also added Dynmap and DynmapBlockScan but those shouldn't affect the world)

Wyn-Price commented 6 years ago

Ok thanks! I should have a new build with the fix (and some new features) out by tommorow, however because its a modpack youll have to manually replace the file

Wyn-Price commented 6 years ago

Woudl you be able to just test this build out. (Make sure to back up your world first, as ive made a change that might mess some stuff up). Could you also send the log from loading up the world if you can do it

Wyn-Price commented 6 years ago

Forgot to link .zip sorry! secretroomsmod-1.12.2-5.4.1.jar.zip

evan1026 commented 6 years ago

Alright, I'll try it out as soon as I get time

Wyn-Price commented 6 years ago

@evan1026 where you able to test anything?

evan1026 commented 6 years ago

Not yet, sorry. I work full time so I haven't had the free time yet. I'm planning to try it out either tomorrow or over the weekend

Wyn-Price commented 6 years ago

thats fine, im busy as well

evan1026 commented 6 years ago

Still crashed, new error though https://pastebin.com/FcDMjNmu

Wyn-Price commented 6 years ago

Can you try this version?

evan1026 commented 6 years ago

Yeah that actually worked. The gates aren't disguised as the right thing, but I suspect that much was already broken to begin with

Wyn-Price commented 6 years ago

Yeah the gates are corrupted for whatever reason. Placing them again should solve it

evan1026 commented 6 years ago

Just got the issue again (haven't updated to the new version yet). I'm wondering if maybe there's an issue with how the blocks are saved that's causing the corruption. Might be something to look into.

Wyn-Price commented 6 years ago

The blocks are saved with NBT tags, I dont exactly know why it wouldnt work. I add a custom log to help debug everything.

Is the world crashing or are the blocks just replaced with stone

evan1026 commented 6 years ago

I updated to the new version and loaded in the world. All the blocks were still their appropriate types but half of the gates retracted themselves and half didn't. Also, they lost their disguises and became disguised as dirt

Wyn-Price commented 6 years ago

disguised as dirt? Thats intresing. The default for all blocks when they crash is stone. Can you send over the fml-client-latest.log

evan1026 commented 6 years ago

Sorry sorry, I meant stone not dirt. I will send you all of the logs I can find since that may not have been the most recent time the server was started

evan1026 commented 6 years ago

logs.zip

Wyn-Price commented 6 years ago

Have you got the latest.log?

evan1026 commented 6 years ago

latest.log

Wyn-Price commented 6 years ago

Im not sure why the worlds breaking. Ill impliment a custom logging system for next release to help with debugging