Bowcraft
Datum: 5/04/2013 23:41:11
Staženo: 836x
Od našeho milého spoluhráče, který si nepřeje být zveřejněn:)
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);
}
}
}


Syn Ake snap 8 peptide pentapeptide-18 palmitoyl tetrapeptide-7 pal-ghk ahk-cu peptide nonapeptide-1 matrixyl decapeptide-12 ahk-cu acetyl hexapeptide-3 aod 9604 5mg melanotan ii 10mg cjc 1295 no dac mots-c bpc 157 selank tesamorelin ION-2T klow 80mg pt 141 10mg ipamorelin ghk-cu tb-500 semax 5 amino 1mq bac water 30ml bacteriostatic water ghrp-6 kpv peptide dsip peptide bpc157 tb500 cagrilintide peptide ghrp-2 peg mgf foxo4-dri tesamorelin ipamorelin blend glow peptide nad peptide ion 3r snap-8 5-Amino-1MQ ss 31 peptide bac water bac water bacteriostatic water B12 peptide cjc 1295 ipamorelin ghrp 2 verified peptides verified peptides verified peptides peg mgf oxytocin peptide kpv pinealon ll-37 phosphate buffered saline cortagen peptide cartalax peptide GHK-Cu bulk peptide ion peptides ion peptides ion peptides ion peptides ion peptides ion peptides ion peptides ion peptides ion peptides ion peptides ion peptides ion peptides ion peptides DSIP slu pp 332 peptide bpc157 and tb500 cagrilintide peptide foxo4-dri tesamorelin ipamorelin blend semax and selank iron peptides