|
You last visited: Today at 07:21
Advertisement
[RELEASE] [GF] unX Python Loader + Timer
Discussion on [RELEASE] [GF] unX Python Loader + Timer within the Metin2 Hacks, Bots, Cheats, Exploits & Macros forum part of the Metin2 category.
06/08/2021, 00:00
|
#1
|
elite*gold: 0
Join Date: Nov 2016
Posts: 245
Received Thanks: 147
|
[RELEASE] [GF] unX Python Loader + Timer
*removed*
|
|
|
09/05/2021, 20:12
|
#2
|
elite*gold: 0
Join Date: Jun 2017
Posts: 3
Received Thanks: 0
|
useless, but thanks.
|
|
|
09/06/2021, 13:50
|
#3
|
elite*gold: 0
Join Date: Nov 2016
Posts: 245
Received Thanks: 147
|
Quote:
Originally Posted by HeRoBalkaN
useless, but thanks.
|
sure
|
|
|
10/20/2021, 11:04
|
#4
|
elite*gold: 0
Join Date: Mar 2012
Posts: 15
Received Thanks: 10
|
tnx
|
|
|
06/15/2022, 19:23
|
#5
|
elite*gold: 0
Join Date: Aug 2020
Posts: 98
Received Thanks: 20
|
can i get a source code please?
|
|
|
10/13/2022, 11:48
|
#6
|
elite*gold: 0
Join Date: Mar 2012
Posts: 29
Received Thanks: 2
|
source code pls
|
|
|
10/18/2022, 01:39
|
#7
|
elite*gold: 0
Join Date: Jul 2018
Posts: 9
Received Thanks: 4
|
uplmodule.unx
Code:
import ui,time,imp,script,chatm2g as chat
class unxPyRunner(ui.ScriptWindow):
timerStat=0
isShow=1
def __init__(self):
ui.ScriptWindow.__init__(self)
self.Board = ui.BoardWithTitleBar()
self.Board.SetTitleName('Python Loader')
self.Board.SetSize(190, 130)
self.Board.SetCenterPosition()
self.Board.SetCloseEvent(self.Cls)
self.Board.AddFlag('movable')
self.Board.Show()
thinBoard = ui.ThinBoard()
thinBoard.SetParent(self.Board)
thinBoard.SetSize(170, 85)
thinBoard.SetPosition(10,35)
thinBoard.Show()
self.thinBoard = thinBoard
self.comp = Component()
self.runOnceBtn = self.comp.Button(self.thinBoard, 'Run', 'Execute x1', 114, 10, self.runOnce, 'd:\\ymir work\\ui\\public\\small_button_01.sub', 'd:\\ymir work\\ui\\public\\small_button_02.sub', 'd:\\ymir work\\ui\\public\\small_button_03.sub')
self.msTitle = self.comp.TextLine(self.thinBoard, 'Sec:', 10, 35, self.comp.RGB(223,160,109))
self.infoTitle = self.comp.TextLine(self.thinBoard, 'Edit >> lib\\script.py', 10, 10, self.comp.RGB(223,160,109))
self.runTimerBtn = self.comp.ToggleButton(self.thinBoard, 'Run Timer', 'Execute every X second', 70, 33, self.TimerOff, self.TimerOn, '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.runDelay = self.comp.EditLine(self.thinBoard, '0.5', 34, 35,30,15,10)
self.authtxt = self.comp.TextLine(self.thinBoard, 'unXpected', 60, 60, self.comp.RGB(223,160,109))
def Cls(self):
if self.isShow==1:
self.isShow=0
self.thinBoard.Hide()
self.Board.SetSize(190,0)
else:
self.isShow=1
self.thinBoard.Show()
self.Board.SetSize(190,130)
def TimerOn(self):
self.timerStat=1
color=self.comp.RGB(0,248,84)
self.authtxt.SetFontColor(color[0], color[1], color[2])
self.runTimer()
def TimerOff(self):
self.timerStat=0
color=self.comp.RGB(0,160,109)
self.authtxt.SetFontColor(color[0], color[1], color[2])
self.setInterval = WaitingDialogDelay()
self.setInterval.Close()
def runOnce(self):
imp.reload(script)
def runTimer(self):
imp.reload(script)
if self.timerStat==1:
hitDelay=.5
try:
hitDelay=float(self.runDelay().GetText())
except:
hitDelay=.5
self.setInterval = WaitingDialogDelay()
self.setInterval.Open(hitDelay)
self.setInterval.SAFE_SetTimeOverEvent(self.runTimer)
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 != 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()
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(5, 1)
value.SetMax(max)
value.SetText(editlineText)
value.Show()
return value,SlotBar
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.SetOutline()
textline.Show()
return textline
def RGB(self, r, g, b):
return (r*255, g*255, b*255)
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
class WaitingDialogDelay(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 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
def OnPressExitKey(self):
self.Close()
return True
mcls = unxPyRunner()
mcls.Show()
The dll on the otherhand had a little bit more stuff than just a python loader.. poison cloud, fishing etc.
Code:
import ulib
ulib.GetMobVnum() # <type 'builtin_function_or_method'>
ulib.GetNearMob() # <type 'builtin_function_or_method'>
ulib.GetTargetVID() # <type 'builtin_function_or_method'>
ulib.LoadNearMobs() # <type 'builtin_function_or_method'>
ulib.MoveToDestPos() # <type 'builtin_function_or_method'>
ulib.NetIsOnline() # <type 'builtin_function_or_method'>
ulib.RunAlog() # <type 'builtin_function_or_method'>
ulib.RunModule() # <type 'builtin_function_or_method'>
ulib.SendBattle() # <type 'builtin_function_or_method'>
ulib.SendCloud() # <type 'builtin_function_or_method'>
ulib.SendFishing() # <type 'builtin_function_or_method'>
ulib.SendFishingQuit() # <type 'builtin_function_or_method'>
ulib.SendPickup() # <type 'builtin_function_or_method'>
ulib.SendSequence() # <type 'builtin_function_or_method'>
ulib.SendState() # <type 'builtin_function_or_method'>
ulib.SendUseSkillPacket() # <type 'builtin_function_or_method'>
ulib.SetupBaseAddr() # <type 'builtin_function_or_method'>
ulib.TpToDestPos() # <type 'builtin_function_or_method'>
ulib.__doc__ # <type 'str'>
ulib.__name__ # <type 'str'>
ulib.__package__ # <type 'NoneType'>
|
|
|
Similar Threads
|
[RELEASE] [GF] unX Python Launcher
01/06/2025 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 27 Replies
*removed*
|
[RELEASE] [GF] unX Mini Bot
12/17/2022 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 126 Replies
removed
|
[RELEASE] [GF] unX Shop Builder v1
10/06/2022 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 37 Replies
http://i.epvpimg.com/Lviqdab.png http://i.epvpimg.com/KlfEdab.png
• Copy files > Load python file (unX Python Launcher)
• Stack/Unstack Items
• Zoom Hack
• Sort Inventory ( Its basic algorithm not advanced! You can edit code)
•ShopBot;
-> Type name for shop window and open it
|
All times are GMT +1. The time now is 07:21.
|
|