Carpentry - Barel Staves

Datum: 5/04/2013 23:44:26

Staženo: 528x

Popis:

Od našeho kamaráda, který si přeje být anonymní ;-) děkujeme


Hodnocení: 3.8/10 (148 hlasy)

Download file:cs

Příkazy:

  • ,exec kraftibarelstaves

Kód:

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


namespace Phoenix.Script
{
  public class carpsteavs
  {
    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 kraftibarelstaves()
    {
      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 logy:");
      UOItem container = new UOItem(UIManager.TargetObject());
      EnsureContainer(container);
      UOItem logs = null;
      if ((logs = container.Items.FindType(0x1BDD, 0x0000)) == null)
      {
        UO.Print("DoslyLogy:");
        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;
        }
        UO.Print("sychr " + i);
       // UO.WaitTargetObject(log);
        UO.WaitMenu( "Carpentry", "Containers & Cont. parts", "Containers & Cont. parts", "Barrel Staves" );
        UO.UseObject(pilka);
        JournalEventWaiter jew = new JournalEventWaiter(true, "You put");
        jew.Wait(5000);
        UOItem craftedItem = UO.Backpack.Items.FindType(0x1EB1  , 0x0000);
        if (craftedItem.Serial != Serial.Invalid)
        {
           UO.Backpack.Items.FindType(0x1EB1  , 0x0000).Move(3, 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(3, UO.Backpack);
      UO.Wait(500);
      UO.Print("1");
      return UO.Backpack.Items.FindType(0x1BDD, 0x0000);
    }
  }
}

Strana: 1d,3,4,5,6,7,8,9,10,11,12,13... 17
SEO
30 May 2023

I appreciate the author's ability to simplify complex concepts. This article made the topic accessible to a wide range of readers. Convert Youtube MP3

SEO
29 May 2023

The author's passion for the subject shines through in this article. It's evident that they have a deep understanding and genuine interest in the topic. dumps with pin

seoo
29 May 2023

I was pleasantly surprised by the unique angle this article took. It's refreshing to see original content that stands out from the rest. Well done! Elo boost

SEO
27 May 2023

This article provides a comprehensive overview of the topic. It covers both the basics and advanced concepts, making it suitable for readers of all levels. Well done! zeichnen vorlage

seoo
27 May 2023

I am very loved for this weblog. Its an informative topic. It assist me very a whole lot to resolve a few problems. Its possibility are so super and running fashion so speedy. topreviewth

seo
26 May 2023

I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.This site seems to get a good amount of visitors.I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. Hundebett für Welpen

SEO
26 May 2023

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.i never know the use of adobe shadow until i saw this post. thank you for this! this is very helpful. Almanya Medyum

SEO
25 May 2023

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work.I learn some new stuff from it too, thanks for sharing your information. sbobet indonesia

SEO
25 May 2023

I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks.Nice knowledge gaining article. This post is really the best on this valuable topic. The Myst

SEO
24 May 2023

Admiring the time and effort you put into your blog and detailed information you offer!..Great post, and great website. Thanks for the information! Thanks for all your help and wishing you all the success in your business. 레플리카

SEO
24 May 2023

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks...I really loved reading your blog. It was very well authored and easy to undertand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting. In fact after reading, I had to go show it to my friend and he ejoyed it as well! demo slot online

SEO
24 May 2023

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me.Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. login slot168

SEO
22 May 2023

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. charlotte nc website design

Hibbah
22 May 2023

I am definitely enjoying your website. You definitely have some great insight and great stories. [url=https://www.sysoon.com]dead people[/url]

Khatri
22 May 2023

I am definitely enjoying your website. You definitely have some great insight and great stories.

seo
22 May 2023

Interesting topic for a blog. I have been searching the Internet for fun and came upon your website.This is really nice to read..informative post is very good to read..thanks a lot!I really loved reading your blog. It was very well authored and easy to undertand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting. In fact after reading, I had to go show it to my friend and he ejoyed it as well!I learn some new stuff from it too, thanks for sharing your information. ComputerScienceHomeworkHelpers.com

SEO
22 May 2023

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work.I learn some new stuff from it too, thanks for sharing your information. Fume Disposable

seoo
21 May 2023

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers.Hello, this weekend is good for me, since this time i am reading this enormous informative article here at my home. rolet

seoo
21 May 2023

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good workThere is a lot of information here that can help any business get started with a successful social networking campaign. mirror cleaner cloth

seoo
21 May 2023

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good workYes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. m4a4 howl skin

Strana: 1d,3,4,5,6,7,8,9,10,11,12,13... 17

Nový komentář