Help With An Old Script Please - Dronesave

bowie

Senior Member
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:
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
	}
}
 

bowie

Senior Member
Code:
Error:No such 'character' member 'GetActiveDroneIDs' @${Me.GetActiveDroneIDs[This.ActiveDroneIDList]}
 

bjcasey

ISX Specialist
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]
 
Top Bottom