Cartography Train

Datum: 2/02/2013 15:31:43

Staženo: 693x

Popis:

Script na trening cartography.


Hodnocení: 3.9/10 (135 hlasy)

Download file:cs

Příkazy:

  • ,exec train_cart

Kód:

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

namespace Phoenix.NetGarden.Train {

    [RuntimeObject]
    public class Cartography {
    
        protected ushort[] map = {0x14EB, 0x0000};
        protected ushort[] atlas = {0x0FBE, 0x0B98};
    
        public Cartography() {}
        
        [Executable("train_cart")]
        public void train() {
        
            string[] continueText = {
                "Thy trembling hand results in an unusable map.",
                "You put the map in your pack."
            };
        
            string[] stopText = {
                "You put the map in your pack."
            };
        
            // -- vyber atlasu
        
            UO.Print("Target blank map atlas:");
            Serial atlasItemSerial = UIManager.TargetObject();
            UOItem atlasItem = new UOItem(atlasItemSerial);
            
            if (atlasItem.Graphic != this.atlas[0] || atlasItem.Color != this.atlas[1]) {
                throw new System.ApplicationException("Nevybral jsi atlas!");
            }
            
            // -- uklidime mapy
            
            int mapsNum = UO.Count(this.map[0], this.map[1]);
            for (int i = 0; i < mapsNum; i++) {
            
                UO.WaitTargetType(this.map[0], this.map[1]);
                atlasItem.Use();
                UO.Wait(500);
            
            }
            
            // -- trenink
            
            while (!World.Player.Dead && !Journal.Contains("xstop")) {
            
                // vyndame mapu z atlasu
            
                UO.WaitTargetSelf();
                atlasItem.Use();
                
                do {
    			    UO.Wait(500);
    			} while (!World.Player.Backpack.Items.FindType(this.map[0], this.map[1]).Exist);
                
                // napiseme mapu
                
                UO.DeleteJournal();
                
                while (!Journal.Contains(stopText)) {
                
                    UO.DeleteJournal();
                
                    UO.WaitMenu("What sort of map", "Detail Map");
                    UO.UseType(this.map[0], this.map[1]);
                
                    Journal.WaitForText(continueText);
                
                }
                
                // zreciklujeme mapu
                
                UO.WaitTargetType(this.map[0], this.map[1]);
                atlasItem.Use();
                UO.Wait(500);
                
            }
        
        }
        
    }
    
}
23 Nov 2024

A substantial part in this success is usually owed towards innovative 22-Step Nutritious Touch Deeply Cleaning Process, which assures a greater, more finish clean connected with carpets along with materials in comparison with any rivalry can match. What's far more is which the company targets on an upscale demographic market that could sustain this continued growth on the company.

babysitting services dubai
16 Oct 2024

For commercial sectors are essential, our work cleaning will spend most of your time at work and not just spending amount of time in cleaning. Dust and additionally germs is easily cleaned up and removed by availing a fabulous high-quality service plan from atdoorstep. Completely new and sparkling environment encourages new guest visitors, increases return and diminishes the extended of problem. babysitting services dubai

seoo
02 Jan 2023

Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future alsoYou make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. ทดลองเล่นสล็อต jili

seoo
02 Jan 2023

Admiring the time and effort you put into your blog and detailed information you offer!..Great post, and great website. Thanks for the information! Thanks for all your help and wishing you all the success in your business. sagame6699

seoo
02 Jan 2023

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include.I'm glad I found this web site, I couldn't find any knowledge on this matter prior to.Also operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, im always look for people to check out my web site. jilislot

Nový komentář