Fishing - automatika

Datum: 22/11/2014 23:38:36

Staženo: 756x

Popis:

Původní script wizziho, ale  něco upraveno a přidáno...


Hodnocení: 3.7/10 (146 hlasy)

Download file:cs

Příkazy:

  • ,exec fishing

Kód:

 
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix;
using Phoenix.WorldData;
using System.Linq;
using Phoenix.Communication;
using Phoenix.Runtime;
using Phoenix.Runtime.Reflection;

namespace Scripts.DarkParadise
{       
  public class ultima_smoce_net_1351610822
	{ 
      

      [Executable]
        public void fishing()
        {
            ushort[] ryba = new ushort[13];
            ushort[] cryba = new ushort[13];
            string hid, steaky, bagl;
            /*  *************************  */
            /*  Nastaveni - "Ano" / "Ne"   */
            /*  *************************  */

            /*         Hidovat ?           */
            hid = "ne";

            /* Rezat ryby a sbirat steaky? */
            steaky = "ne";

            /* Ukladat do specialni baglu? */
            bagl = "ne";

            /*  *************************  */


              ryba[0] = 0x09CC;
           ryba[1] = 0x09CD;
           ryba[2] = 0x09CE;
           ryba[3] = 0x09CF;
           ryba[4] = 0x09CD;
           ryba[5] = 0x09CD;
           ryba[6] = 0x09CD;
           ryba[7] = 0x099B;
           ryba[8] = 0x097A;
           ryba[9] = 0x09CD;
           ryba[10] = 0x09CD;
           ryba[11] = 0x09CD;
           ryba[12] = 0x099B;
 
           cryba[0] = 0x0000;
           cryba[1] = 0x0000;
           cryba[2] = 0x0000;
           cryba[3] = 0x0000;
           cryba[4] = 0x0850;
           cryba[5] = 0x0482;
           cryba[6] = 0x084C;
           cryba[7] = 0x0000;
           cryba[8] = 0x0000;
           cryba[9] = 0x0000;
           cryba[10] = 0x0B7C;
           cryba[11] = 0x0799;
           cryba[12] = 0x08A4;

            hid = hid.ToUpper();
            steaky = steaky.ToUpper();
            bagl = bagl.ToUpper();

            UOItem b = new UOItem(Aliases.GetObject("fishbag"));
            if (!(b.Exist) && (bagl == "ANO"))
            {
                UO.Print(0x480, "Nastav bagl kam maji padat ryby:");
               UOCharacter aaw = new UOCharacter(UIManager.TargetObject());
            UO.AddObject("fishbag", aaw);  
            UO.Print(0x00B3, "OKej...");
            }

            UO.PrintWarning("Hiding: {0}, Sbirani steaku: {1}, Bagl: {2}", hid, steaky, bagl);

            while (!World.Player.Dead)
            {
                if ((World.Player.Backpack.AllItems.Count(0x0DBF, 0x0000) > 0) || (World.Player.Layers[Layer.LeftHand].Graphic == 0x0DBF))
                {
                    UO.DeleteJournal();
                    for (int x = -6; x < 7; x++)
                    {
                        for (int y = -6; y < 7; y++)
                        {
                            UO.DeleteJournal();
                            do
                            {
                                if (hid == "ANO")
                                {
                                    while (!World.Player.Hidden)
                                    {
                                        UO.UseSkill("Hiding");
                                        UO.Wait(1000);
                                        if (UO.InJournal("preoccupied with"))
                                        {
                                            World.Player.ChangeWarmode(WarmodeChange.Switch);
                                            UO.Wait(500);
                                            if (!World.Player.Hidden) UO.UseSkill("Hiding");
                                        }
                                        UO.Wait(1500);
                                        Journal.WaitForText("hidden yourself well", "to hide here.", "preoccupied with");
                                    }

                                }

                                UO.DeleteJournal();
                                UO.PrintWarning("Chytam na {0}, {1}", x, y);
                                UO.WaitTargetTileRel(x, y, World.Player.Z, 0);
                                UO.UseType(0x0DBF);
                                UO.Wait(1500);

                                Journal.WaitForText("no fish here", "location", "far away", "in water", "You pull", "You fish a while");
                                if (UO.InJournal("Kraken") || UO.InJournal("Sea Serpent"))
                                {
                                    while (!(UO.InJournal("pokracovat")))
                                    {
                                        UO.Print(SpeechFont.Bold, 0x0481, "Detekovano monstrum");
                                        UO.Wait(10000);
                                    }
                                }
                                if (UO.InJournal("no fish here"))
                                {
                                    if (steaky == "ANO")
                                    {
                                        for (int i = 0; i < 5; i++)
                                        {
                                            if (!(World.Player.Layers[Layer.RightHand].Graphic == 0x0F51))
                                            {
                                                UO.Print("oblikam kudlicku");
                                                UO.WaitTargetCancel();
                                                UO.UseType(0x0F51);
                                            }

                                            foreach (UOItem item in from q in World.Ground where q.Distance < 2 && q.Graphic == ryba[i] && q.Color == cryba[i] select q)
                                            {
                                                UO.WaitTargetObject(item.Serial);
                                                UO.UseObject(World.Player.Layers[Layer.RightHand].Serial);
                                                UO.Wait(500);
                                            }
                                        }
                                    }
                                }
                                for (int i = 4; i < 13; i++)
                                {
                                    foreach (UOItem item in from q in World.Ground where q.Distance < 2 && q.Graphic == ryba[i] && q.Color == cryba[i] select q)
                                    {
                                        if (bagl == "ANO")
                                        {
                                            item.Move(100, Aliases.GetObject("fishbag"));
                                        }
                                        else
                                        {
                                            item.Move(100, World.Player.Backpack);
                                        }
                                        UO.Wait(500);
                                    }
                                }
                            }
                            while (UO.InJournal("You pull") || UO.InJournal("You fish a while"));
                        }
                    }
                    UO.Print("-6x6 Vychytano!");
                }
                else
                {
                    UO.Print("Nemas prut!");
                    break;
                }
                chodiml();
            }
        }


      private void chodiml()
      {
          UO.Say("Forward Forward");
          UO.Wait(6000);
          UO.Say("Stop");
          UO.Wait(6000);
          UO.Say("Right");
          UO.Wait(6000);
          UO.Say("Forward Forward");
          UO.Wait(6000);
          UO.Say("Stop");
      }

		}
	}
	
	 
Mechoui
05 Feb 2026

Experience nonstop pgslot online entertainment enhanced by interactive features, creative symbols, and engaging ทางเข้าหลัก bonus mechanics.

28 Oct 2025

Ultimately, sustainability in the celebrity sex doll world is about empowerment. People can make choices that satisfy both their intimate needs and their ecological conscience. It proves that pleasure and planetary respect are not opposites—they can coexist beautifully.

Nový komentář