Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Autonauts

Make and teach robots to automate the world! · By Denki

Bots get stuck with the storage full statement

A topic by speedeytech created Dec 09, 2018 Views: 1,636 Replies: 5
Viewing posts 1 to 5

Hi, I am not sure if it is a bug  but I thought I would say. So if I use the statement "if ? storage is full" it kinda does not work. So it stops if it is full but does not update to tell the bot to go again. So I think the bot is not begin told to go. I am pretty sure this is happening with other storage statements.

Developer

These should be working properly. Can you post your full script here please? 

Below is one example of how I have set up the "if ? storage is full" statement (as I have suggested before).

I have several Bots set up such as those shown below for my "Fishing" group.  I have one Bot named "GoFish" (wearing a Party Hat) that waits "until Salmon Storage not full" and then will "Shout GoFish".
I have one Bot named "StopFish" (wearing a Guy Fawkes Hat) that waits "until Salmon Storage full" and then will "Shout StopFish".
I have seven Bots named such as "Fish1" that wait "until hear GoFish" and then will "Repeat until hear StopFish" the two steps "Find nearest Deep Sea Water" and "Use held item" (which is the fishing rod).
I have three Bots named such as "Fish>Stor1" that move the Salmon to the Salmon Storage.
I have two Bots (wearing Traffic Cone Hats) that rewind the other Bots.

(1 edit)

I don't see how it isn't working. It may be that your storage is "full" according to the game [90% or more {I think, don't quote me on that} and it'll call "Storage full."]


If you want the storage to be 100% full then you have a better chance at having it wait a bit after the "Storage Full" statement is called.

EDIT: Fixed my bad typography.

Sorry for taking so long to respond. It does the job until stone is full and then I have to go manually reset it if stone is empty

There's your problem. You don't have it looping that loop. 


Add a WAIT command at the end then hit the LOOP button. That'll make it work forever. [It won't actually do anything unless the Stone Storage is empty.]