Autonauts

Autonauts

View Stats:
Exbeer Oct 23, 2019 @ 4:01am
Help,need a fish cutter templet..
pick up fish,put on ground, get crude blade ,cut fish, put blade in second hand,get new fish repeate
< >
Showing 1-15 of 17 comments
Johnyfirst Oct 23, 2019 @ 4:09am 
Just do what you described while recording it with a bot ;)
Exbeer Oct 23, 2019 @ 4:18am 
Originally posted by Johnyfirst:
Just do what you described while recording it with a bot ;)

hehe i know, and have have tried to make it happend, something fails between the picknig up new fish , i cant seem to get the order correct, this is my first long set of script, but i fail to get it correct
Johnyfirst Oct 23, 2019 @ 4:42am 
If you post a screenshot of your code it'll be easier to figure out what's going on
Exbeer Oct 23, 2019 @ 4:46am 
Originally posted by Johnyfirst:
If you post a screenshot of your code it'll be easier to figure out what's going on

i can fix that hold on
Johnyfirst Oct 23, 2019 @ 4:56am 
Okay so couple of things:

"until hands are empty" should be "until hands are full" since you want the bot to get a new blade until he's got one. (Since you have until empty it will just skip the line).

Then you have a forever loop with no exit on fail, it will stay in that part forever. You probably just want to remove the loop. You can loop it "until hands are full" but then you should check for the tool breaking each time, which could get little to complex

Rest should work I think :)
VeraelHasta Oct 23, 2019 @ 4:57am 
The inner forever loop seems unnecessery.. You are moving fish forever and never cutting it.
Exbeer Oct 23, 2019 @ 5:02am 
Originally posted by Johnyfirst:
Okay so couple of things:

"until hands are empty" should be "until hands are full" since you want the bot to get a new blade until he's got one. (Since you have until empty it will just skip the line).

Then you have a forever loop with no exit on fail, it will stay in that part forever. You probably just want to remove the loop. You can loop it "until hands are full" but then you should check for the tool breaking each time, which could get little to complex

Rest should work I think :)

hmm but then i jsut kept getting a new blade , off making thees complex once. i put it to just 1 time but it never got the fish out of storage now
Johnyfirst Oct 23, 2019 @ 5:06am 
Originally posted by Exbeer:
hmm but then i jsut kept getting a new blade

Make sure you "retrieve" before the "until hands are full" check.
If the tool broke, retrieve will do nothing and in the next loop, the bot will start by getting a tool since hands are not full.

(You can also retrieve at the end of your loop ofc.)
Last edited by Johnyfirst; Oct 23, 2019 @ 5:06am
archmag Oct 23, 2019 @ 5:42am 
At first I tried to use second bot to bring fish, this resulted in a small pile of it because I was not able to find a good condition for bot to stop taking fish out:
https://steamcommunity.com/sharedfiles/filedetails/?id=1892732126

Then I just moved cutter bot to fisherbots and just cut fish that they catch and then another bot stores it. No need to store fish if you later have to get it out anyway as there are no other uses for uncut fish.
Last edited by archmag; Oct 23, 2019 @ 5:43am
Johnyfirst Oct 23, 2019 @ 5:49am 
Originally posted by archmag:
At first I tried to use second bot to bring fish, this resulted in a small pile of it because I was not able to find a good condition for bot to stop taking fish out:

Have you tried:
Forever(Exit on fail)
Find nearest Fish in that square
Wait(1sec)

This should check if there are fish every sec, if no fish are found, it fails and moves on to the rest of the code -> Getting new fish into the square.
archmag Oct 23, 2019 @ 6:05am 
Originally posted by Johnyfirst:
Originally posted by archmag:
At first I tried to use second bot to bring fish, this resulted in a small pile of it because I was not able to find a good condition for bot to stop taking fish out:

Have you tried:
Forever(Exit on fail)
Find nearest Fish in that square
Wait(1sec)

This should check if there are fish every sec, if no fish are found, it fails and moves on to the rest of the code -> Getting new fish into the square.
Yeah, good idea, that could work. Maybe will use it in case I need this later. But for fish I think the decision to cut it where you get it is better.
Exbeer Oct 23, 2019 @ 6:15am 
ye , i got some more help to try and ake it work, but , i mean if one can get a good workaround ill just use 2 bots, cut then store cut fish , worth a try dho :) thank you all :)
crujach Oct 24, 2019 @ 8:47am 
I made a program for this with a MK1 Bot, will post it later.
uTired2 Oct 24, 2019 @ 9:01am 
Originally posted by archmag:
At first I tried to use second bot to bring fish, this resulted in a small pile of it because I was not able to find a good condition for bot to stop taking fish out:
https://steamcommunity.com/sharedfiles/filedetails/?id=1892732126

Then I just moved cutter bot to fisherbots and just cut fish that they catch and then another bot stores it. No need to store fish if you later have to get it out anyway as there are no other uses for uncut fish.

This is pretty much what I did, look for fish on the ground in the fishing area, cut them, repeat until hands are empty then get another blade.

Once you unlock the kitchen table you can cut the fish there to make the Sashimi, then you can have multiple bots pulling from fish crates which seems to be more efficient.
< >
Showing 1-15 of 17 comments
Per page: 1530 50

Date Posted: Oct 23, 2019 @ 4:01am
Posts: 17