Bowcraft

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

Staženo: 657x

Popis:

Od našeho milého spoluhráče, který si nepřeje být zveřejněn:)

 

 


Hodnocení: 3.7/10 (134 hlasy)

Download file:cs

Příkazy:

  • ,exec kraftishafty

Kód:

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


namespace Phoenix.Script
{
  public class bowcraft
  {
    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 kraftishafty()
    {
      EnsureContainer(UO.Backpack);
      UOItem nuz = UO.Backpack.Items.FindType(0x0F51, 0x0000);
      
      if (nuz.Serial == Serial.Invalid) 
      {
        nuz = World.Player.Layers.FindType(0x0F51, 0x0000);
        if (nuz.Serial == Serial.Invalid)
        {
          UO.Print("Nemas nuz:");
          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.UseObject(nuz);
        UO.WaitMenu("Bowcraft", "Shafts");
        JournalEventWaiter jew = new JournalEventWaiter(true, "You put the", "You fail to create the item" );
        jew.Wait(5000);
        UOItem craftedItem = UO.Backpack.Items.FindType(0x1BD6, 0x0742);
        if (craftedItem.Serial != Serial.Invalid)
        {
          UO.UseObject(craftedItem);
          jew = new JournalEventWaiter(true, "You put the shaftss in your pack");
          jew.Wait(5000);

        }


      }
    }

    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(1, UO.Backpack);
      UO.Wait(500);
      UO.Print("1");
      return UO.Backpack.Items.FindType(0x1BDD, 0x0000);
    }
  }
}

Strana: 1,2,3,4,5,6,7,8,9,10,11
สล็อตเว็บตรง
13 Mar 2024

Your posts are awesome. สล็อตเว็บตรง

สล็อตเว็บตรง
13 Mar 2024

I love this article. สล็อตเว็บตรง

สล็อตเว็บตรง
13 Mar 2024

Wonderful article. สล็อตเว็บตรง

สล็อตเว็บตรง
13 Mar 2024

This message is really good. สล็อตเว็บตรง

สล็อตเว็บตรง
13 Mar 2024

Great article. สล็อตเว็บตรง

สล็อตเว็บตรง
13 Mar 2024

It is very good to be admired. สล็อตเว็บตรง

สล็อตเว็บตรง
13 Mar 2024

Your posts are awesome. สล็อตเว็บตรง

สล็อตเว็บตรง
13 Mar 2024

I agree with you. สล็อตเว็บตรง

ทดลองเล่นสล็อตฟรี 88
13 Mar 2024

Never thought that would be great. ทดลองเล่นสล็อตฟรี 88

nagagames
13 Mar 2024

What a wonderful thing. nagagames

easy-slot
13 Mar 2024

Thanks for sharing this information. easy-slot

ทดลองเล่นสล็อต
13 Mar 2024

Such a great advice. I' ll try this for sure. ทดลองเล่นสล็อต

slot nagagame
13 Mar 2024

The content is very useful, thank you. slot nagagame

https://22dragon.co/
13 Mar 2024

How could i never knew this before. https://22dragon.co/

pgslot-game.app
13 Mar 2024

This article is very good. pgslot-game.app

ทดลองเล่นสล็อต pg
13 Mar 2024

Great blog content. ทดลองเล่นสล็อต pg

naga89
13 Mar 2024

I like the valuable information you provide in your articles. naga89

สล็อตเว็บตรง
13 Mar 2024

I agree with you. สล็อตเว็บตรง

เว็บแทงบอล ufabet">เว็บแทงบอล ufabet
09 Mar 2024

Hello admin, your message is very interesting. And I want you to come and see my message. Click เว็บแทงบอล ufabet

noor mohmed
15 Feb 2024

صيانة توشيبا

Strana: 1,2,3,4,5,6,7,8,9,10,11

Nový komentář