07-12-2019, 02:52 PM
This is the machine that caused the server to crash today. It was absolutely my fault, but not my intention. What i was trying to do was make a looping timer component, and this was the simplest way i knew how. I now know that you can use a controll unit for these sorts of things, however, newbies might not understand how it works, and try to find alternatives, witch might lead them to this lag machine. Why this machine in particular? To answer that, we need to look at simpler (and less laggy) versions of this machine and why they dont work.
1. Delay/Relay loop
Doesnt work since components cant create a loop
2. Graviton pressure plate loop
Doesnt work in practice, possibly caused by some sort of cooldown
3. Disposals loop with signal pipe, with a single thing going throught it
The signal pipes activates once, then remains dormant for some reason
This leaves only this machine able to fulfill the job.
This is assuming that the player doesnt know about the abilities of the control unit, However, a player searching for some sort of a timer loop component isnt going to know that the control unit can do that.
Solutions:
1. Making a new component named "Timer" witch would send a signal every X seconds, witch could be changed.
2. Allowing relays and delays to create a loop
3. Make the signal pipe send a signal anytime something passes through it, instead of once per item
Either one of these would be good to prevent people from accidentally creating the lag machine.
But most importantly, make the thermal printer require resources to print. Give every printer about 20 prints, until it needs to be refilled by some sort of paper pack, witch could be ordered through QM.
This is the most important thing to fix, since thermal printers are currently very easy to exploit.