MARVEL script, ratting at a new level

im using in a fort, i have tethering. and repair also

it should wait until it detect your tethering.
also you have drones into your salvage ship? if you do not have, and cannot put some inside, ( whatever drones, is about having the window, then i can five you a code to replace a variable

Not too good pic :frowning:

yeah it is like I tell you.
put this line at 459(is in maintep right after if (ReadyForManeuver)

{

Host.Log(" ratting " +activeshipnameRatting+  " salvager ship " +activeshipnameSalvage+ " tethering : " +Tethering );

and copy paste the log here
also tell me if you have a drone windows on screen

13-19-32 Bot operation started in session da8506b210c81a70.
13-19-32 status transition from None to Running.
13-19-35 25 Gathering and processing some info to be used later
13-19-37 30 -
13-19-37 82 Drones name : Caldari Navy Wasp
13-19-37 176 > eveRealServerDT : 13/05/2019 10:59:00 .
13-19-37 176 > eveSafeDT : 13/05/2019 10:49 .
13-19-37 2059 Checking your wallet …
13-19-42 176 120582552
13-19-42 2059 Checking your wallet …
13-19-48 177 > β€” Started in - script: MARBEL-1v3 ; Logout in: 23:10:48 ; Sites 0 ; Rats : 0 ; killed 0 ; Local Count / Visibles : 5 / 21 ; β˜ΎβŠ™β˜½ Shield: 100% ; Armor: 100%
$$$ At begining : 120 582 552 $$$ Current wallet : 120 582 552
βŠ™ ISK in this session : 0 ; βŠ™ MAx Time for hostiles : 15 min.
βŠ™ OldSiteExist : False ; βŠ™ Use Drones for Salvage : False ; βŠ™ Site Finished : False
>> Hostiles: 0 ignored: 0 Drones: (All/heavy): ( 0 ) space: ; Targets: ; Cargo: 0% ; Salvagers (inactive): 0(0 ; Wrecks: 0
<<<<<β˜ΎβŠ™β˜½>> Retreat Msg :
<<β˜ΎβŠ™β˜½>> Last or Current Msg:

                          <<β˜ΎβŠ™β˜½>>>>>>>> My Ship EWAR  II :    tethering
                         <<β˜ΎβŠ™β˜½>>          Ship Indication:  
                         <<β˜ΎβŠ™β˜½>>          NextAct:  <<β˜ΎβŠ™β˜½>>  MainStep

13-19-49 2059 # Checking for bookmarks
13-19-50 1429 OldSiteExist : True
13-19-53 2059 R2D2 detected a new module: Salvager I
13-19-56 2059 R2D2 detected a new module: Salvager I
13-19-59 2059 R2D2 detected a new module: Salvager I
13-20-01 2059 R2D2 detected a new module: Range within 5,000 m
13-20-01 2059 R2D2 updated counted modules from 4 to : 0
13-20-02 177 > - Started in - script: MARBEL-1v3 ; Logout in: 23:10:34 ; Sites 0 ; Rats : 0 ; killed 0 ; Local Count / Visibles : 5 / 21 ; β˜ΎβŠ™β˜½ Shield: 100% ; Armor: 100%
$$$ At begining : 120 582 552 $$$ Current wallet : 120 582 552
βŠ™ ISK in this session : 0 ; βŠ™ MAx Time for hostiles : 15 min.
βŠ™ OldSiteExist : True ; βŠ™ Use Drones for Salvage : False ; βŠ™ Site Finished : False
>> Hostiles: 0 ignored: 0 Drones: (All/heavy): ( 0 ) space: ; Targets: ; Cargo: 0% ; Salvagers (inactive): 4(4 ; Wrecks: 0
<<<<<β˜ΎβŠ™β˜½>> Retreat Msg :
<<β˜ΎβŠ™β˜½>> Last or Current Msg: OldSiteExist : True

                          <<β˜ΎβŠ™β˜½>>>>>>>> My Ship EWAR  II :    tethering
                         <<β˜ΎβŠ™β˜½>>          Ship Indication:  
                         <<β˜ΎβŠ™β˜½>>          NextAct:  <<β˜ΎβŠ™β˜½>>  InBeltMineStep

13-20-04 848 tethering zone, not on site!
13-20-05 177 > - Started in -script: MARBEL-1v3 ; Logout in: 23:10:32 ; Sites 0 ; Rats : 0 ; killed 0 ; Local Count / Visibles : 5 / 21 ; β˜ΎβŠ™β˜½ Shield: 100% ; Armor: 100%
$$$ At begining : 120 582 552 $$$ Current wallet : 120 582 552
βŠ™ ISK in this session : 0 ; βŠ™ MAx Time for hostiles : 15 min.
βŠ™ OldSiteExist : True ; βŠ™ Use Drones for Salvage : False ; βŠ™ Site Finished : False
>> Hostiles: 0 ignored: 0 Drones: (All/heavy): ( 0 ) space: ; Targets: ; Cargo: 0% ; Salvagers (inactive): 4(4 ; Wrecks: 0
<<<<<β˜ΎβŠ™β˜½>> Retreat Msg :
<<β˜ΎβŠ™β˜½>> Last or Current Msg: OldSiteExist : True

                          <<β˜ΎβŠ™β˜½>>>>>>>> My Ship EWAR  II :    tethering
                         <<β˜ΎβŠ™β˜½>>          Ship Indication:  
                         <<β˜ΎβŠ™β˜½>>          NextAct:  <<β˜ΎβŠ™β˜½>>  MainStep

13-20-07 177 > - Started in - script: MARBEL-1v3 ; Logout in: 23:10:29 ; Sites 0 ; Rats : 0 ; killed 0 ; Local Count / Visibles : 5 / 21 ; β˜ΎβŠ™β˜½ Shield: 100% ; Armor: 100%
$$$ At begining : 120 582 552 $$$ Current wallet : 120 582 552
βŠ™ ISK in this session : 0 ; βŠ™ MAx Time for hostiles : 15 min.
βŠ™ OldSiteExist : True ; βŠ™ Use Drones for Salvage : False ; βŠ™ Site Finished : False
>> Hostiles: 0 ignored: 0 Drones: (All/heavy): ( 0 ) space: ; Targets: ; Cargo: 0% ; Salvagers (inactive): 4(4 ; Wrecks: 0
<<<<<β˜ΎβŠ™β˜½>> Retreat Msg :
<<β˜ΎβŠ™β˜½>> Last or Current Msg: OldSiteExist : True

                          <<β˜ΎβŠ™β˜½>>>>>>>> My Ship EWAR  II :    tethering
                         <<β˜ΎβŠ™β˜½>>          Ship Indication:  
                         <<β˜ΎβŠ™β˜½>>          NextAct:  <<β˜ΎβŠ™β˜½>>  InBeltMineStep

13-20-08 848 tethering zone, not on site!

And again and agaim.
No i havent got in this ship a drone window

if i manualy go to the old site and start the bot it will get the salvage and the mtu, but then he is not warping back to the β€œhome” station

edit your post and delete your ingame name :))
of do not have drones, this is the problem :slight_smile:

change at line 1346 with:

int? DronesInSpaceCount => (null != WindowDrones)? DronesInSpaceListEntry?.Caption?.Text?.AsDroneLabel()?.Status?.TryParseInt() :0;

(I have changed on git also)

1 Like

A very big thanks :D:D
I changed the post :slight_smile:
I will now try your solution. :smiley:

1 Like

so or you put some drones ( doesnt matter how many or their name) or you change counting the drones in space

well the first try :slight_smile:
It recovered the MTU but not looted it.
I get a nother start with the ratting and when it finis i get you a report :slight_smile:

the thing is a lot of variables are used from a point to another point in script, you have to wait and start again a new site ( changing to salvager is trigered from defense step)

Its working like a dream :slight_smile:
Thanks for you help :slight_smile:

1 Like

How do you get the bot to target the same target for both the target painter and the drones? I seem to always lose one drone when the site starts because the drones arent targeting the same NPC that is painted. Anyone else with this issue? Is it just with certain sites?

		if (droneInLocalSpaceIdle && (Measurement?.Target?.Length > 0))
			{
                Sanderling.MouseClickLeft(TargetList.FirstOrDefault());
                ActivatePainterExecute();
				Sanderling.KeyboardPress(attackDrones);
				Messages("               Vipers engage the target " );
}

practically it activate the painter and attack drones
in forsaken hubs never happened for last year for me. it could be possible if you use weapons and you orbit (close, at 5000-10000) around your target; because in this case another rat could become the first in list but at 30km … is really hard.
if it happens for you, you could add

Sanderling.KeyboardPress(attackDrones);

on activate painter void

Ah okay. So I shouldnt have the painter on permanentactive.

never, it drains also your capacitor and the reading of capacitor is not so accurate all the time

The bot is working very good :slight_smile:
But can i have 2 question?
I start to do Haven sites.
How can i put 2 changes in the srcipt?
1: if it is a gas haven and he warps away, then he ignore that site?
2: in rock haven he wait for the rats maybe 30 seconds. becouse he warps away then back :slight_smile:

Thy for the help :slight_smile:

there was a snippet on older scripts for haven, i think is this ( look on garbage script for details)

 if ((AnomalyToTake == "haven"|| AnomalyToTake == "Haven") && 0 == ListRatOverviewEntry?.Length && NoMoreRats == false && 0 < ListCelestialObjects?.Length)
            {
            SavingLocation ();
            PermaExecute();
            //LootValue();//obsolete
            Orbitkeyboard();
            Host.Log("               I'm in Heaven, waiting my rats :d :))");
            while( 0 == ListRatOverviewEntry?.Length)
                {
                Host.Delay(1111);
                return InBeltMineStep;
                }
}

you have tochange to lines:

            if (  ListCelestialToAvoid?.Length > 0)
            {
 deleteBookmark ();// add this
                    Host.Log("               Gas Haven, better run!!");
                WarpInstant();
}

It could get over the limit of filesize with this changes ( that why i dropped them)
you could drop some features ( counting the money, or salvaging or some messages -host.log - not so essential).
also you could try to use garbage script or his second branch (look directly on git) if you are not interested in salvage ( but i dont remember too much of them since i developed marvel script)

1 Like

I try what you sad, but it not ignore that haven site, and try to warp there again and again. :S
And he gets back again then warp to the station, but not ignoring it.
It not makes a bookmark.

ah so is about the anomaly from windows probe .
use this,

            if (  ListCelestialToAvoid?.Length > 0)
            {
 deleteBookmark ();// add this
//you could need these two lines
    var probeScannerWindow = Measurement?.WindowProbeScanner?.FirstOrDefault();
var scanActuallyAnomaly = probeScannerWindow?.ScanResultView?.Entry?.FirstOrDefault(ActuallyAnomaly);
// if not delete them from here
ClickMenuEntryOnMenuRoot(scanActuallyAnomaly, "Ignore Result");
                    Host.Log("               Gas Haven, better run!!");
                WarpInstant();
}