Dubwise56 / Rimatomics

Nuclear power | Energy weapons | Nuclear weapons
41 stars 15 forks source link

"Cannot haul fuel rods: no empty, accessible spot configured to store it" #19

Open d01 opened 3 years ago

d01 commented 3 years ago

It seems like fuel rod hauling to plutonium processors has a bug somehow.

I have processable fuel rods, and if I make a storage zone for them, pawns will always haul them there, but I sometimes can't get them to load the rods into a plutonium processor no matter what I do. For a long time I've seen this problem sporadically, but it always went away on its own in-game after hours or days.

I happen to have a save right now where it's occurring at the moment. I've checked, double-checked, and triple-checked the storage settings - they are correct, the plutonium processor should load the rods - and indeed, it had loaded other rods immediately before these.

I tried deleting and removing storage zones, forbidding and unforbidding the rods, building an extra plutonium processor, and loading the rods back into the reactor and removing them again. Nothing seems to have any effect. These rods simply won't go into that processor no matter what I do. I always see the tooltip: "Cannot haul fuel rods: no empty, accessible spot configured to store it"

I checked in the debug log, but I don't see anything that appears to be relevant. I'm using Rimworld 1.2.2753 rev715 and Rimatomics 1.7.2168.

Google searches appear to reveal other people having a similar problem, over a year ago, and that's consistent with my own experience (I think this bug is longstanding and kinda subtle):

https://www.reddit.com/r/RimWorld/comments/c2ce23/rimatomics_how_do_you_load_can_process_rods_into/

d01 commented 3 years ago

Possibly related - the plutonium processor also is out of chemfuel, and I can't get anyone to refuel it.

d01 commented 3 years ago

Another observation. The pawn I had assigned to Nuclear work would not load the plutonium processor, and when they were selected, a right-click menu wouldn't even appear on it. But when other pawns were selected, the right-click menu on the plutonium processor began working. I was able to load it by assigning another pawn to Nuclear work.

Whatever is wrong, goes wrong with an individual pawn. They might load the processor a few times, and then enter a state where it becomes impossible to interact with it.

Dubwise56 commented 3 years ago

hmm, i haven't ever seen this, none of my usual testers have had the problem either, without knowing exactly how to reproduce the problem i can't really do much, the code is pretty simple the work giver just looks for a processor that has space and isn't due to be unloaded, then the pawn scans for fuel on the map just like any other normal scanner. Its mostly based on fermenters so its mostly vanilla code too

d01 commented 3 years ago

OK, I recreated the failure condition (unfortunately for me it's pretty easy, haha) and have it in a save file. Of course, it's a game with lots of other mods. If you like, I can share the save?

Dubwise56 commented 3 years ago

hmm you can try send it and i'll load my analyzer with mod removal fixes and if it loads and works we'll know its a mod messing with it

d01 commented 3 years ago

Right on. I zipped and attached the save here. There are 4 colonies, including one in space (with Save Our Ship 2). In this save, the issue is happening on the colony in space, with the pawns tagged there for nuclear work.

For Upload.zip

I don't want to give the impression this is a problem that's related to SOS, or to having so many pawns or colonies; I've had it happen on all colonies, and with far fewer mods, and with far fewer pawns. It just happens right now that I'm reproducing it in that particular one.

Dubwise56 commented 3 years ago

cant get it to load, do you have one without sos2, that mod is an utter quagmire

d01 commented 3 years ago

I can see if I can reproduce it in a vanilla game. I guess the other option would be, for a software developer who hasn't messed with Rimworld yet, is there an easy way to describe a couple of obvious things to look at/look for in whatever developer/debug mode exists?

Dubwise56 commented 3 years ago

not really no, its a very simple buildings based on beer brewing with a couple of tweaks and i have never had any problems with it in testing since it came out in 2017 so i couldn't even guess what the problem is.

Just to be clear right clicking the fuel wont show options to load the fuel you only right click the processor, if there's no correct fuel it will just say "cannot load plutonium processor: no fuel assembly" and the fuel just has to say "can be processed" in the inspect tab, which means its at less than 50% life, changing the filter on the processor works perfectly fine for me, the only time it says there's no fuel to load when i do have processable fuel to load is if another pawn has reserved that fuel to haul it somewhere else

yowshi commented 3 years ago

slight recommendation, change no fuel assembly to no processable fuel rods available or something? I think the latter is clearer then the former but that could just be me.