Scrap Mechanic

Scrap Mechanic

Crashlander: Square One
Hantick Dec 26, 2023 @ 6:34am
Asembler problems
Lately, after finishing my crafting loop, when i try to craft something in the assembler, when it gets to 100% done, it just stops doing anything and i cant acces it unless i restart the world
< >
Showing 1-15 of 21 comments
JustRyan Dec 27, 2023 @ 1:13pm 
having the same issue on my world recently :(
Hantick Dec 27, 2023 @ 3:04pm 
Try redoing the crast loop, it worked in my case
electrodoc68 Dec 28, 2023 @ 8:11am 
Maybe the crafted item is ready to be collected in the output of the craft bot.?
If so this would indicate a disconnected vacuum tube on the route between the output nozzle and the interactive container.

I'm only guessing as vacuum tubes can be swines to line up sometimes.
If you can't get to the output nozzle to check, make sure that the nozzle connection lights are lit indicating a complete connection. :)
Morgindale Dec 28, 2023 @ 8:59am 
For me the whole Automation network is kind of bugged everytime i get out of render range. I think this is the same problem the OP is experiencing.

For example, i have a gas station in the desert for automatic refueling gas and batteries, this is what i do:

- Oil Intake pumps Oil into Big Chest
- Chemistry Station is connected to Big Chest with a loop task for Gasoline
- Chemistry Station pushes Gas into another big Chest (Output Side)
- To this Big Chest there is a Fuel-Station connected on one end and a Gas Canister on the other end
- The Gas Canister feeds a Level 5 Gas Engine
- The Gas Engine turns a Bearing which is connected to an Alternator
- To the Alternator there's a Battery-Station connected to it

Freshly set up it works absolutely fine, Oil is pumped, Gas is crafted, the Motor runs, the Alternator produces batteries and i can "refuel" my truck. But after leaving and coming back i have several issues:
- Gas starts appearing in the Oil-Chest (they're not connected)
- Oil starts getting pumped into the Gas-Chest (again, not connected, only through the chemistry station, which shouldn't "pass-through")
- The Chemistry Stations Loop Task breaks and doesn't build anything anymore
- The Gas-Chest doesn't put Gas into the Fuel-Station and/or the Fuel-Canister anymore

Hopefully there will be an update for this, fixing this issue...
electrodoc68 Dec 28, 2023 @ 9:20am 
Originally posted by Morgindale:
For me the whole Automation network is kind of bugged everytime i get out of render range. I think this is the same problem the OP is experiencing.

For example, i have a gas station in the desert for automatic refueling gas and batteries, this is what i do:

- Oil Intake pumps Oil into Big Chest
- Chemistry Station is connected to Big Chest with a loop task for Gasoline
- Chemistry Station pushes Gas into another big Chest (Output Side)
- To this Big Chest there is a Fuel-Station connected on one end and a Gas Canister on the other end
- The Gas Canister feeds a Level 5 Gas Engine
- The Gas Engine turns a Bearing which is connected to an Alternator
- To the Alternator there's a Battery-Station connected to it

Freshly set up it works absolutely fine, Oil is pumped, Gas is crafted, the Motor runs, the Alternator produces batteries and i can "refuel" my truck. But after leaving and coming back i have several issues:
- Gas starts appearing in the Oil-Chest (they're not connected)
- Oil starts getting pumped into the Gas-Chest (again, not connected, only through the chemistry station, which shouldn't "pass-through")
- The Chemistry Stations Loop Task breaks and doesn't build anything anymore
- The Gas-Chest doesn't put Gas into the Fuel-Station and/or the Fuel-Canister anymore

Hopefully there will be an update for this, fixing this issue...


I do know the main SM Engine optimisation involves the player needing to be in the area for automation to take place except crop growing areas.

As to why it's breaking connections is odd and yes sounds likely container filtering is not refreshing on player arrival for some reason.

Hopefully patching will fix it.
Morgindale Dec 28, 2023 @ 9:29am 
Yeah, i know and get that. That's why i didn't mention, that the Alternator/Motor isn't working/running when out of range - which is fine, since a lvl5 Engine creates Batteries relatively fast.

But breaking the connections is something else. I didn't have such problems in vanilla and also didn't have them when i used the fant mod.
The Red Builder  [developer] Dec 29, 2023 @ 3:47am 
Looking at these responses, it seems like even the issue wasnt just absent loop crafting, but sbsent crafting in general, i guess we will have to remove it completely and only have the crafters work when loaded
electrodoc68 Dec 29, 2023 @ 6:05am 
Originally posted by The Red Builder:
Looking at these responses, it seems like even the issue wasnt just absent loop crafting, but sbsent crafting in general, i guess we will have to remove it completely and only have the crafters work when loaded

That would be a shame.
Could you maybe look at the coding in Dr. Pixels raft mech mod code see if it gives any clues to the problem.? Or ask her.

I believe the filter pipes in the fant mod might give some ideas too..
Apparently these still function even when the player is off the tile they must also have selectable
material UUIDs for the different filters.
To a self taught like me, this would be a massive advantage in reverse engineering to trace the "Continue even if player goes off grid" piece of code.

Just throwing some ideas out there and TBH I don't know what rules are within the modding community are at regarding other mod code sharing.
But I do know the "Wings" mod has a copyright statement within the math code.

All I have managed to learn is a snippet of .LUA editing to a level of making totebots drop component kits and adding
Quantity = ### to the container scripts to increases item holding slot sizes
All from being self taught or by following YouTube tutorials.

I also picked up that variables can be overlooked with simple spelling mistakes or the wrong capiTaL letters being missed and these gave many a problem to Dr. Pixel herself.


I reckon something similar may of happened especially as there is an entirely new component part within the vacuum in / out nozzles wonderfully custom added by the mod team.
With that I'd hazard a guess at re-written or copy pasted code to accompany it.?

Anyway, hoping this might help out, if so it was entirely by shear fluke and merely where I'd begin a debug but I'd still only be guessing and after changing a setting I thought it might be I'd reload my game..

And not be in the slightest bit surprised to find my character with a carrot shoved up each nostril wearing a knotted handkerchief on his head having changed his own name to
Remesies Nibblick The Third KerPlunk KerPlunk Whoops Wheres My Thribble whilst constantly running around in circles and shouting "I am a Fish"..

I also watch far to much Black Adder & Red Dwarf (UK).
So Yeah, official Nerd with a GSOH too.

:)
The Red Builder  [developer] Dec 29, 2023 @ 1:24pm 
Fix is, well, removing absent crafting, it created CRAP TON of issues and basically nobody took the advantage of it.
I also cant look at 00fants code because DMCA strikes from him are a thing
Morgindale Dec 30, 2023 @ 3:19am 
Had another bug right now:

I have all automated tables including the assembler. At every output port of these theres a big chest which is connected to the pipe network. Strangely when crafting, every automated table doesn't output to the chest right connected to it, but pushes the built stuff to one specific other chest. It's always the same chest, but i don't know what is special about, maybe it was the first one i connected.

Problem is, this chest was full now and after trying to build something in the assembler, when it finished, the whole assembler froze - like it's animation and the queue stays at 00:00 and i had to place it again to become functioning again.

UPDATE:
Uhm... now my assembler is completely broken :D No matter what i build, no matter if i arrange the chests around or even remove the "magic" chest, it always stays at 00:00 while crafting... I can only use it anymore without using the output port :(
btw. save/reloading doesnt work, it just restarts the build timer of the current item, but after building it stays at 00:00 again.

UPDATE #2:
It's not the assembler, i built another one and replaced it - no change. So how to fix it? as i said, i also removed the "magic" chest already...

UPDATE #3:
I have two Refineries connected to the network. Disconnecting them seemingly fixes the issue.

UPDATE #4 (propably the last one):
I think i found the issue: One refinery is working fine, but having two in the network is breaking the assembler. I disconnected one for right now till this is fixed. Maybe this issue is related to another problem: When a refinery is connected to a crafting bench network, the refinery inventory is treated as a chest and benches are pushing objects into it, rendering it useless. I fixed that with an extractor pipe after the refinery, but maybe this issue is the cause of the assembler breaking.
Last edited by Morgindale; Dec 30, 2023 @ 4:18am
Creeper Ma71 Dec 30, 2023 @ 8:52am 
nah the one at the beginnign is brocken
Creeper Ma71 Dec 30, 2023 @ 8:52am 
sos for spelling
Morgindale Dec 30, 2023 @ 8:59am 
Oh ok, then maybe this is a different problem then, but sounds exatcly like the assembler problem which i encountered even without todays update.
Saldrom Dec 30, 2023 @ 10:50am 
none of my crafting benches are working and i dont have any automation at all when something is done it just stops at 100% and i cant collect and i cant pick up the bench because its busy i ended up deleting my world i figured it was bugged then i starteed a new one and the bench in the crash pod wouldnt build the scrap workbench
electrodoc68 Dec 30, 2023 @ 11:55am 
I've had steam running in the background all day and had a Scrap Mechanic workshop update drop around 2 hours ago.

Just double check you have latest updates as it looks like the most recently added files in my workshop directory is to do with the crafting benches.
< >
Showing 1-15 of 21 comments
Per page: 1530 50