Discussion in 'Tutorials, Questions and Answers' started by bowie, Nov 7, 2017.

  1. bowie

    bowie Senior Member

    Messages:
    101
    Hi folks. I've been away a few years and am trying to use an old script. It generates errors though and doesnt seem to work. Have had a look at the changelog for ISXEve but cant figure out how to fix. I'd appreciate any pointers as to how to fix it :)

    Code (Text):

    function main()
    {
        variable index:int64 dronelist
        variable bool WarpNoticed = false
       
        variable time NextPulse
        variable int PulseIntervalInSeconds = 2

        variable index:int64 ActiveDroneIDList
        variable int CategoryID_Drones = 18
        variable int LaunchedDrones = 0
        variable int WaitingForDrones = 0
        variable bool DronesReady = FALSE
        variable int ShortageCount
       
        echo "Dronesaver running"
        Script:Unsquelch
           
        /* Set Turbo to lowest value to try and avoid overloading the EVE Python engine */
        Turbo 20
       
        while TRUE
        {
       
        member:int DronesInBay()
        {
            return ${Me.GetActiveDroneIDs[This.ActiveDroneIDList]}
        }

        member:int DronesInSpace()
        {
            return ${Me.GetActiveDroneIDs[This.ActiveDroneIDList]}
        }
       
            if (${Me.ToEntity.Mode}==3)
            {
                if (!${WarpNoticed})
                {
                    echo Dronesaver: Warping, retreiving ${Me.GetActiveDroneIDs[dronelist]} drones
                EVE:DronesReturnToDroneBay[This.ActiveDroneIDList]
                EVE:Execute[CmdDronesReturnToBay]              
                    EVE:DronesReturnToDroneBay[dronelist]  
                    WarpNoticed:Set[TRUE]
                }
            }
            else
            {
                if (${WarpNoticed})
                {
                    echo "Dronesaver: Done warping"
                    WarpNoticed:Set[FALSE]
                }
            }
            waitframe
        }
    }
     
  2. bjcasey

    bjcasey ISX Specialist

    Messages:
    1,421
    What is the error?
  3. bowie

    bowie Senior Member

    Messages:
    101
    Code (Text):

    Error:No such 'character' member 'GetActiveDroneIDs' @${Me.GetActiveDroneIDs[This.ActiveDroneIDList]}
     
  4. bjcasey

    bjcasey ISX Specialist

    Messages:
    1,421
    It was changed to be a method instead of a member. Me:GetActiveDroneIDs[This.ActiveDroneIDList]

    It is listed in the changelog.

    January 29, 2012
    [ISXEVE-20120124.0121]

Share This Page