anonyym 0 Posted July 1, 2015 Share Posted July 1, 2015 Hello, I'm facing a creepy problem which I can't figure out how to solve: 0701 14:22:20505 :: Traceback (most recent call last): 0701 14:22:20505 :: File "game.py", line 783, in BINARY_NEW_AddAffect 0701 14:22:20507 :: File "uiAffectShower.py", line 524, in BINARY_NEW_AddAffect 0701 14:22:20509 :: File "localeInfo.py", line 135, in f 0701 14:22:20509 :: TypeError 0701 14:22:20509 :: : 0701 14:22:20509 :: not all arguments converted during string formatting 0701 14:22:20509 :: If someone knows how to, please leave a reply. Thank you! Link to comment Share on other sites More sharing options...
Former Staff .InyaProduction 1134 Posted July 1, 2015 Former Staff Share Posted July 1, 2015 Show us your localeInfo.py line 120 - 150 Link to comment Share on other sites More sharing options...
VegaS 1095 Posted July 2, 2015 Share Posted July 2, 2015 Edit functions in game.py: BINARY_NEW_AddAffect/BINARY_NEW_RemoveAffect with: # Solved def BINARY_NEW_AddAffect(self, type, pointIdx, value, duration): self.affectShower.BINARY_NEW_AddAffect(type, pointIdx, value, duration) def BINARY_NEW_RemoveAffect(self, type, pointIdx): self.affectShower.BINARY_NEW_RemoveAffect(type, pointIdx) # Solved Link to comment Share on other sites More sharing options...
anonyym 0 Posted July 6, 2015 Author Share Posted July 6, 2015 @VegaS Your solution is not working, the error is the same, @.InyaProduction here is the function from line 135: def SA(text): def f(x): return text % x return f Link to comment Share on other sites More sharing options...
Former Staff .InyaProduction 1134 Posted July 6, 2015 Former Staff Share Posted July 6, 2015 First of all.. you try to define a function in a function? Is that even working? Secondly: your function call doesnt contain a parameter you need to call "return f(VAR)" here I would be much easier to understand what that means if you would explain us what you try to do Link to comment Share on other sites More sharing options...
anonyym 0 Posted July 6, 2015 Author Share Posted July 6, 2015 I haven't tried to do something, it's the 40k game test client original code and it has this problem. Link to comment Share on other sites More sharing options...
Vassy 2 Posted February 11, 2017 Share Posted February 11, 2017 UP 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