Discussion in 'Tutorials, Questions and Answers' started by SEMA, Aug 7, 2014.

  1. SEMA

    SEMA Member

    Messages:
    24
    Hi
    help to correct please
    Code (Text):
    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: Aug 7, 2014
  2. rogeruk

    rogeruk Member

    Messages:
    38
    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
  3. SEMA

    SEMA Member

    Messages:
    24
    You didn't understand me
    at me it is impossible to make so that it touched not 207 ID
    And all my sell orders
  4. rogeruk

    rogeruk Member

    Messages:
    38
    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
  5. SEMA

    SEMA Member

    Messages:
    24
    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"
  6. rogeruk

    rogeruk Member

    Messages:
    38
    Me:GetMyOrders [MyOrderIndex, "Sell"]

    Will get all sell orders
  7. SEMA

    SEMA Member

    Messages:
    24
    Thx
    if I delete
    Code (Text):
    ${x} from EVE:FetchMarketOrders[${x}]
    the script ceases to look for the prices of warrants
    help to correct please
  8. rogeruk

    rogeruk Member

    Messages:
    38
  9. SEMA

    SEMA Member

    Messages:
    24
    :):):):):):)
    Last edited: Aug 10, 2014
  10. SEMA

    SEMA Member

    Messages:
    24
    Code (Text):

        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 (Text):

    HangarItems.Get[${i}]:PlaceSellOrder[${Math.Calc[${orderprice} - 10000],${HangarItems.Get[${i}].Quantity},1]
     
    Dont Work please help
  11. rogeruk

    rogeruk Member

    Messages:
    38
    What error?. Are you actually populating HangarItems?.
  12. SEMA

    SEMA Member

    Messages:
    24
    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

Share This Page