Hello everybody!

can you post your modified script? to see what you have there and what it have to do.
from log it seems you are near station actually, you have “hem” -home bookmark, and it try to take anomalies.
the problem without tethering is like that:
the bot doesn’t know when he is on site or just undocked. thats why he take mainstep, go on inbeltsite, and it says allays " site finished".
Now, since the bot used by you it was the first bot for Sanderling for ratting, and since it use asteroids and anomalies, is difficult to change him, because you have to take into account both: anomalies and asteroids. and is an complex script for that.

If you are interested in doing anomalies is better to use marvel script. is dedicated for anomalies .
If you want an asteroids script is better to use an modified GARBAGE-2/ **only rats + commander script, who take asteroids , not anomalies.
to do that you can simply follow this steps:
go on my git, on garbage script, on second branch and take only commander script (here)
from script intel
add on script the “random” stuffs, string folder variable and void WarpToRandomFromFolder(string Folder, string actions).
the fct take anomaly it should look like that:

Func<object> TakeAnomaly()
{
    Host.Log("               take Anomaly");

    ModuleMeasureAllTooltip();

    DroneReturnToBay();


    if (OreHoldCapacityMilli?.Used>0 )
	//if ( OreHoldFillPercent > 0)
    {Host.Log("               cargo used  "  +OreHoldCapacityMilli?.Used+ "  (mm ... " );
        Host.Log("               You won't start a new anomaly with the cargo at : " +OreHoldFillPercent+ " %  . Go to unload !");
        ClickMenuEntryOnPatternMenuRoot(Measurement?.InfoPanelCurrentSystem?.ListSurroundingsButton, UnloadBookmark, "dock");
        Host.Delay(4111);
        return MainStep;
    }
    if (OldSiteExist)
    {

       ReturnToOldSite ();
        return MainStep;
    }

   if ( (DronesInSpaceCount + DronesInBayCount  ) < DroneNumber  )
	{ Host.Log("               Drones counts :  " +(DronesInSpaceCount + DronesInBayCount ) + "");
	reasonDrones = true;

	}
    if ( rats= 0 and other conditions, fill yourself)
    WarpToRandomFromFolder(Folder, "warp");
    return MainStep;
}

I find this approach to be easier than modifying the asteroids+anomalies script ( and also this one is so old, and Im not remember all stuffs from inside, and the logic).

1 Like