Jump to content

Render Target Remastered


Recommended Posts

  • Bronze

M2 Download Center

This is the hidden content, please
( Internal )

Hi,

 

here I publish my edit of the public Render Target System.

I hate it, when people earn money with public systems.

 

Preview:

https://metin2.download/picture/bDvo4v1U37XjLdgsJMLMdX9vm838N9LT/.gif

 

DL:

This is the hidden content, please

 

Original Thread

https://metin2.dev/board/index.php?/topic/20550-rlsrendertarget/&tab=comments#comment-111384

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 266
  • kekw 7
  • Dislove 5
  • Angry 4
  • Not Good 2
  • Sad 4
  • Cry 2
  • Think 5
  • Confused 10
  • Scream 2
  • Lmao 1
  • Good 91
  • Love 19
  • Love 256
Link to comment
Share on other sites

  • Bronze
On 7/30/2019 at 11:15 AM, useless69 said:

thanks for share, but i got this error,

indentifier LPDIRECT3DTEXTURE8 and LPDIRECT3DSURFACE8

is undefined, can you help me? thanks

 

Bug-Fix for all others. Preview is now only on Items in Inventory

UiToolTip-Fix.txt

Edited by VegaS™
  • Confused 1
  • Love 45
Link to comment
Share on other sites

https://metin2.download/picture/2VkicyFxe08RJSIyb9Xqg89hq95177zp/.gif 

It work, but don`t show atributes on costume/hair. 

//edit

Search: 

		elif 0 != isCostumeItem: #wenn Kostum
			self.__AppendLimitInformation()

Replace with: 

		elif 0 != isCostumeItem: #wenn Kostum
			self.__AppendLimitInformation()
			self.__AppendAffectInformation()
			self.__AppendAttributeInformation(attrSlot)

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 2
  • Lmao 1
  • Love 1
  • Love 5
Link to comment
Share on other sites

  • Bronze

NextUpdate will include Hair :D

https://metin2.download/picture/bFm48CE3T4YF2k5I36YO6n1I9UMJUR6O/.gif

UiToolTip-Fix_2.0.txt

UiToolTip-Fix_3.0.txt

2.0 -> Rüstung Costüme/Waffen

3.0 -> Hair bug Fix + On/Off Render Target on Gameoptions

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 3
  • Confused 1
  • Love 1
  • Love 43
Link to comment
Share on other sites

On 7/29/2019 at 9:25 AM, V0lvox said:

Hi,

 

Here i publish my edit of the public Render Target System.

I hate it, when people earn money with public systems.

This is the hidden content, please

 

Original Thread

https://metin2.dev/board/index.php?/topic/20550-rlsrendertarget/&tab=comments#comment-111384

 

https://metin2.download/picture/bDvo4v1U37XjLdgsJMLMdX9vm838N9LT/.gif

 

have a look at my comments at UiToolTip.py

 

Bug Fix:

UiToolTip-Fix.txt

@V0lvox

i have this error

Spoiler

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Love 5
Link to comment
Share on other sites

  • Bronze
On 8/2/2019 at 6:39 PM, evils666 said:

Thanks for upload but I have this error, Can You help me? I would be grateful.
 

EXyE4aV.png

Some others has this error too. Allready could not fix it. 

Please contact me on Discord

On 8/3/2019 at 12:04 AM, Thundernatsu said:

@V0lvox

i have this error

Please build Binary as Debug and show me console entry

Spoiler

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

19 hours ago, V0lvox said:

NextUpdate will include Hair :D

https://metin2.download/picture/bFm48CE3T4YF2k5I36YO6n1I9UMJUR6O/.gif

UiToolTip-Fix_2.0.txt

UiToolTip-Fix_3.0.txt

2.0 -> Rüstung Costüme/Waffen

  3.0 -> Hair bug Fix + On/Off Render Target on Gameoptions

 

 

I think it is better to make the item render target appear when pressing "alt + right click or left click or what ever" to the item

 

Anyway thank you for sharing 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 4
Link to comment
Share on other sites

  • Contributor
4 minutes ago, jeddawee said:

I think it is better to make the item render target appear when pressing "alt + right click or left click or what ever" to the item

 

Anyway thank you for sharing 

Won't be good with offlineshops or normal shops ...

My only accounts are here and on M2D, Don't trust anyone else from other shitty sites.
266868740522639360.png

Link to comment
Share on other sites

2 godziny temu, jeddawee napisał:

I think it is better to make the item render target appear when pressing "alt + right click or left click or what ever" to the item

 

Anyway thank you for sharing 

 

To make such a thing the best solution is to set your main board on self.Hide()

After 

		In class ToolTip after :

		parentWindow = self.GetParentProxy()
		if parentWindow:
			(gx, gy) = parentWindow.GetGlobalPosition()
			x -= gx
			y -= gy

		self.SetPosition(x, y)
        
        Add:
          
		try:
			if app.IsPressed(app.DIK_LCONTROL):
				if not self.vRenderTargetMain.IsShow():
					self.vRenderTargetMain.Show()
			else:
				if self.vRenderTargetMain.IsShow():
					self.vRenderTargetMain.Hide()
		except:pass

 

Good idea about public :)

 

image.png.8038c75a8adcfaf0180b62fa880f80d8.png

 

 

  • Love 1
Link to comment
Share on other sites

24 minutes ago, D4NTE said:

 

To make such a thing the best solution is to set your main board on self.Hide()

After 

		In class ToolTip after :

		parentWindow = self.GetParentProxy()
		if parentWindow:
			(gx, gy) = parentWindow.GetGlobalPosition()
			x -= gx
			y -= gy

		self.SetPosition(x, y)
        
        Add:
          
		try:
			if app.IsPressed(app.DIK_LCONTROL):
				if not self.vRenderTargetMain.IsShow():
					self.vRenderTargetMain.Show()
			else:
				if self.vRenderTargetMain.IsShow():
					self.vRenderTargetMain.Hide()
		except:pass

 

Good idea about public :)

 

image.png.8038c75a8adcfaf0180b62fa880f80d8.png

 

 

Thanks I will test that when I got time 

Link to comment
Share on other sites

  • Bronze

Oh. I will test:

https://metin2.download/picture/d7Z93clqy8PSAL17Er8FG5NB3NgUktYQ/.gif

 

works fine. The only thing is just with Costume with Antiflag not only for MALE/FEMALE, but i will fix this

 

You can add me Discord: and i will have a look

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 6
  • Love 5
Link to comment
Share on other sites

  • Contributor
3 hours ago, V0lvox said:

Oh. I will test:

https://metin2.download/picture/d7Z93clqy8PSAL17Er8FG5NB3NgUktYQ/.gif

 

works fine. The only thing is just with Costume with Antiflag not only for MALE/FEMALE, but i will fix this

 

You can add me Discord: Volvox#7662 and i will have a look

Bro i said warrior male not female change your charachter to a warrior male and see what happens

 

And from what i see in your picture you are using a better code than you are showing here let's be honest(just rendering your armors renders with it sash and weapon , not what you are putting here)

Edited by Metin2 Dev
Core X - External 2 Internal

My only accounts are here and on M2D, Don't trust anyone else from other shitty sites.
266868740522639360.png

Link to comment
Share on other sites

  • Bronze
vor 3 Stunden schrieb MrQuin:

Bro i said warrior male not female change your charachter to a warrior male and see what happens

 

And from what i see in your picture you are using a better code than you are showing here let's be honest(just rendering your armors renders with it sash and weapon , not what you are putting here)

Iam using just some more code on UiToolTip, but this is not public. On every class everything work fine. You are the first user of all 50+ users that have this special issue. Please contact me Discord and i will have a look :)

Link to comment
Share on other sites

  • Contributor

 

2 hours ago, V0lvox said:

Iam using just some more code on UiToolTip, but this is not public. On every class everything work fine. You are the first user of all 50+ users that have this special issue. Please contact me Discord and i will have a look :)

Since you are using a very special code why share this shitty code full of bugs, making me think that you didn't even tried it just share it directly

And just to be sure i only tried your code i am not even using it

At lease people whom sells this system will offer a support with a better code

My only accounts are here and on M2D, Don't trust anyone else from other shitty sites.
266868740522639360.png

Link to comment
Share on other sites

12 minutes ago, MrQuin said:

 

Since you are using a very special code why share this shitty code full of bugs, making me think that you didn't even tried it just share it directly

And just to be sure i only tried your code i am not even using it

At lease people whom sells this system will offer a support with a better code

Stop being rude, I think he is trying to help you by asking you to add him on discord

Link to comment
Share on other sites

  • Bronze
vor 2 Stunden schrieb MrQuin:

 

Since you are using a very special code why share this shitty code full of bugs, making me think that you didn't even tried it just share it directly

And just to be sure i only tried your code i am not even using it

At lease people whom sells this system will offer a support with a better code

Wtf is wrong with. Just build these 3 updates and everythink is fine.

your shitty bug files are not my fault. Now i will not fix your bug because you are asshole.

i someone else have some bugs, please contact me. Wirh all Updates it runs perfect by 50 users i know !

Link to comment
Share on other sites

  • Bronze

Why the fuck is every1 using it so fucking complicated? - Why do you use the renderTarget-module in the parent class? Just because I did it in the example?!

 

#untested

##ui.py
import renderTarget

class RenderTarget(Window):
	def __init__(self, layer = "UI"):
		Window.__init__(self, layer)
		self.renderIdx = -1

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

	def RegisterWindow(self, layer):
		self.hWnd = wndMgr.RegisterRenderTarget(self, layer)
		
	def SetRenderTarget(self, renderIdx):
		self.renderIdx = renderIdx
		wndMgr.SetRenderTarget(self.hWnd, self.renderIdx)
	
	def SetBackground(self, image):
		if self.renderIdx == -1:
			dbg.TraceError("RenderTarget: You have to set the RenderTarget first!")
			return
		renderTarget.SetBackground(self.renderIdx, image)
	
	def SelectModel(self, index):
		if self.renderIdx == -1:
			dbg.TraceError("RenderTarget: You have to set the RenderTarget first!")
			return
		renderTarget.SelectModel(self.renderIdx, index)
	
	def SetVisibility(self, vis):
		if self.renderIdx == -1:
			dbg.TraceError("RenderTarget: You have to set the RenderTarget first!")
			return
		renderTarget.SetVisibility(self.renderIdx, vis)
	
	def SetHair(self, index):
		if self.renderIdx == -1:
			dbg.TraceError("RenderTarget: You have to set the RenderTarget first!")
			return
		renderTarget.SetHair(self.renderIdx, index)
	
	def SetArmor(self, index):
		if self.renderIdx == -1:
			dbg.TraceError("RenderTarget: You have to set the RenderTarget first!")
			return
		renderTarget.SetArmor(self.renderIdx, index)
	
	def SetWeapon(self, index):
		if self.renderIdx == -1:
			dbg.TraceError("RenderTarget: You have to set the RenderTarget first!")
			return
		renderTarget.SetWeapon(self.renderIdx, index)
	
	def SetAcce(self, index):
		if self.renderIdx == -1:
			dbg.TraceError("RenderTarget: You have to set the RenderTarget first!")
			return
		renderTarget.SetAcce(self.renderIdx, index)

##somewhere in init/load/create
		self.ModelPreview = ui.RenderTarget()
		self.ModelPreview.SetParent(self.ModelPreviewBoard)
		self.ModelPreview.SetSize(190, 210)
		self.ModelPreview.SetPosition(5, 22)
		self.ModelPreview.SetRenderTarget(2) # Der index hat eindeutig zu sein -> sonst kann man nicht 2 rendertargets gleichzeitig sehen, logisch oder?
		self.ModelPreview.SetBackground("d:/ymir work/ui/game/myshop_deco/model_view_bg.sub")
		self.ModelPreview.SetVisibility(True)
		self.ModelPreview.SelectModel(model)
		self.ModelPreview.SetHair(Vnum)
		self.ModelPreview.SetArmor(Vnum)	
		self.ModelPreview.SetWeapon(Vnum)
		self.ModelPreview.SetAcce(Vnum)
		self.ModelPreview.Show()
        
##somewhere in hide/close/whatever:
		self.ModelPreview.SetVisibility(False)
  
##somewhere in some fucking method, who cares?
		self.ModelPreview.SetWeapon(Vnum)
  

 

  • Love 1

__________________________________________________________________________________________
Never trade with an alleged "CxL'"-Member on this board. You can see a list of all verified members *here*.

I don't care what they all say
I'ma do this thing my way
Been grinding hard on it all day
We work hard then we all play

Link to comment
Share on other sites



  • Similar Content

  • Activity

    1. 35

      Upgraded Reference (TMP4 Base) By Ulthar

    2. 0

      Client Debug Build error

    3. 35

      Upgraded Reference (TMP4 Base) By Ulthar

    4. 0

      Make guild

    5. 0

      Official Environment Effect Options [REVERSED]

    6. 0

      Eldria2 ~ PvP\PvM UltraFun ~ International ~ MAX LVL 200 ~ New Systems |26.03.2023|

    7. 1182

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    8. 0

      [In Development] DDoS Protection to Websites

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.