Jump to content

Recommended Posts

As you know, Webzen is developing new functions for the new systems. I made the new class of MoveImageBox. Part of C++ is still missing because of the packed binary. I'll try to do something about this as soon as possible I can.

Here are a new class and the functions.

 

# This function is only using by Mini Game
class MoveImageBox(Window):
	def __init__(self, layer = "UI"):
		Window.__init__(self, layer)
		self.event = None
		
	def __del__(self):
		Window.__del__(self)
		
	def RegisterWindow(self, layer):
		self.hWnd = wndMgr.RegisterMoveImageBox(self, layer)
		
	def MoveStart(self):
		wndMgr.MoveStart(self.hWnd)
		
	def MoveStop(self):
		wndMgr.MoveStop(self.hWnd)
		
	def GetMove(self):
		return wndMgr.GetMove(self.hWnd)
		
	def SetMovePosition(self, x, y):
		wndMgr.SetMovePosition(self.hWnd, x, y)
		
	def SetMoveSpeed(self, speed):
		wndMgr.SetMoveSpeed(self.hWnd, speed)
		
	def OnEndMove(self):
		if (self.event):
			self.event()
		
	def SetEndMoveEvent(self, event):
		self.event = event

 

// New Functions of Move ImageBox

wndMgr.RegisterMoveImageBox(hWnd)
wndMgr.MoveStart(hWnd)
wndMgr.MoveStop(hWnd)
wndMgr.GetMove(hWnd)
wndMgr.SetMovePosition(hWnd, x, y)
wndMgr.SetMoveSpeed(hWnd, speed)

 

 

Kind Regards ~ Ken

  • Love 3

Do not be sorry, be better.

Link to comment
https://metin2.dev/topic/9814-moveimagebox-new-class/
Share on other sites

5 hours ago, galet said:

Haha ! Nice :D But did you just unpacked Cython ?

Most people are saying it's magic or they're calling us a magician. I just can say one thing about this. Nothing is impossible in the programming world.

Kind Regards ~ Ken

  • Love 2

Do not be sorry, be better.

Link to comment
https://metin2.dev/topic/9814-moveimagebox-new-class/#findComment-58641
Share on other sites

  • Premium

M3QiniR4.png

2 hours ago, Ken said:

Most people are saying it's magic or they're calling us a magician. I just can say one thing about this. Nothing is impossible in the programming world.

Kind Regards ~ Ken

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/9814-moveimagebox-new-class/#findComment-58643
Share on other sites

  • Former Staff
25 minutes ago, galet said:

gallery_338480_7901_60185.jpg

Please don't use this type of images (that includes disabled people) again.
It's just me, asking not to.

Sorry for the off topic.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 3
Link to comment
https://metin2.dev/topic/9814-moveimagebox-new-class/#findComment-58646
Share on other sites

  • Premium
1 hour ago, Shisui said:

Please don't use this type of images (that includes disabled people) again.
It's just me, asking not to.

Sorry for the off topic.

Sorry, I was just using the most used picture about this caption on the internet since the existance of this meme (link related), without any volition of making fun of anyone which is disabled or not. I'm not making fun of anyone, this is not my kind.

Moreover, if I put an "image macro", this is because a lot of people did it before me... (inluding staff members, V.I.P, developers and so on)

However, I could change the picture with this one (if you want and if you grant me the permission to do so): https://metin2.download/picture/E474acvF7A0s8r6rjCfIOdRmAdA2I032/.png

I would like to apologize if I offended anybody, but I repeat, the idea of offending anyone was not even in my mind when I posted this picture...

Sorry for offtopic and again, good job ken

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/9814-moveimagebox-new-class/#findComment-58647
Share on other sites

  • Former Staff
36 minutes ago, galet said:

Sorry, I was just using the most used picture about this caption on the internet since the existance of this meme (link related), without any volition of making fun of anyone which is disabled or not. I'm not making fun of anyone, this is not my kind.

Moreover, if I put an "image macro", this is because a lot of people did it before me... (inluding staff members, V.I.P, developers and so on)

However, I could change the picture with this one (if you want and if you grant me the permission to do so): https://metin2.download/picture/E474acvF7A0s8r6rjCfIOdRmAdA2I032/.png

I would like to apologize if I offended anybody, but I repeat, the idea of offending anyone was not even in my mind when I posted this picture...

Sorry for offtopic and again, good job ken

Don't feel sorry. It's just me, personaly and not offended, asking not to.

If you want to post these kind of images, sure you've the freedom.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
https://metin2.dev/topic/9814-moveimagebox-new-class/#findComment-58648
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.