ZeroNoRyouki / ExtremeReactors2

19 stars 17 forks source link

Server Crash (Loop) #17

Closed KontraM8 closed 3 years ago

KontraM8 commented 3 years ago

Guess Iam back again.

Its the same Problem as I had before one time in another Version. After putting a Mekanism Pressurized Tube (set to pull) on the Mekanism Passive Fluid Port, the server crashed. Now, by the fact that they are attached, I cant start the Server again, because its force loaded.

Best regards

ZeroNoRyouki commented 3 years ago

Could you post the crashlog somewhere?

KontraM8 commented 3 years ago

sure thing: https://pastebin.com/xRNL2dc4

ZeroNoRyouki commented 3 years ago

Uhm it crash while trying to read Mekanism rotary recipes. Have you updated Mekanism or Forge recently?

KontraM8 commented 3 years ago

I have updated Forge from 1.6 to 1.7, havent had any Problems... only with that?

ZeroNoRyouki commented 3 years ago

Looks like they removed or renamed a registry method. I'll look into it

KontraM8 commented 3 years ago

If I would update Mekanism, It would require Forge 1,11 which isnt avaible on CurseForge yet.

ZeroNoRyouki commented 3 years ago

I just tested Mekanism-1.16.4-10.0.17.444 and ER 2.0.13 in a clean instance and connected a pressure pipe from a Mek Port to a Chemical Tank. And it did not crash. So there must be something in your pack that's messing with mc registries 2020-12-11_19 34 27

ZeroNoRyouki commented 3 years ago

are you using the new curse app?

KontraM8 commented 3 years ago

I was using the ultimate pipe into a mekanism turbine (5x5x9).. dont know if that makes a Difference, yes Iam using the new Forge Launcher

ZeroNoRyouki commented 3 years ago

I've replaced the pipe with an ultimate one but it's still ok. could you test your pack / world under MultiMC instead of the curse app?

KontraM8 commented 3 years ago

The World that Iam using is actually on my Server (using CurseForge [only for Mods])

ZeroNoRyouki commented 3 years ago

Is your server a, let's say, normal forge server install, or did you use any other software to set it up?

KontraM8 commented 3 years ago

I downloaded forge from the official site and then procceeded to install it as "server" and afterwards, put it on my server via FileZilla [FTP Access]

KontraM8 commented 3 years ago

Sooo, I recreated my own Problem again, same Mods etc and it doesnt crash either. So Iam just asking myself, wth happened on my Server to Crash?

ZeroNoRyouki commented 3 years ago

There is probably some mods doing something strange on MC classes.

KontraM8 commented 3 years ago

But how can it be, that we dont run into a Problem, when recreating the Problem, but when I start the Server, once it reaches that Starting Point, it just crashes instantly

ZeroNoRyouki commented 3 years ago

Who knows what coremods do.. I've checked with the Forge support team and that method (func_212607_c) exist in Forge 1.16.4-35.1.7 so, basically, the crash don't make any sense.

When you restart the server and get another crash, is it the same crash every time?

KontraM8 commented 3 years ago

https://pastebin.com/Q1utn6u9 , it looks the same to me.

This is my Server Console on the other Hand:

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265] {} 11.12 20:10:53 [Server] INFO Caused by: java.lang.NoSuchMethodError: net.minecraft.util.registry.Registry.func_212607_c(Lnet/minecraft/util/ResourceLocation;)Z 11.12 20:10:53 [Server] INFO at it.zerono.mods.extremereactors.gamecontent.multiblock.common.part.fluidport.FluidPortHandlerMekanism.lambda$buildMappings$5(FluidPortHandlerMekanism.java:256) ~[bigreactors:1.16.4-2.0.13] {re:classloading} 11.12 20:10:53 [Server] INFO at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_265] {} 11.12 20:10:53 [Server] INFO at it.zerono.mods.extremereactors.gamecontent.multiblock.common.part.fluidport.FluidPortHandlerMekanism.buildMappings(FluidPortHandlerMekanism.java:252) ~[bigreactors:1.16.4-2.0.13] {re:classloading} 11.12 20:10:53 [Server] INFO at it.zerono.mods.extremereactors.gamecontent.multiblock.common.part.fluidport.FluidPortHandlerMekanism.getFluidMapping(FluidPortHandlerMekanism.java:231) ~[bigreactors:1.16.4-2.0.13] {re:classloading} 11.12 20:10:53 [Server] INFO at it.zerono.mods.extremereactors.gamecontent.multiblock.common.part.fluidport.FluidPortHandlerMekanism.extractChemical(FluidPortHandlerMekanism.java:189) ~[bigreactors:1.16.4-2.0.13] {re:classloading} 11.12 20:10:53 [Server] INFO at it.zerono.mods.extremereactors.gamecontent.multiblock.common.part.fluidport.FluidPortHandlerMekanism.extractChemical(FluidPortHandlerMekanism.java:55) ~[bigreactors:1.16.4-2.0.13] {re:classloading} 11.12 20:10:53 [Server] INFO at mekanism.api.chemical.ChemicalUtils.extract(ChemicalUtils.java:120) ~[mekanism:10.0.17] {re:classloading} 11.12 20:10:53 [Server] INFO at mekanism.api.chemical.IChemicalHandler.extractChemical(IChemicalHandler.java:144) ~[mekanism:10.0.17] {re:classloading} 11.12 20:10:53 [Server] INFO at mekanism.common.content.network.transmitter.BoxedPressurizedTube.pullFromAcceptor(BoxedPressurizedTube.java:138) ~[mekanism:10.0.17] {re:classloading} 11.12 20:10:53 [Server] INFO at mekanism.common.content.network.transmitter.BoxedPressurizedTube.pullFromAcceptor(BoxedPressurizedTube.java:119) ~[mekanism:10.0.17] {re:classloading} 11.12 20:10:53 [Server] INFO at mekanism.common.content.network.transmitter.BoxedPressurizedTube.pullFromAcceptors(BoxedPressurizedTube.java:104) ~[mekanism:10.0.17] {re:classloading} 11.12 20:10:53 [Server] INFO at mekanism.common.tile.transmitter.TileEntityPressurizedTube.func_73660_a(TileEntityPressurizedTube.java:61) ~[mekanism:10.0.17] {re:classloading} 11.12 20:10:53 [Server] INFO at net.minecraft.world.World.func_217391_K(World.java:491) ~[?:?] {re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,pl:runtimedistcleaner:A} 11.12 20:10:53 [Server] INFO at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:371) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:immersiveengineering:IE block update callback,pl:mixin:APP:quark.mixins.json:ServerWorldMixin,pl:mixin:A,pl:runtimedistcleaner:A} 11.12 20:10:53 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:850) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:jaopca.mixins.json:MinecraftServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}

ZeroNoRyouki commented 3 years ago

Could you post the whole server log from startup? Maybe there is a clue in there about who is messing up with what

KontraM8 commented 3 years ago

This should be the Whole Server log: https://pastebin.com/FrCkt1V6

ZeroNoRyouki commented 3 years ago

Test the server again without randompatches please

KontraM8 commented 3 years ago

doing it right now

KontraM8 commented 3 years ago

It crashed again. from the server console page: https://pastebin.com/kh1jiGPL and the crash log: https://pastebin.com/ScR0KC1T

ZeroNoRyouki commented 3 years ago

You may have to test mod by mod then, removing one and check if it crashes again. Fun, I known....

ZeroNoRyouki commented 3 years ago

Make a backup of your world obviously

KontraM8 commented 3 years ago

Cant I, in theory, remove ER2, start the Server without it, and then reinstall it?

ZeroNoRyouki commented 3 years ago

Yes, you could get the server up that way. Meanwhile I'm working on a workaround

KontraM8 commented 3 years ago

Okey, I will remove ER2 and reinstall it. I will keep you up to date.

ZeroNoRyouki commented 3 years ago

I've pushed out ER 2.0.14 on curse with a possibile workaround for your problems. It should be available as soon as curse approve it. Give it a go, please

KontraM8 commented 3 years ago

So, I've tried uninstalling ER2, worked fine, just missing blocks (obv) and it worked fine. Now I reinstalled it, it was able to launch etc. . As soon as I set the Pressure Pipe to Pull again, the Server crashed once again.

I will try it out, as soon as I can download it via CurseForge.

ZeroNoRyouki commented 3 years ago

Did you test 2.0.14 in the end?

KontraM8 commented 3 years ago

Iam testing it right now, as it wasnt avaible before I went to sleep.

KontraM8 commented 3 years ago

It is working now. The Turbine is getting the Steam from the Reactor without Problems and the Server doesnt crash anymore. I dont know what you changed but thanks for fixing it! :)

KontraM8 commented 3 years ago

But one Thing which Iam either not seeing or just doesnt exist: A config line, to consider how much Steam the Reactor produces, cause I ramped up the Number from the Power Production but havent seen any considering the Steam output.

ZeroNoRyouki commented 3 years ago

Good, glad it worked out. I'm closing this.

Do you really feel the need of a "steam production multiplier"?

KontraM8 commented 3 years ago

Its just a personal thing considering that the Mekanism Turbine consumes a huge amount of Steam to produce Rf/t. I dont want to annoy you..

ZeroNoRyouki commented 3 years ago

Don't worry. I just want to know your perspective

KontraM8 commented 3 years ago

I'd love to see it, cause I hate building like a 40x40 reactor just so it barely makes enough Steam for a Turbine ( I over exaggerated this on Purpose), but you get my Point. You could also maybe do it so the Power Multiplicator = Steam multiplicator, basically one Option for both?

ZeroNoRyouki commented 3 years ago

That could be a possibile solution, but then maybe having better control with two different option will suit more people

KontraM8 commented 3 years ago

Yeah, thats true. Forcing People isnt a good Idea, gotta give them the choice. I'd say: basically adding a Steam Multiplicator Option then..