Stationeers

Stationeers

AIMEE Mining Bot Automated
28 Comments
Saito 31 May @ 1:56pm 
Code definitely needs an update, this is what i am running after modifying this

alias posX r2
alias posY r3
alias posZ r4
alias robot db
alias mode r0
s robot Mode 0

Initialize:
s robot Mode 3

Roaming:
yield
l mode robot Mode
beqz mode Initialize
beq mode 6 Return
j Roaming

Return:
l posX robot PositionX
l posY robot PositionY
l posZ robot PositionZ
s robot TargetX 11
s robot TargetY 0
s robot TargetZ 2
s robot Mode 2
yield
yield
yield

Returning:
yield
l mode robot Mode
beqz mode Returned
j Returning

Returned:
s robot Mode 4

Unloading:
yield
l mode robot Mode
beqz mode Leave
j Unloading

Leave:
s robot TargetX posX
s robot TargetY posY
s robot TargetZ posZ
s robot Mode 5

Leaving:
yield
l mode robot Mode
beqz mode Initialize
j Leaving
Coretalless 24 Jul, 2023 @ 7:07pm 
Okay, so Aimee is pathing into a Wall.
Haui111 28 Jul, 2022 @ 12:14pm 
The bot jumps around on the moon when full and I can't unload it.
tkitchens99 18 Jul, 2021 @ 7:55pm 
Im having the same Line 5 Logic error? what am i doing wrong?
Cardinal 10 Apr, 2021 @ 12:09pm 
i'm new to the game and i have i script made on the computer but i don't know what to do next can some one @ me thanks
Julia 9 Apr, 2021 @ 3:19pm 
Works fine for me :)
Alex 27 Sep, 2020 @ 12:04pm 
have error in the line 5 logic type and no work!
Spirit 18 Aug, 2020 @ 3:27pm 
ic gives error on all lines with mode settings on them. Guess they changed something in the programming, can't get it to work.
真空管 16 Jul, 2020 @ 1:55pm 
I think the real issue is about the "PathToTarget mode", it never find the right path back to home and stuck in place.
I change it to MoveToTarget mode then everything is work in expected.
But aimee is still blocked by "nothing" randomly, I believe that should be another bug.
MarDeGra 9 Jul, 2020 @ 11:19am 
this code seems deprecated. he uses "RobotMode.Unload mode", in the new code it looks like "Mode 4"
jan! 10 Jun, 2020 @ 1:01am 
Same problem here with line 5
Deus Umbra 25 Apr, 2020 @ 1:12am 
I have same problem as JustQuackers
JustQuackers 21 Apr, 2020 @ 2:22pm 
Not using beta, this code gives an Incorrect Logic Type line 5 error.
Pestfloh 1 Nov, 2019 @ 9:01pm 
i havent tryed it without beta so i cant say anything in that respect.
what i noticed is when you setup a bot normaly without transmitter the bot never changes its Mode,its allways 0 so it does nothing .
it worked like a charm in the beginning with a transmitter but the "go to target mode" seems to work only when it gets back to roaming not when bots storage is full.
when he is filled up he switches to mode 4 but doesnt go home to empty itself.
i need to test it abit more and fiddle with these critters tomorrow.
TTR 1 Nov, 2019 @ 5:40pm 
I thought it was linked to the beta branch. I was having the same problem on stable. That being said when it worked for me I was on beta and in Survival. Idk, might be a longshot.
Pestfloh 1 Nov, 2019 @ 2:36pm 
im having the same problem as wacster the bot does nothing.
im on beta in creative .. no mods running..nothing works bot dosent move anywhere.
checked some vids on youtube replicated the stuff especialy from guy named bushwacker or something the like still nothing works .
i even reinstalled the game ..nope.
im now on 650h ish playtime with stationeers i would say im able to fill three vars in ic10 code(or not? ^^)

maybe somebody knows what im missing.!??!

if not .. heres a workaround .. the code from rocket2guns works perfectly so far.
just not in the bots head.put a blank ic in his head and set up a tramsmitter controll him remotly then it works.
wacster 31 Oct, 2019 @ 4:31pm 
Am playing on the beta branch.
TTR 31 Oct, 2019 @ 11:36am 
You're missing beta. Only works on beta as far as I know.
Using the GPS to set coordinates is so counter-intuitive. I would've expected the GPS to give a proper map not just X, Y and Z.
wacster 31 Oct, 2019 @ 9:34am 
Updated the GPS coordinates for the chute inlet and put the IC chip in the robot, nothing happens, what am I missing?
FarmerPalmer 23 Oct, 2019 @ 11:20pm 
Put GPS cartridge in Tablet, stand next to your chute inlet/bin, Tablet should give you X, Y, Z numbers eg. X 12, Y -3, Z 132. Then on computer load up code and edit lines 21, 22, 23. They look like this,

21 s Robot Target X (put your X number here eg. 12)
22 s Robot Target Y (put your Y number here eg. -3)
23 s Robot Target Z (put your Z number here eg. 132)

so it look like

21 s Robot Target 12
22 S Robot Target -3
23 s Robot Target 132

Save it and export to IC chip, Hope that i got it right and helps out someone :)
TTR 9 Oct, 2019 @ 11:09am 
I guess the only way right now is to look at world.xml inside your save directory... Would be nice if the configuration cartridge didn't bug out and would be nice if it could give us PositionX, PositionY and PositionZ.
TTR 8 Oct, 2019 @ 4:53pm 
How do you find the TargetX, TargetY and TargetZ?
Hate Bear 22 Sep, 2019 @ 8:28pm 
Based
Bear67 22 Sep, 2019 @ 5:08pm 
How do you find out the TargetX,Y,Z?
Aleax 19 Sep, 2019 @ 10:18am 
I tried this on Europa and it worked mostly. Even though I updated the coords in the code to the location of the input chute and started the bot next to the chute, it always failed to return to empty its contents.

On Vulcan, it's a no go. Spawned the robot and it immediately drove into a fissure of lava and dissappeared.
TimeToRetire 17 Sep, 2019 @ 2:02pm 
Think lost my robot. Saved and left. When cam back. Bot was no where to be found..Even waited to see if it would come unload and nothing :(
gaming time 16 Sep, 2019 @ 5:42pm 
The robot seems to jump straight to the unloading part without pathing to the chute, I can't see what's wrong, but when I drag it back to the chute, it unloads and goes on it's way.
Bushwackah 16 Sep, 2019 @ 10:55am 
Thanks for the sample code!