Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.DP
- {
- public class UklidBordel
- {
- [Executable]
- public static void Uklid()
- {
- UO.PrintInformation("Sikulka, poklidim ti bordel do refulltruhly.");
- UO.Wait(500);
- UO.PrintInformation("Ujisti se prosim, ze mas otevrenou securku a backpack.");
- UO.Wait(500);
- UOItem baglicek = World.Player.Backpack;
- UOItem TruhlaNaBordel = new UOItem(0x403539E9);
- UOItem PytelNaRegy = new UOItem(0x401A9048);
- UO.Wait(500);
- ushort[] itemy = new ushort[25];
- ushort[] barvy = new ushort[25];
- itemy[0] = 0x0F78; barvy[0] = 0x0000;
- itemy[1] = 0X0F84; barvy[1] = 0x0000;
- itemy[2] = 0X0F85; barvy[2] = 0x0000;
- itemy[3] = 0X0F86; barvy[3] = 0x0000;
- itemy[4] = 0X0F87; barvy[4] = 0x0000;
- itemy[5] = 0X0F88; barvy[5] = 0x0000;
- itemy[6] = 0X0F8C; barvy[6] = 0x0000;
- itemy[7] = 0X0F8D; barvy[7] = 0x0000;
- itemy[8] = 0x0F8B; barvy[8] = 0x0000;
- itemy[9] = 0x0F8F; barvy[9] = 0x0000;
- itemy[10] = 0x0F79; barvy[10] = 0x0000;
- itemy[11] = 0x0F7E; barvy[11] = 0x0000;
- itemy[12] = 0x0F80; barvy[12] = 0x0000;
- itemy[13] = 0x0F7C; barvy[13] = 0x0000;
- itemy[14] = 0x0F91; barvy[14] = 0x0000;
- itemy[15] = 0x0F7D; barvy[15] = 0x0000;
- itemy[16] = 0x1BFB; barvy[16] = 0x0000;
- itemy[17] = 0x0F3F; barvy[17] = 0x0000;
- itemy[18] = 0x0F3F; barvy[18] = 0x008A;
- itemy[19] = 0x1BFB; barvy[19] = 0x0000;
- for (int i = 0; i < itemy.Length; i++)
- {
- UO.PrintInformation("Serial:" + baglicek.AllItems.FindType(itemy[i], barvy[i]));
- if (baglicek.AllItems.FindType(itemy[i], barvy[i]) != 0xFFFFFFFF)
- {
- UO.MoveItem(baglicek.AllItems.FindType(itemy[i]), 0, PytelNaRegy);
- UO.PrintInformation("Serial:" + baglicek.AllItems.FindType(itemy[i]).Serial);
- UO.PrintInformation("Pocet:" + baglicek.AllItems.FindType(itemy[i]).Amount);
- UO.Wait(500);
- }
- else
- {
- UO.MoveItem(baglicek.AllItems.FindType(itemy[i]), 0, TruhlaNaBordel);
- UO.PrintInformation("Serial:" + baglicek.AllItems.FindType(itemy[i]).Serial);
- UO.PrintInformation("Pocet:" + baglicek.AllItems.FindType(itemy[i]).Amount);
- }
- }
- UO.Wait(500);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement