PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

43M Downloads

Server crashes during long drone pathfinding duration

pyure opened this issue ยท 7 comments

commented

Minecraft Version

1.12.2

Forge Version

forge-14.23.5.2838

Mod Version

pneumaticcraft-repressurized-1.12.2-0.11.3-366.jar

Describe your problem, including steps to reproduce it

Dedicated server crashes with a stacktrace complaining about Pneumaticcraft.

Any other comments?

Not certain Pneumaticraft is actually at fault here. We're using a modpack where any number of mod collisions could be the real culprit.

We're not on very latest version, but changelog doesn't mention any fixes to drone pathing.

commented

Hey there, I'm from same server (it was my drone)
https://pastebin.com/QkkKr27F

commented

My apologies desht. I blame my 5yo for distracting me. And my brain.

commented

I would need to see a stacktrace...

commented

No worries. Looks like the drone pathfinder is getting into an infinite loop somehow.

Update: actually, no. As far as I can tell, this is happening in vanilla code. NodeProcessorDrone is just a very thin extension to FlyingNodeProcessor which disallows diagonal movement (was causing drones to get stuck).

I'll keep this open for now in case I get some inspiration, but it's unlikely I'll be able to track this down...

commented

Just as some background, I made a harvester drone with a simple program to harvest all pams harvestcraft plants in a 16x16 area. No stops, just constant flying around and harvesting as the plants came up. It was only running about 10 minutes at the time of the crash.

commented

It's pretty basic :)
https://pastebin.com/DxXLatJL

commented

Yeah, that's weird. Any chance you could upload the program to pastebin? (there's a button on the Programmer GUI to do that). I can have a look and see if I can reproduce it.