Requesting Script (to delay at safespots)

tinyromeo

Active Member
So by your descriptive request, I assume you want something that will keep you cloaked after using a jump gate and waiting until all the hostiles leave the grid?
Cause thats just silly
Or are you looking for something to activate a cloaking module?

Code:
AllModulesCount:Set[${Me.Ship.GetModules[AllModules]}]
i:Set[1]
do
{
  if ${AllModules.Get[${i}].SensorRecalibrationTime} > 0
  {
    AllModules.Get[${i}]:Click
  }
}
while ${i:Inc} <= ${AllModulesCount}
Something to that effect.

I'll let you figure out the Pilot and standings crap for yourself.
 
no man.

examples:

u are ratting, hostiles come in, u warp off to pos, or safe and cloak up, they leave, u immediately start ratting again.

need a delay there some sort of constant that will leave u either in pos or cloaked for a certain amount of time after hostiles leave before u start ratting again.
 

tinyromeo

Active Member
I am not seeing a way to purge the amount of pilots from the Local TLO. You could iterate through a constant number, hoping that it is enough for the local system. The problem I am seeing is you will have to check against your personal standings against that pilot. So unless you have added a negative standing (or if EVE just does it innately with warring factions) it is not going to pick up that the pilot has a negative standing, just that there is a pilot in the system (which would work if you like to stay alone in the system)

Doable, but troublesome.
This is what I see in my head
Code:
i:Set[1]
do
{
  if ${Local[${i}].Standing} < 0
  {
    ;insert runaway and  cloack/dock function
    do
    {
      wait 5
     }
     while ${Local[${i}].Standing} < 0 ; or maybe while ${Local[${i}]} != 0
  }
}
while ${i:Inc} < 100
wait 50 ; your delay before beginning again
Return

;100 being the constant, or if you find a way to get a number on local pilots
But you're on your own now. Good luck!
 

tinyromeo

Active Member
No problem.

What the snippet says (as I interpreted it):
the first do while is to iterate through the pilots in local (1-100)
IF pilot #i has standings less than 0 (not sure what pilot.standing will give for results) then...
do, wait, while that pilot is still showing bad standings
This little snippet is not ready for use, but shows some basic ideas I had about your question.
The big problem with it is if you are looking at pilot #63 and pilot #62 leaves local, #63 now becomes #62 and the script is still watching #63
Maybe look into using this script as a finder for bad standing, get that pilots name or id, then wait while
pilot.get[id,pilot.id,name,pilot.name].standing < 0 (something like that) should keep you watching the right pilot.
 
Top Bottom