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

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

Staženo: 814x

Popis:

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


Hodnocení: 3.7/10 (151 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,4,5,6,7,8
12 Aug 2026

https://sites.google.com/view/forgecalcualtor/ What I like most is that it makes a fairly ordinary task much easier. The interface is clean, and the whole experience feels smooth.

12 Aug 2026

https://www.squarefacemakerpfp.com What I like most is that it makes a fairly ordinary task much easier. The interface is clean, and the whole experience feels smooth.

09 Aug 2026

https://www.freehistogrammaker.com I appreciate when a site gets straight to the point like this. It feels organized, helpful, and not overloaded with unnecessary distractions.

09 Aug 2026

https://www.textbubblegenerator.com I found this page surprisingly useful because it keeps everything simple and practical. The information is easy to understand, and it feels like a tool made for real everyday use.

09 Aug 2026

https://www.reiskosten-berekenen.nl Ik kan me voorstellen dat mensen dit bladwijzer maken als ze een betrouwbare online tool nodig hebben. Het doet wat het belooft en houdt het simpel.

09 Aug 2026

https://www.phonecasescustom.com It is refreshing to find a site that is both simple and genuinely useful. The structure makes it easy to focus on the result instead of figuring out the site.

09 Aug 2026

https://www.firetextgenerator.com It is refreshing to find a site that is both simple and genuinely useful. The structure makes it easy to focus on the result instead of figuring out the site.

09 Aug 2026

https://www.kalkulator-narzedzi.pl Moim zdaniem to co?, co wiele osób doda?oby do zak?adek, je?li potrzebuj? niezawodnego narz?dzia online. Robi to, co obiecuje, i nie komplikuje sprawy.

09 Aug 2026

https://www.kalkulator-sportu.pl Najbardziej podoba mi si? to, ?e zwyk?e zadanie staje si? tu du?o ?atwiejsze. Interfejs jest czysty, a korzystanie z serwisu jest p?ynne.

09 Aug 2026

https://www.kalkulator-pracy.pl Najbardziej podoba mi si? to, ?e zwyk?e zadanie staje si? tu du?o ?atwiejsze. Interfejs jest czysty, a korzystanie z serwisu jest p?ynne.

09 Aug 2026

https://www.generatoryonline.pl Narz?dzie sprawia wra?enie dobrze dopracowanego i godnego zaufania. To w?a?nie taki typ strony, który przyspiesza drobne zadania i zmniejsza frustracj?.

06 Aug 2026

https://www.designerbag.cc The tool feels well put together and easy to trust. It is the kind of page that makes a small job much faster and less frustrating.

05 Aug 2026

https://www.kalkulator-kredytu.pl Ogólnie to solidny serwis z wyra?nym celem. Jest ?atwy w u?yciu, prosty do zrozumienia i praktyczny przy cz?stym korzystaniu.

04 Aug 2026

https://www.myheroacademiaquirkgenerator.com Overall, this is a solid website with a clear focus. It is easy to use, easy to understand, and practical for repeat visits.

03 Aug 2026

https://www.kalkulator-sportu.pl Uwa?am, ?e ta strona jest naprawd? pomocna, bo wszystko pozostaje proste i praktyczne. Informacje s? ?atwe do zrozumienia, a ca?o?? wygl?da jak narz?dzie do codziennego u?ytku.

28 Jul 2026

https://www.przelicznik-foremek.pl To praktyczny przelicznik foremek, który pomaga w kuchni i przy pieczeniu. Użytkownicy mogą szybko dopasować proporcje składników do różnych rozmiarów form. Strona jest szczególnie przydatna dla osób piekących w domu oraz dla kulinarnych pasjonatów.

21 Jul 2026

This piece of content is very helpful and informative. I’m glad you shared it with us. Please continue keeping us informed. Thank you.

13 Jul 2026

Restore Old Photos provides fast, high-quality restoration for black-and-white and color photos with one click.

13 Jul 2026

Use this free square face generator to design your own pixel avatar with 200+ customization items across 12 categories and download it instantly

13 Jul 2026

HEIC to JPG is the perfect solution for users who need to convert their iPhone photos to the more widely supported JPG format.

Strana: 1,2,3,4,5,6,7,8

Nový komentář