Scan cargo ==> Full Item Price

SEMA

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


Code:
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:

rogeruk

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


Code:
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
Add them up as you go through them
 

rogeruk

Member
if I placed them the same sum
he considers only 1 mult from 4
also has to consider 4
Code:
Do
;GetBasePrice
TotalPrice:Set[${Math.Calc[${TotalPrice} + ${ContainerCargo.Get[${i}].BasePrice}]}]
While

echo Total Value: ${TotalPrice}
I believe that should work
 
Top Bottom