When I run the script, the items dont move inside the ship cargo - eve send the info that item is locked.
more attached
case QuestorState.LoadStuff:
Globals.Instance.Character.Ship.OpenCargo();
Globals.Instance.Eve.Execute(EVE.ISXEVE.ExecuteCommand.OpenHangarFloor);
Globals.Instance.Character.StackAllHangarItems();
var cargo = Globals.Character.GetHangarItems();
Globals.print("items" + cargo.Count.ToString());
if (cargo == null)
break;
foreach (var item in cargo)
{
item.MoveToMyShip();
Globals.print("presun x");
Thread.Sleep(500);
}
Globals.print("presunuto");
State = QuestorState.Idle;
break;
edit:
I tried the function item.MoveTo(ShipID).
recognize this problem. If I want to move the unpackage items, all is ok. But if I repackage these items, the script cant move them, they are blocked. If I fit this items (modules) and unfit them (they are again unpackage), the script move them.
more attached
case QuestorState.LoadStuff:
Globals.Instance.Character.Ship.OpenCargo();
Globals.Instance.Eve.Execute(EVE.ISXEVE.ExecuteCommand.OpenHangarFloor);
Globals.Instance.Character.StackAllHangarItems();
var cargo = Globals.Character.GetHangarItems();
Globals.print("items" + cargo.Count.ToString());
if (cargo == null)
break;
foreach (var item in cargo)
{
item.MoveToMyShip();
Globals.print("presun x");
Thread.Sleep(500);
}
Globals.print("presunuto");
State = QuestorState.Idle;
break;
edit:
I tried the function item.MoveTo(ShipID).
recognize this problem. If I want to move the unpackage items, all is ok. But if I repackage these items, the script cant move them, they are blocked. If I fit this items (modules) and unfit them (they are again unpackage), the script move them.
Attachments
-
4.4 KB Views: 276
Last edited: