Jump to content

[Help] Small problem with Target Info System


Recommended Posts

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

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

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?

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

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
Share on other sites

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
Share on other sites

  • 1 year later...
  • 4 months later...
  • Active+ Member
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://metin2.download/picture/tI3m3Gccmkg82e2qUkeM8PH14SbsmVUj/.gif

After fix: https://metin2.download/picture/41w8B8WjHjsdPU3n79ypp3kWhUQg3GC4/.gif

Edited by Metin2 Dev
Core X - External 2 Internal
  • Good 1
  • Love 1

spacer.png

Link to comment
Share on other sites

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://metin2.download/picture/tI3m3Gccmkg82e2qUkeM8PH14SbsmVUj/.gif

After fix: https://metin2.download/picture/41w8B8WjHjsdPU3n79ypp3kWhUQg3GC4/.gif

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? :)

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 2 months later...
  • 5 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 5

      Effect weapons

    2. 3

      Crystal Metinstone

    3. 3

      Feeding game source to LLM

    4. 113

      Ulthar SF V2 (TMP4 Base)

    5. 3

      Feeding game source to LLM

    6. 0

      Target Information System

    7. 3

      Feeding game source to LLM

    8. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.