Carpentry - Boards

Datum: 5/04/2013 23:42:33

Staženo: 583x

Popis:

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


Hodnocení: 4.0/10 (145 hlasy)

Download file:cs

Příkazy:

  • ,exec kraftiboards

Kód:

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


namespace Phoenix.Script
{
  public class carpentry
  {
    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 kraftiboards()
    {
      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", "Miscellaneous", "Miscellaneous", "Boards" );
        UO.UseObject(pilka);
        JournalEventWaiter jew = new JournalEventWaiter(true, "You put");
        jew.Wait(5000);
        UOItem craftedItem = UO.Backpack.Items.FindType(0x1BD7, 0x0000);
        if (craftedItem.Serial != Serial.Invalid)
        {
           UO.Backpack.Items.FindType(0x1BD7, 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(2, UO.Backpack);
      UO.Wait(500);
      UO.Print("1");
      return UO.Backpack.Items.FindType(0x1BDD, 0x0000);
    }
  }
}

10 Feb 2024

Wonderful article, have you ever found that cheap stocks in certain sectors outperform others over the long term? Well, Sector analysis matters. Certain sectors may be more conducive to the growth potential of cheap stocks, influencing investment decisions. For further details on the cheap stock, I recommended checking out the given article which also provides information about the CAGR calculator for better future growth.

noor mohmed
02 Jan 2024

https://alwfaa-campany.com/dammam-cleaning-company/ https://alwfaa-campany.com/insect-control-dammam/ https://alwfaa-campany.com/insect-control-company-in-al-ahsa/ https://alwfaa-campany.com/insect-control-company-in-khobar/ https://alwfaa-campany.com/cleaning-company-in-jubail/ https://alwfaa-campany.com/insect-control-company-in-jubail/

26 Jul 2023

This is a fantastic post, Want to know what are private Instagram viewers? Well, Private Instagram viewers are tools that have been developed to provide access to Instagram accounts without revealing your actual details. For more info visit the article.

24 Jul 2023

Excellent article, Want to know more about Mangasee Alternatives? Well, If you are searching for the best mangasee alternatives, I have read one article mentioning some best mangasee alternatives. To know more visit the given article.

12 Jul 2023

your article is useful, thanks for sharing. we are slot the best slot game of the year! please visit my webside we are the best slot megagame 50รับ100 let's earn money in your free time! Thanks for taking the time to discuss this pg slot ทางเข้า slot game for free, you can earn money anytime. Let's play! Enjoy With Friends And Family with สล็อต slot game for free

20 Mar 2023

I really enjoyed reading this article it is well-organized and informative learned a lot. Now block calls during exciting battles of clash royale. Unwanted calls can ruin your fun, so with Master Royale, you can block all the irritating calls. enable the feature with a full article.

seo
02 Jan 2023

I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!..This is really nice to read..informative post is very good to read..thanks a lot! pragmatic play

seo
02 Jan 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. สล็อตออนไลน์

seo
02 Jan 2023

Hello, this weekend is good for me, since this time i am reading this enormous informative article here at my home.I know your expertise on this. I must say we should have an online discussion on this. Writing only comments will close the discussion straight away! And will restrict the benefits from this information. ทดลองเล่น ppslot

Nový komentář