*Problemă/Întrebare:Problema Guild Stats
Tipologie server: -
*Resursă folosită: post768637.html#p768637
*ServerFiles utilizat: -
*Syserr: gol
Poză:
*Detalii suplimentare:
Am bagat si eu acest "sistem" de guild stats, doar ca board-ul apare gol in mapa de war. O solutie?
Guild Stats
Mersi BRTSERGIU pentru fix-ul din game.py
Adaugati asa daca vreti un tab sa deschida fereastra iar un alt tab sa o inchida
Sau asa daca vreti ca sa fie ca pe cs, cand apesi apare cand iei degetu de pe tab dispare
Am evoluat putin, fereastra nu mai este goala acum imi apar siglele de la bresle dar nimic altceva
Adaugati asa daca vreti un tab sa deschida fereastra iar un alt tab sa o inchida
Cod: Selectaţi tot
def OnKeyDown(self, key):
[...]
if key == app.DIK_TAB and constInfo.wndWarBoard: ## war board
if constInfo.wndWarBoard.IsShow():
constInfo.wndWarBoard.Close()
else:
constInfo.wndWarBoard.Open()
return True
[...]
Cod: Selectaţi tot
def OnKeyDown(self, key):
[...]
if key == app.DIK_TAB and constInfo.wndWarBoard: ## war board
constInfo.wndWarBoard.Open()
return True
[...]
Cod: Selectaţi tot
def OnKeyUp(self, key):
[...]
if key == app.DIK_TAB and constInfo.wndWarBoard: ## war board
constInfo.wndWarBoard.Close()
return True
[...]
Se poate da tc, am rezolvat.
Am gasit un fix de a lui vegas pe dev, am folosit acest
component.py
si inlocuit in game.py
Am gasit un fix de a lui vegas pe dev, am folosit acest
component.py
si inlocuit in game.py
Cod: Selectaţi tot
def __WarBoard(self, input):
if constInfo.wndWarBoard:
constInfo.wndWarBoard.Handle(input)
def CanOpenWarBoard(self):
constInfo.CanOpen = 1
def CantOpenWarBoard(self):
constInfo.CanOpen = 0
- [HF]White
-

- Mesaje: 2684
- Membru din: 03 Iul 2018, 13:40
- Regat: Jinno
- Aprecieri: 338
- Mulţumiri: 5331
- Rezolvări prob.: 13
- Discord: Copiază ID
- Contact:

Răspunsuri
3 Vizualizări
399
3 Vizualizări
399
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: cosminusi93ksm și 29 vizitatori

