Jump to content

Problem hide costume system OSWAP


Go to solution Solved by Pisti95,

Recommended Posts

hi, I entered the system .. as soon as I open the inventory of the costume it gives me this error in the syser

 

 

 

 

 

 

0110 00:15:35645 :: Unknown Server Command SetWeaponCostumeHidden 0 | SetWeaponCostumeHidden
0110 00:15:49467 :: Traceback (most recent call last):

0110 00:15:49467 ::   File "ui.py", line 1874, in CallEvent

0110 00:15:49467 ::   File "ui.py", line 63, in __call__

0110 00:15:49467 ::   File "ui.py", line 45, in __call__

0110 00:15:49467 ::   File "uiInventory.py", line 649, in ClickCostumeButton

0110 00:15:49467 ::   File "uiInventory.py", line 55, in __init__

0110 00:15:49467 ::   File "uiInventory.py", line 107, in __LoadWindow

0110 00:15:49467 :: TypeError
0110 00:15:49468 :: :
0110 00:15:49468 :: SetToggleUpEvent() takes exactly 2 arguments (4 given)
0110 00:15:49468 ::

 

 

thanks for help

Link to comment
https://metin2.dev/topic/25307-problem-hide-costume-system-oswap/
Share on other sites

  • Active Member
  • Solution

Open your ui.py, and Owsap’s ui.py. 

 

Search for:   SetToggleUpEvent

 

You need to find second hit in 2 class. Compare files.

  • Love 1

Buy a new system? 
My systems:  https://payhip.com/Pisti95

  • 5 months later...
  • 2 years later...
  • Active Member

My functions in class ToggleButton(Button):   

	def SetToggleUpEvent(self, event, *args):
		self.eventUp = event
		self.eventUpArgs = args

	def SetToggleDownEvent(self, event, *args):
		self.eventDown = event
		self.eventDownArgs = args

 

Edited by Pisti95
  • Love 1

Buy a new system? 
My systems:  https://payhip.com/Pisti95

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.