Mining s vyhledanim cesty

Datum: 28/11/2011 19:30:22

Staženo: 1826x

Popis:

na hotkey ,Mining1 a pustit, nastavit si co vyhazovat, co vykopavat do plna, nastavit jestli hidovat :-)
není to muj skript, jen sem ho upravil aby fungoval na DP, odskoušeno, funguje jak má

Autor

 


Hodnocení: 4.5/10 (117 hlasy)

Download file:cs

Příkazy:

  • ,mining1

Kód:

using Phoenix;
using Phoenix.WorldData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Collections;
using System.Threading;
using System.Diagnostics;
using System.Drawing;


namespace Phoenix.Scriptsd
{
    public class smoce_dilnd2
    {
   
         [Command("Mining1")]
         public void Kopat()
         {
             //------ Nastaveni do HIDU -------
             int Hid = 0;
           
             ushort[] vyhazovat = new ushort[18];
             //------ VYKOPAVAT RUDU ------
            // 0 - Nevyhazovat
            // 1 - Vyhazovat
             vyhazovat[0] = 1;
            vyhazovat[1] = 1;
            vyhazovat[2] = 0;
            vyhazovat[3] = 1;
            vyhazovat[4] = 1;
            vyhazovat[5] = 1;
            vyhazovat[6] = 1;
            vyhazovat[7] = 1;
            vyhazovat[8] = 0;
            vyhazovat[9] = 0;
            vyhazovat[10] = 0;
            vyhazovat[11] = 0;
            vyhazovat[12] = 0;
            vyhazovat[13] = 0;
            vyhazovat[14] = 0;
            vyhazovat[15] = 0;
            vyhazovat[16] = 0;
            vyhazovat[17] = 0;

           
            ushort[] vykopavat = new ushort[18];
            //------ VYKOPAVAT RUDU ------
            // 0 - Nevykopavat
            // 1 - Vykopavat
            vykopavat[0] = 0;
            vykopavat[1] = 0;
            vykopavat[2] = 0;
            vykopavat[3] = 0;
            vykopavat[4] = 0;
            vykopavat[5] = 0;
            vykopavat[6] = 0;
            vykopavat[7] = 0;
            vykopavat[8] = 1;
            vykopavat[9] = 1;
            vykopavat[10] = 1;
            vykopavat[11] = 1;
            vykopavat[12] = 1;
            vykopavat[13] = 1;
            vykopavat[14] = 1;
            vykopavat[15] = 1;
            vykopavat[16] = 1;
            vykopavat[17] = 1;


            ushort[] color = new ushort[18];
            //------ BARVA ORE ------
            color[0] = 0x0000; //Iron
            color[1] = 0x0289; //Copper
            color[2] = 0x01BF; //Bronze
            color[3] = 0x0482; //Silver
            color[4] = 0x0322; //Shadow
            color[5] = 0x0665; //Rose
            color[6] = 0x0160; //Golden
            color[7] = 0x01CB; //Verite
            color[8] = 0x0253; //Valorite
            color[9] = 0x04C2; //Blood Rock
            color[10] = 0x0455; //Black Rock
            color[11] = 0x052D; //Mytheril
            color[12] = 0x0006; //Star Sapphire
            color[13] = 0x0041; //Emerald
            color[14] = 0x002C; //Citrine
            color[15] = 0x0015; //Amethyst
            color[16] = 0x0027; //Ruby
            color[17] = 0x03E9; //Diamond

           
           string[] journal = new string[18];
            //------ JOURNAL ------
           journal[0]  = "You put the Iron";
           journal[1]  = "You put the Copper";
           journal[2]  = "You put the Bronze";
           journal[3]  = "You put the Silver";
           journal[4]  = "You put the Shadow";
           journal[5]  = "You put the Rose";
           journal[6] = "You put the Golden";
           journal[7] = "You put the Verite";
           journal[8] = "You put the Valorite";
           journal[9] = "You put the Blood Rock";
           journal[10] = "You put the Black Rock";
           journal[11] = "You put the Mytheril";
           journal[12] = "You put the Star Sapphire";
           journal[13] = "You put the Emerald";
           journal[14] = "You put the Citrine";
           journal[15] = "You put the Amethys";
           journal[16] = "You put the Ruby";
           journal[17] = "You put the Diamond";
           
           
            ushort[] typ_ore = new ushort[4];
            //------ TYPE ORE ------
            typ_ore[0] = 0x19B7; // 1
            typ_ore[1] = 0x19BA; // 2
            typ_ore[2] = 0x19B8; // 3
            typ_ore[3] = 0x19B9; // 4
           
             while (!World.Player.Dead)
             {
                 ushort y = World.Player.Y;
                 ushort y1 = 1;
                 ushort y_1 = (ushort)(y + y1);
                 UO.DeleteJournal();
             UO.Print("Debuger : X:{0} Y:{1} Z:{2}",World.Player.X,World.Player.Y+1,World.Player.Z);
             UO.WaitTargetTile(World.Player.X, y_1, World.Player.Z, 0);
             if(World.Player.Backpack.AllItems.FindType(0x0E85).Exist)
             {
                UO.UseType(0x0E85);//0x0E85
             }
             else
             {
                UO.UseType(0x0E86);//0x0E86
             }
             UO.Wait(100);
             Journal.WaitForText("You loosen", "You put", "There is no","too far","Try mining");
             if (UO.InJournal("You put"))
             {
                for (int i = 0; i < 18;i++)
                {
                   if (vyhazovat[i] == 1)
                   {
                      for (int a = 0;a < 4;a++)
                      {
                         if (World.Player.Backpack.AllItems.Count(typ_ore[a], color[i]) > 0)
                         {
                            UO.MoveItem(World.Player.Backpack.AllItems.FindType(typ_ore[a], color[i]), 100, World.Player.X, World.Player.Y, World.Player.Z);
                                    UO.Wait(2500);
                         }
                      }
                   }
                }
             }
           
             if (Hid == 0)
             {
                 if (!World.Player.Hidden)
                 {
                     UO.UseSkill("Hiding");
                     UO.Wait(2500);
                 }
                }
           
             if (UO.InJournal("There is no") || UO.InJournal("too far") || UO.InJournal("Try mining"))
             {
                Journal.Clear();
                Chuze();
                return;
             }
         
             for (int o = 0; o < 18;o++)
             {
                if (UO.InJournal(""+journal[o]+"") && vykopavat[o] != 1)
                {
                   Journal.Clear();
                   Chuze();
                   return;
                }
             }
         
             if (UO.InJournal("You lossen"))
             {
                Journal.Clear();
                Kopat();
                return;
             }
         
            }
         }
         
         
         public void Chuze()
      {
            int x = 0;
            int y = 0;
            int pauza;
         
            if (World.Player.Layers[Layer.Mount].Exist) // Toto udava pauzu chozeni kdyz jsi na mountu.
            {
                pauza = 250;
            }
            else // Pokud jsi pesky
            {
                pauza = 300;
            }

            UO.DeleteJournal();
            x = World.Player.X;
            UO.Press(System.Windows.Forms.Keys.Home);
            UO.Wait(pauza);
            if (World.Player.X == x) UO.Press(System.Windows.Forms.Keys.Home);
               UO.Wait(pauza);
             if (World.Player.X == x)
             {
                 while (x <= World.Player.X)
                 {
                     UO.Press(System.Windows.Forms.Keys.PageDown);
                     UO.Wait(pauza);
                     if (World.Player.X == x) UO.Press(System.Windows.Forms.Keys.PageDown);
                     UO.Wait(pauza);
                     x = x + 1;
                 }

              y = World.Player.Y;
              UO.Press(System.Windows.Forms.Keys.End);
              UO.Wait(pauza);
              if (World.Player.Y == y) UO.Press(System.Windows.Forms.Keys.End);
              UO.Wait(pauza);
               if (World.Player.Y == y)
               {
                   while (World.Player.Y != (y+1))
                   {
                       UO.Press(System.Windows.Forms.Keys.Home);
                       UO.Wait(pauza);
                       if (World.Player.Y == y) UO.Press(System.Windows.Forms.Keys.Home);
                       UO.Wait(pauza);
                         UO.Press(System.Windows.Forms.Keys.End);
                       UO.Wait(pauza);
                       if (World.Player.Y == y) UO.Press(System.Windows.Forms.Keys.End);
                       UO.Wait(pauza);
                   }
               }
              x = World.Player.X;
              while (x <= World.Player.X)
              {
                  UO.Press(System.Windows.Forms.Keys.PageDown);
                  UO.Wait(pauza);
                  if (World.Player.X == x) UO.Press(System.Windows.Forms.Keys.PageDown);
                  UO.Wait(pauza);
                  x = x + 1;
              }
          }
       Kopat();
      }
   }
}
Strana: 1,2,3,4
04 May 2021

It’s about people coming from all over the world and communicating with them, sharing ideas, learning and discovering new things. Not only this, you can also and Dubai Expo 2020 is a major world expo in the Middle East, Africa and South Asia (Mesa) and the first to be hosted by an Arab country.

04 May 2021

Al Maha Desert Resort & Spa in Dubai is best places to relax during the Eid holidays. Located in the Dubai Conservation Area, this amazing resort is home to exotic Arabic wildlife gazelle and Arabian orax. Bob Al Shams Desert Resort & Spa in Dubai Situated in the great Arabian desert dunes of Dubai, it is known as the ultimate luxury retreat for visitors and guests alike.

19 Apr 2021

Dubai desert is named especially considering the amazing experience it offers and the best installation. Take a look at the low cost of the unparalleled safari experience and the best desert safari deals in Dubai by 2021. Pingack:Desert safari deals Pingack:Desert safari Pingack:Dubai Desert safari deals

02 Apr 2021

Desert Safari Dubai has perfect includes for Sole, Family, and Couples. If you are traverse in Dubai or on a stopover flight. You were most likely to do different activities in Dubai. Either than visiting malls, dine in restaurants or city sightseeing. For an adventure break, one should endure a 6 Hours Evening Desert Safari.

14 Mar 2021

Watch drama asian Online for free releases in Korean,

14 Mar 2021

Watch Anime Online Free in English Subbed

14 Mar 2021

Watch Animes TV Series and Movies online for free | AnimesTV

14 Mar 2021

Animes TV Series and Movies online for free |

11 Feb 2021

Such a Mind-blowing and useful resource that you’re providing and give it away for free. I really admire your work and like watching websites that perceive the value of providing high-quality resources for free.

11 Feb 2021

Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work!

10 Feb 2021

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 more information.

kissAnimeru.me
21 Jan 2021

kissAnimeru.me Watch anime online free in English dubbed and Subbed anime.The best place to watch dub and sub anime online and absolitely for free - KissAnime black clover (tv) Jujutsu Kaisen (TV) Horimiya Detective Conan

02 Jan 2021

We offer different desert quad bike tours that’ll have you and your buddies scaling the Arabian sand dunes and taking in some truly breathtaking scenery quad bike rental dubai. Desert Safari Dubai, a 6 Hours Tour in the Desert of Dubai that is dipped in the rich sauce of thrill and excitement. The trip includes the activities like Belly Dancing, Dune Bashing, Tanura Dance, Sand Boarding dubai city tour deals, Hatta is an ancient town located from a one hour drive from Dubai City. Having said that, the town is full of breathtaking views, mountains, parks, etc dubai city tour deals.

01 Jan 2021

sexytube is the world's leading free porn site. Choose from millions of hardcore videos that ... Menu. 18 Year old Teen · Anal · big ass xxx video · big ...

29 Dec 2020

In each dialogue box, the movies chronologically segregated in descending order. This site is very organized and very possible. The film can be searched alphabetically. From 0-9 and the alphabets individually can be searched.Hollywood, Bollywood, Malayalam, Tamil and Telugu movies. Once you open the website, you will be able to see a range of options.123Movies, GoMovies, GoStream, MeMovies or 123movieshub,movierulz,hindi movies,Bollywood | Hollywood | Songs | Punjabi | Hindi Dubbed | Songs | Hindi Webseries Season | Netfilix | ULLU App In a separate dialogue box, we can search by the plethora of the genres provided to us. Action, animation, adventure, biography, comedy, crime, documentary, drama, family, fantasy, film-noir, game show, history, horror, music, musical, mystery, news, reality show, romance, sci-fi, sports, talk- show, thriller, war and western and various genres can be found here.

29 Nov 2020

Movierulz is a public torrent that uploads pirated movies and tv series online. They upload Hollywood, Bollywood, Malayalam, Tamil and Telugu movies. Once you open the website, you will be able to see a range of options.123Movies, GoMovies, GoStream, MeMovies or 123movieshub,movierulz,hindi movies,Bollywood | Hollywood | Songs | Punjabi | Hindi Dubbed | Songs | Hindi Webseries Season | Netfilix | ULLU App Firstly, in the plethora of options the site provides you, you can choose from the feature, what language you may want to see—Hollywood, Bollywood, Tamil, and Telugu feature. Further, as we go, we may find an option each for Hollywood, Bollywood, Tamil, and Telugu, all arranged according to the years. There are two extra options for people who seek a dubbed version of any movie, may it be Hindi, Tamil or Telugu. Another option to the rightmost dialogue box, called option, helps us to find Bengali and Punjabi Movies. ================================================================================

28 Nov 2020

Download Free All Episode of Neji Sacrifice Made All Shinobi Unites Agains Ten Tails Episode Hinata Felt Power Flowing Through Her Body English Subbed in HD Watch online kissanimeru.me/">kissAnime. Hinata Felt Power Flowing Through Her Body | Neji Sacrifice Made All Shinobi Unites Agains Ten Tails

16 Nov 2020

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

16 Nov 2020

ome of the most successful ABS-CBN programs from the 1990s up to the present bear his imprint — from “Showbiz Lingo”, “The Buzz”, 2lambingan - Watch your favorite Pinoy Tambayan, Pinoy Teleserye Replay, Pinoy TV Series and Pinoy TV Shows online for free! “Today With Kris”, “Game Ka Na Ba?”, “Mula Sa Puso”, “ASAP” and recent hits “May Bukas Pa”, “Tayong Dalawa”, “Walang Hanggan” and “Ang Probinsyano”.

05 Nov 2020

dubai desert safari, a 6 Hours Tour in the Desert of Dubai that is dipped in the rich sauce of thrill and excitement. The trip includes the activities like Belly Dancing, Dune Bashing, Tanura Dance, Sand Boarding,

Strana: 1,2,3,4

Nový komentář