Carpentry - Krafti Formy

Datum: 5/04/2013 23:45:11

Staženo: 936x

Popis:

Od našeho kamaráda, který si přeje být anonymní. Děkujeme


Hodnocení: 4.0/10 (97 hlasy)

Download file:cs

Příkazy:

  • ,exec kraftiformy

Kód:

using System;
using System.Collections.Generic;
using System.Text;
using Phoenix.WorldData;
using Phoenix.Runtime;
using Phoenix;


namespace Phoenix.Script
{
  public class formalahve
  {
    public static void EnsureItem(UOItem item)
    {
      if (String.IsNullOrEmpty(item.Name)) item.Click();
      UO.Wait(800);
    }

    public static void EnsureContainer(UOItem container)
    {
      EnsureItem(container);
      container.Use();
      UO.Wait(500);
    }

    [Executable]
    public static void kraftiformy()
    {
      EnsureContainer(UO.Backpack);
      UOItem pilka = UO.Backpack.Items.FindType(0x1035 , 0x0000);
      
      if (pilka.Serial == Serial.Invalid) 
      {
        pilka = World.Player.Layers.FindType(0x1035, 0x0000);
        if (pilka.Serial == Serial.Invalid)
        {
          UO.Print("Nemas pilku:");
          return;
        }
      }

      UO.Print("Zvol konterjner s materialem:");
      UOItem container = new UOItem(UIManager.TargetObject());
      EnsureContainer(container);
      UOItem logs = null;
      if ((logs = container.Items.FindType(0x1BDD, 0x0000)) == null)
      {
        UO.Print("DoslyLogy:");
        return;
      }
      UOItem lids = null;
      if ((lids = container.Items.FindType(0x1DB8, 0x0000)) == null)
      {
        UO.Print("Dosly Barel Lid:");
        return;
      }
      UOItem stavess = null;
      if ((stavess = container.Items.FindType(0x1EB1, 0x0000)) == null)
      {
        UO.Print("Dosly Barel Staves:");
        return;
      }

      int count = logs.Amount;

      for (int i = 0; i < count; i++)
      {
        UOItem log = GetLog(container);
        if (log.Serial == Serial.Invalid)
        {
          UO.Print("Invalid:");
          return;
        }
        UOItem lid = GetLid(container);
        if (lid.Serial == Serial.Invalid)
        {
          UO.Print("Invalid:");
          return;
        }
        UOItem staves = GetStaves(container);
        if (staves.Serial == Serial.Invalid)
        {
          UO.Print("Invalid:");
          return;
        }
        UO.Print("sychr " + i);
       // UO.WaitTargetObject(log);
        UO.WaitMenu( "Carpentry", "Containers & Cont. parts", "Containers & Cont. parts", "Forma na lahve" );
        UO.UseObject(pilka);
        JournalEventWaiter jew = new JournalEventWaiter(true, "You put");
        jew.Wait(5000);
        if (UO.Count(0x0E7F, 0x0909) >= 10)
        {
           UO.WaitMenu( "Carpentry", "Containers & Cont. parts", "Containers & Cont. parts", "Bedna forem" );
           UO.UseObject(pilka);
           JournalEventWaiter jew1 = new JournalEventWaiter(true, "You put");
           jew1.Wait(5000);
           UOItem craftedItem = UO.Backpack.Items.FindType(0x0FAE, 0x0909);
           if (craftedItem.Serial != Serial.Invalid)
           {
             UO.Backpack.Items.FindType(0x0FAE, 0x0909).Move(1, container);
             UO.Wait(500);

           }

        }
        
        
      }
    }

    public static UOItem GetLog(UOItem container)
    {
      UOItem log = null;
      if ((log = UO.Backpack.Items.FindType(0x1BDD, 0x0000)).Serial != Serial.Invalid) return log;
      container.Items.FindType(0x1BDD, 0x0000).Move(2, UO.Backpack);
      UO.Wait(500);
      //UO.Print("1");
      return UO.Backpack.Items.FindType(0x1BDD, 0x0000);
    }
    public static UOItem GetLid(UOItem container)
    {
      UOItem lid = null;
      if ((lid = UO.Backpack.Items.FindType(0x1DB8, 0x0000)).Serial != Serial.Invalid) return lid;
      container.Items.FindType(0x1DB8, 0x0000).Move(2, UO.Backpack);
      UO.Wait(500);
      //UO.Print("1");
      return UO.Backpack.Items.FindType(0x1DB8, 0x0000);
    }
    public static UOItem GetStaves(UOItem container)
    {
      UOItem staves = null;
      if ((staves = UO.Backpack.Items.FindType(0x1EB1, 0x0000)).Serial != Serial.Invalid) return staves;
      container.Items.FindType(0x1EB1, 0x0000).Move(2, UO.Backpack);
      UO.Wait(500);
      //UO.Print("1");
      return UO.Backpack.Items.FindType(0x1EB1, 0x0000);
    }
  }
}

mtom
28 Jun 2022

i like to buy children toys that are educational too, in this way, your kids can learn by playing., ielts補習 ==== I have noticed that over the course of making a relationship with real estate homeowners, you’ll be able to come to understand that, in every real estate transaction, a commission rate is paid. Finally, FSBO sellers tend not to “save” the commission rate. Rather, they fight to win the commission simply by doing a strong agent’s work. In the process, they shell out their money and time to accomplish, as best they’re able to, the tasks of an realtor. Those duties include revealing the home via marketing, representing the home to all buyers, creating a sense of buyer emergency in order to induce an offer, making arrangement for home inspections, controlling qualification checks with the bank, supervising maintenance, and facilitating the closing of the deal. snoep en chocolade

mtom
23 Jun 2022

Sometimes, blogging is a bit tiresome specially if you need to update more topics. 먹튀검증 =-=-=- Hello! I just now would wish to offer a enormous thumbs up for your great information you’ve here for this post. I am coming back to your blog site for much more soon. study in australia from bangladesh without ielts

akbet25
21 Jun 2022

นับเป็นความภูมิใจของทางทีมงาน betflix999 ที่ได้ค่ายเกมสล็อตออนไลน์อันดับ 1 ในปี 2021 อย่างPG slot มาเป็นพันธมิตร มีลูกค้าจำนวนมากถามถึง สล็อต เกมสล็อตของค่ายนี้

12 Jun 2022

เล่นผ่านเว็บ megagame เล่นสล็อตออนไลน์ กับเราวันนี้ สามารถสลับสับเปลี่ยน ไปเล่นเกมอื่นๆที่นักเสี่ยงโชคสนใจ เว็บตรง สมัครฟรี ได้ตลอดเวลา

IV
09 Jun 2022

Hey, I’ve been ranking well for “free justin bieber stuff”. 출장안마아이비

mtom
18 May 2022

Aw, it was quite a good post. In idea I have to put in writing such as this moreover - taking time and actual effort to produce a excellent article… but what / things I say… I procrastinate alot through no indicates manage to get something completed. gloextracts

trantongray
11 May 2022

After study a handful of the blog posts with your internet site now, we truly like your technique for blogging. I bookmarked it to my bookmark internet site list and are checking back soon. Pls look into my web page also and make me aware what you consider. สล็อตออนไลน์

mom
21 Apr 2022

Hello, Neat post. There’s a problem together with your web site in internet explorer, could test this… IE nonetheless is the market leader and a big section of people will omit your fantastic writing because of this problem. 메이저놀이터

trantongray
18 Apr 2022

I am glad to be a visitor of this gross weblog, appreciate it for this rare info! Tire Pressure for

mtom7
06 Apr 2022

Good created details. It will likely be beneficial to anyone who employess that, as well as me personally. Carry on doing your work canr hold out you just read a lot more articles. buying weed in melbourne ======= Comfortabl y, the post is really the freshest on this deserving topic. I harmonise with your conclusions and definitely will thirstily look forward to your next updates. Just saying thanks definitely will not simply just be adequate, for the extraordinary clarity in your writing. I can directly grab your rss feed to stay informed of any updates. Gratifying work and also much success in your business dealings! 메이저놀이터

mtom
05 Apr 2022

Brilliant post and useful information. I think this is what I read somewhere but I dont know with your experience yesmovies

trantongray
03 Apr 2022

Thankyou for helping out, wonderful info . Kanada visumansökan online

Nový komentář