Project

General

Profile

Bug #1955

StationID of MarketOrder for Citadels returning -1

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

Status:
Implemented
Priority:
Normal
Assignee:
-
Category:
broken feature(s)
vbulletin_issue_id:

Description

MarketOrder (Data Type)
StationID (Member)

function main()
{
    variable index:marketorder OrdersIndex
    variable iterator OrderSearcher

    variable int x = 33681

    EVE:FetchMarketOrders[${x}]
    while !${EVE:GetMarketOrders[OrdersIndex, ${x}, "buy"](exists)}
    {
        wait 10
    }

    OrdersIndex:GetIterator[OrderSearcher]
        if ${OrderSearcher:First(exists)}
            do
            {
                echo ${OrderSearcher.Value.StationID}
                
            }
    while ${OrderSearcher:Next(exists)}
}

Output: 
-1 (Perimeter - 01 IChooseYou Trade Hub)
60003760 (Jita IV - Moon 4 - Caldari Navy Assembly Plant)
60003760 (Jita IV - Moon 4 - Caldari Navy Assembly Plant)

Also available in: Atom PDF