Stationeers
คะแนนไม่เพียงพอ
Printer job counter
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
ขนาดไฟล์
โพสต์
179.872 KB
20 ต.ค. @ 5: 42am
1 หมายเหตุการเปลี่ยนแปลง ( ดู )
คำอธิบาย
The script allows the user to specify the number of items to be printed through the stack size adjustment of the attached stacker.
The code can handle multiple printers and their associated stackers.
As it is written it will detect the printers and their stackers (if the stackers have been named correctly) without having to assign any pins.
More printers can be added to the controller be adding to the list of device IDs assigned to the stack.

Note: the code has been written to work with reverse stackers, if you use a different setup with the forward stackers you will have to change the stacker hash in the code.

It works will with the Printer ingot restocker: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3590456045
5 ความเห็น
ryzzer 31 ต.ค. @ 1: 33pm 
Hi! The code works well overall, but I run into an issue when I add a 6th machine:
Autolathe, Electronics, HydraulicPipe, Tool, Rocket, Security

I’m using Stacker Reverse, and the Stackers are correctly named, but I get an error on line 69:
s stacker On r0

I’m not sure what’s causing this—any idea why it might fail with 6 machines?
Pinus Alba 25 ต.ค. @ 8: 55am 
Oh, I see now. You have to HAVE printers, that are defined in the code. For example if you have only Autolathe and Hydraulics bender, you have to comment out all other printers from the code, otherwise stack will fill with blank entries and cause errors in the program.
Maniac Killah 24 ต.ค. @ 10: 03am 
add the lines after push 0 at line 21 then it worked for me
Dividebyzero 24 ต.ค. @ 6: 58am 
me too... 🙄
Pinus Alba 23 ต.ค. @ 1: 56am 
No matter what i try, it shows error on line 42- device not found.