Trade

SEMA

Active Member
Hi
help to correct please
Code:
x = 207
Me:GetMyOrders [MyOrderIndex, "Sell", $ {x}]
I try to replace "x" = "OrderIterator.Value.TypeID"
But the script doesn't look for my warrants
as it can be corrected
thanks in advance
 
Last edited:

rogeruk

Member
Hi
help to correct please
Code:
x = 207
Me:GetMyOrders [MyOrderIndex, "Sell", $ {x}]
I try to replace "x" = "OrderIterator.Value.TypeID"
But the script doesn't look for my warrants
as it can be corrected
thanks in advance
variable int x
variable index:myorder MyOrderIndex

x:Set[207]
Me:UpdateMyOrders
while !${Me:GetMyOrders[MyOrderIndex, "Sell", {$x}]}
{
wait 10
}
echo Found ${MyOrderIndex.Used} Orders
 

SEMA

Active Member
You didn't understand me
at me it is impossible to make so that it touched not 207 ID
And all my sell orders
 

rogeruk

Member
You didn't understand me
at me it is impossible to make so that it touched not 207 ID
And all my sell orders
Your English is not that good to understand.

Do you want to be able to get all your market orders apart from the one with a typeID of 207?

If so.. You will have to pull all orders and have the next part of the script to handle the exception

${MyOrderIterator.Value.TypeID} not equal to 207
 

SEMA

Active Member
I will write in two languages that it was clear
It is necessary that the script would see all warrants. and not just ID 207
I don't know as it to realize by replacement "x"

я напишу на двух языках чтоб было понятно
Нужно что бы скрипт видел все ордера. а не только ID 207
я не знаю как это реализовать путем замены "x"
 

rogeruk

Member
I will write in two languages that it was clear
It is necessary that the script would see all warrants. and not just ID 207
I don't know as it to realize by replacement "x"

я напишу на двух языках чтоб было понятно
Нужно что бы скрипт видел все ордера. а не только ID 207
я не знаю как это реализовать путем замены "x"
Me:GetMyOrders [MyOrderIndex, "Sell"]

Will get all sell orders
 

SEMA

Active Member
Thx
if I delete
Code:
${x} from EVE:FetchMarketOrders[${x}]
the script ceases to look for the prices of warrants
help to correct please
 

SEMA

Active Member
Code:
	if ${OrderSearcher:First(exists)}
		do
		{
			if ${OrderSearcher.Value.StationID.Equal[${Station}]}
			{	
				echo StationID = ${OrderSearcher.Value.StationID} Preis = ${OrderSearcher.Value.Price} 				
				if ${OrderSearcher.Value.Price} < ${orderprice}
				{
					orderprice:Set[${OrderSearcher.Value.Price}]
				}
			}
			
		}
Code:
HangarItems.Get[${i}]:PlaceSellOrder[${Math.Calc[${orderprice} - 10000],${HangarItems.Get[${i}].Quantity},1]
Dont Work please help
 

rogeruk

Member
Code:
    if ${OrderSearcher:First(exists)}
        do
        {
            if ${OrderSearcher.Value.StationID.Equal[${Station}]}
            {    
                echo StationID = ${OrderSearcher.Value.StationID} Preis = ${OrderSearcher.Value.Price}                 
                if ${OrderSearcher.Value.Price} < ${orderprice}
                {
                    orderprice:Set[${OrderSearcher.Value.Price}]
                }
            }
            
        }
Code:
HangarItems.Get[${i}]:PlaceSellOrder[${Math.Calc[${orderprice} - 10000],${HangarItems.Get[${i}].Quantity},1]
Dont Work please help
What error?. Are you actually populating HangarItems?.
 

SEMA

Active Member
Mistakes aren't present
I gave you all script in PM
as Amadeus asked not to spread
This script simply not that doesn't do
in the theory everything has to work
 
Top Bottom