Jump to content
  • 0

[Help] Small problem with Target Info System


Cripplez

Question

Hi, I have implemented the Target Info System, everything is fine, I have only this annoying visual bug.

If I open the info with a monster with no drop, it is all okay, but if I open a monster with 5/6 items that has the "scroll down thing" and then i click again on a monster with no drop I have this visual bug. Anyone know how I can fix it? Thank you

vovW2ce.png

Link to comment

8 answers to this question

Recommended Posts

  • 0
8 hours ago, Cripplez said:

Hi, I have implemented the Target Info System, everything is fine, I have only this annoying visual bug.

If I open the info with a monster with no drop, it is all okay, but if I open a monster with 5/6 items that has the "scroll down thing" and then i click again on a monster with no drop I have this visual bug. Anyone know how I can fix it? Thank you

vovW2ce.png

Syserr?

Link to comment
  • 0

0827 11:38:19693 ::   File "ui.py", line 1506, in OnMove

0827 11:38:19693 ::   File "ui.py", line 88, in __call__

0827 11:38:19693 ::   File "ui.py", line 70, in __call__

0827 11:38:19693 ::   File "ui.py", line 2495, in OnMove

0827 11:38:19693 ::   File "ui.py", line 88, in __call__

0827 11:38:19693 ::   File "ui.py", line 70, in __call__

0827 11:38:19693 ::   File "ui.py", line 720, in __OnScroll

0827 11:38:19693 :: ReferenceError
0827 11:38:19693 :: : 
0827 11:38:19693 :: weakly-referenced object no longer exists
0827 11:38:19693 :: 
 

Line 1506 ui.py:

	def OnMove(self):
		if self.callbackEnable:
			self.eventMove()


Line 88 ui.py:

	def __call__(self, *arg):
		return self.call(*arg)


Line 70 ui.py:

		def __call__(self, *arg):
			return self.func(self.obj)


Line 2495 ui.py:

		self.eventScroll()


Line 720 ui.py:

		def __OnScroll(self):
			self.SetBasePos(int(self.scrollBar.GetPos()*self.__GetScrollLen()), FALSE)


 

 

Link to comment
  • 0
On 8/27/2019 at 11:44 AM, Cripplez said:

0827 11:38:19693 ::   File "ui.py", line 1506, in OnMove

0827 11:38:19693 ::   File "ui.py", line 88, in __call__

0827 11:38:19693 ::   File "ui.py", line 70, in __call__

0827 11:38:19693 ::   File "ui.py", line 2495, in OnMove

0827 11:38:19693 ::   File "ui.py", line 88, in __call__

0827 11:38:19693 ::   File "ui.py", line 70, in __call__

0827 11:38:19693 ::   File "ui.py", line 720, in __OnScroll

0827 11:38:19693 :: ReferenceError
0827 11:38:19693 :: : 
0827 11:38:19693 :: weakly-referenced object no longer exists
0827 11:38:19693 :: 
 

I noticed that I have this syserr only when i click on the "bugged scroll", if I don't click on it the client doesn't give me any syserr

Link to comment
  • 0
On 11/14/2020 at 1:42 AM, ilovegreendays said:

you solved?

if u solved tell how please!

uitarget.py Search:

self.nextStoneIconChange = 0

Add below:

self.itemScrollBar = None

Search:

def __LoadInformation(self, race): self.yPos = 7 self.children = [] self.race = race self.stoneImg = None self.stoneVnum = None self.nextStoneIconChange = 0

Add below

self.itemScrollBar = None

 

Before fixhttps://gyazo.com/49fa23035f3c9a4b89f1d2558a226142.mp4

After fix: https://gyazo.com/4e70fa9ce743f7f5acbb938da5c50dcb.mp4

  • Love 1
Link to comment
  • 0
23 hours ago, SCOOB said:

uitarget.py Search:

self.nextStoneIconChange = 0

Add below:

self.itemScrollBar = None

Search:

def __LoadInformation(self, race): self.yPos = 7 self.children = [] self.race = race self.stoneImg = None self.stoneVnum = None self.nextStoneIconChange = 0

Add below

self.itemScrollBar = None

 

Before fixhttps://gyazo.com/49fa23035f3c9a4b89f1d2558a226142.mp4

After fix: https://gyazo.com/4e70fa9ce743f7f5acbb938da5c50dcb.mp4

I've got the extended version with the same problem:

syserr:

0323 23:08:17276 :: Traceback (most recent call last):

0323 23:08:17276 ::   File "ui.py", line 1607, in OnMove

0323 23:08:17276 ::   File "ui.py", line 88, in __call__

0323 23:08:17276 ::   File "ui.py", line 70, in __call__

0323 23:08:17276 ::   File "ui.py", line 2797, in OnMove

0323 23:08:17276 ::   File "ui.py", line 88, in __call__

0323 23:08:17276 ::   File "ui.py", line 70, in __call__

0323 23:08:17276 ::   File "ui.py", line 723, in __OnScroll

0323 23:08:17276 :: AttributeError
0323 23:08:17276 :: : 
0323 23:08:17276 :: 'NoneType' object has no attribute 'GetPos'
0323 23:08:17276 :: 

spacer.png

Any idea? :)

Link to comment

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


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