Project

General

Profile

Bug #1215

Item:GetInsuranceQuotes not working

Added by rogeruk over 7 years ago. Updated over 7 years ago.

Status:
Feedback Required
Priority:
Normal
Assignee:
Administrators
Category:
broken feature(s)
vbulletin_issue_id:

Description

SXEVE: Warning - Unknown container type (collection) specified
nsurance Quotes for  xxxxxx's Tornado 4310
 Platinum Cost: NULL
lose and re-open the insurance window, and the ship should now
esting of method Item:Insure completed in 1.500000 seconds

 

Using the below script:

function main()
{
	variable int StartTime = ${Script.RunningTime}
	variable int EndTime

	declarevariable HangarShips index:item script
	variable collection:float Quotes

	EVE:Execute[OpenShipHangar]
	wait 15
	Me.Station:GetHangarShips[HangarShips]
	echo "Me.Station:GetHangarShips returned ${HangarShips.Used} ships"

	variable int i
	for (i:Set[1]; ${i} <= ${HangarShips.Used}; i:Inc)
	{
		if ${HangarShips.Get[${i}].TypeID} == 4310
		{
			HangarShips.Get[${i}]:GetInsuranceQuotes[Quotes]
			echo "Insurance Quotes for ${HangarShips.Get[${i}].Name} ${HangarShips.Get[${i}].TypeID}"
			echo " " Platinum Cost: ${Quotes.Element["Platinum"]}
			HangarShips.Get[${i}]:Insure[${Quotes.Element["Platinum"]}]
		}
	}

	echo "Close and re-open the insurance window, and the ship should now be insured"

	EndTime:Set[${Script.RunningTime}]
	echo "Testing of method Item:Insure completed in ${Math.Calc[(${EndTime}-${StartTime}) / 1000]} seconds"
}
#1

Updated by Amadeus over 7 years ago

  • Status changed from New to Feedback Required
  • Assignee set to Administrators

Can you confirm that this was working until recently? If so, do you know when it stopped working?    Or, are you using this feature for the first time and reporting it broken?

#2

Updated by rogeruk over 7 years ago

Not sure sorry, this is the first time I have tried to use it.  I asked CyberTech on IRC a few months ago and he said he would look into it, but I think more important issues took priority.

#3

Updated by Stealthy over 7 years ago

I don't think it's even been used since CyberTech was using it for insurance fraud.

Also available in: Atom PDF