Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

ranos.pl sposób na hacki


Michoł3

Rekomendowane odpowiedzi

Opublikowano

248631407965198313241.png

izi gra na ranos

406561407965198313241.png

 

 

523311407965198313241.png

 

924761407965198313241.png

nom

860691407965198313241.png

poniżej 

 

794021407965198313241.png

poniżej

 

297451407965198313241.png

 
1 pobieramy multihack kamera http://metin2mod.tk/?page_id=8
włączamy grę i wybieramy w multihacku serwer carolinemt2    
=================================================
ogólnie wszystko co trochę pomaga jest w cheacie ale można dodać jeszcze taki multihack zahona który jest o niebo lepszy i wygodniejszy
 
 
wchodzimy w scripts (folder znajduje się w folderze w którym jest multihack)
otwieramy notatnikiem ++(chyba że chcecie pojedynczo wpisywać) plik bonusswitcher.py
usuwamy wszystko i wklejamy


import ui
import dbg
import app
import wndMgr
import chat
import chr
import locale
import net
import player
import time
import interfacemodule
import background
import os
import chrmgr

### Gui ###

Auto_Attack = 0
Auto_Attack_Mode = 0
Auto_Attack_Rotation_Delay = 0.7

Mobber = 0
Mobber_Delay = 0.1

Pick_Up = 0
Pick_Up_Delay = 0.1

Restart = 0

Poty = 0
Red_Poty = 1
Red_Poty_Delay = 80
Blue_Poty = 1
Blue_Poty_Delay = 80

Gm_Detector = 0
Gm_Detector_Mode = 0
Gm_Detector_Delay = 10
Gm_Detector_Log = 0

### Use Item ###

RedRosa = 0
PinkRosa = 0
YellowRosa = 0
GreenRosa = 0
BlueRosa = 0
WhiteRosa = 0

SokZKwiatuBrzoskwini = 0
SokZPokrzywy = 0
SokZKwiatuKaki = 0
SokZKorzeniaGango = 0
WodaSim = 0
WodaDok = 0
WodaBo = 0
WodaYoung = 0
WodaZin = 0
WodaSamBo = 0
WodaMong = 0
WodaHwal = 0

AtakBogaSmokow = 0
ObronaBogaSmokow = 0
ZycieBogaSmokow = 0
InteligencjaBogaSmokow = 0
DlonKrytyka = 0
DlonPrzebicia = 0
ZielonaMikstura = 0
FioletowaMikstura = 0
ChinskaOgnistaPetarda = 0
Fajerwerki = 0

Use_All = 0

Rosy_Delay = 60
SokiWody_Delay = 180
BogaSmokow_Delay = 1800
Dlonie_Delay = 600
Mikstury_Delay = 600
Petardy_Delay = 120

### Buff Bot ###

Start_Buff_Bot = 0

VID = 0
NickName = 0

Buff_Skill_1 = 0
Buff_Skill_2 = 0
Buff_Skill_3 = 0

### Spam Bot ###

Spam_Bot_1 = 0
Spam_Bot_1_Mode = 0
Spam_Bot_1_Delay = 5

### Other Options ###

Ghost_Mode = 0
Time_Of_Day = 0
Make_Snow = 0
No_Fog = 0
Open_Calm = 0
Zoom_Hack = 0
Stay_Camera = 0
Bird_Camera = 0
Respown_Time = 0
Player_Hide = 0
Weapon_ID = 189
Armor_ID = 11299
Set_Gm = 0
Combo = 0

class Gui(ui.Window):
	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):
		self.Board = ui.Board()
		self.Board.SetSize(243, 130)
		self.Board.SetPosition((wndMgr.GetScreenWidth()-400), -120)
		# self.Board.AddFlag('movable')
		# self.Board.AddFlag('float')
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()
		
	################################### Gui Buttony ###################################	
		
		self.Gui_Show_Button = self.comp.Button(self.Board, '', '', 70, 128, self.Gui_Show_func, 'd:/Multi_Hack/Icons/Gui/Gui_Show_Button_01.tga', 'd:/Multi_Hack/Icons/Gui/Gui_Show_Button_02.tga', 'd:/Multi_Hack/Icons/Gui/Gui_Show_Button_03.tga')			
		self.Gui_Hide_Button = self.comp.ButtonHide(self.Board, '', '', 70, 128, self.Gui_Hide_func, 'd:/Multi_Hack/Icons/Gui/Gui_Hide_Button_01.tga', 'd:/Multi_Hack/Icons/Gui/Gui_Hide_Button_02.tga', 'd:/Multi_Hack/Icons/Gui/Gui_Hide_Button_03.tga')			

	################################### Func Buttony ###################################	

		self.Auto_Attack_img = self.comp.ExpandedImage(self.Board , 10, 30, 'd:/Multi_Hack/Icons/Img/Gui/Auto_Attack.tga')	
		self.Mobber_img = self.comp.ExpandedImage(self.Board , 47, 30, 'd:/Multi_Hack/Icons/Img/Gui/Mobber.tga')	
		self.Pick_Up_img = self.comp.ExpandedImage(self.Board , 84, 30, 'd:/Multi_Hack/Icons/Img/Gui/Pick_Up.tga')	
		self.Restart_img = self.comp.ExpandedImage(self.Board , 121, 30, 'd:/Multi_Hack/Icons/Img/Gui/Restart.tga')	
		self.Poty_img = self.comp.ExpandedImage(self.Board , 158, 30, 'd:/Multi_Hack/Icons/Img/Gui/Poty.tga')	
		self.Gm_Detector_img = self.comp.ExpandedImage(self.Board , 195, 30, 'd:/Multi_Hack/Icons/Img/Gui/Gm_Detector.tga')	
		
		self.Auto_Attack_Button = self.comp.Button(self.Board, '', 'Włącz Auto Atak', 10, 30, self.Auto_Attack_func, 'd:/Multi_Hack/Icons/Img/Gui/Auto_Attack.tga', 'd:/Multi_Hack/Icons/Img/Gui/Auto_Attack.tga', 'd:/Multi_Hack/Icons/Img/Gui/Auto_Attack.tga')
		self.Mobber_Button = self.comp.Button(self.Board, '', 'Włącz Mobber', 47, 30, self.Mobber_func, 'd:/Multi_Hack/Icons/Img/Gui/Mobber.tga', 'd:/Multi_Hack/Icons/Img/Gui/Mobber.tga', 'd:/Multi_Hack/Icons/Img/Gui/Mobber.tga')
		self.Pick_Up_Button = self.comp.Button(self.Board, '', 'Włącz PickUp', 84, 30, self.Pick_Up_func, 'd:/Multi_Hack/Icons/Img/Gui/Pick_Up.tga', 'd:/Multi_Hack/Icons/Img/Gui/Pick_Up.tga', 'd:/Multi_Hack/Icons/Img/Gui/Pick_Up.tga')
		self.Restart_Button = self.comp.Button(self.Board, '', 'Włącz wstawanie po śmierci', 121, 30, self.Restart_func, 'd:/Multi_Hack/Icons/Img/Gui/Restart.tga', 'd:/Multi_Hack/Icons/Img/Gui/Restart.tga', 'd:/Multi_Hack/Icons/Img/Gui/Restart.tga')	
		self.Poty_Button = self.comp.Button(self.Board, '', 'Włącz Automatyczne Potowanie', 158, 30, self.Poty_func, 'd:/Multi_Hack/Icons/Img/Gui/Poty.tga', 'd:/Multi_Hack/Icons/Img/Gui/Poty.tga', 'd:/Multi_Hack/Icons/Img/Gui/Poty.tga')	
		self.Gm_Detector_Button = self.comp.Button(self.Board, '', 'Wykrywacz Gm', 195, 30, self.Gm_Detector_func, 'd:/Multi_Hack/Icons/Img/Gui/Gm_Detector.tga', 'd:/Multi_Hack/Icons/Img/Gui/Gm_Detector.tga', 'd:/Multi_Hack/Icons/Img/Gm_Detector.tga')
		
		self.Use_Item_Show_Button = self.comp.Button(self.Board, '', 'Używanie Dopalaczy', 10, 82, self.Use_Item_Show_func, 'd:/Multi_Hack/Icons/Buttons/Gui/Use_Item_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Use_Item_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Use_Item_Button_03.tga')
		self.Buff_Bot_Show_Button = self.comp.Button(self.Board, '', 'Buff Bot', 47, 82, self.Buff_Bot_Show_func, 'd:/Multi_Hack/Icons/Buttons/Gui/Buff_Bot_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Buff_Bot_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Buff_Bot_Button_03.tga')		
		self.Spam_Bot_Show_Button = self.comp.Button(self.Board, '', 'Spam Bot', 84, 82, self.Spam_Bot_Show_func, 'd:/Multi_Hack/Icons/Buttons/Gui/Spam_Bot_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Spam_Bot_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Spam_Bot_Button_03.tga')		
		self.Other_Function_Show_Button = self.comp.Button(self.Board, '', 'Inne funkcje', 121, 82, self.Other_Function_Show_func, 'd:/Multi_Hack/Icons/Buttons/Gui/Other_Function_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Other_Function_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Other_Function_Button_03.tga')		
		self.Options_Button = self.comp.Button(self.Board, '', 'Ustawienia', 158, 82, self.Options_func, 'd:/Multi_Hack/Icons/Buttons/Gui/Options_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Options_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Options_Button_03.tga')
		self.Info_Show_Button = self.comp.Button(self.Board, '', 'Wyświetl Informacje', 195, 82, self.Info_Show_func, 'd:/Multi_Hack/Icons/Buttons/Gui/Info_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Info_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/Info_Button_03.tga')				
		
	################################### Gui Func ######################################	

	def Gui_Show_func(self):
		self.Gui_Show_Button.Hide()
		self.Gui_Hide_Button.Show()
		self.Board.SetPosition((wndMgr.GetScreenWidth()-400), -10)	
	
	def Gui_Hide_func(self):
		self.Gui_Hide_Button.Hide()
		self.Gui_Show_Button.Show()
		self.Board.SetPosition((wndMgr.GetScreenWidth()-400), -120)	

	################################### Auto Attack Func ##########################################		
	
	def Auto_Attack_func(self):	
		global Auto_Attack
		if Auto_Attack == 0:
			Auto_Attack = 1
			self.Enable_Auto_Attack()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Auto Atak Włączony")
			self.Auto_Attack_Button.SetToolTipText("Wyłącz Auto Atak")
			self.Auto_Attack_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Auto_Attack_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Auto_Attack_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			Auto_Attack = 0
			self.Disable_Auto_Attack()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Auto Atak Wyłączony")
			self.Auto_Attack_Button.SetToolTipText("Włącz Auto Atak")
			self.Auto_Attack_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Auto_Attack_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Auto_Attack_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
					
	def Enable_Auto_Attack(self):
		global Auto_Attack_Mode
		global Auto_Attack_Rotation_Delay
	
		if Auto_Attack_Mode == 0:
			Direction = app.GetRandom(0,7)
			player.SetAttackKeyState(TRUE)
			chr.SetDirection(Direction)
			
		if Auto_Attack_Mode == 1:
			player.SetAttackKeyState(TRUE)

				
		self.Delay_Auto_Attack = WaitingDialog()
		self.Delay_Auto_Attack.Open(float(Auto_Attack_Rotation_Delay))
		self.Delay_Auto_Attack.SAFE_SetTimeOverEvent(self.Enable_Auto_Attack)
			
	def Disable_Auto_Attack(self):
	
		player.SetAttackKeyState(FALSE)
		
		self.Delay_Auto_Attack = WaitingDialog()
		self.Delay_Auto_Attack.Open(float(99999999999999999))
		self.Delay_Auto_Attack.SAFE_SetTimeOverEvent(self.Disable_Auto_Attack)
		
	################################### Mobber Func ##########################################	

	def Mobber_func(self):
		global Mobber
		if Mobber == 0:
			Mobber = 1
			self.Enable_Mobber()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Mobber Włączony")
			self.Mobber_Button.SetToolTipText("Wyłącz Mobber")
			self.Mobber_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Mobber_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Mobber_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			Mobber = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Mobber Wyłączony")
			self.Mobber_Button.SetToolTipText("Włącz Mobber")
			self.Mobber_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Mobber_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Mobber_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")


	def Enable_Mobber(self):
		global Mobber_Delay
		self.Delay_Mobber = WaitingDialog()
		self.Delay_Mobber.Open(float(Mobber_Delay))
		global Mobber
		if Mobber == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 70038:
					net.SendItemUsePacket(i)
					break
		self.Delay_Mobber.SAFE_SetTimeOverEvent(self.Enable_Mobber)

	################################### Pick Up Func ###################################	

	def Pick_Up_func(self):
		global Pick_Up
		if Pick_Up == 0:
			Pick_Up = 1
			self.Enable_Pick_Up()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "PickUp Włączony")
			self.Pick_Up_Button.SetToolTipText("Wyłącz PickUp")
			self.Pick_Up_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Pick_Up_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Pick_Up_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:	
			Pick_Up = 0
			self.Disable_Pick_Up()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "PickUp Wyłączony")
			self.Pick_Up_Button.SetToolTipText("Włącz PickUp")
			self.Pick_Up_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Pick_Up_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Pick_Up_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
		
	def Enable_Pick_Up(self):
		global Pick_Up_Delay
		
		player.PickCloseItem() 

		self.Delay_Pick_up = WaitingDialog()
		self.Delay_Pick_up.Open(float(Pick_Up_Delay))
		self.Delay_Pick_up.SAFE_SetTimeOverEvent(self.Enable_Pick_Up)
			
	def Disable_Pick_Up(self):
		player.PickCloseItem() 
		
		self.Delay_Pick_up = WaitingDialog()
		self.Delay_Pick_up.Open(float(99999999999999999))
		self.Delay_Pick_up.SAFE_SetTimeOverEvent(self.Disable_Pick_Up)	

	################################### Restart Func ###################################	

	def Restart_func(self):
		global Restart
		if Restart == 0:
			Restart = 1
			self.Enable_Restart()
			self.Restart_Button.SetToolTipText("Wyłącz wstawanie po śmierci")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Wstawanie po śmierci włączone")
			self.Restart_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Restart_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Restart_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:	
			Restart = 0
			self.Disable_Restart()
			self.Restart_Button.SetToolTipText("Włącz wstawanie po śmierci")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Wstawanie po śmierci wyłączone")
			self.Restart_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Restart_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Restart_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
								
	def Enable_Restart(self):	

		net.SendChatPacket("/restart_here")
	
		self.Delay_Restart = WaitingDialog()
		self.Delay_Restart.Open(int(2.5))
		self.Delay_Restart.SAFE_SetTimeOverEvent(self.Enable_Restart)
		
	def Disable_Restart(self):		
		self.Delay_Restart = WaitingDialog()
		self.Delay_Restart.Open(float(99999999999999999))
		self.Delay_Restart.SAFE_SetTimeOverEvent(self.Disable_Restart)	

	################################### Poty Func ###################################	

	def Poty_func(self):
		global Poty
		if Poty == 0:
			Poty = 1
			self.Enable_Poty()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Automatyczne Potowanie Włączone")
			self.Poty_Button.SetToolTipText("Wyłącz Automatyczne Potowanie")
			self.Poty_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Poty_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Poty_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			Poty = 0
			self.Disable_Poty()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Automatyczne Potowanie Wyłączone")
			self.Poty_Button.SetToolTipText("Włącz Automatyczne Potowanie")
			self.Poty_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Poty_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Poty_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def Enable_Poty(self):
		global Poty 
		global Red_Poty
		global Red_Poty_Delay
		global Blue_Poty
		global Blue_Poty_Delay
		
		Max_HP = player.GetStatus(player.MAX_HP)
		Actually_HP = player.GetStatus(player.HP)
		
		Max_PE = player.GetStatus(player.MAX_SP)
		Actually_PE = player.GetStatus(player.SP)
			
		if Poty == 1 and Red_Poty == 1:
			if (float(Actually_HP) / (float(Max_HP)) * 100) < float(Red_Poty_Delay):
				for i in xrange(player.INVENTORY_PAGE_SIZE*3):
					Red_Poty_ID = player.GetItemIndex(i)
					if Red_Poty_ID == 27003 or Red_Poty_ID == 27002 or Red_Poty_ID == 27055 or Red_Poty_ID == 27057:
						net.SendItemUsePacket(i)
						break
						
		if Poty == 1 and Blue_Poty == 1:
			if (float(Actually_PE) / (float(Max_PE)) * 100) < float(Blue_Poty_Delay):
				for i in xrange(player.INVENTORY_PAGE_SIZE*3):
					Blue_Poty_ID = player.GetItemIndex(i)
					if Blue_Poty_ID == 27006 or Blue_Poty_ID == 27005 or Blue_Poty_ID == 27004 or Blue_Poty_ID == 27056 or Blue_Poty_ID == 27058:
						net.SendItemUsePacket(i)
						break
			
		self.Delay_Poty = WaitingDialog()
		self.Delay_Poty.Open(float(0.1))
		self.Delay_Poty.SAFE_SetTimeOverEvent(self.Enable_Poty)
			
	def Disable_Poty(self):	
		self.Delay_Poty = WaitingDialog()
		self.Delay_Poty.Open(float(99999999999999999))
		self.Delay_Poty.SAFE_SetTimeOverEvent(self.Disable_Poty)
		
	################################### Gm Detector ###################################			
		
	def Gm_Detector_func(self):
		global Gm_Detector
		if Gm_Detector == 0:
			Gm_Detector = 1
			self.Enable_Gm_Detector()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Wykrywacz Gm Włączony")
			self.Gm_Detector_Button.SetToolTipText("Wykrywacz Gm Włączony")
			self.Gm_Detector_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Gm_Detector_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Gm_Detector_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")

		else:	
			Gm_Detector = 0
			self.Disable_Gm_Detector()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Wykrywacz Gm Wyłączony")
			self.Gm_Detector_Button.SetToolTipText("Wykrywacz Gm Wyłączony")
			self.Gm_Detector_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Gm_Detector_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Gm_Detector_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
	
	def Enable_Gm_Detector(self):
		global Gm_Detector
		global Gm_Detector_Mode	
		global Gm_Detector_Delay
		
		czas = time.strftime("%H:%M")
		
		if Gm_Detector_Mode == 0:
			for i in range(100, 1000000):
				name = chr.GetNameByVID(i)
				if (chr.INSTANCE_TYPE_PLAYER == chr.GetInstanceType(i) and name[0] == "(") :
					chat.AppendChat(chat.CHAT_TYPE_INFO, "Uwanga Gm w pobliżu: "+name)
					open('Saves/Gm_Detector_Log.cfg', 'w').write('%s' % (czas + ' Wykryto Gm: ' + name))
					
				if (chr.INSTANCE_TYPE_PLAYER == chr.GetInstanceType(i) and name[0] == "[") :
					chat.AppendChat(chat.CHAT_TYPE_INFO, "Uwanga Gm w pobliżu: "+name)
					open('Saves/Gm_Detector_Log.cfg', 'w').write('%s' % (czas + ' Wykryto Gm: ' + name))
					
				if (chr.INSTANCE_TYPE_PLAYER == chr.GetInstanceType(i) and name[0] == "{") :
					chat.AppendChat(chat.CHAT_TYPE_INFO, "Uwanga Gm w pobliżu: "+name)
					open('Saves/Gm_Detector_Log.cfg', 'w').write('%s' % (czas + ' Wykryto Gm: ' + name))
					
					
		if Gm_Detector_Mode == 1:
			for i in range(100, 1000000):
				name = chr.GetNameByVID(i)
				if (chr.INSTANCE_TYPE_PLAYER == chr.GetInstanceType(i) and name[0] == "(") :
					chat.AppendChat(chat.CHAT_TYPE_INFO, "Uwanga Gm w pobliżu: "+name)
					app.Exit()
					open('Saves/Gm_Detector_Log.cfg', 'w').write('%s' % (czas + ' Wykryto Gm: ' + name + ' - Wyłączono Grę'))
					
				if (chr.INSTANCE_TYPE_PLAYER == chr.GetInstanceType(i) and name[0] == "[") :
					chat.AppendChat(chat.CHAT_TYPE_INFO, "Uwanga Gm w pobliżu: "+name)
					app.Exit()
					open('Saves/Gm_Detector_Log.cfg', 'w').write('%s' % (czas + ' Wykryto Gm: ' + name + ' - Wyłączono Grę'))
					
				if (chr.INSTANCE_TYPE_PLAYER == chr.GetInstanceType(i) and name[0] == "O") :
					chat.AppendChat(chat.CHAT_TYPE_INFO, "Uwanga Gm w pobliżu: "+name)
					app.Exit()
					open('Saves/Gm_Detector_Log.cfg', 'w').write('%s' % (czas + ' Wykryto Gm: ' + name + ' - Wyłączono Grę'))

		self.Delay_Gm_Detector = WaitingDialog()
		self.Delay_Gm_Detector.Open(float(Gm_Detector_Delay))
		self.Delay_Gm_Detector.SAFE_SetTimeOverEvent(self.Enable_Gm_Detector)
			
	def Disable_Gm_Detector(self):
		
		self.Delay_Gm_Detector = WaitingDialog()
		self.Delay_Gm_Detector.Open(float(99999999999999999))
		self.Delay_Gm_Detector.SAFE_SetTimeOverEvent(self.Disable_Gm_Detector)
		
	################################### Use Item Show ###################################		
		
	def Use_Item_Show_func(self):
		Use_Item().Show
		
	################################### Buff Bot Show ###################################		
		
	def Buff_Bot_Show_func(self):
		Buff_Bot().Show()
		
	################################### Spam Bot Show ###################################		
		
	def Spam_Bot_Show_func(self):
		Spam_Bot().Show()
		
	################################### Spam Bot Show ###################################		
		
	def Other_Function_Show_func(self):
		Other_Function().Show()
				
	################################### Options #########################################			
		
	def Options_func(self):	
		Options().Show()
		
	################################### Info Show #########################################			
		
	def Info_Show_func(self):	
		Info().Show()
		
	#####################################################################################		
	
	def __BuildKeyDict(self):
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
	
	def Close(self):
		self.Board.Hide()
		
class Options(ui.Window):

	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):	
		self.Board = ui.BoardWithTitleBar()
		self.Board.SetSize(243, 372)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Ustawienia Ogólne')
		self.Board.SetCloseEvent(self.Close)
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()
		
	################################### HorizontalBars ###################################		
		
		### Strona 1 ###
		
		self.Gui_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 38, 223)
		self.Gui_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Gui_HorizontalBar, 'Gui Ustawienia', 5, 0, 0xFFFFE3AD)			

		self.Poty_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 140, 223)
		self.Poty_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Poty_HorizontalBar, 'Ustawienia Automatycznego Potowania', 5, 0, 0xFFFFE3AD)			

		self.Gm_Detector_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 220, 223)
		self.Gm_Detector_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Gm_Detector_HorizontalBar, 'Wyktywacz Gm Ustawienia', 5, 0, 0xFFFFE3AD)			

		### Strona 2 ###
		
		self.Info_HorizontalBar = self.comp.HorizontalBarHide(self.Board , 10, 38, 223)
		self.Info_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColorHide(self.Info_HorizontalBar, 'Pamiętaj, że czas podajemy w sekundach!', 5, 0, 0xFFFFE3AD)			
		
		### Strony ###
		
		self.Strony_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 322, 223)
		self.Strony_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Strony_HorizontalBar, 'Strony Ustawień', 5, 0, 0xFFFFE3AD)			

		
	################################## Slotbar i Text ###################################	
		
		### Strona 1 ###
		
		self.Auto_Attack_Rotation_Delay_Text = self.comp.TextLine(self.Board, 'Rotacja Opóźnienie:', 14, 80, self.comp.RGB(255, 255, 255))		
		self.slotbar_Auto_Attack_Rotation_Delay, self.Auto_Attack_Rotation_Delay_EditLine = self.comp.EditLine(self.Board, '0.7', 170, 80, 60, 15, 10)
		
		self.Mobber_Delay_Text = self.comp.TextLine(self.Board, 'Mobber Opóźnienie:', 14, 100, self.comp.RGB(255, 255, 255))		
		self.slotbar_Mobber_Delay, self.Mobber_Delay_EditLine = self.comp.EditLine(self.Board, '0.5', 170, 100, 60, 15, 10)

		self.Pick_Up_Delay_Text = self.comp.TextLine(self.Board, 'PickUp Szybkość:', 14, 120, self.comp.RGB(255, 255, 255))		
		self.slotbar_Pick_Up_Delay, self.Pick_Up_Delay_EditLine = self.comp.EditLine(self.Board, '0.1', 170, 120, 60, 15, 10)
		
		self.Red_Poty_Delay_Text = self.comp.TextLine(self.Board, 'Przy ilu % używać Red Pot:', 14, 180, self.comp.RGB(255, 255, 255))		
		self.slotbar_Red_Poty_Delay, self.Red_Poty_Delay_EditLine = self.comp.EditLine(self.Board, '80', 170, 180, 60, 15, 10)
		
		self.Blue_Poty_Delay_Text = self.comp.TextLine(self.Board, 'Przy ilu % używać Blue Pot:', 14, 200, self.comp.RGB(255, 255, 255))		
		self.slotbar_Blue_Poty_Delay, self.Blue_Poty_Delay_EditLine = self.comp.EditLine(self.Board, '80', 170, 200, 60, 15, 10)

		self.Gm_Detector_Delay_Text = self.comp.TextLine(self.Board, 'Wykrywacz Gm Opóźnienie:', 14, 240, self.comp.RGB(255, 255, 255))		
		self.slotbar_Gm_Detector_Delay, self.Gm_Detector_Delay_EditLine = self.comp.EditLine(self.Board, '10', 170, 240, 60, 15, 10)
	
		self.Gm_Detector_Log_Text = self.comp.TextLine(self.Board, 'Gm Detector Logi:', 14, 282, self.comp.RGB(255, 255, 255))		
		self.slotbar_Gm_Detector_Log, self.Gm_Detector_Log_EditLine = self.comp.EditLine(self.Board, 'Brak Logów', 14, 302, 214, 15, 100)
	
		### Strona 2 ###
		
		self.Rosy_Delay_Text = self.comp.TextLineHide(self.Board, 'Rosy Opóźnienie:', 14, 60, self.comp.RGB(255, 255, 255))		
		self.slotbar_Rosy_Delay, self.Rosy_Delay_EditLine = self.comp.EditLineHide(self.Board, '60', 170, 60, 60, 15, 10)
		
		self.SokiWody_Delay_Text = self.comp.TextLineHide(self.Board, 'Soki i Wody Opóźnienie:', 14, 80, self.comp.RGB(255, 255, 255))		
		self.slotbar_SokiWody_Delay, self.SokiWody_Delay_EditLine = self.comp.EditLineHide(self.Board, '180', 170, 80, 60, 15, 10)
		
		self.BogaSmokow_Delay_Text = self.comp.TextLineHide(self.Board, 'Dopalacze Boga Smoków:', 14, 100, self.comp.RGB(255, 255, 255))		
		self.slotbar_BogaSmokow_Delay, self.BogaSmokow_Delay_EditLine = self.comp.EditLineHide(self.Board, '1800', 170, 100, 60, 15, 10)
		
		self.Dlonie_Delay_Text = self.comp.TextLineHide(self.Board, 'Dłonie Opóźnienie:', 14, 120, self.comp.RGB(255, 255, 255))		
		self.slotbar_Dlonie_Delay, self.Dlonie_Delay_EditLine = self.comp.EditLineHide(self.Board, '600', 170, 120, 60, 15, 10)
		
		self.Mikstury_Delay_Text = self.comp.TextLineHide(self.Board, 'Mikstury Opóźnienie:', 14, 140, self.comp.RGB(255, 255, 255))		
		self.slotbar_Mikstury_Delay, self.Mikstury_Delay_EditLine = self.comp.EditLineHide(self.Board, '600', 170, 140, 60, 15, 10)
		
		self.Petardy_Delay_Text = self.comp.TextLineHide(self.Board, 'Petardy Opóźnienie:', 14, 160, self.comp.RGB(255, 255, 255))		
		self.slotbar_Petardy_Delay, self.Petardy_Delay_EditLine = self.comp.EditLineHide(self.Board, '120', 170, 160, 60, 15, 10)
	
	################################## Buttony ###################################	
		
		self.Auto_Attack_Mode_Button = self.comp.Button(self.Board, 'Rotacyjny', '', 170, 58, self.Auto_Attack_Mode_func, 'd:/ymir work/ui/public/middle_button_01.sub', 'd:/ymir work/ui/public/middle_button_02.sub', 'd:/ymir work/ui/public/middle_button_03.sub')
		
		self.Red_Poty_img = self.comp.ExpandedImage(self.Board , 170, 160, 'd:/Multi_Hack/Icons/Img/Gui/Red_Poty_Small.tga')	
		self.Blue_Poty_img = self.comp.ExpandedImage(self.Board , 200, 160, 'd:/Multi_Hack/Icons/Img/Gui/Blue_Poty_Small.tga')	
		
		self.Red_Poty_Button = self.comp.Button(self.Board, '', 'Czerwone Mikstury Używane', 170, 160, self.Red_Poty_func, 'd:/Multi_Hack/Icons/Buttons/Gui/On_Button_Small.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/On_Button_Small.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/On_Button_Small.tga')
		self.Blue_Poty_Buttton = self.comp.Button(self.Board, '', 'Niebieskie Mikstury Używane', 200, 160, self.Blue_Poty_func, 'd:/Multi_Hack/Icons/Buttons/Gui/On_Button_Small.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/On_Button_Small.tga', 'd:/Multi_Hack/Icons/Buttons/Gui/On_Button_Small.tga')

		self.Gm_Detector_Mode_Button = self.comp.Button(self.Board, 'Powiadom', '', 170, 260, self.Gm_Mode_func, 'd:/ymir work/ui/public/middle_button_01.sub', 'd:/ymir work/ui/public/middle_button_02.sub', 'd:/ymir work/ui/public/middle_button_03.sub')

		self.Site_1_Button = self.comp.Button(self.Board, 'I', '', 14, 342, self.Site_1_func, 'd:/ymir work/ui/game/windows/tab_button_large_03.sub', 'd:/ymir work/ui/game/windows/tab_button_large_03.sub', 'd:/ymir work/ui/game/windows/tab_button_large_03.sub')
		self.Site_2_Button = self.comp.Button(self.Board, 'II', '', 150, 342, self.Site_2_func, 'd:/ymir work/ui/game/windows/tab_button_large_01.sub', 'd:/ymir work/ui/game/windows/tab_button_large_02.sub', 'd:/ymir work/ui/game/windows/tab_button_large_03.sub')
		
		
	################################## TextLine ##########################################			
		
		self.TXT_Auto_Attack_Mode = self.comp.TextLine(self.Board, 'Rodzaj Auto Ataku:', 14, 60, self.comp.RGB(255, 255, 255))
		self.TXT_Poty = self.comp.TextLine(self.Board, 'Jakich mikstur używać:', 14, 160, self.comp.RGB(255, 255, 255))
		self.TXT_Gm_Detector = self.comp.TextLine(self.Board, 'Kiedy zostanie wykryty Gm:', 14, 262, self.comp.RGB(255, 255, 255))

	################################## STrony Func ##########################################	
		
	def Site_1_func(self):
	
		### Site 1 Show ###
		
		self.Gui_HorizontalBar.Show()	
		self.Gui_HorizontalBar_Text.Show()
		self.Poty_HorizontalBar.Show()
		self.Poty_HorizontalBar_Text.Show()
		self.Gm_Detector_HorizontalBar.Show()
		self.Gm_Detector_HorizontalBar_Text.Show()
		self.Auto_Attack_Rotation_Delay_Text.Show()
		self.slotbar_Auto_Attack_Rotation_Delay.Show()		
		self.Mobber_Delay_Text.Show()
		self.slotbar_Mobber_Delay.Show()	
		self.Pick_Up_Delay_Text.Show()
		self.slotbar_Pick_Up_Delay.Show()		
		self.Red_Poty_Delay_Text.Show()
		self.slotbar_Red_Poty_Delay.Show()		
		self.Blue_Poty_Delay_Text.Show()		
		self.slotbar_Blue_Poty_Delay.Show()
		self.Gm_Detector_Delay_Text.Show()	
		self.slotbar_Gm_Detector_Delay.Show()	
		self.Gm_Detector_Log_Text.Show()	
		self.slotbar_Gm_Detector_Log.Show()		
		self.Auto_Attack_Mode_Button.Show()		
		self.Red_Poty_img.Show()
		self.Blue_Poty_img.Show()		
		self.Red_Poty_Button.Show()
		self.Blue_Poty_Buttton.Show()
		self.Gm_Detector_Mode_Button.Show()		
		self.TXT_Auto_Attack_Mode.Show()
		self.TXT_Poty.Show()
		self.TXT_Gm_Detector.Show()			
	
		### Site 2 Hide ###
	
		self.Info_HorizontalBar.Hide()
		self.Info_HorizontalBar_Text.Hide()
		self.Rosy_Delay_Text.Hide()	
		self.slotbar_Rosy_Delay.Hide()
		self.SokiWody_Delay_Text.Hide()
		self.slotbar_SokiWody_Delay.Hide()
		self.BogaSmokow_Delay_Text.Hide()		
		self.slotbar_BogaSmokow_Delay.Hide()
		self.Dlonie_Delay_Text.Hide()	
		self.slotbar_Dlonie_Delay.Hide()	
		self.Mikstury_Delay_Text.Hide()	
		self.slotbar_Mikstury_Delay.Hide()
		self.Petardy_Delay_Text.Hide()	
		self.slotbar_Petardy_Delay.Hide()
				
		### Zmiany Board ###
		
		self.Strony_HorizontalBar.SetPosition(10, 322)
		
		self.Site_1_Button.SetPosition(14, 342)	
		self.Site_1_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_large_03.sub")
		self.Site_1_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_large_03.sub")
		self.Site_1_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_large_03.sub")		
		
		self.Site_2_Button.SetPosition(150, 342)
		self.Site_2_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_large_01.sub")
		self.Site_2_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_large_02.sub")
		self.Site_2_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_large_03.sub")
		
		self.Board.SetSize(243, 372)
		self.Board.SetTitleName('Ustawienia Ogólne')
	
	def Site_2_func(self):
								
		### Site 2 Show ###
	
		self.Info_HorizontalBar.Show()
		self.Info_HorizontalBar_Text.Show()
		self.Rosy_Delay_Text.Show()	
		self.slotbar_Rosy_Delay.Show()
		self.SokiWody_Delay_Text.Show()
		self.slotbar_SokiWody_Delay.Show()
		self.BogaSmokow_Delay_Text.Show()		
		self.slotbar_BogaSmokow_Delay.Show()
		self.Dlonie_Delay_Text.Show()	
		self.slotbar_Dlonie_Delay.Show()	
		self.Mikstury_Delay_Text.Show()	
		self.slotbar_Mikstury_Delay.Show()
		self.Petardy_Delay_Text.Show()	
		self.slotbar_Petardy_Delay.Show()
		
		### Site 1 Hide ###
		
		self.Gui_HorizontalBar.Hide()	
		self.Gui_HorizontalBar_Text.Hide()
		self.Poty_HorizontalBar.Hide()
		self.Poty_HorizontalBar_Text.Hide()
		self.Gm_Detector_HorizontalBar.Hide()
		self.Gm_Detector_HorizontalBar_Text.Hide()
		self.Auto_Attack_Rotation_Delay_Text.Hide()
		self.slotbar_Auto_Attack_Rotation_Delay.Hide()		
		self.Mobber_Delay_Text.Hide()
		self.slotbar_Mobber_Delay.Hide()	
		self.Pick_Up_Delay_Text.Hide()
		self.slotbar_Pick_Up_Delay.Hide()		
		self.Red_Poty_Delay_Text.Hide()
		self.slotbar_Red_Poty_Delay.Hide()		
		self.Blue_Poty_Delay_Text.Hide()		
		self.slotbar_Blue_Poty_Delay.Hide()
		self.Gm_Detector_Delay_Text.Hide()	
		self.slotbar_Gm_Detector_Delay.Hide()	
		self.Gm_Detector_Log_Text.Hide()	
		self.slotbar_Gm_Detector_Log.Hide()		
		self.Auto_Attack_Mode_Button.Hide()		
		self.Red_Poty_img.Hide()
		self.Blue_Poty_img.Hide()		
		self.Red_Poty_Button.Hide()
		self.Blue_Poty_Buttton.Hide()
		self.Gm_Detector_Mode_Button.Hide()		
		self.TXT_Auto_Attack_Mode.Hide()
		self.TXT_Poty.Hide()
		self.TXT_Gm_Detector.Hide()
		
		### Zmiany Board ###
		
		self.Strony_HorizontalBar.SetPosition(10, 180)
		
		self.Site_1_Button.SetPosition(14, 202)
		self.Site_1_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_large_01.sub")
		self.Site_1_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_large_02.sub")
		self.Site_1_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_large_03.sub")		
		
		self.Site_2_Button.SetPosition(150, 202)
		self.Site_2_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_large_03.sub")
		self.Site_2_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_large_03.sub")
		self.Site_2_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_large_03.sub")		
		
		self.Board.SetSize(243, 232)
		self.Board.SetTitleName('Ustawienia Dopalaczy')	
		
	################################## Auto Attack Mode Func ##########################################		
		
	def Auto_Attack_Mode_func(self):
		global Auto_Attack_Mode
		if Auto_Attack_Mode == 1:
			Auto_Attack_Mode = 0
			self.Auto_Attack_Mode_Button.SetText("Rotacyjny")
			
		elif Auto_Attack_Mode == 0:
			Auto_Attack_Mode = 1
			self.Auto_Attack_Mode_Button.SetText("Narmalny")

	################################## Red Poty Func ##########################################		

	def Red_Poty_func(self):
		global Red_Poty
		if Red_Poty == 0:
			Red_Poty = 1
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Czerwone Mikstury Używane")
			self.Red_Poty_Button.SetToolTipText("Czerwone Mikstury Używane")
			self.Red_Poty_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button_Small.tga")
			self.Red_Poty_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button_Small.tga")
			self.Red_Poty_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button_Small.tga")
		else:	
			Red_Poty = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Czerwone Mikstury Nieużywane")
			self.Red_Poty_Button.SetToolTipText("Czerwone Mikstury Nieużywane")
			self.Red_Poty_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button_Small.tga")
			self.Red_Poty_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button_Small.tga")
			self.Red_Poty_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button_Small.tga")

	################################## Blue Poty Func ##########################################	

	def Blue_Poty_func(self):
		global Blue_Poty
		if Blue_Poty == 0:
			Blue_Poty = 1
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Niebieskie Mikstury Używane")
			self.Blue_Poty_Buttton.SetToolTipText("Niebieskie Mikstury Używane")
			self.Blue_Poty_Buttton.SetUpVisual("d:/Multi_Hack/Icons/Buttons/On_Button_Small.tga")
			self.Blue_Poty_Buttton.SetOverVisual("d:/Multi_Hack/Icons/Buttons/On_Button_Small.tga")
			self.Blue_Poty_Buttton.SetDownVisual("d:/Multi_Hack/Icons/Buttons/On_Button_Small.tga")
		else:	
			Blue_Poty = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Niebieskie Mikstury Nieużywane")
			self.Blue_Poty_Buttton.SetToolTipText("Niebieskie Mikstury Nieużywane")
			self.Blue_Poty_Buttton.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Off_Button_Small.tga")
			self.Blue_Poty_Buttton.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Off_Button_Small.tga")
			self.Blue_Poty_Buttton.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Off_Button_Small.tga")	
			
	################################## Blue Poty Func ##########################################	
		
	def Gm_Mode_func(self):
		global Gm_Detector_Mode
		if Gm_Detector_Mode == 1:
			Gm_Detector_Mode = 0
			self.Gm_Detector_Mode_Button.SetText("Powiadom")
			
		elif Gm_Detector_Mode == 0:
			Gm_Detector_Mode = 1
			self.Gm_Detector_Mode_Button.SetText("Wyłącz Grę")	
					
	def OnUpdate(self):	

		### Gui ###
	
		global Gm_Detector_Log			
		if os.path.exists("Saves/Gm_Detector_Log.cfg"):
			Gm_Detector_Log = open("Saves/Gm_Detector_Log.cfg", "r").read()
			self.Gm_Detector_Log_EditLine.SetText(Gm_Detector_Log)
		else:
			self.Gm_Detector_Log_EditLine.SetText('Brak Logów!')
		
	
		global Auto_Attack_Rotation_Delay
		Auto_Attack_Rotation_Delay = self.Auto_Attack_Rotation_Delay_EditLine.GetText()

		global Mobber_Delay
		Mobber_Delay = self.Mobber_Delay_EditLine.GetText()
		
		global Pick_Up_Delay
		Pick_Up_Delay = self.Pick_Up_Delay_EditLine.GetText()
		
		global Red_Poty_Delay
		Red_Poty_Delay = self.Red_Poty_Delay_EditLine.GetText()
		
		global Blue_Poty_Delay
		Blue_Poty_Delay = self.Blue_Poty_Delay_EditLine.GetText()
		
		global Gm_Detector_Delay
		Gm_Detector_Delay = self.Gm_Detector_Delay_EditLine.GetText()

		### Use Item ###
		
		global Rosy_Delay
		Rosy_Delay = self.Rosy_Delay_EditLine.GetText()
		
		global SokiWody_Delay
		SokiWody_Delay = self.SokiWody_Delay_EditLine.GetText()
		
		global BogaSmokow_Delay
		BogaSmokow_Delay = self.BogaSmokow_Delay_EditLine.GetText()
		
		global Dlonie_Delay
		Dlonie_Delay = self.Dlonie_Delay_EditLine.GetText()
		
		global Mikstury_Delay
		Mikstury_Delay = self.Mikstury_Delay_EditLine.GetText()
		
		global Petardy_Delay
		Petardy_Delay = self.Petardy_Delay_EditLine.GetText()
	
	def __BuildKeyDict(self):				
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
			
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
	
	def Close(self):
		self.Board.Hide()

class Use_Item(ui.Window):

	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):
		self.Board = ui.BoardWithTitleBar()
		self.Board.SetSize(243, 390)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Używanie Dopalaczy')
		self.Board.SetCloseEvent(self.Close)
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()
		
	################################### HorizontalBars ###################################	
		
		self.Rosy_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 38, 223)
		self.Rosy_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Rosy_HorizontalBar, 'Rosy', 5, 0, 0xFFFFE3AD)	

		self.SokiWody_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 104, 223)
		self.SokiWody_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.SokiWody_HorizontalBar, 'Soki i Wody', 5, 0, 0xFFFFE3AD)
		
		self.Inne_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 220, 223)
		self.Inne_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Inne_HorizontalBar, 'Inne Dopalacze', 5, 0, 0xFFFFE3AD)
		
		self.Opcje_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 336, 223)
		self.Opcje_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Opcje_HorizontalBar, 'Inne Opcje', 5, 0, 0xFFFFE3AD)
		
	################################### Rosy Buttony ###################################	

		self.RedRosa_img = self.comp.ExpandedImage(self.Board , 10, 70, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/RedRosa.tga')	
		self.PinkRosa_img = self.comp.ExpandedImage(self.Board , 47, 70, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/PinkRosa.tga')		
		self.YellowRosa_img = self.comp.ExpandedImage(self.Board , 84, 70, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/YellowRosa.tga')	
		self.GreenRosa_img = self.comp.ExpandedImage(self.Board , 121, 70, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/GreenRosa.tga')	
		self.BlueRosa_img = self.comp.ExpandedImage(self.Board , 158, 70, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/BlueRosa.tga')		
		self.WhiteRosa_img = self.comp.ExpandedImage(self.Board , 195, 70, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/WhiteRosa.tga')			
		
		self.RedRosa_Button = self.comp.Button(self.Board, '', 'Czerwona Rosa', 10, 70, self.RedRosa_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/RedRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/RedRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/RedRosa.tga')
		self.PinkRosa_Button = self.comp.Button(self.Board, '', 'Różowa Rosa', 47, 70, self.PinkRosa_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/PinkRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/PinkRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/PinkRosa.tga')
		self.YellowRosa_Button = self.comp.Button(self.Board, '', 'Żółta Rosa', 84, 70, self.YellowRosa_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/YellowRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/YellowRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/YellowRosa.tga')
		self.GreenRosa_Button = self.comp.Button(self.Board, '', 'Zielona Rosa', 121, 70, self.GreenRosa_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/GreenRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/GreenRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/GreenRosa.tga')
		self.BlueRosa_Button = self.comp.Button(self.Board, '', 'Niebieska Rosa', 158, 70, self.BlueRosa_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/BlueRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/BlueRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/BlueRosa.tga')
		self.WhiteRosa_Button = self.comp.Button(self.Board, '', 'Biała Rosa', 195, 70, self.WhiteRosa_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/WhiteRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/WhiteRosa.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Rosy/WhiteRosa.tga')
	
	################################### Soki/Wody Buttony ###################################

		self.SokZKwiatuBrzoskwini_img = self.comp.ExpandedImage(self.Board , 10, 134, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKwiatuBrzoskwini.tga')
		self.SokZPokrzywy_img = self.comp.ExpandedImage(self.Board , 47, 134, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZPokrzywy.tga')	
		self.SokZKwiatuKaki_img = self.comp.ExpandedImage(self.Board , 84, 134, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKwiatuKaki.tga')	
		self.SokZKorzeniaGango_img = self.comp.ExpandedImage(self.Board , 121, 134, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKorzeniaGango.tga')	
		self.WodaSim_img = self.comp.ExpandedImage(self.Board , 158, 134, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaSim.tga')	
		self.WodaDok_img = self.comp.ExpandedImage(self.Board , 195, 134, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaDok.tga')			
		self.WodaBo_img = self.comp.ExpandedImage(self.Board , 10, 186, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaBo.tga')
		self.WodaYoung_img = self.comp.ExpandedImage(self.Board , 47, 186, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaYoung.tga')	
		self.WodaZin_img = self.comp.ExpandedImage(self.Board , 84, 186, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaZin.tga')	
		self.WodaSamBo_img = self.comp.ExpandedImage(self.Board , 121, 186, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaSamBo.tga')
		self.WodaMong_img = self.comp.ExpandedImage(self.Board , 158, 186, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaMong.tga')			
		self.WodaHwal_img = self.comp.ExpandedImage(self.Board , 195, 186, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaHwal.tga')		
	
		self.SokZKwiatuBrzoskwini_Button = self.comp.Button(self.Board, '', 'Sok Z Kwiatu Brzoskwini', 10, 134, self.SokZKwiatuBrzoskwini_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKwiatuBrzoskwini.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKwiatuBrzoskwini.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKwiatuBrzoskwini.tga')
		self.SokZPokrzywy_Button = self.comp.Button(self.Board, '', 'Sok Z Pokrzywy', 47, 134, self.SokZPokrzywy_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZPokrzywy.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZPokrzywy.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZPokrzywy.tga')
		self.SokZKwiatuKaki_Button = self.comp.Button(self.Board, '', 'Sok Z Kwiatu Kaki', 84, 134, self.SokZKwiatuKaki_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKwiatuKaki.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKwiatuKaki.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKwiatuKaki.tga')
		self.SokZKorzeniaGango_Button = self.comp.Button(self.Board, '', 'Sok Z Korzenia Gango', 121, 134, self.SokZKorzeniaGango_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKorzeniaGango.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKorzeniaGango.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/SokZKorzeniaGango.tga')
		self.WodaSim_Button = self.comp.Button(self.Board, '', 'Woda Sim', 158, 134, self.WodaSim_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaSim.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaSim.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaSim.tga')
		self.WodaDok_Button = self.comp.Button(self.Board, '', 'Woda Dok', 195, 134, self.WodaDok_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaDok.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaDok.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaDok.tga')
		self.WodaBo_Button = self.comp.Button(self.Board, '', 'Woda Bo', 10, 186, self.WodaBo_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaBo.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaBo.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaBo.tga')
		self.WodaYoung_Button = self.comp.Button(self.Board, '', 'Woda Young', 47, 186, self.WodaYoung_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaYoung.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaYoung.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaYoung.tga')
		self.WodaZin_Button = self.comp.Button(self.Board, '', 'Woda Zin', 84, 186, self.WodaZin_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaZin.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaZin.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaZin.tga')
		self.WodaSamBo_Button = self.comp.Button(self.Board, '', 'Woda SamBo', 121, 186, self.WodaSamBo_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaSamBo.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaSamBo.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaSamBo.tga')
		self.WodaMong_Button = self.comp.Button(self.Board, '', 'Woda Mong', 158, 186, self.WodaMong_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaMong.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaMong.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaMong.tga')
		self.WodaHwal_Button = self.comp.Button(self.Board, '', 'Woda Hwal', 195, 186, self.WodaHwal_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaHwal.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaHwal.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Soki_Wody/WodaHwal.tga')
	
	################################### Inne Buttony ###################################
	
		self.AtakBogaSmokow_img = self.comp.ExpandedImage(self.Board , 10, 250, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/AtakBogaSmokow.tga')	
		self.ObronaBogaSmokow_img = self.comp.ExpandedImage(self.Board , 47, 250, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ObronaBogaSmokow.tga')		
		self.ZycieBogaSmokow_img = self.comp.ExpandedImage(self.Board , 84, 250, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ZycieBogaSmokow.tga')	
		self.InteligencjaBogaSmokow_img = self.comp.ExpandedImage(self.Board , 121, 250, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/InteligencjaBogaSmokow.tga')	
		self.DlonKrytyka_img = self.comp.ExpandedImage(self.Board , 158, 250, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/DlonKrytyka.tga')		
		self.DlonPrzebicia_img = self.comp.ExpandedImage(self.Board , 195, 250, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/DlonPrzebicia.tga')			
		self.ZielonaMikstura_img = self.comp.ExpandedImage(self.Board , 10, 302, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ZielonaMikstura.tga')	
		self.FioletowaMikstura_img = self.comp.ExpandedImage(self.Board , 47, 302, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/FioletowaMikstura.tga')	
		self.ChinskaOgnistaPetarda_img = self.comp.ExpandedImage(self.Board , 84, 302, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ChinskaOgnistaPetarda.tga')		
		self.Fajerwerki_img = self.comp.ExpandedImage(self.Board , 121, 302, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/Fajerwerki.tga')	
	
		self.AtakBogaSmokow_Button = self.comp.Button(self.Board, '', 'Atak Boga Smoków', 10, 250, self.AtakBogaSmokow_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/AtakBogaSmokow.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/AtakBogaSmokow.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/AtakBogaSmokow.tga')
		self.ObronaBogaSmokow_Button = self.comp.Button(self.Board, '', 'Obrona Boga Smoków', 47, 250, self.ObronaBogaSmokow_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ObronaBogaSmokow.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ObronaBogaSmokow.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ObronaBogaSmokow.tga')
		self.ZycieBogaSmokow_Button = self.comp.Button(self.Board, '', 'Życie Boga Smoków', 84, 250, self.ZycieBogaSmokow_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ZycieBogaSmokow.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ZycieBogaSmokow.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ZycieBogaSmokow.tga')
		self.InteligencjaBogaSmokow_Button = self.comp.Button(self.Board, '', 'Inteligencja Boga Smoków', 121, 250, self.InteligencjaBogaSmokow_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/InteligencjaBogaSmokow.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/InteligencjaBogaSmokow.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/InteligencjaBogaSmokow.tga')
		self.DlonKrytyka_Button = self.comp.Button(self.Board, '', 'Dłoń Krytyka', 158, 250, self.DlonKrytyka_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/DlonKrytyka.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/DlonKrytyka.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/DlonKrytyka.tga')
		self.DlonPrzebicia_Button = self.comp.Button(self.Board, '', 'Dłoń Przebicia', 195, 250, self.DlonPrzebicia_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/DlonPrzebicia.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/DlonPrzebicia.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/DlonPrzebicia.tga')
		self.ZielonaMikstura_Button = self.comp.Button(self.Board, '', 'Zielona Mikstura', 10, 302, self.ZielonaMikstura_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ZielonaMikstura.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ZielonaMikstura.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ZielonaMikstura.tga')
		self.FioletowaMikstura_Button = self.comp.Button(self.Board, '', 'Fioletowa Mikstura', 47, 302, self.FioletowaMikstura_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/FioletowaMikstura.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/FioletowaMikstura.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/FioletowaMikstura.tga')
		self.ChinskaOgnistaPetarda_Button = self.comp.Button(self.Board, '', 'Chinska Ognista Petarda', 84, 302, self.ChinskaOgnistaPetarda_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ChinskaOgnistaPetarda.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ChinskaOgnistaPetarda.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/ChinskaOgnistaPetarda.tga')
		self.Fajerwerki_Button = self.comp.Button(self.Board, '', 'Fajerwerki', 121, 302, self.Fajerwerki_func, 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/Fajerwerki.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/Fajerwerki.tga', 'd:/Multi_Hack/Icons/Img/Use_Item/Inne/Fajerwerki.tga')

	################################### Use All Button ###################################			
		
		self.Use_All_Button = self.comp.Button(self.Board, 'Używaj Wszystkich Dopalaczy', '', 30, 356, self.Use_All_func, 'd:/ymir work/ui/public/xlarge_button_01.sub', 'd:/ymir work/ui/public/xlarge_button_02.sub', 'd:/ymir work/ui/public/xlarge_button_03.sub')
					
	################################### Rosy Func ###################################
	
	def RedRosa_func(self):
		global RedRosa
		if RedRosa == 0:
			RedRosa = 1
			self.EnableRedRosa()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Czerwona rosa będzie używana")
			self.RedRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.RedRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.RedRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			RedRosa = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Czerwona rosa nie będzie używana")
			self.RedRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.RedRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.RedRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")		
		
	def PinkRosa_func(self):
		global PinkRosa
		if PinkRosa == 0:
			PinkRosa = 1
			self.EnablePinkRosa()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Różowa rosa będzie używana")
			self.PinkRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.PinkRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.PinkRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			PinkRosa = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Różowa rosa nie będzie używana")
			self.PinkRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.PinkRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.PinkRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")		
		
	def YellowRosa_func(self):
		global YellowRosa
		if YellowRosa == 0:
			YellowRosa = 1
			self.EnableYellowRosa()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Żółta rosa będzie używana")
			self.YellowRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.YellowRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.YellowRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			YellowRosa = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Żółta rosa nie będzie używana")
			self.YellowRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.YellowRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.YellowRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
		
	def GreenRosa_func(self):
		global GreenRosa
		if GreenRosa == 0:
			GreenRosa = 1
			self.EnableGreenRosa()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Zielona rosa będzie używana")
			self.GreenRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.GreenRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.GreenRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			GreenRosa = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Zielona rosa nie będzie używana")
			self.GreenRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.GreenRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.GreenRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
		
	def BlueRosa_func(self):
		global BlueRosa
		if BlueRosa == 0:
			BlueRosa = 1
			self.EnableBlueRosa()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Niebieska rosa będzie używana")
			self.BlueRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.BlueRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.BlueRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			BlueRosa = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Niebieska rosa nie będzie używana")
			self.BlueRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.BlueRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.BlueRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
		
	def WhiteRosa_func(self):
		global WhiteRosa
		if WhiteRosa == 0:
			WhiteRosa = 1
			self.EnableWhiteRosa()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Biała rosa będzie używana")
			self.WhiteRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WhiteRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WhiteRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			WhiteRosa = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Biała rosa nie będzie używana")
			self.WhiteRosa_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.WhiteRosa_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.WhiteRosa_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			
	################################### Soki/Wody Func ################################

	def SokZKwiatuBrzoskwini_func(self):
		global SokZKwiatuBrzoskwini
		if SokZKwiatuBrzoskwini == 0:
			SokZKwiatuBrzoskwini = 1
			self.EnableSokZKwiatuBrzoskwini()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Sok Z Kwiatu Brzoskwini będzie używany")
			self.SokZKwiatuBrzoskwini_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.SokZKwiatuBrzoskwini_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.SokZKwiatuBrzoskwini_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")	
		else:
			SokZKwiatuBrzoskwini = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Sok Z Kwiatu Brzoskwini nie będzie używany")
			self.SokZKwiatuBrzoskwini_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.SokZKwiatuBrzoskwini_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.SokZKwiatuBrzoskwini_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			
	def SokZPokrzywy_func(self):
		global SokZPokrzywy
		if SokZPokrzywy == 0:
			SokZPokrzywy = 1
			self.EnableSokZPokrzywy()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Sok Z Pokrzywy będzie używany")
			self.SokZPokrzywy_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.SokZPokrzywy_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.SokZPokrzywy_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")	
		else:
			SokZPokrzywy = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Sok Z Pokrzywy nie będzie używany")
			self.SokZPokrzywy_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.SokZPokrzywy_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.SokZPokrzywy_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			
	def SokZKwiatuKaki_func(self):
		global SokZKwiatuKaki
		if SokZKwiatuKaki == 0:
			SokZKwiatuKaki = 1
			self.EnableSokZKwiatuKaki()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Sok Z Kwiatu Kaki będzie używany")
			self.SokZKwiatuKaki_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.SokZKwiatuKaki_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.SokZKwiatuKaki_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")	
		else:
			SokZKwiatuKaki = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Sok Z Kwiatu Kaki nie będzie używany")
			self.SokZKwiatuKaki_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.SokZKwiatuKaki_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.SokZKwiatuKaki_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			
	def SokZKorzeniaGango_func(self):
		global SokZKorzeniaGango
		if SokZKorzeniaGango == 0:
			SokZKorzeniaGango = 1
			self.EnableSokZKorzeniaGango()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Sok Z Korzenia Gango będzie używany")
			self.SokZKorzeniaGango_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.SokZKorzeniaGango_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.SokZKorzeniaGango_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")	
		else:
			SokZKorzeniaGango = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Sok Z Korzenia Gango nie będzie używany")
			self.SokZKorzeniaGango_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.SokZKorzeniaGango_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.SokZKorzeniaGango_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def WodaSim_func(self):
		global WodaSim
		if WodaSim == 0:
			WodaSim = 1
			self.EnableWodaSim()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Sim będzie używana")
			self.WodaSim_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaSim_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaSim_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")	
		else:
			WodaSim = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Sim nie będzie używana")
			self.WodaSim_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaSim_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaSim_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def WodaDok_func(self):
		global WodaDok
		if WodaDok == 0:
			WodaDok = 1
			self.EnableWodaDok()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Dok będzie używana")
			self.WodaDok_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaDok_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaDok_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")	
		else:
			WodaDok = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Dok nie będzie używana")
			self.WodaDok_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaDok_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaDok_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def WodaBo_func(self):
		global WodaBo
		if WodaBo == 0:
			WodaBo = 1
			self.EnableWodaBo()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Bo będzie używana")
			self.WodaBo_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaBo_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaBo_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			WodaBo = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Bo nie będzie używana")
			self.WodaBo_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaBo_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaBo_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def WodaYoung_func(self):
		global WodaYoung
		if WodaYoung == 0:
			WodaYoung = 1
			self.EnableWodaYoung()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Young będzie używana")
			self.WodaYoung_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaYoung_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaYoung_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			WodaYoung = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Young nie będzie używana")
			self.WodaYoung_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaYoung_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaYoung_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
	
	def WodaZin_func(self):
		global WodaZin
		if WodaZin == 0:
			WodaZin = 1
			self.EnableWodaZin()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Zin będzie używana")
			self.WodaZin_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaZin_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaZin_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			WodaZin = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Zin nie będzie używana")
			self.WodaZin_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaZin_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaZin_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def WodaSamBo_func(self):
		global WodaSamBo
		if WodaSamBo == 0:
			WodaSamBo = 1
			self.EnableWodaSamBo()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda SamBo będzie używana")
			self.WodaSamBo_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaSamBo_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaSamBo_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			WodaSamBo = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda SamBo nie będzie używana")
			self.WodaSamBo_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaSamBo_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaSamBo_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def WodaMong_func(self):
		global WodaMong
		if WodaMong == 0:
			WodaMong = 1
			self.EnableWodaMong()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Mong będzie używana")
			self.WodaMong_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaMong_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaMong_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			WodaMong = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Mong nie będzie używana")
			self.WodaMong_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaMong_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaMong_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def WodaHwal_func(self):
		global WodaHwal
		if WodaHwal == 0:
			WodaHwal = 1
			self.EnableWodaHwal()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Hwal będzie używana")
			self.WodaHwal_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaHwal_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.WodaHwal_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			WodaHwal = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Woda Hwal nie będzie używana")
			self.WodaHwal_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaHwal_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.WodaHwal_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
		
	################################### Inne Func ###################################

	def AtakBogaSmokow_func(self):
		global AtakBogaSmokow
		if AtakBogaSmokow == 0:
			AtakBogaSmokow = 1
			self.EnableAtakBogaSmokow()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Atak Boga Smoków będzie używany")
			self.AtakBogaSmokow_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.AtakBogaSmokow_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.AtakBogaSmokow_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			AtakBogaSmokow = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Atak Boga Smoków nie będzie używany")
			self.AtakBogaSmokow_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.AtakBogaSmokow_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.AtakBogaSmokow_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def ObronaBogaSmokow_func(self):
		global ObronaBogaSmokow
		if ObronaBogaSmokow == 0:
			ObronaBogaSmokow = 1
			self.EnableObronaBogaSmokow()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Obrona Boga Smoków będzie używana")
			self.ObronaBogaSmokow_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.ObronaBogaSmokow_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.ObronaBogaSmokow_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			ObronaBogaSmokow = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Obrona Boga Smoków nie będzie używana")
			self.ObronaBogaSmokow_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.ObronaBogaSmokow_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.ObronaBogaSmokow_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def ZycieBogaSmokow_func(self):
		global ZycieBogaSmokow
		if ZycieBogaSmokow == 0:
			ZycieBogaSmokow = 1
			self.EnableZycieBogaSmokow()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Życie Boga Smoków będzie używane")
			self.ZycieBogaSmokow_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.ZycieBogaSmokow_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.ZycieBogaSmokow_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			ZycieBogaSmokow = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Życie Boga Smoków nie będzie używane")
			self.ZycieBogaSmokow_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.ZycieBogaSmokow_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.ZycieBogaSmokow_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def InteligencjaBogaSmokow_func(self):
		global InteligencjaBogaSmokow
		if InteligencjaBogaSmokow == 0:
			InteligencjaBogaSmokow = 1
			self.EnableInteligencjaBogaSmokow()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Inteligencja Boga Smoków będzie używana")
			self.InteligencjaBogaSmokow_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.InteligencjaBogaSmokow_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.InteligencjaBogaSmokow_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			InteligencjaBogaSmokow = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Inteligencja Boga Smoków nie będzie używana")
			self.InteligencjaBogaSmokow_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.InteligencjaBogaSmokow_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.InteligencjaBogaSmokow_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def DlonKrytyka_func(self):
		global DlonKrytyka
		if DlonKrytyka == 0:
			DlonKrytyka = 1
			self.EnableDlonKrytyka()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Dłoń Krytyka będzie używana")
			self.DlonKrytyka_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.DlonKrytyka_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.DlonKrytyka_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			DlonKrytyka = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Dłoń Krytyka nie będzie używana")
			self.DlonKrytyka_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.DlonKrytyka_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.DlonKrytyka_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def DlonPrzebicia_func(self):
		global DlonPrzebicia
		if DlonPrzebicia == 0:
			DlonPrzebicia = 1
			self.EnableDlonPrzebicia()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Dłoń Przebicia będzie używana")
			self.DlonPrzebicia_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.DlonPrzebicia_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.DlonPrzebicia_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			DlonPrzebicia = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Dłoń Przebicia nie będzie używana")
			self.DlonPrzebicia_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.DlonPrzebicia_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.DlonPrzebicia_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def ZielonaMikstura_func(self):
		global ZielonaMikstura
		if ZielonaMikstura == 0:
			ZielonaMikstura = 1
			self.EnableZielonaMikstura()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Zielona Mikstura będzie używana")
			self.ZielonaMikstura_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.ZielonaMikstura_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.ZielonaMikstura_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			ZielonaMikstura = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Zielona Mikstura nie będzie używana")
			self.ZielonaMikstura_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.ZielonaMikstura_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.ZielonaMikstura_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def FioletowaMikstura_func(self):
		global FioletowaMikstura
		if FioletowaMikstura == 0:
			FioletowaMikstura = 1
			self.EnableFioletowaMikstura()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Fioletowa Mikstura będzie używana")
			self.FioletowaMikstura_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.FioletowaMikstura_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.FioletowaMikstura_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			FioletowaMikstura = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Fioletowa Mikstura nie będzie używana")
			self.FioletowaMikstura_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.FioletowaMikstura_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.FioletowaMikstura_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
	
	def ChinskaOgnistaPetarda_func(self):
		global ChinskaOgnistaPetarda
		if ChinskaOgnistaPetarda == 0:
			ChinskaOgnistaPetarda = 1
			self.EnableChinskaOgnistaPetarda()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Chinska Ognista Petarda będzie używana")
			self.ChinskaOgnistaPetarda_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.ChinskaOgnistaPetarda_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.ChinskaOgnistaPetarda_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			ChinskaOgnistaPetarda = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Chinska Ognista Petarda nie będzie używana")
			self.ChinskaOgnistaPetarda_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.ChinskaOgnistaPetarda_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.ChinskaOgnistaPetarda_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	def Fajerwerki_func(self):
		global Fajerwerki
		if Fajerwerki == 0:
			Fajerwerki = 1
			self.EnableFajerwerki()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Fajerwerki będą używane")
			self.Fajerwerki_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Fajerwerki_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Fajerwerki_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			Fajerwerki = 0	
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Fajerwerki nie będą używane")
			self.Fajerwerki_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Fajerwerki_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Fajerwerki_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	################################### Use All Func ###################################	
	
	def Use_All_func(self):
		global Use_All
		if Use_All == 0:
			Use_All = 1
			self.Enable_Use_All()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Wszystkie dopalacze będą używanie")
			self.Use_All_Button.SetText("Używa Wszystkich Dopalaczy")	
		else:
			Use_All = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Wszystkie dopalacze nie będą używanie")
			self.Use_All_Button.SetText("Nie Używa Wszystkich Dopalaczy")				

	################################### Enable Rosy ###################################	
	
	def EnableRedRosa(self):
		global Rosy_Delay
		self.DelayRedRosa = WaitingDialog()
		self.DelayRedRosa.Open(int(Rosy_Delay))
		global RedRosa
		if RedRosa == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50821:
					net.SendItemUsePacket(i)
					break
		self.DelayRedRosa.SAFE_SetTimeOverEvent(self.EnableRedRosa)
		
	def EnablePinkRosa(self):
		global Rosy_Delay
		self.DelayPinkRosa = WaitingDialog()
		self.DelayPinkRosa.Open(int(Rosy_Delay))
		global PinkRosa
		if PinkRosa == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50822:
					net.SendItemUsePacket(i)
					break
		self.DelayPinkRosa.SAFE_SetTimeOverEvent(self.EnablePinkRosa)
		
	def EnableYellowRosa(self):
		global Rosy_Delay
		self.DelayYellowRosa = WaitingDialog()
		self.DelayYellowRosa.Open(int(Rosy_Delay))
		global YellowRosa
		if YellowRosa == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50823:
					net.SendItemUsePacket(i)
					break
		self.DelayYellowRosa.SAFE_SetTimeOverEvent(self.EnableYellowRosa)
		
	def EnableGreenRosa(self):
		global Rosy_Delay
		self.DelayGreenRosa = WaitingDialog()
		self.DelayGreenRosa.Open(int(Rosy_Delay))
		global GreenRosa
		if GreenRosa == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50824:
					net.SendItemUsePacket(i)
					break
		self.DelayGreenRosa.SAFE_SetTimeOverEvent(self.EnableGreenRosa)
		
	def EnableBlueRosa(self):
		global Rosy_Delay
		self.DelayBlueRosa = WaitingDialog()
		self.DelayBlueRosa.Open(int(Rosy_Delay))
		global BlueRosa
		if BlueRosa == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50825:
					net.SendItemUsePacket(i)
					break
		self.DelayBlueRosa.SAFE_SetTimeOverEvent(self.EnableBlueRosa)
		
	def EnableWhiteRosa(self):
		global Rosy_Delay
		self.DelayWhiteRosa = WaitingDialog()
		self.DelayWhiteRosa.Open(int(Rosy_Delay))
		global WhiteRosa
		if WhiteRosa == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50826:
					net.SendItemUsePacket(i)
					break
		self.DelayWhiteRosa.SAFE_SetTimeOverEvent(self.EnableWhiteRosa)
		
	################################### Enable Soki/Wody ###################################

	def EnableSokZKwiatuBrzoskwini(self):
		global SokiWody_Delay
		self.DelaySokZKwiatuBrzoskwini = WaitingDialog()
		self.DelaySokZKwiatuBrzoskwini.Open(int(SokiWody_Delay))
		global SokZKwiatuBrzoskwini
		if SokZKwiatuBrzoskwini == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50801:
					net.SendItemUsePacket(i)
					break
		self.DelaySokZKwiatuBrzoskwini.SAFE_SetTimeOverEvent(self.EnableSokZKwiatuBrzoskwini)
		
	def EnableSokZPokrzywy(self):
		global SokiWody_Delay
		self.DelaySokZPokrzywy = WaitingDialog()
		self.DelaySokZPokrzywy.Open(int(SokiWody_Delay))
		global SokZPokrzywy
		if SokZPokrzywy == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50802:
					net.SendItemUsePacket(i)
					break
		self.DelaySokZPokrzywy.SAFE_SetTimeOverEvent(self.EnableSokZPokrzywy)

	def EnableSokZKwiatuKaki(self):
		global SokiWody_Delay
		self.DelaySokZKwiatuKaki = WaitingDialog()
		self.DelaySokZKwiatuKaki.Open(int(SokiWody_Delay))
		global SokZKwiatuKaki
		if SokZKwiatuKaki == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50803:
					net.SendItemUsePacket(i)
					break
		self.DelaySokZKwiatuKaki.SAFE_SetTimeOverEvent(self.EnableSokZKwiatuKaki)	

	def EnableSokZKorzeniaGango(self):
		global SokiWody_Delay
		self.DelaySokZKorzeniaGango = WaitingDialog()
		self.DelaySokZKorzeniaGango.Open(int(SokiWody_Delay))
		global SokZKorzeniaGango
		if SokZKorzeniaGango == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50804:
					net.SendItemUsePacket(i)
					break
		self.DelaySokZKwiatuKaki.SAFE_SetTimeOverEvent(self.EnableSokZKorzeniaGango)	

	def EnableWodaSim(self):
		global SokiWody_Delay
		self.DelayWodaSim = WaitingDialog()
		self.DelayWodaSim.Open(int(SokiWody_Delay))
		global WodaSim
		if WodaSim == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50813:
					net.SendItemUsePacket(i)
					break
		self.DelayWodaSim.SAFE_SetTimeOverEvent(self.EnableWodaSim)

	def EnableWodaDok(self):
		global SokiWody_Delay
		self.DelayWodaDok = WaitingDialog()
		self.DelayWodaDok.Open(int(SokiWody_Delay))
		global WodaDok
		if WodaDok == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50814:
					net.SendItemUsePacket(i)
					break
		self.DelayWodaDok.SAFE_SetTimeOverEvent(self.EnableWodaDok)	

	def EnableWodaBo(self):
		global SokiWody_Delay
		self.DelayWodaBo = WaitingDialog()
		self.DelayWodaBo.Open(int(SokiWody_Delay))
		global WodaBo
		if WodaBo == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50815:
					net.SendItemUsePacket(i)
					break
		self.DelayWodaBo.SAFE_SetTimeOverEvent(self.EnableWodaBo)

	def EnableWodaYoung(self):
		global SokiWody_Delay
		self.DelayWodaYoung = WaitingDialog()
		self.DelayWodaYoung.Open(int(SokiWody_Delay))
		global WodaYoung
		if WodaYoung == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50816:
					net.SendItemUsePacket(i)
					break
		self.DelayWodaYoung.SAFE_SetTimeOverEvent(self.EnableWodaYoung)	

	def EnableWodaZin(self):
		global SokiWody_Delay
		self.DelayWodaZin = WaitingDialog()
		self.DelayWodaZin.Open(int(SokiWody_Delay))
		global WodaZin
		if WodaZin == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50817:
					net.SendItemUsePacket(i)
					break
		self.DelayWodaZin.SAFE_SetTimeOverEvent(self.EnableWodaZin)	

	def EnableWodaSamBo(self):
		global SokiWody_Delay
		self.DelayWodaSamBo = WaitingDialog()
		self.DelayWodaSamBo.Open(int(SokiWody_Delay))
		global WodaSamBo
		if WodaSamBo == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50818:
					net.SendItemUsePacket(i)
					break
		self.DelayWodaSamBo.SAFE_SetTimeOverEvent(self.EnableWodaSamBo)	

	def EnableWodaMong(self):
		global SokiWody_Delay
		self.DelayWodaMong = WaitingDialog()
		self.DelayWodaMong.Open(int(SokiWody_Delay))
		global WodaMong
		if WodaMong == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50819:
					net.SendItemUsePacket(i)
					break
		self.DelayWodaMong.SAFE_SetTimeOverEvent(self.EnableWodaMong)

	def EnableWodaHwal(self):
		global SokiWody_Delay
		self.DelayWodaHwal = WaitingDialog()
		self.DelayWodaHwal.Open(int(SokiWody_Delay))
		global WodaHwal
		if WodaHwal == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50820:
					net.SendItemUsePacket(i)
					break
		self.DelayWodaHwal.SAFE_SetTimeOverEvent(self.EnableWodaHwal)

	################################### Enable Inne ############################
		
	def EnableAtakBogaSmokow(self):
		global BogaSmokow_Delay
		self.DelayAtakBogaSmokow = WaitingDialog()
		self.DelayAtakBogaSmokow.Open(int(BogaSmokow_Delay))
		global AtakBogaSmokow
		if AtakBogaSmokow == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 71028 or ItemValue == 72031 or ItemValue == 72032 or ItemValue == 72033:
					net.SendItemUsePacket(i)
					break
		self.DelayAtakBogaSmokow.SAFE_SetTimeOverEvent(self.EnableAtakBogaSmokow)
		
	def EnableObronaBogaSmokow(self):
		global BogaSmokow_Delay
		self.DelayObronaBogaSmokow = WaitingDialog()
		self.DelayObronaBogaSmokow.Open(int(BogaSmokow_Delay))
		global ObronaBogaSmokow
		if ObronaBogaSmokow == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 71030 or ItemValue == 72034 or ItemValue == 72035 or ItemValue == 72036:
					net.SendItemUsePacket(i)
					break
		self.DelayObronaBogaSmokow.SAFE_SetTimeOverEvent(self.EnableObronaBogaSmokow)

	def EnableZycieBogaSmokow(self):
		global BogaSmokow_Delay
		self.DelayZycieBogaSmokow = WaitingDialog()
		self.DelayZycieBogaSmokow.Open(int(BogaSmokow_Delay))
		global ZycieBogaSmokow
		if ZycieBogaSmokow == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 71027 or ItemValue == 72037 or ItemValue == 72038 or ItemValue == 72039:
					net.SendItemUsePacket(i)
					break
		self.DelayZycieBogaSmokow.SAFE_SetTimeOverEvent(self.EnableZycieBogaSmokow)	

	def EnableInteligencjaBogaSmokow(self):
		global BogaSmokow_Delay
		self.DelayInteligencjaBogaSmokow = WaitingDialog()
		self.DelayInteligencjaBogaSmokow.Open(int(BogaSmokow_Delay))
		global InteligencjaBogaSmokow
		if InteligencjaBogaSmokow == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 71029 or ItemValue == 72040 or ItemValue == 72041 or ItemValue == 72042:
					net.SendItemUsePacket(i)
					break
		self.DelayInteligencjaBogaSmokow.SAFE_SetTimeOverEvent(self.EnableInteligencjaBogaSmokow)	

	def EnableDlonKrytyka(self):
		global Dlonie_Delay
		self.DelayDlonKrytyka = WaitingDialog()
		self.DelayDlonKrytyka.Open(int(Dlonie_Delay))
		global DlonKrytyka
		if DlonKrytyka == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 71044 or ItemValue == 72046 or ItemValue == 72047 or ItemValue == 72048:
					net.SendItemUsePacket(i)
					break
		self.DelayDlonKrytyka.SAFE_SetTimeOverEvent(self.EnableDlonKrytyka)

	def EnableDlonPrzebicia(self):
		global Dlonie_Delay
		self.DelayDlonPrzebicia = WaitingDialog()
		self.DelayDlonPrzebicia.Open(int(Dlonie_Delay))
		global DlonPrzebicia
		if DlonPrzebicia == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 71045 or ItemValue == 72025 or ItemValue == 72026 or ItemValue == 72027:
					net.SendItemUsePacket(i)
					break
		self.DelayDlonPrzebicia.SAFE_SetTimeOverEvent(self.EnableDlonPrzebicia)	

	def EnableZielonaMikstura(self):
		global Mikstury_Delay
		self.DelayZielonaMikstura = WaitingDialog()
		self.DelayZielonaMikstura.Open(int(Mikstury_Delay))
		global ZielonaMikstura
		if ZielonaMikstura == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 27102 or ItemValue == 27112:
					net.SendItemUsePacket(i)
					break
		self.DelayZielonaMikstura.SAFE_SetTimeOverEvent(self.EnableZielonaMikstura)

	def EnableFioletowaMikstura(self):
		global Mikstury_Delay
		self.DelayFioletowaMikstura = WaitingDialog()
		self.DelayFioletowaMikstura.Open(int(Mikstury_Delay))
		global FioletowaMikstura
		if FioletowaMikstura == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 27105 or ItemValue == 27115:
					net.SendItemUsePacket(i)
					break
		self.DelayFioletowaMikstura.SAFE_SetTimeOverEvent(self.EnableFioletowaMikstura)	

	def EnableChinskaOgnistaPetarda(self):
		global Petardy_Delay
		self.DelayChinskaOgnistaPetarda = WaitingDialog()
		self.DelayChinskaOgnistaPetarda.Open(int(Petardy_Delay))
		global ChinskaOgnistaPetarda
		if ChinskaOgnistaPetarda == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50107:
					net.SendItemUsePacket(i)
					break
		self.DelayChinskaOgnistaPetarda.SAFE_SetTimeOverEvent(self.EnableChinskaOgnistaPetarda)	

	def EnableFajerwerki(self):
		global Petardy_Delay
		self.DelayFajerwerki = WaitingDialog()
		self.DelayFajerwerki.Open(int(Petardy_Delay))
		global Fajerwerki
		if Fajerwerki == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50821 or ItemValue == 27115:
					net.SendItemUsePacket(i)
					break
		self.DelayFajerwerki.SAFE_SetTimeOverEvent(self.EnableFajerwerki)

	################################### Enable Use All ############################	

	def Enable_Use_All(self):
		self.Delay_Use_All = WaitingDialog()
		self.Delay_Use_All.Open(60)
		global Use_All
		if Use_All == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 50821 or ItemValue == 50822 or ItemValue == 50823 or ItemValue == 50824 or ItemValue == 50825 or ItemValue == 50826 or ItemValue == 50801 or ItemValue == 50802 or ItemValue == 50803 or ItemValue == 50804 or ItemValue == 50813 or ItemValue == 50814 or ItemValue == 50815 or ItemValue == 50816 or ItemValue == 50817 or ItemValue == 50818 or ItemValue == 50819 or ItemValue == 50820 or ItemValue == 72028 or ItemValue == 72031 or ItemValue == 72032 or ItemValue == 72033 or ItemValue == 71030 or ItemValue == 72034 or ItemValue == 72035 or ItemValue == 72036 or ItemValue == 71027 or ItemValue == 72037 or ItemValue == 72038 or ItemValue == 72039 or ItemValue == 71029 or ItemValue == 72040 or ItemValue == 72041 or ItemValue == 72042 or ItemValue == 71044 or ItemValue == 72046 or ItemValue == 72047 or ItemValue == 72048 or ItemValue == 71045 or ItemValue == 72025 or ItemValue == 72026 or ItemValue == 72027:
					net.SendItemUsePacket(i)
					break
		self.Delay_Use_All.SAFE_SetTimeOverEvent(self.Enable_Use_All)	
		
	############################################################################
	
	
	def __BuildKeyDict(self):
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
	
	def Close(self):
		self.Board.Hide()		

class Buff_Bot(ui.Window):
	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):
		self.Board = ui.BoardWithTitleBar()
		self.Board.SetSize(156, 217)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Buff Bot')
		self.Board.SetCloseEvent(self.Close)
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()

	################################### HorizontalBars ###################################		
		
		self.Skille_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 38, 136)
		self.Skille_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Skille_HorizontalBar, 'Wybierz Skille', 5, 0, 0xFFFFE3AD)			

		self.Ustawienia_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 100, 136)
		self.Ustawienia_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Ustawienia_HorizontalBar, 'Ustawienia', 5, 0, 0xFFFFE3AD)			

		
	################################### Buttony ###################################
		
		self.Buff_Skill_1_img = self.comp.ExpandedImage(self.Board , 10, 60, 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_1.tga')			
		self.Buff_Skill_2_img = self.comp.ExpandedImage(self.Board , 62, 60, 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_2.tga')	
		self.Buff_Skill_3_img = self.comp.ExpandedImage(self.Board , 114, 60, 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_3.tga')	
		
		self.Buff_Skill_1_Button = self.comp.Button(self.Board, '', '', 10, 60, self.Buff_Skill_1_func, 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_1.tga', 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_1.tga', 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_1.tga')			
		self.Buff_Skill_2_Button = self.comp.Button(self.Board, '', '', 62, 60, self.Buff_Skill_2_func, 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_2.tga', 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_2.tga', 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_2.tga')			
		self.Buff_Skill_3_Button = self.comp.Button(self.Board, '', '', 114, 60, self.Buff_Skill_3_func, 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_3.tga', 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_3.tga', 'd:/Multi_Hack/Icons/Img/Buff_Bot/Buff_Skill_3.tga')			

		self.Target_Button = self.comp.Button(self.Board, 'Ustal', '', 35, 120, self.Target_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')

		self.Start_Buff_Bot_Button = self.comp.Button(self.Board, 'Start', '', 35, 180, self.Start_Buff_Bot_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
		
	################################## TextLine ##########################################			
		
		self.TXT_VID_Text = self.comp.TextLine(self.Board, 'Cel VID:', 14, 140, self.comp.RGB(255, 255, 255))
		self.TXT_VID = self.comp.TextLine(self.Board, 'Nie Ustalono!', 80, 140, self.comp.RGB(255, 255, 255))
		
		self.TXT_NickName_Text = self.comp.TextLine(self.Board, 'Cel Nazwa:', 14, 160, self.comp.RGB(255, 255, 255))
		self.TXT_NickName = self.comp.TextLine(self.Board, 'Nie Ustalono!', 80, 160, self.comp.RGB(255, 255, 255))		
		
	################################### Target Func ###################################		
		
	def Target_func(self):
		global NickName
		VID = player.GetTargetVID()
		self.TXT_VID.SetText(str(VID))
		#chat.AppendChat(1, str(VID))	
		
		NickName = chr.GetNameByVID(VID)
		self.TXT_NickName.SetText(str(NickName))
		
	################################### Start Func ###################################				
		
	def Start_Buff_Bot_func(self):
		global VID
		global Start_Buff_Bot
		
		if Start_Buff_Bot == 0:
			Start_Buff_Bot = 1
			self.Start_Buff_Bot_Button.SetText('Wyłącz')
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Buff Bot Włączony")
			self.Enable_Start_Buff_Bot()
		else:
			Start_Buff_Bot = 0
			self.Start_Buff_Bot_Button.SetText('Włącz')
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Buff Bot Wyłączony")
			self.Disable_Start_Buff_Bot()

	def Enable_Start_Buff_Bot(self):
		global Buff_Skill_1
		global Buff_Skill_2
		global Buff_Skill_3 
		
		TargetVID = self.TXT_VID.GetText()
		player.SetTarget(int(TargetVID))
		player.OpenCharacterMenu(int(TargetVID))
		
		
		if Buff_Skill_1 == 1:
			player.ClickSkillSlot(6)
				
		if Buff_Skill_2 == 1:
				player.ClickSkillSlot(4)
		
		if Buff_Skill_3 == 1:
				player.ClickSkillSlot(5)


		self.Delay_Start_Buff_Bot = WaitingDialog()
		self.Delay_Start_Buff_Bot.Open(float(1))
		self.Delay_Start_Buff_Bot.SAFE_SetTimeOverEvent(self.Enable_Start_Buff_Bot)	

	def Disable_Start_Buff_Bot(self):
		
		self.Delay_Start_Buff_Bot = WaitingDialog()
		self.Delay_Start_Buff_Bot.Open(float(99999999999999999))
		self.Delay_Start_Buff_Bot.SAFE_SetTimeOverEvent(self.Disable_Start_Buff_Bot)	

	################################### Skille Func ###################################			
		
	def Buff_Skill_1_func(self):
		global Buff_Skill_1
		if Buff_Skill_1 == 0:
			Buff_Skill_1 = 1
			self.Buff_Skill_1_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Buff_Skill_1_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Buff_Skill_1_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:	
			Buff_Skill_1 = 0
			self.Buff_Skill_1_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Buff_Skill_1_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Buff_Skill_1_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")

	def Buff_Skill_2_func(self):
		global Buff_Skill_2
		if Buff_Skill_2 == 0:
			Buff_Skill_2 = 1
			self.Buff_Skill_2_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Buff_Skill_2_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Buff_Skill_2_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:	
			Buff_Skill_2 = 0
			self.Buff_Skill_2_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Buff_Skill_2_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Buff_Skill_2_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")

	def Buff_Skill_3_func(self):
		global Buff_Skill_3
		if Buff_Skill_3 == 0:
			Buff_Skill_3 = 1
			self.Buff_Skill_3_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Buff_Skill_3_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Buff_Skill_3_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:	
			Buff_Skill_3 = 0
			self.Buff_Skill_3_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Buff_Skill_3_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Buff_Skill_3_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			
				
	def __BuildKeyDict(self):
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
	
	def Close(self):
		self.Board.Hide()		
	
class Spam_Bot(ui.Window):
	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):
		self.Board = ui.BoardWithTitleBar()
		self.Board.SetSize(253, 220)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Spam Bot')
		self.Board.SetCloseEvent(self.Close)
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()
		
	################################### HorizontalBars ###################################	

		self.Tresc_Spamu_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 38, 233)
		self.Tresc_Spamu_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Tresc_Spamu_HorizontalBar, 'Teeść Spamu', 5, 0, 0xFFFFE3AD)			

		self.Rodzaj_Spamu_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 130, 233)
		self.Rodzaj_Spamu_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Rodzaj_Spamu_HorizontalBar, 'Rodzaj Spamu', 5, 0, 0xFFFFE3AD)			
		
	################################### SlotBars #########################################

		self.slotbar_Tresc_Spamu_1, self.Tresc_Spamu_1_EditLine = self.comp.EditLine(self.Board, '', 10, 60, 230, 60, 200)
		
	################################### Buttony #########################################	
		
		self.Spam_Bot_1_Mode_1_Button = self.comp.Button(self.Board, 'Normalny', '', 10, 150, self.Spam_Bot_1_Mode_1_func, 'd:/ymir work/ui/game/windows/tab_button_middle_01.sub', 'd:/ymir work/ui/game/windows/tab_button_middle_02.sub', 'd:/ymir work/ui/game/windows/tab_button_middle_03.sub')
		self.Spam_Bot_1_Mode_2_Button = self.comp.Button(self.Board, 'Wołaj', '', 70, 150, self.Spam_Bot_1_Mode_2_func, 'd:/ymir work/ui/game/windows/tab_button_middle_01.sub', 'd:/ymir work/ui/game/windows/tab_button_middle_02.sub', 'd:/ymir work/ui/game/windows/tab_button_middle_03.sub')
		self.Spam_Bot_1_Mode_3_Button = self.comp.Button(self.Board, 'Gildijny', '', 130, 150, self.Spam_Bot_1_Mode_3_func, 'd:/ymir work/ui/game/windows/tab_button_middle_01.sub', 'd:/ymir work/ui/game/windows/tab_button_middle_02.sub', 'd:/ymir work/ui/game/windows/tab_button_middle_03.sub')
		self.Spam_Bot_1_Mode_4_Button = self.comp.Button(self.Board, 'Grupowy', '', 190, 150, self.Spam_Bot_1_Mode_4_func, 'd:/ymir work/ui/game/windows/tab_button_middle_01.sub', 'd:/ymir work/ui/game/windows/tab_button_middle_02.sub', 'd:/ymir work/ui/game/windows/tab_button_middle_03.sub')
	
		self.Start_Spam_1_Button = self.comp.Button(self.Board, 'Start Spam Bot - 1', '', 40, 180, self.Start_Start_Spam_1_func, 'd:/ymir work/ui/public/xlarge_button_01.sub', 'd:/ymir work/ui/public/xlarge_button_02.sub', 'd:/ymir work/ui/public/xlarge_button_03.sub')
	
		self.Options_Spam_Bot_Button = self.comp.Button(self.Board, '', 'Ustawienia', 200, 7, self.Options_Spam_Bot_func, 'd:/Multi_Hack/Icons/Buttons/Small_Options_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Small_Options_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Small_Options_Button_03.tga')
	
	################################### Spam 1 Start #########################################		
	
	def Start_Start_Spam_1_func(self):
		global Spam_Bot_1
		if Spam_Bot_1 == 0:
			Spam_Bot_1 = 1
			self.Enable_Spam_Bot_1()
			self.Start_Spam_1_Button.SetText("Spam Bot 1 - Włączony")
		else:
			Spam_Bot_1 = 0
			self.Disable_Spam_Bot_1()
			self.Start_Spam_1_Button.SetText("Spam Bot 1 - Wyłączony")
			
	def Enable_Spam_Bot_1(self):
		global Spam_Bot_1
		global Spam_Bot_1_Delay
		global Spam_Bot_1_Mode	
	
		Spam_Bot_1_TXT = self.Tresc_Spamu_1_EditLine.GetText()
		
		if Spam_Bot_1_Mode == 0:
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Ustaw Rodzaj Spamu!")	
		
		if Spam_Bot_1_Mode == 1:
			net.SendChatPacket(Spam_Bot_1_TXT, chat.CHAT_TYPE_TALKING)
			
		if Spam_Bot_1_Mode == 2:
			net.SendChatPacket(Spam_Bot_1_TXT, chat.CHAT_TYPE_SHOUT)
			
		if Spam_Bot_1_Mode == 3:
			net.SendChatPacket(Spam_Bot_1_TXT, chat.CHAT_TYPE_GUILD)
			
		if Spam_Bot_1_Mode == 4:
			net.SendChatPacket(Spam_Bot_1_TXT, chat.CHAT_TYPE_PARTY)
		

		self.Delay_Spam_Bot_1 = WaitingDialog()
		self.Delay_Spam_Bot_1.Open(float(Spam_Bot_1_Delay))
		self.Delay_Spam_Bot_1.SAFE_SetTimeOverEvent(self.Enable_Spam_Bot_1)
			
	def Disable_Spam_Bot_1(self):
		
		self.Delay_Spam_Bot_1 = WaitingDialog()
		self.Delay_Spam_Bot_1.Open(float(99999999999999999))
		self.Delay_Spam_Bot_1.SAFE_SetTimeOverEvent(self.Disable_Spam_Bot_1)
	
	################################### Spam 1 Mode #########################################		
	
	def Spam_Bot_1_Mode_1_func(self):
		global Spam_Bot_1_Mode
		Spam_Bot_1_Mode = 1
		chat.AppendChat(chat.CHAT_TYPE_INFO, "Spam Bot 1 - Normalny")		
	
	def Spam_Bot_1_Mode_2_func(self):
		global Spam_Bot_1_Mode
		Spam_Bot_1_Mode = 2
		chat.AppendChat(chat.CHAT_TYPE_INFO, "Spam Bot 1 - Wołaj")	

	def Spam_Bot_1_Mode_3_func(self):
		global Spam_Bot_1_Mode
		Spam_Bot_1_Mode = 3
		chat.AppendChat(chat.CHAT_TYPE_INFO, "Spam Bot 1 - Gildijny")	

	def Spam_Bot_1_Mode_4_func(self):
		global Spam_Bot_1_Mode
		Spam_Bot_1_Mode = 4
		chat.AppendChat(chat.CHAT_TYPE_INFO, "Spam Bot 1 - Grupowy")	

	def Options_Spam_Bot_func(self):
		Options_Spam_Bot().Show()

	def OnUpdate(self):	
		global Spam_Bot_1_Mode
		if Spam_Bot_1_Mode == 1:
		
			### Button 1 Wćiśnięty ###
		
			self.Spam_Bot_1_Mode_1_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			self.Spam_Bot_1_Mode_1_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			self.Spam_Bot_1_Mode_1_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			### Reszczta Buttonów Normalnie ###
			
			self.Spam_Bot_1_Mode_2_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_2_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_2_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_3_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_3_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_3_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_4_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_4_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_4_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
		if Spam_Bot_1_Mode == 2:
			self.Spam_Bot_1_Mode_2_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			self.Spam_Bot_1_Mode_2_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			self.Spam_Bot_1_Mode_2_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_1_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_1_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_1_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_3_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_3_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_3_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_4_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_4_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_4_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
		if Spam_Bot_1_Mode == 3:
			self.Spam_Bot_1_Mode_3_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			self.Spam_Bot_1_Mode_3_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			self.Spam_Bot_1_Mode_3_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_1_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_1_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_1_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_2_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_2_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_2_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_4_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_4_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_4_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
		if Spam_Bot_1_Mode == 4:
			self.Spam_Bot_1_Mode_4_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			self.Spam_Bot_1_Mode_4_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			self.Spam_Bot_1_Mode_4_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_1_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_1_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_1_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_2_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_2_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_2_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
			
			self.Spam_Bot_1_Mode_3_Button.SetUpVisual("d:/ymir work/ui/game/windows/tab_button_middle_01.sub")
			self.Spam_Bot_1_Mode_3_Button.SetOverVisual("d:/ymir work/ui/game/windows/tab_button_middle_02.sub")
			self.Spam_Bot_1_Mode_3_Button.SetDownVisual("d:/ymir work/ui/game/windows/tab_button_middle_03.sub")
	
	def __BuildKeyDict(self):
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
	
	def Close(self):
		self.Board.Hide()
		
class Options_Spam_Bot(ui.Window):
	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):
		self.Board = ui.BoardWithTitleBar()
		self.Board.SetSize(243, 100)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Spam Bot - Ustawienia')
		self.Board.SetCloseEvent(self.Close)
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()
		
	################################### HorizontalBars ###################################	

		self.Szybkosc_Spamu_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 38, 223)
		self.Szybkosc_Spamu_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Szybkosc_Spamu_HorizontalBar, 'Szybkość Spamu', 5, 0, 0xFFFFE3AD)			
				
	################################## Slotbar i Text ###################################	
				
		self.Spam_Bot_1_Delay_Text = self.comp.TextLine(self.Board, 'Spam Bot 1:', 14, 60, self.comp.RGB(255, 255, 255))		
		self.slotbar_Spam_Bot_1_Delay, self.Spam_Bot_1_Delay_EditLine = self.comp.EditLine(self.Board, '5', 170, 60, 60, 15, 10)
		
	def OnUpdate(self):	
	
		global Spam_Bot_1_Delay
		Spam_Bot_1_Delay = self.Spam_Bot_1_Delay_EditLine.GetText()
		
	def __BuildKeyDict(self):
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
	
	def Close(self):
		self.Board.Hide()
	
class Other_Function(ui.Window):

	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):
		self.Board = ui.BoardWithTitleBar()
		self.Board.SetSize(243, 340)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Inne Funkcje')
		self.Board.SetCloseEvent(self.Close)
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()
		
		################################### HorizontalBars ###################################	
		
		self.Teloeportacja_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 38, 223)
		self.Teloeportacja_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Teloeportacja_HorizontalBar, 'Teleportacja', 5, 0, 0xFFFFE3AD)	

		self.Gui_Opcje_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 210, 223)
		self.Gui_Opcje_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Gui_Opcje_HorizontalBar, 'Inne', 5, 0, 0xFFFFE3AD)	
		
		
		################################### Buttony ##########################################

		self.Up_Button = self.comp.Button(self.Board, '', '', 105, 60, self.Up_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Up_Button.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Up_Button.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Up_Button.tga')
		self.Down_Button = self.comp.Button(self.Board, '', '', 105, 134, self.Down_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Down_Button.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Down_Button.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Down_Button.tga')
		self.Right_Button = self.comp.Button(self.Board, '', '', 68, 97, self.Right_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Left_Button.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Left_Button.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Left_Button.tga')
		self.Left_Button = self.comp.Button(self.Board, '', '', 142, 97, self.Left_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Right_Button.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Right_Button.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Right_Button.tga')	
	
		self.Ghost_Mode_img = self.comp.ExpandedImage(self.Board , 10, 242, 'd:/Multi_Hack/Icons/Img/Other_Function/Ghost_Mode.tga')	
		self.Make_Snow_img = self.comp.ExpandedImage(self.Board , 84, 242, 'd:/Multi_Hack/Icons/Img/Other_Function/Make_Snow.tga')	
		self.No_Fog_img = self.comp.ExpandedImage(self.Board , 121, 242, 'd:/Multi_Hack/Icons/Img/Other_Function/No_Fog.tga')	
		self.Combo_img = self.comp.ExpandedImage(self.Board , 158, 242, 'd:/Multi_Hack/Icons/Img/Other_Function/Combo.tga')	
		self.Open_Calm_img = self.comp.ExpandedImage(self.Board , 195, 242, 'd:/Multi_Hack/Icons/Img/Other_Function/Open_Calm.tga')	
	
		self.Ghost_Mode_Button = self.comp.Button(self.Board, '', 'Ghost Mode', 10, 242, self.Ghost_Mode_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Ghost_Mode.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Ghost_Mode.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Ghost_Mode.tga')	
		self.Time_Of_Day_Button = self.comp.Button(self.Board, '', 'Włącz Noc', 47, 242, self.Time_Of_Day_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Time_Of_Day_01.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Time_Of_Day_01.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Time_Of_Day_01.tga')	
		self.Make_Snow_Button = self.comp.Button(self.Board, '', 'Włącz Śnieg', 84, 242, self.Make_Snow_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Make_Snow.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Make_Snow.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Make_Snow.tga')	
		self.No_Fog_Button = self.comp.Button(self.Board, '', 'Włącz Mgłę', 121, 242, self.No_Fog_func, 'd:/Multi_Hack/Icons/Img/Other_Function/No_Fog.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/No_Fog.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/No_Fog.tga')	
		self.Combo_Button = self.comp.Button(self.Board, '', 'Włącz Combo', 158, 242, self.Combo_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Combo.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Combo.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Combo.tga')	
		self.Open_Calm_Button = self.comp.Button(self.Board, '', 'Włącz Otwieracz Małży', 195, 242, self.Open_Calm_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Open_Calm.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Open_Calm.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Open_Calm.tga')	
		
		self.Player_Hide_Button = self.comp.Button(self.Board, '', 'Ukryj Postać', 10, 294, self.Player_Hide_func, 'd:/Multi_Hack/Icons/Buttons/Other_Function/Player_Show_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Other_Function/Player_Show_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Other_Function/Player_Show_Button_03.tga')			
		self.Weapon_Options_Button = self.comp.Button(self.Board, '', 'Rodzaj Broni', 47, 294, self.Weapon_Options_func, 'd:/Multi_Hack/Icons/Buttons/Other_Function/Weapon_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Other_Function/Weapon_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Other_Function/Weapon_Button_03.tga')	
		self.Camera_Options_Button = self.comp.Button(self.Board, '', 'Opcje Kamery', 84, 294, self.Camera_Options_func, 'd:/Multi_Hack/Icons/Buttons/Other_Function/Camera_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Other_Function/Camera_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Other_Function/Camera_Button_03.tga')	
		self.Eq_Visual_Button = self.comp.Button(self.Board, '', 'Wygląd', 121, 294, self.Eq_Visual_func, 'd:/Multi_Hack/Icons/Buttons/Other_Function/Eq_Visual_Button_01.tga', 'd:/Multi_Hack/Icons/Buttons/Other_Function/Eq_Visual_Button_02.tga', 'd:/Multi_Hack/Icons/Buttons/Other_Function/Eq_Visual_Button_03.tga')	
		# self.Item_Creator_Button = self.comp.Button(self.Board, '', 'Item Creator', 84, 294, self.Item_Creator_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Item_Creator_Button_01.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Item_Creator_Button_02.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Item_Creator_Button_03.tga')	
		# self.Teleport_Button = self.comp.Button(self.Board, '', 'Teleport Hack', 10, 170, self.Teleport_func, 'd:/Multi_Hack/Icons/Img/Other_Function/Teleport_Button_01.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Teleport_Button_02.tga', 'd:/Multi_Hack/Icons/Img/Other_Function/Teleport_Button_03.tga')	
	
		################################### Slotbary ##########################################	
	
		self.slotbar_Distance, self.Distance = self.comp.EditLine(self.Board, '2000', 184, 186, 40, 15, 10)

		################################### TextLine ##########################################			
		
		self.TXT_Distance = self.comp.TextLine(self.Board, 'Dystans:', 140, 188, self.comp.RGB(255, 255, 255))
	
		self.Board.TXT_Respown = ui.TextLine()
		self.Board.TXT_Respown.SetParent(self.Board)
		self.Board.TXT_Respown.SetPosition(200,18+13*5)
		self.Board.TXT_Respown.SetText("Po tylu sekundach zostaniesz przeniesiony do miasta: %d" % self.Board.Respown_Time)
		self.Board.TXT_Respown.Hide()
	
	################################### Teleportacja Func ###################################
		
	def Up_func(self):
		Distance = self.Distance.GetText()
		(x, y, z) = player.GetMainCharacterPosition()
		chr.SetPixelPosition(int(x), int(y) - int(Distance), int(z))
		player.SetSingleDIKKeyState(app.DIK_UP, TRUE)
		player.SetSingleDIKKeyState(app.DIK_UP, FALSE)
		
	def Down_func(self):
		Distance = self.Distance.GetText()
		(x, y, z) = player.GetMainCharacterPosition()
		chr.SetPixelPosition(int(x), int(y) + int(Distance), int(z))
		player.SetSingleDIKKeyState(app.DIK_UP, TRUE)
		player.SetSingleDIKKeyState(app.DIK_UP, FALSE)
		
	def Right_func(self):
		Distance = self.Distance.GetText()
		(x, y, z) = player.GetMainCharacterPosition()
		chr.SetPixelPosition(int(x) - int(Distance), int(y), int(z))
		player.SetSingleDIKKeyState(app.DIK_UP, TRUE)
		player.SetSingleDIKKeyState(app.DIK_UP, FALSE)
		
	def Left_func(self):
		Distance = self.Distance.GetText()
		(x, y, z) = player.GetMainCharacterPosition()
		chr.SetPixelPosition(int(x) + int(Distance), int(y), int(z))
		player.SetSingleDIKKeyState(app.DIK_UP, TRUE)
		player.SetSingleDIKKeyState(app.DIK_UP, FALSE)	
		
	################################### Ghost Mode Func ###################################
		
	def Ghost_Mode_func(self):
		global Ghost_Mode
		if player.GetStatus(player.HP) <= 0:
			chr.Revive()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "GhostMod Aktywowany!")
		else:	
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Musisz byc martwy!")
			
	################################### Time Of Day Func ###################################
	
	def Time_Of_Day_func(self):
		global Time_Of_Day
		if Time_Of_Day == 0:
			Time_Of_Day = 1
			background.SetEnvironmentData(1)
			#background.RegisterEnvironmentData(1, constInfo.ENVIRONMENT_NIGHT)
			self.Time_Of_Day_Button.SetToolTipText("Włącz Dzień")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Noc Włączona")
			self.Time_Of_Day_Button.SetUpVisual('d:/Multi_Hack/Icons/Img/Other_Function/Time_Of_Day_02.tga')	
			self.Time_Of_Day_Button.SetOverVisual('d:/Multi_Hack/Icons/Img/Other_Function/Time_Of_Day_02.tga')	
			self.Time_Of_Day_Button.SetDownVisual('d:/Multi_Hack/Icons/Img/Other_Function/Time_Of_Day_02.tga')		
		else:
			Time_Of_Day = 0
			background.SetEnvironmentData(0)
			self.Time_Of_Day_Button.SetToolTipText("Włącz Noc")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Dzień Włączony")
			self.Time_Of_Day_Button.SetUpVisual('d:/Multi_Hack/Icons/Img/Other_Function/Time_Of_Day_01.tga')	
			self.Time_Of_Day_Button.SetOverVisual('d:/Multi_Hack/Icons/Img/Other_Function/Time_Of_Day_01.tga')	
			self.Time_Of_Day_Button.SetDownVisual('d:/Multi_Hack/Icons/Img/Other_Function/Time_Of_Day_01.tga')			
			
	################################### Make Snow Func ###################################
	
	def Make_Snow_func(self):
		global Make_Snow
		if Make_Snow == 0:
			Make_Snow = 1
			background.EnableSnow(1)
			self.Make_Snow_Button.SetToolTipText("Wyłącz Śnieg")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Śnieg Włączony")
			self.Make_Snow_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Make_Snow_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Make_Snow_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:	
			Make_Snow = 0
			background.EnableSnow(0)
			self.Make_Snow_Button.SetToolTipText("Włącz Śnieg")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Śnieg Wyłączony")
			self.Make_Snow_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Make_Snow_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Make_Snow_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	################################### No Fog Func ###################################
	
	def No_Fog_func(self):
		global No_Fog
		if No_Fog == 0:
			No_Fog = 1
			app.SetMinFog(900000)
			self.No_Fog_Button.SetToolTipText("Włącz Mglę")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Mgła Wyłączona")
			self.No_Fog_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.No_Fog_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.No_Fog_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			No_Fog = 0
			app.SetMinFog(2500)
			self.No_Fog_Button.SetToolTipText("Wyłącz Mglę")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Mgła Włączona")
			self.No_Fog_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.No_Fog_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.No_Fog_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	################################### Combo Func ###################################		
		
	def Combo_func(self):	
		global Combo
		if Combo == 0:
			Combo = 1
			chr.testSetComboType(2)
			self.Combo_Button.SetToolTipText("Wyłącz Combo")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Combo Włączone")
			self.Combo_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Combo_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Combo_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			Combo = 0
			chr.testSetComboType(0)
			self.Combo_Button.SetToolTipText("Włącz Combo")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Combo Wyłączone")
			self.Combo_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Combo_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			self.Combo_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")
			
	################################### Open Calm Func ###################################
			
	def Open_Calm_func(self):
		global Open_Calm
		if Open_Calm == 0:
			Open_Calm = 1
			self.Enable_Open_Calm()
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Otwieracz Malży Włączony")
			self.Open_Calm_Button.SetToolTipText("Wyłącz Otwieracz Małży")
			self.Open_Calm_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Open_Calm_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
			self.Open_Calm_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/On_Button.tga")
		else:
			Open_Calm = 0
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Otwieracz Malży Wyłączony")
			self.Open_Calm_Button.SetToolTipText("Włącz Otwieracz Małży")
			self.Open_Calm_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.Open_Calm_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			self.Open_Calm_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Gui/Off_Button.tga")	
			
	def Enable_Open_Calm(self):
		self.Delay_Open_Calm = WaitingDialog()
		self.Delay_Open_Calm.Open(0.1)
		global Open_Calm
		if Open_Calm == 1:
			for i in xrange(player.INVENTORY_PAGE_SIZE*5):
				ItemValue = player.GetItemIndex(i)
				if ItemValue == 27987:
					net.SendItemUsePacket(i)
					break
		self.Delay_Open_Calm.SAFE_SetTimeOverEvent(self.Enable_Open_Calm)	
			
	################################### Camera_Options Func ###################################
	
	def Camera_Options_func(self):
		Camera_Options().Show()
		
	################################### Weapon_Options Func ###################################
	
	def Weapon_Options_func(self):
		Weapon_Options().Show()
		
	################################### Teleport Func ###################################
	
	# def Teleport_func(self):
		# Teleport_Hack().Show()
		# chat.AppendChat(1, "Przytrzymaj lewy Shift jednocześnie wskazując miejsce na minimapie w które postać ma się przteleportować/pobiec.")				   
		
	################################### Player Hide Func ###################################
	
	def Player_Hide_func(self):
		global Player_Hide
		if Player_Hide == 0:
			Player_Hide = 1
			chr.Hide()
			self.Player_Hide_Button.SetToolTipText("Odsłoń Postać")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Postać Ukryta")
			self.Player_Hide_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Other_Function/Player_Hide_Button_01.tga")
			self.Player_Hide_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Other_Function/Player_Hide_Button_02.tga")
			self.Player_Hide_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Other_Function/Player_Hide_Button_03.tga")
		else:
			Player_Hide = 0
			chr.Show()
			self.Player_Hide_Button.SetToolTipText("Ukryj Postać")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Postać Odsłonięta")
			self.Player_Hide_Button.SetUpVisual("d:/Multi_Hack/Icons/Buttons/Other_Function/Player_Show_Button_01.tga")
			self.Player_Hide_Button.SetOverVisual("d:/Multi_Hack/Icons/Buttons/Other_Function/Player_Show_Button_02.tga")
			self.Player_Hide_Button.SetDownVisual("d:/Multi_Hack/Icons/Buttons/Other_Function/Player_Show_Button_03.tga")
			
	################################### Eq Visual Func ###################################
	
	def Eq_Visual_func(self):
		Eq_Visual().Show()
		
	################################### Item Creator Func ###################################
	
	# def Item_Creator_func(self):
		# Item_Creator().Show()
			
	################################### Koniec Func ###################################
				
	def __BuildKeyDict(self):
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
			self.Enable_Respown_Time()
	
	def Close(self):
		self.Board.Hide()
			
class Camera_Options(ui.Window):
	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):
		self.Board = ui.BoardWithTitleBar()
		self.Board.SetSize(140, 120)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Opcje Kamery')
		self.Board.SetCloseEvent(self.Close)
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()
		
		################################### Buttony ###################################

		self.Zoom_Hack_Button = self.comp.Button(self.Board, 'Zoom Hack', '', 26, 35, self.Zoom_Hack_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
		self.Stay_Camera_Button = self.comp.Button(self.Board, 'Zablokuj Kamerę', '', 26, 60, self.Stay_Camera_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
		self.Bird_Camera_Button = self.comp.Button(self.Board, 'Kamera z Góry', '', 26, 85, self.Bird_Camera_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
	
	################################### Zoom Hack Func ###################################
	
	def Zoom_Hack_func(self):
		global Zoom_Hack
		if Zoom_Hack == 0:
			Zoom_Hack = 1
			app.SetCameraMaxDistance(100000)	
			self.Zoom_Hack_Button.SetText("ZoomHack On")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "ZoomHack On")
			chr.SetMotionMode(chr.MOTION_MODE_FISHING)
		else:
			Zoom_Hack = 0
			app.SetCameraMaxDistance(2500)
			self.Zoom_Hack_Button.SetText("ZoomHack Off")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "ZoomHack Off")
			
	################################### Stay Camera Func ###################################	
			
	def Stay_Camera_func(self):
		global Stay_Camera
		if Stay_Camera == 0:
			Stay_Camera = 1
			x, y, z = player.GetMainCharacterPosition()
			app.SetCameraSetting(int(x), int(-y), int(z), 3000, 0, 30)	
			self.Stay_Camera_Button.SetText("Kamera Zablokowana")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Kamera Zablokowana")
		else:
			Stay_Camera = 0
			app.SetDefaultCamera()
			self.Stay_Camera_Button.SetText("Kamera Odblokowana")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Kamera Odblokowana")
			
	################################### Bird Camera Func ###################################
			
	def Bird_Camera_func(self):
		global Bird_Camera
		if Bird_Camera == 0:
			Bird_Camera = 1
			app.SetCameraMaxDistance(200000)
			app.SetMinFog(350000)
			app.SetCamera(20000.0, 90.0, 0.0, 0.0)	
			self.Bird_Camera_Button.SetText("Kamera z Góry On")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Kamera z Góry On")
		else:
			Bird_Camera = 0
			app.SetCamera(100.0, 100.0, 0.0, 0.0)
			self.Bird_Camera_Button.SetText("Kamera z Góry Off")
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Kamera z Góry Off")
			
	################################### Koniec Func ###################################
		
	def __BuildKeyDict(self):
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
	
	def Close(self):
		self.Board.Hide()
		
class Weapon_Options(ui.Window):
	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):
		self.Board = ui.BoardWithTitleBar()
		self.Board.SetSize(140, 245)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Rodzaj Broni')
		self.Board.SetCloseEvent(self.Close)
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()
		
	################################### Buttony ###################################

		self.ONEHAND_SWORD_Button = self.comp.Button(self.Board, '1 Ręka', '', 26, 35, self.ONEHAND_SWORD_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
		self.TWOHAND_SWORD_Button = self.comp.Button(self.Board, '2 Ręka', '', 26, 60, self.TWOHAND_SWORD_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
		self.DUALHAND_SWORD_Button = self.comp.Button(self.Board, 'Sztylety', '', 26, 85, self.DUALHAND_SWORD_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
		self.BOW_Button = self.comp.Button(self.Board, 'Łuk', '', 26, 110, self.BOW_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
		self.FAN_Button = self.comp.Button(self.Board, 'Wachlarz', '', 26, 135, self.FAN_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
		self.BELL_Button = self.comp.Button(self.Board, 'Dzwon', '', 26, 160, self.BELL_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
		self.FISHING_Button = self.comp.Button(self.Board, 'Wędka', '', 26, 185, self.FISHING_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
		self.GENERAL_Button = self.comp.Button(self.Board, 'Pięść', '', 26, 210, self.GENERAL_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
			
	################################### Początek Func ###################################
	
	def ONEHAND_SWORD_func(self):
		chr.SetMotionMode(chr.MOTION_MODE_ONEHAND_SWORD)
				
	def TWOHAND_SWORD_func(self):
		chr.SetMotionMode(chr.MOTION_MODE_TWOHAND_SWORD)
			
	def DUALHAND_SWORD_func(self):
		chr.SetMotionMode(chr.MOTION_MODE_DUALHAND_SWORD)
		
	def BOW_func(self):
		chr.SetMotionMode(chr.MOTION_MODE_BOW)
				
	def FAN_func(self):
		chr.SetMotionMode(chr.MOTION_MODE_FAN)
			
	def BELL_func(self):
		chr.SetMotionMode(chr.MOTION_MODE_BELL)
		
	def FISHING_func(self):
		chr.SetMotionMode(chr.MOTION_MODE_FISHING)
		
	def GENERAL_func(self):
		chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
					
	################################### Koniec Func ###################################
		
	def __BuildKeyDict(self):
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
	
	def Close(self):
		self.Board.Hide()
		
class Eq_Visual(ui.Window):
	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):
		self.Board = ui.BoardWithTitleBar()
		self.Board.SetSize(243, 170)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Wygląd - Tylko ty widzisz!')
		self.Board.SetCloseEvent(self.Close)
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()
		
		################################### HorizontalBars ###################################	
		
		self.Bron_Zbroja_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 38, 223)
		self.Bron_Zbroja_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Bron_Zbroja_HorizontalBar, 'Wygląd broni i zbroi', 5, 0, 0xFFFFE3AD)			
		
		self.Gm_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 110, 223)
		self.Gm_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Gm_HorizontalBar, 'Znaczek Gm', 5, 0, 0xFFFFE3AD)			
		
		################################### Slotbar i Text ###################################	
	
		self.Weapon_ID_Text = self.comp.TextLine(self.Board, 'ID Broni:', 14, 60, self.comp.RGB(255, 255, 255))		
		self.slotbar_Weapon_ID, self.Weapon_ID_EditLine = self.comp.EditLine(self.Board, '', 70, 60, 60, 15, 10)
		
		self.Armor_ID_Text = self.comp.TextLine(self.Board, 'ID Zbroi:', 14, 80, self.comp.RGB(255, 255, 255))		
		self.slotbar_Armor_ID_Text, self.Armor_ID_Text_EditLine = self.comp.EditLine(self.Board, '', 70, 80, 60, 15, 10)
		
		################################### Buttony ###################################	
		
		self.Set_Weapon_Button = self.comp.Button(self.Board, 'Ustaw', '', 140, 60, self.Set_Weapon_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')			
		self.Set_Armor_Button = self.comp.Button(self.Board, 'Ustaw', '', 140, 80, self.Set_Armor_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')			
		self.Set_Gm_Button = self.comp.Button(self.Board, 'Ustaw znaczem GM', '', 30, 130, self.Set_Gm_func, 'd:/ymir work/ui/public/xlarge_button_01.sub', 'd:/ymir work/ui/public/xlarge_button_02.sub', 'd:/ymir work/ui/public/xlarge_button_03.sub')			
			
	def Set_Weapon_func(self):
		global Weapon_ID
		Weapon_ID = self.Weapon_ID_EditLine.GetText()
		chat.AppendChat(1, "Ustawiono wygląd broni o ID: " + str(Weapon_ID))
		chr.SetWeapon(int(Weapon_ID))
		
	def Set_Armor_func(self):
		global Armor_ID
		Armor_ID = self.Armor_ID_Text_EditLine.GetText()
		chat.AppendChat(1, "Ustawiono wygląd zbroi o ID: " + str(Armor_ID))
		chr.SetArmor(int(Armor_ID))
		
	def Set_Gm_func(self):
		global Set_Gm
		if Set_Gm == 0:
			Set_Gm = 1
			Own_Nick = chr.GetName()
			Own_Nick_Gm = '[GM]' + Own_Nick
			chrmgr.SetAffect(-1, 0, 1)
			chr.SetNameString(Own_Nick_Gm)
			Own_Nick_Gm = Own_Nick_Gm.replace('[GM]', '')
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Ustawiony znaczem Gm")
			self.Set_Gm_Button.SetText("Zabierz znaczek Gm")
		else:	
			Set_Gm = 0
			Own_Nick = chr.GetName()
			Own_Nick = Own_Nick.replace('[GM]', '')
			chrmgr.SetAffect(-1, 0, 0)
			chr.SetNameString(Own_Nick)
			chat.AppendChat(chat.CHAT_TYPE_INFO, "Zabrano znaczek Gm")
			self.Set_Gm_Button.SetText("Ustaw znaczem GM")
	
	
	def __BuildKeyDict(self):
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
	
	def Close(self):
		self.Board.Hide()			
	
class Info(ui.Window):
	def __init__(self):
		ui.Window.__init__(self)
		self.BuildWindow()

	def __del__(self):
		ui.Window.__del__(self)

	def BuildWindow(self):
		self.Board = ui.BoardWithTitleBar()
		self.Board.SetSize(243, 140)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Info')
		self.Board.SetCloseEvent(self.Close)
		self.Board.Show()
		self.__BuildKeyDict()
		self.comp = Component()
		
		################################### HorizontalBars ###################################	
		
		self.Info_HorizontalBar = self.comp.HorizontalBar(self.Board , 10, 38, 223)
		self.Info_HorizontalBar_Text = self.comp.TextLine_SetPackedFontColor(self.Info_HorizontalBar, '                 MultiHack v1.0 by ZAHON', 5, 0, 0xFFFFE3AD)			

		################################### Buttony ###################################	

		self.MPC_Button = self.comp.Button(self.Board, '', '', 21, 60, self.MPC_func, 'd:/Multi_Hack/Icons/Img/Info/MPC.tga', 'd:/Multi_Hack/Icons/Img/Info/MPC.tga', 'd:/Multi_Hack/Icons/Img/Info/MPC.tga')
		self.YouTube_Button = self.comp.Button(self.Board, '', '', 90, 60, self.YouTube_func, 'd:/Multi_Hack/Icons/Img/Info/YouTube.tga', 'd:/Multi_Hack/Icons/Img/Info/YouTube.tga', 'd:/Multi_Hack/Icons/Img/Info/YouTube.tga')
		self.FaceBook_Button = self.comp.Button(self.Board, '', '', 156, 60, self.FaceBook_func, 'd:/Multi_Hack/Icons/Img/Info/FaceBook.tga', 'd:/Multi_Hack/Icons/Img/Info/FaceBook.tga', 'd:/Multi_Hack/Icons/Img/Info/FaceBook.tga')
	
		################################### Func ###################################	
	
	def MPC_func(self):
		os.system('start http://www.mpcforum.pl/user/258957-zahon/')

	def YouTube_func(self):
		os.system('start https://www.youtube.com/channel/UC23pks_7oQXPvR1J4domS3Q')

	def FaceBook_func(self):
		os.system('start https://www.facebook.com/xZAHON')

	
	def __BuildKeyDict(self):
		onPressKeyDict = {}
		onPressKeyDict[app.DIK_F5]	= lambda : self.OpenWindow()
		self.onPressKeyDict = onPressKeyDict
	
	def OnKeyDown(self, key):
		try:
			self.onPressKeyDict[key]()
		except KeyError:
			pass
		except:
			raise
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()
	
	def Close(self):
		self.Board.Hide()	
	
class WaitingDialog(ui.ScriptWindow):

	def __init__(self):
		ui.ScriptWindow.__init__(self)
		self.eventTimeOver = lambda *arg: None
		self.eventExit = lambda *arg: None

	def __del__(self):
		ui.ScriptWindow.__del__(self)

	def Open(self, waitTime):
		curTime = time.clock()
		self.endTime = curTime + waitTime

		self.Show()		

	def Close(self):
		self.Hide()

	def Destroy(self):
		self.Hide()

	def SAFE_SetTimeOverEvent(self, event):
		self.eventTimeOver = ui.__mem_func__(event)

	def SAFE_SetExitEvent(self, event):
		self.eventExit = ui.__mem_func__(event)
		
	
	def OnUpdate(self):
		lastTime = max(0, self.endTime - time.clock())
		if 0 == lastTime:
			self.Close()
			self.eventTimeOver()
			
		else:
			return		
		
class Component:
	def Button(self, parent, buttonName, tooltipText, x, y, func, UpVisual, OverVisual, DownVisual):
		button = ui.Button()
		if parent != None:
			button.SetParent(parent)
		button.SetPosition(x, y)
		button.SetUpVisual(UpVisual)
		button.SetOverVisual(OverVisual)
		button.SetDownVisual(DownVisual)
		button.SetText(buttonName)
		button.SetToolTipText(tooltipText)
		button.Show()
		button.SetEvent(func)
		return button
		
	def ButtonHide(self, parent, buttonName, tooltipText, x, y, func, UpVisual, OverVisual, DownVisual):
		button = ui.Button()
		if parent != None:
			button.SetParent(parent)
		button.SetPosition(x, y)
		button.SetUpVisual(UpVisual)
		button.SetOverVisual(OverVisual)
		button.SetDownVisual(DownVisual)
		button.SetText(buttonName)
		button.SetToolTipText(tooltipText)
		button.Hide()
		button.SetEvent(func)
		return button

	def ToggleButton(self, parent, buttonName, tooltipText, x, y, funcUp, funcDown, UpVisual, OverVisual, DownVisual):
		button = ui.ToggleButton()
		if parent != None:
			button.SetParent(parent)
		button.SetPosition(x, y)
		button.SetUpVisual(UpVisual)
		button.SetOverVisual(OverVisual)
		button.SetDownVisual(DownVisual)
		button.SetText(buttonName)
		button.SetToolTipText(tooltipText)
		button.Show()
		button.SetToggleUpEvent(funcUp)
		button.SetToggleDownEvent(funcDown)
		return button

	def EditLine(self, parent, editlineText, x, y, width, heigh, max):
		SlotBar = ui.SlotBar()
		if parent != None:
			SlotBar.SetParent(parent)
		SlotBar.SetSize(width, heigh)
		SlotBar.SetPosition(x, y)
		SlotBar.Show()
		Value = ui.EditLine()
		Value.SetParent(SlotBar)
		Value.SetSize(width, heigh)
		Value.SetPosition(1, 1)
		Value.SetMax(max)
		Value.SetLimitWidth(width)
		Value.SetMultiLine()
		Value.SetText(editlineText)
		Value.Show()
		return SlotBar, Value

	def TextLine(self, parent, textlineText, x, y, color):
		textline = ui.TextLine()
		if parent != None:
			textline.SetParent(parent)
		textline.SetPosition(x, y)
		if color != None:
			textline.SetFontColor(color[0], color[1], color[2])
		textline.SetText(textlineText)
		textline.Show()
		return textline
		
	def EditLineHide(self, parent, editlineText, x, y, width, heigh, max):
		SlotBarHide = ui.SlotBar()
		if parent != None:
			SlotBarHide.SetParent(parent)
		SlotBarHide.SetSize(width, heigh)
		SlotBarHide.SetPosition(x, y)
		SlotBarHide.Hide()
		Value = ui.EditLine()
		Value.SetParent(SlotBarHide)
		Value.SetSize(width, heigh)
		Value.SetPosition(1, 1)
		Value.SetMax(max)
		Value.SetLimitWidth(width)
		Value.SetMultiLine()
		Value.SetText(editlineText)
		Value.Show()
		return SlotBarHide, Value

	def TextLineHide(self, parent, textlineText, x, y, color):
		textline = ui.TextLine()
		if parent != None:
			textline.SetParent(parent)
		textline.SetPosition(x, y)
		if color != None:
			textline.SetFontColor(color[0], color[1], color[2])
		textline.SetText(textlineText)
		textline.Hide()
		return textline

	def RGB(self, r, g, :
		return (r*255, g*255, b*255)

	def SliderBar(self, parent, sliderPos, func, x, y):
		Slider = ui.SliderBar()
		if parent != None:
			Slider.SetParent(parent)
		Slider.SetPosition(x, y)
		Slider.SetSliderPos(sliderPos / 100)
		Slider.Show()
		Slider.SetEvent(func)
		return Slider

	def ExpandedImage(self, parent, x, y, img):
		image = ui.ExpandedImageBox()
		if parent != None:
			image.SetParent(parent)
		image.SetPosition(x, y)
		image.LoadImage(img)
		image.Show()
		return image

	def ComboBox(self, parent, text, x, y, width):
		combo = ui.ComboBox()
		if parent != None:
			combo.SetParent(parent)
		combo.SetPosition(x, y)
		combo.SetSize(width, 15)
		combo.SetCurrentItem(text)
		combo.Show()
		return combo

	def ThinBoard(self, parent, moveable, x, y, width, heigh, center):
		thin = ui.ThinBoard()
		if parent != None:
			thin.SetParent(parent)
		if moveable == TRUE:
			thin.AddFlag('movable')
			thin.AddFlag('float')
		thin.SetSize(width, heigh)
		thin.SetPosition(x, y)
		if center == TRUE:
			thin.SetCenterPosition()
		thin.Show()
		return thin

	def Gauge(self, parent, width, color, x, y):
		gauge = ui.Gauge()
		if parent != None:
			gauge.SetParent(parent)
		gauge.SetPosition(x, y)
		gauge.MakeGauge(width, color)
		gauge.Show()
		return gauge

	def ListBoxEx(self, parent, x, y, width, heigh):
		bar = ui.Bar()
		if parent != None:
			bar.SetParent(parent)
		bar.SetPosition(x, y)
		bar.SetSize(width, heigh)
		bar.SetColor(0x77000000)
		bar.Show()
		ListBox=ui.ListBoxEx()
		ListBox.SetParent(bar)
		ListBox.SetPosition(0, 0)
		ListBox.SetSize(width, heigh)
		ListBox.Show()
		# scroll = ui.ScrollBar()
		# scroll.SetParent(ListBox)
		# scroll.SetPosition(width-15, 0)
		# scroll.SetScrollBarSize(heigh)
		# scroll.Show()
		# ListBox.SetScrollBar(scroll)
		return bar, ListBox
		
	def HorizontalBar(self, parent, x, y, Create):
		horizontalBar = ui.HorizontalBar()
		if parent != None:
			horizontalBar.SetParent(parent)
		horizontalBar.SetPosition(x, y)
		horizontalBar.Create(Create)
		horizontalBar.Show()
		return horizontalBar
		
	def TextLine_SetPackedFontColor(self, parent, textlineText, x, y, color):
		TextLine_SetPackedFontColor = ui.TextLine()
		if parent != None:
			TextLine_SetPackedFontColor.SetParent(parent)
		TextLine_SetPackedFontColor.SetPosition(x, y)
		TextLine_SetPackedFontColor.SetPackedFontColor(color)
		TextLine_SetPackedFontColor.SetText(textlineText)
		TextLine_SetPackedFontColor.Show()
		return TextLine_SetPackedFontColor
		
	def HorizontalBarHide(self, parent, x, y, Create):
		horizontalBar = ui.HorizontalBar()
		if parent != None:
			horizontalBar.SetParent(parent)
		horizontalBar.SetPosition(x, y)
		horizontalBar.Create(Create)
		horizontalBar.Hide()
		return horizontalBar
		
	def TextLine_SetPackedFontColorHide(self, parent, textlineText, x, y, color):
		TextLine_SetPackedFontColor = ui.TextLine()
		if parent != None:
			TextLine_SetPackedFontColor.SetParent(parent)
		TextLine_SetPackedFontColor.SetPosition(x, y)
		TextLine_SetPackedFontColor.SetPackedFontColor(color)
		TextLine_SetPackedFontColor.SetText(textlineText)
		TextLine_SetPackedFontColor.Hide()
		return TextLine_SetPackedFontColor
		
class Item(ui.ListBoxEx.Item):
	def __init__(self, text):
		ui.ListBoxEx.Item.__init__(self)
		self.canLoad=0
		self.text=text
		self.textLine=self.__CreateTextLine(text[:50])
	def __del__(self):
		ui.ListBoxEx.Item.__del__(self)
	def GetText(self):
		return self.text
	def SetSize(self, width, height):
		ui.ListBoxEx.Item.SetSize(self, 5*len(self.textLine.GetText()) + 4, height)
	def __CreateTextLine(self, text):
		textLine=ui.TextLine()
		textLine.SetParent(self)
		textLine.SetPosition(0, 0)
		textLine.SetText(text)
		textLine.Show()
		return textLine
		




Gui().Show()

 

 

 


następnie wypakowujemy i wklejamy wklejamy gdzieś ten folder z ikonami na jakimkolwiek dysku 

 
 

 

klikamy ctrl+f przechodzimy na zakładkę zamień w pierwszym wpisujemy polu  d:/ a w drugim miejsce aktualnego pobytu folderu z ikonami np. jest aktualnie  odrazu na dysku c to wpisujecie c:/  [a jeśli na d:/ to nic nie zmieniacie] klikacie zamień wszystko 

 

logujemy się na postać i klikamy w multichaku bosnusswitcher koniec można to robić też z innymi cheatami które się wam podobanją

Maksymalnie 5 linii w sygnie.

Opublikowano

opisales to jak dziecko w klasie 1-3, wrzuc lepiej gotowa paczke bo ciezko cokolwiek zrozumiec z tego co napisales

No nie wiem ja normalnie zrozumiałem.

A co do poradnika to przydał mi się.

45dc18f721.gif

Opublikowano

ja tutaj nic ciekawego nie widzę jak darmową reklamę kanały youtube bo takich tematów jest xxx ładniej opisanych i zrozumiale a tutaj to no nie wiem

Opublikowano

ja tutaj nic ciekawego nie widzę jak darmową reklamę kanały youtube bo takich tematów jest xxx ładniej opisanych i zrozumiale a tutaj to no nie wiem

no a to nie jest temat dla lajkóf

Maksymalnie 5 linii w sygnie.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...