Mar

Zex

Active Member
Hi!

I try to write an sql exporter to make some statistic to myself.
I have some problems with GetMarketOrders_A and B.
I use them this way as the tutorials show:
Code:
....
EVE:ClearMarketOrderCache
	wait 20
	EVE:Execute[OpenMarket]
	EVE:UpdateMarketOrders_A[ID]
	wait 40
	EVE:UpdateMarketOrders_B[ID]
	wait 40
		   	 		
	OrdersCount:Set[${EVE.GetMarketOrders[Orders]}]
	wait 100
	echo Populating Orders List:: ${OrdersCount} items total
.....
After this I alwasy get 0 items total.
If i remove the ClearMarketOrderCache and manualy search for the items, it found them in the cache.

Any idea how to autorefresh this?
or is this a bug?
 

GliderPro

Active Member
Try putting a delay between EVE:Execute[OpenMarket] and EVE:UpdateMarketOrders_A[ID].

EDIT: The script below works fine and outputs the following. What is ID? If it is a variable your should use ${ID} in the methods above.

Code:
Populating Orders List:: 14 items total
=====================================================================
Code:
function main()
{
	variable int OrdersCount
	variable index:marketorder Orders
	 
	EVE:ClearMarketOrderCache
	wait 40
	EVE:Execute[OpenMarket]
	wait 40
	EVE:UpdateMarketOrders_A[3347]
	wait 40
	EVE:UpdateMarketOrders_B[3347]
	wait 40
		   	 		
	OrdersCount:Set[${EVE.GetMarketOrders[Orders]}]
	wait 100
	echo Populating Orders List:: ${OrdersCount} items total
	echo "====================================================================="
}
 
Last edited:

Zex

Active Member
seams price is not float

In Price i have a float, what is 2.900000
Code:
echo Float: ${Price}
EVE:PlaceBuyOrder[${Me.StationID}, ${TypeID}, ${Price}, ${Quantity} ,${Range}, ${MinQuantity}, ${Duration}]
After i run the code i get this:
Code:
 Float: 2.900000
But in the buy orders it put with a price of 2.0.
Is this an error?
 

Amadeus

The Maestro
Staff member
Yes, this is probably a bug. "PlaceBuyOrder" is accepting integer values only currently instead of a float value.

I'll look into it and possibly release a new isxeve later that will hopefully fix it. I'm working from remote now, so it might be a bit of guessing.
 

Zex

Active Member
Yes, this is probably a bug. "PlaceBuyOrder" is accepting integer values only currently instead of a float value.

I'll look into it and possibly release a new isxeve later that will hopefully fix it. I'm working from remote now, so it might be a bit of guessing.
Thank you!
Looking for it!
 

Amadeus

The Maestro
Staff member
It will probably have to wait until my move is complete. Worst case scenario is July 12ish.
 
Top Bottom