Jump to content

Recommended Posts

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

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

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

  • Former Staff

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

  • 1 year later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.