Ghost UI BUG

09/17/2014 12:44 yagokurt#1
Hi community, i'm having a strange bug on my server and a GM found a information about this happen in the Metin2.ES too.
The bug happen when u teleport with something who use quest (pc.warp) like, teleport ring, teleporter on city, devil tower manager, with inventory open. So after teleport u have an bugged area on right side of the screen, u cant do left click, right click or anything. But if u press ESC it wil close this invisible window and then u can use it normal. Here is a video recorded on gameforge metin2.es server.

[Only registered and activated users can see links. Click Here To Register...]
09/17/2014 12:56 KaMeR1337#2
good to know its not my mod fault. i was wondering wtf, there is no solution for that i think
09/17/2014 14:56 yagokurt#3
Yes, i though the same, until a player say it happen on official too. Need discover what the pc.warp is calling when u have inventory open.
09/26/2014 18:11 yagokurt#4
BUMP!
09/26/2014 18:51 lollo_9_1#5
Classic python garbage collector failure. (it will fail to call __del__ when you do a "del class_instance")
This happens when you use self as a method argument from a different module w/o proxing it. (yourgui.py <> ui.py)
This is why ymir uses _weakref.proxy for that.
This problem is in also almost ALL the GUIs released here on epvp from middle ages till now.
The fix is easy but you need to debug it a little to point out where the inventory class instance becomes ambiguous for the garbage collector.
09/27/2014 12:10 yagokurt#6
Quote:
Originally Posted by lollo_9_1 View Post
Classic python garbage collector failure. (it will fail to call __del__ when you do a "del class_instance")
This happens when you use self as a method argument from a different module w/o proxing it. (yourgui.py <> ui.py)
This is why ymir uses _weakref.proxy for that.
This problem is in also almost ALL the GUIs released here on epvp from middle ages till now.
The fix is easy but you need to debug it a little to point out where the inventory class instance becomes ambiguous for the garbage collector.
Sure, i will try take a look in that. But u undesrtand it happen in the gameforge server too? If u open the official server this problem will happen too like i show in the video playing the spanish server.
09/27/2014 21:34 lollo_9_1#7
Quote:
Originally Posted by yagokurt View Post
Sure, i will try take a look in that. But u undesrtand it happen in the gameforge server too? If u open the official server this problem will happen too like i show in the video playing the spanish server.
The error happens as I said. If it happens on an official server too, we should blame ymir as always.