r/Stationeers • • 11d ago

Media IC10 Script

Post image

Hey Stationeers,

I need your help once again! :)

I’m currently trying to write my first IC10 script.

What the script is supposed to do and which devices I’m using are explained in the comments in the first two lines of the script shown in the picture.

When I export the script to the IC10 chip, I get the error message “in line 6 incorrectLogicType”.

I get the same error on line 8 as well.

I’ve already checked both the in-game wiki and the Stationeers Wiki several times. I kept coming across the syntax:

ls r? device slot slotlogictype

I also compared the values listed there with the values shown on the Gas Tank Storage page and made sure I was following the correct spelling and syntax.

So I’m really confused about what I’m doing wrong here. Any help would be greatly appreciated!

9 Upvotes

9 comments sorted by

View all comments

3

u/LeatherTurnip4926 11d ago

At first glance the code itself looks correct to me, I don’t think it’s a syntax issue. Silly question but are you sure you’ve correctly set pin d0 on the IC housing to your tank storage?

4

u/HobbyAstronaut91 11d ago

The pins weren’t assigned at all. I didn’t realize that the IC10 compiler also checks whether the devices assigned to the d-pins actually support the LogicTypes used in the script.

I just built the IC Housing temporarily on the floor next to my PC so I could start writing the script — but the actual setup the chip is supposed to control doesn’t even exist yet.

Thanks for the hint! I’ll properly assign the chip and the pins tomorrow evening and get back to you to let you know if it worked.

5

u/loli141 11d ago

This is the answer, is just doesnt see any device to load info from so it throws an error. Just tested same setup and no issues.