[Client-uri]Help

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
Nazox
Nivel 1

Nivel 1
Mesaje: 106
Membru din: 28 Iul 2015, 00:45
Server: metin2.es
Regat: Chunjo
Aprecieri: 170  
Mulţumiri: 22  
Discord: Copiază ID
Medalii

Welcome people, I have a small problem, I have been editing a client that didn't have custom button and the belt slot , after a long time I have managed to put i. But now the button of the custom doesn't work for me. Imagine Anyone has any idea how the python part of the button is called ?, I sense that it doesn't work for that reason, and I don't know why name start looking for the .py function, on the items box, it should be edited in inventorywindow? Thanks in advance

Note: I know the button function it's in uiinventory.py (root), but i compared to other uiinventory.py and i have the same...
The problem it's custom button, someone give me the code please?
Ultima oară modificat 09 Aug 2017, 13:34 de către Nazox, modificat 1 dată în total.
Avatar utilizator
Titan
Metin Master

Metin Master
Mesaje: 2783
Membru din: 01 Iun 2015, 15:09
Server: In curand.
Regat: Chunjo
Aprecieri: 42  
Mulţumiri: 377  
  Rezolvări prob.: 3
Discord: Copiază ID
 Contact:
Medalii

Nazox scrie:Welcome people, I have a small problem, I have been editing a client that didn't have custom button and the belt slot , after a long time I have managed to put i. But now it turns out that the earrings and the necklace look a little lower and the button of the custom doesn't work for me. Imagine Anyone has any idea how the python part of the button is called ?, I sense that it doesn't work for that reason, and I don't know why name start looking for the .py function, on the items box, it should be edited in inventorywindow? Thanks in advance

Note: I know the button function it's in uiinventory.py (root), but i compared to other uiinventory.py and i have the same...
The problem it's custom button, someone give me the code please?
hello, go in locale/xx/ui, here is inventorywindow.py, play with this values
Pentru acest mesaj, Titan for the post:
Nazox
Imagine
Afișează semnătura
Avatar utilizator
Nazox
Nivel 1

Nivel 1
Mesaje: 106
Membru din: 28 Iul 2015, 00:45
Server: metin2.es
Regat: Chunjo
Aprecieri: 170  
Mulţumiri: 22  
Discord: Copiază ID
Medalii

fumigena65 scrie:
Nazox scrie:Welcome people, I have a small problem, I have been editing a client that didn't have custom button and the belt slot , after a long time I have managed to put i. But now it turns out that the earrings and the necklace look a little lower and the button of the custom doesn't work for me. Imagine Anyone has any idea how the python part of the button is called ?, I sense that it doesn't work for that reason, and I don't know why name start looking for the .py function, on the items box, it should be edited in inventorywindow? Thanks in advance

Note: I know the button function it's in uiinventory.py (root), but i compared to other uiinventory.py and i have the same...
The problem it's custom button, someone give me the code please?
hello, go in locale/xx/ui, here is inventorywindow.py, play with this values
Yes i know thanks!!!!, but the problem it's that i can't click the button custom, i give it and it doesn't work and it doesn't open the box for the customs... i lack the function py maybe, but thanks again! :ymblushing:
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

Nazox scrie:
fumigena65 scrie:
Nazox scrie:Welcome people, I have a small problem, I have been editing a client that didn't have custom button and the belt slot , after a long time I have managed to put i. But now it turns out that the earrings and the necklace look a little lower and the button of the custom doesn't work for me. Imagine Anyone has any idea how the python part of the button is called ?, I sense that it doesn't work for that reason, and I don't know why name start looking for the .py function, on the items box, it should be edited in inventorywindow? Thanks in advance

Note: I know the button function it's in uiinventory.py (root), but i compared to other uiinventory.py and i have the same...
The problem it's custom button, someone give me the code please?
hello, go in locale/xx/ui, here is inventorywindow.py, play with this values
Yes i know thanks!!!!, but the problem it's that i can't click the button custom, i give it and it doesn't work and it doesn't open the box for the customs... i lack the function py maybe, but thanks again! :ymblushing:
You can verify the uiinventory.py in your root file, for that function.
May have something like that:
# Costume Button
		if self.costumeButton:
			self.costumeButton.SetEvent(ui.__mem_func__(self.ClickCostumeButton))

		self.wndCostume = None
and the def:
def ClickCostumeButton(self):
		print "Click Costume Button"
		if self.wndCostume:
			if self.wndCostume.IsShow(): 
				self.wndCostume.Hide()
			else:
				self.wndCostume.Show()
		else:
			self.wndCostume = CostumeWindow(self)
			self.wndCostume.Show()
Pentru acest mesaj, [RaffaeL] for the post:
Nazox
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Avatar utilizator
Titan
Metin Master

Metin Master
Mesaje: 2783
Membru din: 01 Iun 2015, 15:09
Server: In curand.
Regat: Chunjo
Aprecieri: 42  
Mulţumiri: 377  
  Rezolvări prob.: 3
Discord: Copiază ID
 Contact:
Medalii

Nazox scrie:
fumigena65 scrie:
Nazox scrie:Welcome people, I have a small problem, I have been editing a client that didn't have custom button and the belt slot , after a long time I have managed to put i. But now it turns out that the earrings and the necklace look a little lower and the button of the custom doesn't work for me. Imagine Anyone has any idea how the python part of the button is called ?, I sense that it doesn't work for that reason, and I don't know why name start looking for the .py function, on the items box, it should be edited in inventorywindow? Thanks in advance

Note: I know the button function it's in uiinventory.py (root), but i compared to other uiinventory.py and i have the same...
The problem it's custom button, someone give me the code please?
hello, go in locale/xx/ui, here is inventorywindow.py, play with this values
Yes i know thanks!!!!, but the problem it's that i can't click the button custom, i give it and it doesn't work and it doesn't open the box for the customs... i lack the function py maybe, but thanks again! :ymblushing:
sorry firt time i don.t understand you, nou i understand perfectly your problem, it s very simple, your costume button is missing, it s easy to ad:
go in locale/xx/ui inventorywindow.py and ad after this functions: Imagine ad this code for costume button, like in image:

Cod: Selectaţi tot

                        ## CostumeButton
                        {
                            "name" : "CostumeButton",
                            "type" : "button",
 
                            "x" : 78,
                            "y" : 5,
 
                            "tooltip_text" : uiScriptLocale.COSTUME_TITLE,
 
                            "default_image" : "butoane/costum/costume_button_01.tga",
                            "over_image" : "butoane/costum/costume_Button_02.tga",
                            "down_image" : "butoane/costum/costume_Button_03.tga",
                        }, 
Imagine and put this files in your root:
http://www.girlshare.ro/3489903463.2
here is virustotal analise: https://www.virustotal.com/ro/url/023c7 ... 502279060/
Pentru acest mesaj, Titan for the post:
Nazox
Imagine
Afișează semnătura
Avatar utilizator
Nazox
Nivel 1

Nivel 1
Mesaje: 106
Membru din: 28 Iul 2015, 00:45
Server: metin2.es
Regat: Chunjo
Aprecieri: 170  
Mulţumiri: 22  
Discord: Copiază ID
Medalii

Thanks @fumigena65 and @[RaffaeL] https://gyazo.com/33e6078510cabda0ddbeadcf6c59b4d8 !!!
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

Nazox scrie:Thanks @fumigena65 and @[RaffaeL] https://gyazo.com/33e6078510cabda0ddbeadcf6c59b4d8 !!!
Imagine
Afișează semnătura
Închis

Înapoi la “Probleme rezolvate”

  • Informaţie