Project

General

Profile

Bug #1241

Incorrect Item.Quantity when item moves to hangar from cancelled order

Added by Ramzeth about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
broken feature(s)
vbulletin_issue_id:

Description

Steps to reproduce:

1. Put part of items from stack to sell order. Example - initial stack is 15 "Defective Current Pump", place 10 of them to sell order.

2. Move other part of stack to ship cargo. Example - move 5 of remaining "Defective Current Pump" to cargohold

3. Undock, and then dock again.

4. Move items from ship cargo to station hangar. Example - move 5 of "Defective Current Pump" to station hangar.

5. Cancell initial sell order.  Example - cancell previously placed sell order of  10 "Defective Current Pump".

6. Stack hangar items.

7. Despite number the items showed in hangar in GUI, next script shows only a quantity of items previously being in cargohold.

    Me:GetHangarItems[HangarItems]

    for (i:Set[1]; ${i} <= ${HangarItems.Used}; i:Inc)
    {
        if ${HangarItems.Get[${i}].Name.EqualCS["Defective Current Pump"]} 
        {
            echo ${HangarItems.Get[${i}].Name} ${HangarItems.Get[${i}].Quantity}
        }
    } 

Example: "Defective Current Pump 5", while there are 15 in hangar 


Files

ISXEVE.dll (3.98 MB) Amadeus, 2014-10-16 07:24 PM

Also available in: Atom PDF