Rozdělení regu po dungu (univerzál i nekro)

Datum: 23/11/2014 14:55:33

Staženo: 672x

Popis:

Univerzální rozdělení po dungu...


Hodnocení: 3.6/10 (142 hlasy)

Download file:cs

Příkazy:

  • ,exec rozdel_regy_pro_1
  • ,exec rozdel_regy_pro_2
  • ,exec rozdel_regy_pro_3
  • ,exec rozdel_regy_pro_4
  • ,exec rozdel_regy_pro_5
  • ,exec rozdel_regy_pro_6
  • ,exec rozdel_regy "int kolik_lidi"
  • ,exec rozdel_regy "int kolik_lidi" " int necro"

Kód:

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

namespace Scripts.DarkParadise
{
    public class regyuklid
    {

        [Executable]
        public void Rozdel_regy_pro_1()
        {
            Rozdel_regy(1, 0);
        }
        [Executable]
        public void Rozdel_regy_pro_2()
        {
            Rozdel_regy(2, 0);
        }
        [Executable]
        public void Rozdel_regy_pro_3()
        {
            Rozdel_regy(3, 0);
        }
        [Executable]
        public void Rozdel_regy_pro_4()
        {
            Rozdel_regy(4, 0);
        }
        [Executable]
        public void Rozdel_regy_pro_5()
        {
            Rozdel_regy(5, 0);
        }
        [Executable]
        public void Rozdel_regy_pro_6()
        {
            Rozdel_regy(6, 0);
        }

        [Executable]
        public void Rozdel_regy(int kolik_lidi)
        {
            Rozdel_regy(kolik_lidi, 0);
        }
        [Executable]
        public void Rozdel_regy(int kolik_lidi, int necro)
        {
            UO.Print("Zamer Pytlik s regy a vemu si 1/" + kolik_lidi);
            UOItem to = new UOItem(UIManager.TargetObject());

            foreach (KeyValuePair<Graphic, string> item in new Dictionary<Graphic, string>
                                                           {
                                                               {0x0F7B,"BM"},
                                                               {0x0F7A,"BP"},
                                                               {0x0F84,"GA"},
                                                               {0x0F85,"GI"},
                                                               {0x0F86,"MR"},
                                                               {0x0F88,"NS"},
                                                               {0x0F8C,"SA"},
                                                               {0x0F8D,"SS"},
                                                               {0x0F87,"EON"}
                                                           })
                MoveItems(to, kolik_lidi, item);
            if (necro == 1)
            {
                foreach (KeyValuePair<Graphic, string> item in new Dictionary<Graphic, string>
                                                           {
                                                               {0x0F7F,"br"},
                                                               {0x0F7C,"bl"},
                                                               {0x0F83,"ec"},
                                                               {0x0F7E,"bo"},
                                                               {0x0F7D,"vb"},
                                                               {0x0F78,"Necro reg"},
                                                               {0x0F79,"Necro reg"},
                                                               {0x0F80,"Necro reg"},
                                                               {0x0F81,"Necro reg"},
                                                               {0x0F82,"Necro reg"},
                                                               {0x0F89,"Necro reg"},
                                                               {0x0F8B,"Necro reg"},
                                                               {0x0F8E,"Necro reg"},
                                                               {0x0F8F,"Necro reg"},
                                                               {0x0F91,"Necro reg"}
                                                           })
                    MoveItems(to, kolik_lidi, item);
            }
        }


        private void MoveItems(UOItem to, int kolik_lidi, KeyValuePair<Graphic, string> item)
        {
            int count = to.AllItems.Count(item.Key);
            int math = count / kolik_lidi;
            double maths = Math.Round(Convert.ToDouble(math));
            int regu_me = Convert.ToInt32(maths);
            if (regu_me >= 2)
            {
                UOItem ss = new UOItem(to.AllItems.FindType(item.Key));
                MoveItem(to, ss, item.Value, regu_me);
            }
        }

        private void MoveItem(UOItem to, UOItem item, string items, int count)
        {
            using (ItemUpdateEventWaiter ew = new ItemUpdateEventWaiter(item))
            {
                item.Move(Convert.ToUInt16(count), World.Player.Backpack.Serial);
                UO.PrintInformation(items + " presunuto " + count);
                UO.Wait(500);
            }
        }


    }
}
Strana: 1,2,3
nancy266
03 Feb 2026

I found your writing very relatable and easy to connect with. It feels like you’re speaking directly to the reader escape road 2 game.

stauntonbaptistchurch
03 Jul 2024

stauntonbaptistchurch

trouwgedichten
03 Jul 2024

trouwgedichten

ktv789
03 Jul 2024

ktv789

livebet
03 Jul 2024

livebet

lv224
03 Jul 2024

lv224

lv224
03 Jul 2024

lv224

max-bet
03 Jul 2024

max-bet

pay69
03 Jul 2024

pay69

pgzeed
03 Jul 2024

pgzeed

sb888
03 Jul 2024

sb888

21 May 2024

This article is a treasure trove of information for anyone planning a trip to Dubai. Your insights on Dubai flights are spot-on, and the tips for finding Cheap Dubai flights are highly actionable. The emphasis on direct Dubai flights from the UK is particularly beneficial for UK travelers seeking convenience. Your writing style is engaging and informative, making it a pleasure to read. Thank you for sharing such valuable information that will undoubtedly make my travel planning much easier.

23 Apr 2024

Your article have solved my couple of issues which I was facing in the recent couple of weeks. This article was like a medicine for me. I also enjoyed while reading this article from this website. I am writer and used to write the articles for different travel agencies. I recently write a blog on the Cheap and diect Dubai flights from the United Kingdom. I have guided the new travelers in a very well manner.

18 Apr 2024

Embark on a culinary journey through Makkah's top 10 restaurants, where exquisite flavors and culinary excellence await. Indulge in a blend of traditional and modern dishes amidst the city's vibrant ambiance.

Makkah's top 10 restaurants

18 Apr 2024

I have never experienced such a remarkable portion in my entire life till now. It is my best experience while reading this article. In which the solution to all my problems was hidden. I am a businessman who used to Travel to Bahrain for business meetings. I recently booked a ticket for cheap Dubai flights from UK
and it was truly an admirable experience.

sabtain
17 Apr 2024

Embark on a culinary journey through Makkah's top 10 restaurants, where exquisite flavors and culinary excellence await. Indulge in a blend of traditional and modern dishes amidst the city's vibrant ambiance. https://blogrism.com/top-10-restaurants-in-makkah-culinary-delights-await/

sabtain
17 Apr 2024

Embark on a culinary journey through Makkah's top 10 restaurants, where exquisite flavors and culinary excellence await. Indulge in a blend of traditional and modern dishes amidst the city's vibrant ambiance. https://blogrism.com/top-10-restaurants-in-makkah-culinary-delights-await/

02 Apr 2024

I have not experienced such a remarkable piece of writing in my whole life. It was an excellent experience while reading this article. I am a business man used to travel to the United Arab Emirates for the business meetings. I usually book the diect Dubai flight for visiting the Dubai and various other countries in the Middle East.

02 Apr 2024

I am thankful for sharing this excellent piece of writing that you have shared through this platform. The way you started the article and the way you concluded the topic was appreciable. By the way, I am a resident of Birmingham and I traveled last year to United Arab Emirates using the direct Dubai flights from UK which are indulged with the excellent amenities and facilities on the board.

Strana: 1,2,3

Nový komentář