[ Postat de pe Android ]


Cod: Selectaţi tot
self.refineDialog = uiRefine.RefineDialog()
self.refineDialog.Hide()Cod: Selectaţi tot
import uibonuspage
self.wndBonusPage = uibonuspage.BonusBoardDialog()
self.wndBonusPage.Hide()Cod: Selectaţi tot
def __BonusPage(self):
if constInfo.IS_PAGE_BONUS_FIX_VEGAS == 1:
self.wndBonusPage.CheckWindow()
else:
global BPisLodaded
try:
if BPisLodaded == 0:
BPisLodaded = 1
exec 'PaginaBonusuri.BonusBoardDialog().Show()'
else:
exec 'PaginaBonusuri.BonusBoardDialog().Hide()'
BPisLodaded = 0
except ImportError:
import dbg,app
dbg.Trace('PaginaBonusuri.py Importing error')
app.AbortCod: Selectaţi tot
def CheckWindow(self):
if self.Board.IsShow():
self.Board.Hide()
else:
self.Board.Show()Cod: Selectaţi tot
dlgPickMoney = NoneCod: Selectaţi tot
wndBonusPage = NoneCod: Selectaţi tot
if self.dlgPickMoney:
self.dlgPickMoney.Close()Cod: Selectaţi tot
if self.wndBonusPage:
self.wndBonusPage.Hide()Cod: Selectaţi tot
IS_PAGE_BONUS_FIX_VEGAS = 1 VegaS™ scrie:Dacă presupun bine că ai aceea pagină de bonusuri cam pe care o are mai toată lumea, atunci poftim:
root/uiInventory.py:
// Caută:// Adaugă mai jos:Cod: Selectaţi tot
self.refineDialog = uiRefine.RefineDialog() self.refineDialog.Hide()Funcția pentru deschidere a button-ului pe care o ai o înlocuiești cu asta:Cod: Selectaţi tot
import uibonuspage self.wndBonusPage = uibonuspage.BonusBoardDialog() self.wndBonusPage.Hide()
root/uiBonusPage.py:Cod: Selectaţi tot
def __BonusPage(self): if constInfo.IS_PAGE_BONUS_FIX_VEGAS == 1: self.wndBonusPage.CheckWindow() else: global BPisLodaded try: if BPisLodaded == 0: BPisLodaded = 1 exec 'PaginaBonusuri.BonusBoardDialog().Show()' else: exec 'PaginaBonusuri.BonusBoardDialog().Hide()' BPisLodaded = 0 except ImportError: import dbg,app dbg.Trace('PaginaBonusuri.py Importing error') app.Abort
Adaugi funcția asta jos de tot:
Voila, is fixed.Cod: Selectaţi tot
def CheckWindow(self): if self.Board.IsShow(): self.Board.Hide() else: self.Board.Show()
Bonus: Fix pentru închiderea ferestrei la teleportare etc.
// Caută:// Adaugă mai jos:Cod: Selectaţi tot
dlgPickMoney = None// Caută:Cod: Selectaţi tot
wndBonusPage = None// Adaugă mai jos:Cod: Selectaţi tot
if self.dlgPickMoney: self.dlgPickMoney.Close()root/constInfo.pyCod: Selectaţi tot
if self.wndBonusPage: self.wndBonusPage.Hide()Cod: Selectaţi tot
IS_PAGE_BONUS_FIX_VEGAS = 1
fa tu ca te pricepi si imi lasi download aici Utilizatori ce ce navighează pe acest forum: DuckDuckGo [Bot] și 29 vizitatori