Jump to content
  • 0

Syserr (Client) // 'int' object has no attribute 'IsIn'


KarmaBack

Question

Can anyone help me with this?
would be very grateful...

 

1208 08:54:41255 :: Traceback (most recent call last):

1208 08:54:41255 ::   File "uiTaskBar.py", line 1103, in OnUpdate

1208 08:54:41255 :: AttributeError
1208 08:54:41255 :: : 
1208 08:54:41255 :: 'int' object has no attribute 'IsIn'
1208 08:54:41255 :: 


 

The "uiTaskBar.py

 

https://www.file-upload.net/download-14390488/uitaskbar.py.html

  • Love 1
Link to post

1 answer to this question

Recommended Posts

  • 0

Maybe self.hpGaugeBoard is not initialized with the object so it's 0?

Try to make it like

		if 0 != self.hpGaugeBoard:
			if TRUE == self.hpGaugeBoard.IsIn():
				self.RefreshStatus()
				self.tooltipHP.Show()
			else:
				self.tooltipHP.Hide()

 

Edited by Distraught
  • Love 1

AxgtRfG.png
C++ programmer at Gameloft

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



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