Bug #1955
StationID of MarketOrder for Citadels returning -1
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)
Updated by rogeruk over 7 years ago
This is what it should show:
{
"stationName": "Jita IV - Moon 4 - Caldari Navy Assembly Plant",
"stationID": "60003760"
},
{
"stationName": "Perimeter - 01 IChooseYou Trade Hub",
"stationID": "1023164547009"
}
Also is there a Owner or OwnerID member that we can access?Updated by rogeruk over 7 years ago
Causing problems with PlaceBuyOrder too, it is expecting an int but the stationID for the citadels are a long.
Updated by rogeruk over 7 years ago
echo ${Me.StationID} displays the correct StationID if that helps.
.NET Me.StationID gives -1 aswell
Updated by Amadeus over 6 years ago
- Description updated (diff)
- Status changed from New to Implemented
I think this should be fixed as of version 20180327.0002. If not, please open a new bug report, etc.