Malbeth 51 Posted January 9, 2021 Share Posted January 9, 2021 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 Share on other sites More sharing options...
Solution Pisti95 134 Posted January 10, 2021 Solution Share Posted January 10, 2021 Open your ui.py, and Owsap’s ui.py. Search for: SetToggleUpEvent You need to find second hit in 2 class. Compare files. 1 Link to comment Share on other sites More sharing options...
Malbeth 51 Posted January 10, 2021 Author Share Posted January 10, 2021 I had already solved, thanks for the answer is just what I did 1 Link to comment Share on other sites More sharing options...
x1 13 Posted June 21, 2021 Share Posted June 21, 2021 I'm getting the same error how did you solve it? Link to comment Share on other sites More sharing options...
nosacz26 1 Posted November 16, 2023 Share Posted November 16, 2023 On 1/10/2021 at 10:24 PM, Malbeth said: I had already solved, thanks for the answer is just what I did how did you solve it? Link to comment Share on other sites More sharing options...
Pisti95 134 Posted November 18, 2023 Share Posted November 18, 2023 (edited) 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 November 18, 2023 by Pisti95 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now