LockPiking

Datum: 20/06/2012 22:25:21

Staženo: 486x

Popis:

train


Hodnocení: 4.4/10 (107 hlasy)

Download file:cs

Příkazy:

  • ,exec lock_train

Kód:

         [Executable]
public static void lock_train()
{
    UO.PrintInformation("Lock Train Secure");
    UO.Wait(300);
    UO.PrintInformation("Targetni tu starovekou truhlu!");
    UOItem truhla = new UOItem(UIManager.TargetObject());
    UO.Wait(500);
    
    UO.PrintInformation("Targetni BAG s Lockpicky!");
    UOItem lockpick = new UOItem(UIManager.TargetObject());
    UO.Wait(500);
 aaaa:
    while (UO.Count(0x14fb) >= 1)
    {
      UO.DeleteJournal();
      opakuj:
        do
        {
         UO.DeleteJournal();
         UO.WaitTargetObject(truhla.Serial);
         UO.UseType(0x14fb);
         UO.Wait(2000);            
        }
        while (UO.InJournal("attempt to unlock"));
 
        if (UO.InJournal("item cannot be"))
        {
            UO.WaitTargetObject(truhla.Serial);
            UO.UseType(0x100e);
        }
        UO.Wait(2000);
        goto opakuj;
    }
    
    if(UO.Count(0x14fb) == 0)
    {
     UOItem oss = new UOItem(lockpick.AllItems.FindType(0x14fb));
     UO.MoveItem(oss.Serial,100,World.Player.Backpack);
     UO.Print("beru si locky s pytle 100ks"); UO.Wait(1000);
    } 
  goto aaaa;
}
Strana: 1,2,3
Strana: 1,2,3

Nový komentář