Jump to content
×
×
  • Create New...
  • 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

 

Hidden Content

    Give reaction to this post to see the hidden content.

  • Metin2 Dev 4
  • Love 1
Link to comment
Share on other sites

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

WRnRW3H.gif

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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.