Bug #1221
GetCargoScannerResults
Description
Using GetCargoScannerResults on a target gives the wrong information about the cargo.
if ${Target.Value.HasCargoScannerResults}
{
Target.Value:GetCargoScannerResults[CargoResult]
echo "${CargoResult.Used} Items"
CargoResult:GetIterator[Cargo]
if ${Cargo:First(exists)}
{
do
{
echo ${Cargo.Value.Type}
}
while ${Cargo:Next(exists)}
}
}
The target had this in their cargo:
1 Expanded Cargohold II
1 Reinforced Bulkheads II
1 Reinforced Bulkheads II
1 Expanded Cargohold II
1 Expanded Cargohold II
1 Amarr Shuttle
1 Reinforced Bulkheads II
but the script reported
7 Items
Expanded Cargohold II
Expanded Cargohold II
Expanded Cargohold II
Expanded Cargohold II
Expanded Cargohold II
Expanded Cargohold II
Expanded Cargohold II
Updated by Amadeus about 10 years ago
- Status changed from New to In Progress
- Assignee set to Administrators