small inventory fix (ghost gui bug)

  • Konuyu başlatan Konuyu başlatan covfefe
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 6
  • Görüntüleme Görüntüleme 1K
  • Etiketler Etiketler
    python arayüz

covfefe

Level 1
Katılım
19 Nis 2022
Konular
1
Mesajlar
1
Online süresi
2d 15h
Reaksiyon Skoru
6
Altın Konu
0
TM Yaşı
4 Yıl 1 Ay 21 Gün
Başarım Puanı
22
MmoLira
370
DevLira
3
Ticaret - 0%
0   0   0

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!

I noticed a few days ago that the inventory class was not getting freed upon rewarp. Circular dependency was causing the garbage collector to fail.

The fix was fairly simple, so I did it and I'm here to share it with you. I believe this also fixes the bug that's commonly known as "GHOST GUI" that many have reported before.

First, to test if you have this problem:
in uiinventory.py inventorywindow class, go to _del_ function and add this below:

import dbg
dbg. Logbox("Deleted")

then rewarp ingame. if you don't get this message then that means you also have this problem. My "fix" should make this dbg appear. Let's get to the fix.

 

En Çok Reaksiyon Alan Mesajlar

Garipmiş teşekkürler
 
Paylasim icin teşekkürler cogu kiside var bu sorun
 
Paylaşım için teşekkürler.
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)