Project

General

Profile

Bug #2130

Bug #2120: Market Order function is broken

GetMyOrders and GetMarketOrders not working

Added by rogeruk almost 5 years ago. Updated over 4 years ago.

Status:
Duplicate
Priority:
Urgent
Assignee:
-
Category:
broken feature(s)
vbulletin_issue_id:

Description

Both methods are returning NULL - using while loop and never returns anything but NULL  (while loop never completes)
 

function main()
{
    variable index:myorder OrderIndex
    Me:UpdateMyOrders
    while !${Me:GetMyOrders[OrderIndex]}
    {
        wait 10
        echo ${OrderIndex}
    }
    echo Found ${OrderIndex.Used} orders
}

and similar for GetMarketOrders

function main()
{
    variable index:marketorder OrderIndex
    EVE:FetchMarketOrders[34]
    while !${EVE:GetMarketOrders[OrderIndex, 34](exists)}
    {
        wait 10
        echo ${OrderIndex}
    }
    echo Found ${OrderIndex.Used} orders
}

 

Also available in: Atom PDF