[C++]Mail Box Final version

Închis
Avatar utilizator
Furia007
Nou Venit

Nou Venit
Mesaje: 28
Membru din: 03 Feb 2019, 13:11
Server: Revolution2
Regat: Jinno
Aprecieri: 0
Mulţumiri: 89  
Medalii

Luna trecută am cumpărat acest system de la un polonez , systemul este full testat fara buguri!

Link Download https://mega.nz/#!gb5yFIKS!L1zivKH4XduV ... -ffpHtO09Y


VirusTotal: https://www.virustotal.com/gui/file/8cc ... /detection


Uppdate

ui.py
class ImageBox(Window):
	def __init__(self, layer = "UI"):
		Window.__init__(self, layer)

		self.eventFunc = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}
		self.eventArgs = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}

		self.eventDict={}

	def __del__(self):
		Window.__del__(self)
		self.eventFunc = None
		self.eventArgs = None

	def RegisterWindow(self, layer):
		self.hWnd = wndMgr.RegisterImageBox(self, layer)

	def LoadImage(self, imageName):
		self.name=imageName
		wndMgr.LoadImage(self.hWnd, imageName)

		if len(self.eventDict)!=0:
			print "LOAD IMAGE", self, self.eventDict

	def SetAlpha(self, alpha):
		wndMgr.SetDiffuseColor(self.hWnd, 1.0, 1.0, 1.0, alpha)

	def GetWidth(self):
		return wndMgr.GetWidth(self.hWnd)

	def GetHeight(self):
		return wndMgr.GetHeight(self.hWnd)

	def SetEvent(self, func, *args) :
		result = self.eventFunc.has_key(args[0])
		if result:
			self.eventFunc[args[0]] = func
			self.eventArgs[args[0]] = args
		else :
			print "[ERROR] ui.py SetEvent, Can`t Find has_key : %s" % args[0]

	def OnMouseOverIn(self):
		try:
			self.eventDict["MOUSE_OVER_IN"]()
		except KeyError:
			pass

	def OnMouseOverOut(self):
		try:
			self.eventDict["MOUSE_OVER_OUT"]()
		except KeyError:
			pass

	def OnMouseLeftButtonUp(self) :
		if self.eventFunc["mouse_click"] :
			apply(self.eventFunc["mouse_click"], self.eventArgs["mouse_click"])

	def OnMouseOverIn(self) :
		if self.eventFunc["mouse_over_in"] :
			apply(self.eventFunc["mouse_over_in"], self.eventArgs["mouse_over_in"])
		else:
			try:
				self.eventDict["MOUSE_OVER_IN"]()
			except KeyError:
				pass

	def OnMouseOverOut(self) :
		if self.eventFunc["mouse_over_out"] :
			apply(self.eventFunc["mouse_over_out"], self.eventArgs["mouse_over_out"])
		else :
			try:
				self.eventDict["MOUSE_OVER_OUT"]()
			except KeyError:
				pass
				
	def SAFE_SetStringEvent(self, event, func):
		self.eventDict[event]=__mem_func__(func)

class AniImageBox(Window):
	def __init__(self, layer = "UI"):
		Window.__init__(self, layer)

		self.eventFunc = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}
		self.eventArgs = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}

	def __del__(self):
		Window.__del__(self)
		self.eventFunc = None
		self.eventArgs = None

	def RegisterWindow(self, layer):
		self.hWnd = wndMgr.RegisterAniImageBox(self, layer)

	def SetDelay(self, delay):
		wndMgr.SetDelay(self.hWnd, delay)

	def SetEvent(self, func, *args) :
		result = self.eventFunc.has_key(args[0])		
		if result:
			self.eventFunc[args[0]] = func
			self.eventArgs[args[0]] = args
		else :
			print "[ERROR] ui.py SetEvent, Can`t Find has_key : %s" % args[0]

	def OnMouseLeftButtonUp(self) :
		if self.eventFunc["mouse_click"] :
			apply(self.eventFunc["mouse_click"], self.eventArgs["mouse_click"])

	def OnMouseOverIn(self) :
		if self.eventFunc["mouse_over_in"] :
			apply(self.eventFunc["mouse_over_in"], self.eventArgs["mouse_over_in"])

	def OnMouseOverOut(self) :
		if self.eventFunc["mouse_over_out"] :
			apply(self.eventFunc["mouse_over_out"], self.eventArgs["mouse_over_out"])

	def AppendImage(self, filename):
		wndMgr.AppendImage(self.hWnd, filename)

	def SetPercentage(self, curValue, maxValue):
		wndMgr.SetRenderingRect(self.hWnd, 0.0, 0.0, -1.0 + float(curValue) / float(maxValue), 0.0)

	def OnEndFrame(self):
		pass
==========================================================
uiminimap
import uiToolTip

class MiniMap(ui.ScriptWindow):

search:
miniMap.SetScale(2.0)
add bellow:
if app.ENABLE_MAIL_BOX_SYSTEM:
			self.toolTip = uiToolTip.ToolTip(160)
			self.toolTip.HideToolTip()
search:
self.tooltipAtlasOpen.SetTooltipPosition(ButtonPosX, ButtonPosY)
add bellow:
if app.ENABLE_MAIL_BOX_SYSTEM:
			self.MailBoxButton.SetEvent(ui.__mem_func__(self.OnMouseOverIn), "mouse_over_in")
			self.MailBoxButton.SetEvent(ui.__mem_func__(self.OnMouseOverOut), "mouse_over_out")

search:
def OnUpdate(self):
		import time
		(x, y, z) = player.GetMainCharacterPosition()
		miniMap.Update(x, y)
		
		self.Time.SetText(time.strftime("%H:%M"))
		self.Time2.SetText(time.strftime("%d-%m-%Y"))
ADD BEFORE:
if app.ENABLE_MAIL_BOX_SYSTEM:
		def MailBoxValues(self,c_a,m_a,m_s):
			if c_a > 0:
				self.MailBoxEffect.Show()
			else:
				self.MailBoxEffect.Hide()
				
			self.toolTip.ClearToolTip()
			self.toolTip.SetTitle("Wiadomości otrzymane %d"%c_a)
			self.toolTip.AppendTextLine("Bez załącznika: %d / Z załącznikiem: %d"%(m_s,m_a))

	def OnMouseOverIn(self):
		self.toolTip.ShowToolTip()
		
	def OnMouseOverOut(self):
		self.toolTip.HideToolTip()
Ultima oară modificat 10 Iul 2020, 01:30 de către [RaKu], modificat 1 dată în total.
Motiv: Adaugat VT.
Pentru acest mesaj, Furia007 a primit 5 (de) mulţumiri
.AreS • sTrix. • danesz93 • Koenigsegg • Ionuţ M.
Afișează semnătura
Avatar utilizator
sTrix.
Nivel 5

Nivel 5
Mesaje: 807
Membru din: 15 Feb 2018, 17:52
Regat: Jinno
Aprecieri: 238  
Mulţumiri: 273  
Medalii

Furia007 scrie:Luna trecută am cumpărat acest system de la un polonez , systemul este full testat fara buguri!

Link Download https://mega.nz/#!gb5yFIKS!L1zivKH4XduV ... -ffpHtO09Y

Uppdate

ui.py
class ImageBox(Window):
	def __init__(self, layer = "UI"):
		Window.__init__(self, layer)

		self.eventFunc = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}
		self.eventArgs = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}

		self.eventDict={}

	def __del__(self):
		Window.__del__(self)
		self.eventFunc = None
		self.eventArgs = None

	def RegisterWindow(self, layer):
		self.hWnd = wndMgr.RegisterImageBox(self, layer)

	def LoadImage(self, imageName):
		self.name=imageName
		wndMgr.LoadImage(self.hWnd, imageName)

		if len(self.eventDict)!=0:
			print "LOAD IMAGE", self, self.eventDict

	def SetAlpha(self, alpha):
		wndMgr.SetDiffuseColor(self.hWnd, 1.0, 1.0, 1.0, alpha)

	def GetWidth(self):
		return wndMgr.GetWidth(self.hWnd)

	def GetHeight(self):
		return wndMgr.GetHeight(self.hWnd)

	def SetEvent(self, func, *args) :
		result = self.eventFunc.has_key(args[0])
		if result:
			self.eventFunc[args[0]] = func
			self.eventArgs[args[0]] = args
		else :
			print "[ERROR] ui.py SetEvent, Can`t Find has_key : %s" % args[0]

	def OnMouseOverIn(self):
		try:
			self.eventDict["MOUSE_OVER_IN"]()
		except KeyError:
			pass

	def OnMouseOverOut(self):
		try:
			self.eventDict["MOUSE_OVER_OUT"]()
		except KeyError:
			pass

	def OnMouseLeftButtonUp(self) :
		if self.eventFunc["mouse_click"] :
			apply(self.eventFunc["mouse_click"], self.eventArgs["mouse_click"])

	def OnMouseOverIn(self) :
		if self.eventFunc["mouse_over_in"] :
			apply(self.eventFunc["mouse_over_in"], self.eventArgs["mouse_over_in"])
		else:
			try:
				self.eventDict["MOUSE_OVER_IN"]()
			except KeyError:
				pass

	def OnMouseOverOut(self) :
		if self.eventFunc["mouse_over_out"] :
			apply(self.eventFunc["mouse_over_out"], self.eventArgs["mouse_over_out"])
		else :
			try:
				self.eventDict["MOUSE_OVER_OUT"]()
			except KeyError:
				pass
				
	def SAFE_SetStringEvent(self, event, func):
		self.eventDict[event]=__mem_func__(func)

class AniImageBox(Window):
	def __init__(self, layer = "UI"):
		Window.__init__(self, layer)

		self.eventFunc = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}
		self.eventArgs = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}

	def __del__(self):
		Window.__del__(self)
		self.eventFunc = None
		self.eventArgs = None

	def RegisterWindow(self, layer):
		self.hWnd = wndMgr.RegisterAniImageBox(self, layer)

	def SetDelay(self, delay):
		wndMgr.SetDelay(self.hWnd, delay)

	def SetEvent(self, func, *args) :
		result = self.eventFunc.has_key(args[0])		
		if result:
			self.eventFunc[args[0]] = func
			self.eventArgs[args[0]] = args
		else :
			print "[ERROR] ui.py SetEvent, Can`t Find has_key : %s" % args[0]

	def OnMouseLeftButtonUp(self) :
		if self.eventFunc["mouse_click"] :
			apply(self.eventFunc["mouse_click"], self.eventArgs["mouse_click"])

	def OnMouseOverIn(self) :
		if self.eventFunc["mouse_over_in"] :
			apply(self.eventFunc["mouse_over_in"], self.eventArgs["mouse_over_in"])

	def OnMouseOverOut(self) :
		if self.eventFunc["mouse_over_out"] :
			apply(self.eventFunc["mouse_over_out"], self.eventArgs["mouse_over_out"])

	def AppendImage(self, filename):
		wndMgr.AppendImage(self.hWnd, filename)

	def SetPercentage(self, curValue, maxValue):
		wndMgr.SetRenderingRect(self.hWnd, 0.0, 0.0, -1.0 + float(curValue) / float(maxValue), 0.0)

	def OnEndFrame(self):
		pass
==========================================================
uiminimap
import uiToolTip

class MiniMap(ui.ScriptWindow):

search:
miniMap.SetScale(2.0)
add bellow:
if app.ENABLE_MAIL_BOX_SYSTEM:
			self.toolTip = uiToolTip.ToolTip(160)
			self.toolTip.HideToolTip()
search:
self.tooltipAtlasOpen.SetTooltipPosition(ButtonPosX, ButtonPosY)
add bellow:
if app.ENABLE_MAIL_BOX_SYSTEM:
			self.MailBoxButton.SetEvent(ui.__mem_func__(self.OnMouseOverIn), "mouse_over_in")
			self.MailBoxButton.SetEvent(ui.__mem_func__(self.OnMouseOverOut), "mouse_over_out")

search:
def OnUpdate(self):
		import time
		(x, y, z) = player.GetMainCharacterPosition()
		miniMap.Update(x, y)
		
		self.Time.SetText(time.strftime("%H:%M"))
		self.Time2.SetText(time.strftime("%d-%m-%Y"))
ADD BEFORE:
if app.ENABLE_MAIL_BOX_SYSTEM:
		def MailBoxValues(self,c_a,m_a,m_s):
			if c_a > 0:
				self.MailBoxEffect.Show()
			else:
				self.MailBoxEffect.Hide()
				
			self.toolTip.ClearToolTip()
			self.toolTip.SetTitle("Wiadomości otrzymane %d"%c_a)
			self.toolTip.AppendTextLine("Bez załącznika: %d / Z załącznikiem: %d"%(m_s,m_a))

	def OnMouseOverIn(self):
		self.toolTip.ShowToolTip()
		
	def OnMouseOverOut(self):
		self.toolTip.HideToolTip()
Cumparat de la un polonez, dar e in spanioala :)), in fine, multumim de sistem. O sa-l testez cand am timp. ;) Probabil ca acel polonez era un reseller, bravo pt. ca i-ai stricat afacerea (daca i-ai stricat-o :-s ). :))
Apasa Imagine daca te-am ajutat.
Imagine
Afișează semnătura
Avatar utilizator
.ShadoW
Nivel 4

Nivel 4
Mesaje: 659
Membru din: 14 Noi 2013, 17:54
Server: not yet..
Regat: Jinno
Aprecieri: 379  
Mulţumiri: 32  
Medalii

functional

Imagine
Imagine




e super usor de adaptat, n-am won dar l-am facut cu gaya
Imagine
Afișează semnătura
Avatar utilizator
deyu3110
Nivel 1

Nivel 1
Mesaje: 78
Membru din: 05 Feb 2019, 03:02
Server: Metin2Duplo
Regat: Chunjo
Aprecieri: 120  
Mulţumiri: 7  
 Contact:
Medalii

Furia007 scrie: ↑02 Mar 2019, 14:23 Luna trecută am cumpărat acest system de la un polonez , systemul este full testat fara buguri!

Link Download https://mega.nz/#!gb5yFIKS!L1zivKH4XduV ... -ffpHtO09Y


VirusTotal: https://www.virustotal.com/gui/file/8cc ... /detection


Uppdate

ui.py
class ImageBox(Window):
	def __init__(self, layer = "UI"):
		Window.__init__(self, layer)

		self.eventFunc = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}
		self.eventArgs = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}

		self.eventDict={}

	def __del__(self):
		Window.__del__(self)
		self.eventFunc = None
		self.eventArgs = None

	def RegisterWindow(self, layer):
		self.hWnd = wndMgr.RegisterImageBox(self, layer)

	def LoadImage(self, imageName):
		self.name=imageName
		wndMgr.LoadImage(self.hWnd, imageName)

		if len(self.eventDict)!=0:
			print "LOAD IMAGE", self, self.eventDict

	def SetAlpha(self, alpha):
		wndMgr.SetDiffuseColor(self.hWnd, 1.0, 1.0, 1.0, alpha)

	def GetWidth(self):
		return wndMgr.GetWidth(self.hWnd)

	def GetHeight(self):
		return wndMgr.GetHeight(self.hWnd)

	def SetEvent(self, func, *args) :
		result = self.eventFunc.has_key(args[0])
		if result:
			self.eventFunc[args[0]] = func
			self.eventArgs[args[0]] = args
		else :
			print "[ERROR] ui.py SetEvent, Can`t Find has_key : %s" % args[0]

	def OnMouseOverIn(self):
		try:
			self.eventDict["MOUSE_OVER_IN"]()
		except KeyError:
			pass

	def OnMouseOverOut(self):
		try:
			self.eventDict["MOUSE_OVER_OUT"]()
		except KeyError:
			pass

	def OnMouseLeftButtonUp(self) :
		if self.eventFunc["mouse_click"] :
			apply(self.eventFunc["mouse_click"], self.eventArgs["mouse_click"])

	def OnMouseOverIn(self) :
		if self.eventFunc["mouse_over_in"] :
			apply(self.eventFunc["mouse_over_in"], self.eventArgs["mouse_over_in"])
		else:
			try:
				self.eventDict["MOUSE_OVER_IN"]()
			except KeyError:
				pass

	def OnMouseOverOut(self) :
		if self.eventFunc["mouse_over_out"] :
			apply(self.eventFunc["mouse_over_out"], self.eventArgs["mouse_over_out"])
		else :
			try:
				self.eventDict["MOUSE_OVER_OUT"]()
			except KeyError:
				pass
				
	def SAFE_SetStringEvent(self, event, func):
		self.eventDict[event]=__mem_func__(func)

class AniImageBox(Window):
	def __init__(self, layer = "UI"):
		Window.__init__(self, layer)

		self.eventFunc = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}
		self.eventArgs = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None}

	def __del__(self):
		Window.__del__(self)
		self.eventFunc = None
		self.eventArgs = None

	def RegisterWindow(self, layer):
		self.hWnd = wndMgr.RegisterAniImageBox(self, layer)

	def SetDelay(self, delay):
		wndMgr.SetDelay(self.hWnd, delay)

	def SetEvent(self, func, *args) :
		result = self.eventFunc.has_key(args[0])		
		if result:
			self.eventFunc[args[0]] = func
			self.eventArgs[args[0]] = args
		else :
			print "[ERROR] ui.py SetEvent, Can`t Find has_key : %s" % args[0]

	def OnMouseLeftButtonUp(self) :
		if self.eventFunc["mouse_click"] :
			apply(self.eventFunc["mouse_click"], self.eventArgs["mouse_click"])

	def OnMouseOverIn(self) :
		if self.eventFunc["mouse_over_in"] :
			apply(self.eventFunc["mouse_over_in"], self.eventArgs["mouse_over_in"])

	def OnMouseOverOut(self) :
		if self.eventFunc["mouse_over_out"] :
			apply(self.eventFunc["mouse_over_out"], self.eventArgs["mouse_over_out"])

	def AppendImage(self, filename):
		wndMgr.AppendImage(self.hWnd, filename)

	def SetPercentage(self, curValue, maxValue):
		wndMgr.SetRenderingRect(self.hWnd, 0.0, 0.0, -1.0 + float(curValue) / float(maxValue), 0.0)

	def OnEndFrame(self):
		pass
==========================================================
uiminimap
import uiToolTip

class MiniMap(ui.ScriptWindow):

search:
miniMap.SetScale(2.0)
add bellow:
if app.ENABLE_MAIL_BOX_SYSTEM:
			self.toolTip = uiToolTip.ToolTip(160)
			self.toolTip.HideToolTip()
search:
self.tooltipAtlasOpen.SetTooltipPosition(ButtonPosX, ButtonPosY)
add bellow:
if app.ENABLE_MAIL_BOX_SYSTEM:
			self.MailBoxButton.SetEvent(ui.__mem_func__(self.OnMouseOverIn), "mouse_over_in")
			self.MailBoxButton.SetEvent(ui.__mem_func__(self.OnMouseOverOut), "mouse_over_out")

search:
def OnUpdate(self):
		import time
		(x, y, z) = player.GetMainCharacterPosition()
		miniMap.Update(x, y)
		
		self.Time.SetText(time.strftime("%H:%M"))
		self.Time2.SetText(time.strftime("%d-%m-%Y"))
ADD BEFORE:
if app.ENABLE_MAIL_BOX_SYSTEM:
		def MailBoxValues(self,c_a,m_a,m_s):
			if c_a > 0:
				self.MailBoxEffect.Show()
			else:
				self.MailBoxEffect.Hide()
				
			self.toolTip.ClearToolTip()
			self.toolTip.SetTitle("Wiadomości otrzymane %d"%c_a)
			self.toolTip.AppendTextLine("Bez załącznika: %d / Z załącznikiem: %d"%(m_s,m_a))

	def OnMouseOverIn(self):
		self.toolTip.ShowToolTip()
		
	def OnMouseOverOut(self):
		self.toolTip.HideToolTip()
https://prnt.sc/tgikt1

nu are nici un email ... are idee cineva unde`i buba?
Imagine
Afișează semnătura
Avatar utilizator
MGeorge
Nivel 3

Nivel 3
Mesaje: 317
Membru din: 28 Dec 2013, 12:43
Server: -
Regat: Chunjo
Aprecieri: 367  
Mulţumiri: 8  
Medalii

il mai are cineva?
Avatar utilizator
Maseda
Nou Venit

Nou Venit
Mesaje: 49
Membru din: 31 Oct 2013, 01:32
Server: metin2west.com
Regat: Jinno
Aprecieri: 289  
Mulţumiri: 0
Medalii

Link Invalid!
Avatar utilizator
[RaKu]
Membru Club

Membru Club
Mesaje: 2137
Membru din: 30 Noi 2016, 21:49
Regat: Jinno
Aprecieri: 202  
Mulţumiri: 424  
Discord: Copiază ID
Medalii

Link indisponibil. Daca mai are cineva link valid sa imi lase mesaj privat. Arhivat

[ Postat de pe Android ] Imagine
Închis
Răspunsuri
3
Vizualizări
236
Răspunsuri
173
Vizualizări
23206
Răspunsuri
5
Vizualizări
1149
Răspunsuri
1
Vizualizări
640

Înapoi la “Arhivă”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 11 vizitatori