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

  1. SEMA

    SEMA Member

    Messages:
    24
    Is it possible to estimate how much the bot in the container (scanned) money
    Now an example here http://prntscr.com/4c5wso 1 500 000
  2. rogeruk

    rogeruk Member

    Messages:
    38
    You could use the basePrice of the item (not very accurate)

    I'm not sure if you can do http requests (curl,xml etc)

    Or you could check the market price by using the fetchorders?.
  3. SEMA

    SEMA Member

    Messages:
    24
  4. rogeruk

    rogeruk Member

    Messages:
    38
    Echo out the .value.baseprice its the baseprice that is inside eve, its way off on some items.
  5. SEMA

    SEMA Member

    Messages:
    24
  6. rogeruk

    rogeruk Member

    Messages:
    38
    Your code is wrong, depending on what GetCargoItem is you may need like GetCargoItem{i}.Value.BasePrice etc.... Without seeing the rest of your code
  7. SEMA

    SEMA Member

    Messages:
    24
    MyShip_Scanner_Cargo.iss error --->>>
    HTML:
    ISXEVE: Invalid index:mutablestring specified - Expected index:iteminfolist (Param: TestIndex)
    how can I fix it?


    Code (Text):
    echo ${ContainerCargo.Get[${i}].BasePrice}
    http://prntscr.com/4cc9b6
    4000.000000 < 4 xray
    2532.000000 < 4 multi
    2000.000000 = 1 micro
    Does calculation only in 1 subject
    And doesn't consider the whole pile
    Last edited: Aug 13, 2014
  8. rogeruk

    rogeruk Member

    Messages:
    38
    Add them up as you go through them
  9. SEMA

    SEMA Member

    Messages:
    24
    if I placed them the same sum
    he considers only 1 mult from 4
    also has to consider 4
  10. rogeruk

    rogeruk Member

    Messages:
    38
    Code (Text):

    Do
    ;GetBasePrice
    TotalPrice:Set[${Math.Calc[${TotalPrice} + ${ContainerCargo.Get[${i}].BasePrice}]}]
    While

    echo Total Value: ${TotalPrice}
     
    I believe that should work
  11. SEMA

    SEMA Member

    Messages:
    24
    Total Value: NULL
    fix does not work(

Share This Page