Saveis poner esto???
-
Buenas , busco a alguien que me ayude a meter esto al cliente sin tener que inyectarlo , metiendolo en root .
Y al darle a ''x'' tecla pues salte y lo puedas ver e.e
Si alguien save como asignarle una tecla al ''archivo.py''
Que me lo explique porfavor , aqui le dejo uno de los dos archivos por si me podeis hacer un ejemplo.
import ui import player import chat Page = 1 #!! SCREEN_HEIGHT = systemSetting.GetHeight() SCREEN_WIDTH = systemSetting.GetWidth() class BonusPage(ui.ScriptWindow): def __init__(self): ui.ScriptWindow.__init__(self) self.__LoadBonusDialog() def __LoadBonusDialog(self): global Page self.__Initialize() if Page == 1: self.__LoadBonusesPage1() elif Page == 2: self. __LoadBonusesPage2() elif (Page != 1 and Page != 2): Page = 1 self.__LoadBonusDialog() def __Initialize(self): self.Board = None self.is_Loaded = None self.P1_Bonus1TextLine = None self.P1_Bonus2TextLine = None self.P1_Bonus3TextLine = None self.P1_Bonus4TextLine = None self.P1_Bonus5TextLine = None self.P1_Bonus6TextLine = None self.P1_Bonus7TextLine = None self.P1_Bonus8TextLine = None self.P1_Bonus9TextLine = None self.P1_Bonus10TextLine = None self.P1_Bonus11TextLine = None self.P1_Bonus12TextLine = None self.P1_Bonus13TextLine = None self.P1_Bonus14TextLine = None self.P1_Bonus15TextLine = None self.P1_Bonus16TextLine = None self.P1_Bonus17TextLine = None self.P1_Bonus18TextLine = None self.P1_Bonus19TextLine = None self.P1_Bonus20TextLine = None self.P1_Bonus21TextLine = None self.P1_Bonus22TextLine = None self.P1_Bonus23TextLine = None self.P1_Bonus24TextLine = None self.P1_Bonus25TextLine = None self.P1_Bonus26TextLine = None self.P1_Bonus27TextLine = None self.P1_Bonus28TextLine = None self.P2_Bonus1TextLine = None self.P2_Bonus2TextLine = None self.P2_Bonus3TextLine = None self.P2_Bonus4TextLine = None self.P2_Bonus5TextLine = None self.P2_Bonus6TextLine = None self.P2_Bonus7TextLine = None self.P2_Bonus8TextLine = None self.P2_Bonus9TextLine = None self.P2_Bonus10TextLine = None self.P2_Bonus11TextLine = None self.P2_Bonus12TextLine = None self.P2_Bonus13TextLine = None self.P2_Bonus14TextLine = None self.P2_Bonus15TextLine = None self.P2_Bonus16TextLine = None self.Thx4Idea = None self.RefreshButton = None self.PreviousButton = None def __LoadBonusesPage1(self): ## Board self.Board = ui.BoardWithTitleBar() self.Board.AddFlag('movable') self.Board.AddFlag('float') self.Board.SetTitleName('Página 1') self.Board.SetSize(330, 450) self.Board.SetPosition(24, SCREEN_HEIGHT - 2*37 - 450) self.Board.Show() self.is_Loaded = 1 ##--P1 - 1.Bonusz: Kard vedelem / Sword def self.P1_Bonus1TextLine = ui.TextLine() self.P1_Bonus1TextLine.SetParent(self.Board) self.P1_Bonus1TextLine.SetPosition(12, 31) self.P1_Bonus1TextLine.SetText('Defensa espada') self.P1_Bonus1TextLine.Show() self.P1_Bonus1IMG = ui.ImageBox() self.P1_Bonus1IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus1IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus1IMG.SetPosition(88+20, 31) self.P1_Bonus1IMG.Show() self.Kard_def = ui.TextLine() self.Kard_def.SetParent(self.Board) self.Kard_def.SetPosition(105+22, 33) self.Kard_def.SetText(' - ') self.Kard_def.Show() ##-- ##--P1 - 2.Bonusz: Ketkezes vedelem / Twohand def self.P1_Bonus2TextLine = ui.TextLine() self.P1_Bonus2TextLine.SetParent(self.Board) self.P1_Bonus2TextLine.SetPosition(170, 31) self.P1_Bonus2TextLine.SetText('Def 2Manos') self.P1_Bonus2TextLine.Show() self.P1_Bonus2IMG = ui.ImageBox() self.P1_Bonus2IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus2IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus2IMG.SetPosition(246+20, 31) self.P1_Bonus2IMG.Show() self.Ketkezes_def = ui.TextLine() self.Ketkezes_def.SetParent(self.Board) self.Ketkezes_def.SetPosition(263+22, 33) self.Ketkezes_def.SetText(' - ') self.Ketkezes_def.Show() ##-- ##--P1 - 3.Bonusz: Tor vedelem / knife def self.P1_Bonus3TextLine = ui.TextLine() self.P1_Bonus3TextLine.SetParent(self.Board) self.P1_Bonus3TextLine.SetPosition(12, 31+(26*1)) self.P1_Bonus3TextLine.SetText('Defensa daga') self.P1_Bonus3TextLine.Show() self.P1_Bonus3IMG = ui.ImageBox() self.P1_Bonus3IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus3IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus3IMG.SetPosition(88+20, 31+(26*1)) self.P1_Bonus3IMG.Show() self.Tor_def = ui.TextLine() self.Tor_def.SetParent(self.Board) self.Tor_def.SetPosition(105+22, 33+(26*1)) self.Tor_def.SetText(' - ') self.Tor_def.Show() ##-- ##--P1 - 4.Bonusz: Nyil vedelem / bow def self.P1_Bonus4TextLine = ui.TextLine() self.P1_Bonus4TextLine.SetParent(self.Board) self.P1_Bonus4TextLine.SetPosition(170, 31+(26*1)) self.P1_Bonus4TextLine.SetText('Rest Flechas') self.P1_Bonus4TextLine.Show() self.P1_Bonus4IMG = ui.ImageBox() self.P1_Bonus4IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus4IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus4IMG.SetPosition(246+20, 31+(26*1)) self.P1_Bonus4IMG.Show() self.Nyil_def = ui.TextLine() self.Nyil_def.SetParent(self.Board) self.Nyil_def.SetPosition(263+22, 33+(26*1)) self.Nyil_def.SetText(' - ') self.Nyil_def.Show() ##-- ##--P1 - 5.Bonusz: Harang vedelem / Bell def self.P1_Bonus5TextLine = ui.TextLine() self.P1_Bonus5TextLine.SetParent(self.Board) self.P1_Bonus5TextLine.SetPosition(12, 31+(26*2)) self.P1_Bonus5TextLine.SetText('Defensa campana') self.P1_Bonus5TextLine.Show() self.P1_Bonus5IMG = ui.ImageBox() self.P1_Bonus5IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus5IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus5IMG.SetPosition(88+20, 31+(26*2)) self.P1_Bonus5IMG.Show() self.Harang_def = ui.TextLine() self.Harang_def.SetParent(self.Board) self.Harang_def.SetPosition(105+22, 33+(26*2)) self.Harang_def.SetText(' - ') self.Harang_def.Show() ##-- ##--P1 - 6.Bonusz: Legyezo vedelem / Fan def self.P1_Bonus6TextLine = ui.TextLine() self.P1_Bonus6TextLine.SetParent(self.Board) self.P1_Bonus6TextLine.SetPosition(170, 31+(26*2)) self.P1_Bonus6TextLine.SetText('Fan defence') self.P1_Bonus6TextLine.Show() self.P1_Bonus6IMG = ui.ImageBox() self.P1_Bonus6IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus6IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus6IMG.SetPosition(246+20, 31+(26*2)) self.P1_Bonus6IMG.Show() self.Legyezo_def = ui.TextLine() self.Legyezo_def.SetParent(self.Board) self.Legyezo_def.SetPosition(263+22, 33+(26*2)) self.Legyezo_def.SetText(' - ') self.Legyezo_def.Show() ##-- ##--P1 - 7.Bonusz: Kiteres / Block (aka. miss) self.P1_Bonus7TextLine = ui.TextLine() self.P1_Bonus7TextLine.SetParent(self.Board) self.P1_Bonus7TextLine.SetPosition(12, 31+(26*3)) self.P1_Bonus7TextLine.SetText('Block phizical attacks') self.P1_Bonus7TextLine.Show() self.P1_Bonus7IMG = ui.ImageBox() self.P1_Bonus7IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus7IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus7IMG.SetPosition(88+20, 31+(26*3)) self.P1_Bonus7IMG.Show() self.Kiteres = ui.TextLine() self.Kiteres.SetParent(self.Board) self.Kiteres.SetPosition(105+22, 33+(26*3)) self.Kiteres.SetText(' - ') self.Kiteres.Show() ##-- ##--P1 - 8.Bonusz: Visszaveres / Reflect self.P1_Bonus8TextLine = ui.TextLine() self.P1_Bonus8TextLine.SetParent(self.Board) self.P1_Bonus8TextLine.SetPosition(170, 31+(26*3)) self.P1_Bonus8TextLine.SetText('Reflect') self.P1_Bonus8TextLine.Show() self.P1_Bonus8IMG = ui.ImageBox() self.P1_Bonus8IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus8IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus8IMG.SetPosition(246+20, 31+(26*3)) self.P1_Bonus8IMG.Show() self.Visszaveres = ui.TextLine() self.Visszaveres.SetParent(self.Board) self.Visszaveres.SetPosition(263+22, 33+(26*3)) self.Visszaveres.SetText(' - ') self.Visszaveres.Show() ##-- ##--P1 - 9.Bonusz: Magia vedelem / Magic res self.P1_Bonus9TextLine = ui.TextLine() self.P1_Bonus9TextLine.SetParent(self.Board) self.P1_Bonus9TextLine.SetPosition(12, 31+(26*4)) self.P1_Bonus9TextLine.SetText('Resistencia Magia') self.P1_Bonus9TextLine.Show() self.P1_Bonus9IMG = ui.ImageBox() self.P1_Bonus9IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus9IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus9IMG.SetPosition(88+20, 31+(26*4)) self.P1_Bonus9IMG.Show() self.Magia_def = ui.TextLine() self.Magia_def.SetParent(self.Board) self.Magia_def.SetPosition(105+22, 33+(26*4)) self.Magia_def.SetText(' - ') self.Magia_def.Show() ##-- ##--P1 - 10.Bonusz: Tuz ellenallas / Fire res self.P1_Bonus10TextLine = ui.TextLine() self.P1_Bonus10TextLine.SetParent(self.Board) self.P1_Bonus10TextLine.SetPosition(170, 31+(26*4)) self.P1_Bonus10TextLine.SetText('Fire resistance') self.P1_Bonus10TextLine.Show() self.P1_Bonus10IMG = ui.ImageBox() self.P1_Bonus10IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus10IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus10IMG.SetPosition(246+20, 31+(26*4)) self.P1_Bonus10IMG.Show() self.Tuz_def = ui.TextLine() self.Tuz_def.SetParent(self.Board) self.Tuz_def.SetPosition(263+22, 33+(26*4)) self.Tuz_def.SetText(' - ') self.Tuz_def.Show() ##-- ##--P1 - 11.Bonusz: Szel ellenallas / Wind res self.P1_Bonus11TextLine = ui.TextLine() self.P1_Bonus11TextLine.SetParent(self.Board) self.P1_Bonus11TextLine.SetPosition(12, 31+(26*5)) self.P1_Bonus11TextLine.SetText('Resistencia Viento') self.P1_Bonus11TextLine.Show() self.P1_Bonus11IMG = ui.ImageBox() self.P1_Bonus11IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus11IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus11IMG.SetPosition(88+20, 31+(26*5)) self.P1_Bonus11IMG.Show() self.Szel_def = ui.TextLine() self.Szel_def.SetParent(self.Board) self.Szel_def.SetPosition(105+22, 33+(26*5)) self.Szel_def.SetText(' - ') self.Szel_def.Show() ##-- ##--P1 - 12.Bonusz: Villam ellenallas / Storm/flash/lightening res self.P1_Bonus12TextLine = ui.TextLine() self.P1_Bonus12TextLine.SetParent(self.Board) self.P1_Bonus12TextLine.SetPosition(170, 31+(26*5)) self.P1_Bonus12TextLine.SetText('Flash resistance') self.P1_Bonus12TextLine.Show() self.P1_Bonus12IMG = ui.ImageBox() self.P1_Bonus12IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus12IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus12IMG.SetPosition(246+20, 31+(26*5)) self.P1_Bonus12IMG.Show() self.Villam_def = ui.TextLine() self.Villam_def.SetParent(self.Board) self.Villam_def.SetPosition(263+22, 33+(26*5)) self.Villam_def.SetText(' - ') self.Villam_def.Show() ##-- ##--P1 - 13.Bonusz: Mergezesi esely / Poison chance self.P1_Bonus13TextLine = ui.TextLine() self.P1_Bonus13TextLine.SetParent(self.Board) self.P1_Bonus13TextLine.SetPosition(12, 31+(26*6)) self.P1_Bonus13TextLine.SetText('Envenamiento') self.P1_Bonus13TextLine.Show() self.P1_Bonus13IMG = ui.ImageBox() self.P1_Bonus13IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus13IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus13IMG.SetPosition(88+20, 31+(26*6)) self.P1_Bonus13IMG.Show() self.Mergezes = ui.TextLine() self.Mergezes.SetParent(self.Board) self.Mergezes.SetPosition(105+22, 33+(26*6)) self.Mergezes.SetText(' - ') self.Mergezes.Show() ##-- ##--P1 - 14.Bonusz: Mereg ellenallas / Poison res self.P1_Bonus14TextLine = ui.TextLine() self.P1_Bonus14TextLine.SetParent(self.Board) self.P1_Bonus14TextLine.SetPosition(170, 31+(26*6)) self.P1_Bonus14TextLine.SetText('Rest. Veneno') self.P1_Bonus14TextLine.Show() self.P1_Bonus14IMG = ui.ImageBox() self.P1_Bonus14IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus14IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus14IMG.SetPosition(246+20, 31+(26*6)) self.P1_Bonus14IMG.Show() self.Mereg_def = ui.TextLine() self.Mereg_def.SetParent(self.Board) self.Mereg_def.SetPosition(263+22, 33+(26*6)) self.Mereg_def.SetText(' - ') self.Mereg_def.Show() ##-- ##--P1 - 15.Bonusz: TP-Reg / HP-Reg self.P1_Bonus15TextLine = ui.TextLine() self.P1_Bonus15TextLine.SetParent(self.Board) self.P1_Bonus15TextLine.SetPosition(12, 31+(26*7)) self.P1_Bonus15TextLine.SetText('Regeneración HP') self.P1_Bonus15TextLine.Show() self.P1_Bonus15IMG = ui.ImageBox() self.P1_Bonus15IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus15IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus15IMG.SetPosition(88+20, 31+(26*7)) self.P1_Bonus15IMG.Show() self.TP_reg_ = ui.TextLine() self.TP_reg_.SetParent(self.Board) self.TP_reg_.SetPosition(105+22, 33+(26*7)) self.TP_reg_.SetText(' - ') self.TP_reg_.Show() ##-- ##--P1 - 16.Bonusz: MP-Reg self.P1_Bonus16TextLine = ui.TextLine() self.P1_Bonus16TextLine.SetParent(self.Board) self.P1_Bonus16TextLine.SetPosition(170, 31+(26*7)) self.P1_Bonus16TextLine.SetText('Regeneración de SP') self.P1_Bonus16TextLine.Show() self.P1_Bonus16IMG = ui.ImageBox() self.P1_Bonus16IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus16IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus16IMG.SetPosition(246+20, 31+(26*7)) self.P1_Bonus16IMG.Show() self.MP_reg_ = ui.TextLine() self.MP_reg_.SetParent(self.Board) self.MP_reg_.SetPosition(263+22, 33+(26*7)) self.MP_reg_.SetText(' - ') self.MP_reg_.Show() ##-- ##--P1 - 17.Bonusz: Kritikus talalat / Crit chance self.P1_Bonus17TextLine = ui.TextLine() self.P1_Bonus17TextLine.SetParent(self.Board) self.P1_Bonus17TextLine.SetPosition(12, 31+(26*8)) self.P1_Bonus17TextLine.SetText('Criticos') self.P1_Bonus17TextLine.Show() self.P1_Bonus17IMG = ui.ImageBox() self.P1_Bonus17IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus17IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus17IMG.SetPosition(88+20, 31+(26*8)) self.P1_Bonus17IMG.Show() self.Kritikus_talalat = ui.TextLine() self.Kritikus_talalat.SetParent(self.Board) self.Kritikus_talalat.SetPosition(105+22, 33+(26*8)) self.Kritikus_talalat.SetText(' - ') self.Kritikus_talalat.Show() ##-- ##--P1 - 18.Bonusz: Athato talalat / db?? self.P1_Bonus18TextLine = ui.TextLine() self.P1_Bonus18TextLine.SetParent(self.Board) self.P1_Bonus18TextLine.SetPosition(170, 31+(26*8)) self.P1_Bonus18TextLine.SetText('Penetración') self.P1_Bonus18TextLine.Show() self.P1_Bonus18IMG = ui.ImageBox() self.P1_Bonus18IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus18IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus18IMG.SetPosition(246+20, 31+(26*8)) self.P1_Bonus18IMG.Show() self.Athato_talalat = ui.TextLine() self.Athato_talalat.SetParent(self.Board) self.Athato_talalat.SetPosition(263+22, 33+(26*8)) self.Athato_talalat.SetText(' - ') self.Athato_talalat.Show() ##-- ##--P1 - 19.Bonusz: Felemberek elleni ero / Half human str self.P1_Bonus19TextLine = ui.TextLine() self.P1_Bonus19TextLine.SetParent(self.Board) self.P1_Bonus19TextLine.SetPosition(12, 31+(26*9)) self.P1_Bonus19TextLine.SetText('Medio Humanos') self.P1_Bonus19TextLine.Show() self.P1_Bonus19IMG = ui.ImageBox() self.P1_Bonus19IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus19IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus19IMG.SetPosition(88+20, 31+(26*9)) self.P1_Bonus19IMG.Show() self.Felember_ero = ui.TextLine() self.Felember_ero.SetParent(self.Board) self.Felember_ero.SetPosition(105+22, 33+(26*9)) self.Felember_ero.SetText(' - ') self.Felember_ero.Show() ##-- ##--P1 - 20.Bonusz: Szornyek elleni ero / Monster str self.P1_Bonus20TextLine = ui.TextLine() self.P1_Bonus20TextLine.SetParent(self.Board) self.P1_Bonus20TextLine.SetPosition(170, 31+(26*9)) self.P1_Bonus20TextLine.SetText('Fuerza Monstruo') self.P1_Bonus20TextLine.Show() self.P1_Bonus20IMG = ui.ImageBox() self.P1_Bonus20IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus20IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus20IMG.SetPosition(246+20, 31+(26*9)) self.P1_Bonus20IMG.Show() self.Szorny_ero = ui.TextLine() self.Szorny_ero.SetParent(self.Board) self.Szorny_ero.SetPosition(263+22, 33+(26*9)) self.Szorny_ero.SetText(' - ') self.Szorny_ero.Show() ##-- ##--P1 - 21.Bonusz: Allatok elleni ero / Animal str self.P1_Bonus21TextLine = ui.TextLine() self.P1_Bonus21TextLine.SetParent(self.Board) self.P1_Bonus21TextLine.SetPosition(12, 31+(26*10)) self.P1_Bonus21TextLine.SetText('Fuerza Animales') self.P1_Bonus21TextLine.Show() self.P1_Bonus21IMG = ui.ImageBox() self.P1_Bonus21IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus21IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus21IMG.SetPosition(88+20, 31+(26*10)) self.P1_Bonus21IMG.Show() self.Allat_ero = ui.TextLine() self.Allat_ero.SetParent(self.Board) self.Allat_ero.SetPosition(105+22, 33+(26*10)) self.Allat_ero.SetText(' - ') self.Allat_ero.Show() ##-- ##--P1 - 22.Bonusz: Orkok elleni ero / Orcs str self.P1_Bonus22TextLine = ui.TextLine() self.P1_Bonus22TextLine.SetParent(self.Board) self.P1_Bonus22TextLine.SetPosition(170, 31+(26*10)) self.P1_Bonus22TextLine.SetText('Fuerza Orcos') self.P1_Bonus22TextLine.Show() self.P1_Bonus22IMG = ui.ImageBox() self.P1_Bonus22IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus22IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus22IMG.SetPosition(246+20, 31+(26*10)) self.P1_Bonus22IMG.Show() self.Ork_ero = ui.TextLine() self.Ork_ero.SetParent(self.Board) self.Ork_ero.SetPosition(263+22, 33+(26*10)) self.Ork_ero.SetText(' - ') self.Ork_ero.Show() ##-- ##--P1 - 23.Bonusz: Ezoteria elleni ero / Esoteric sct self.P1_Bonus23TextLine = ui.TextLine() self.P1_Bonus23TextLine.SetParent(self.Board) self.P1_Bonus23TextLine.SetPosition(12, 31+(26*11)) self.P1_Bonus23TextLine.SetText('Fuerza Esotericos') self.P1_Bonus23TextLine.Show() self.P1_Bonus23IMG = ui.ImageBox() self.P1_Bonus23IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus23IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus23IMG.SetPosition(88+20, 31+(26*11)) self.P1_Bonus23IMG.Show() self.Ezo_ero = ui.TextLine() self.Ezo_ero.SetParent(self.Board) self.Ezo_ero.SetPosition(105+22, 33+(26*11)) self.Ezo_ero.SetText(' - ') self.Ezo_ero.Show() ##-- ##--P1 - 24.Bonusz: Élõholtak elleni ero / Undead str self.P1_Bonus24TextLine = ui.TextLine() self.P1_Bonus24TextLine.SetParent(self.Board) self.P1_Bonus24TextLine.SetPosition(170, 31+(26*11)) self.P1_Bonus24TextLine.SetText('No Muertos') self.P1_Bonus24TextLine.Show() self.P1_Bonus24IMG = ui.ImageBox() self.P1_Bonus24IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus24IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus24IMG.SetPosition(246+20, 31+(26*11)) self.P1_Bonus24IMG.Show() self.Eloholt_ero = ui.TextLine() self.Eloholt_ero.SetParent(self.Board) self.Eloholt_ero.SetPosition(263+22, 33+(26*11)) self.Eloholt_ero.SetText(' - ') self.Eloholt_ero.Show() ##-- ##--P1 - 25.Bonusz: Ordog elleni ero / Devil str self.P1_Bonus25TextLine = ui.TextLine() self.P1_Bonus25TextLine.SetParent(self.Board) self.P1_Bonus25TextLine.SetPosition(12, 31+(26*12)) self.P1_Bonus25TextLine.SetText('Fuerza Demonios') self.P1_Bonus25TextLine.Show() self.P1_Bonus25IMG = ui.ImageBox() self.P1_Bonus25IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus25IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus25IMG.SetPosition(88+20, 31+(26*12)) self.P1_Bonus25IMG.Show() self.Ordog_ero = ui.TextLine() self.Ordog_ero.SetParent(self.Board) self.Ordog_ero.SetPosition(105+22, 33+(26*12)) self.Ordog_ero.SetText(' - ') self.Ordog_ero.Show() ##-- ##--P1 - 26.Bonusz: Esely a nyilak elkerulesere / Arrow block (aka. miss xd) self.P1_Bonus26TextLine = ui.TextLine() self.P1_Bonus26TextLine.SetParent(self.Board) self.P1_Bonus26TextLine.SetPosition(170, 31+(26*12)) self.P1_Bonus26TextLine.SetText('Evitar Flechas') self.P1_Bonus26TextLine.Show() self.P1_Bonus26IMG = ui.ImageBox() self.P1_Bonus26IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus26IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus26IMG.SetPosition(246+20, 31+(26*12)) self.P1_Bonus26IMG.Show() self.Nyil_miss = ui.TextLine() self.Nyil_miss.SetParent(self.Board) self.Nyil_miss.SetPosition(263+22, 33+(26*12)) self.Nyil_miss.SetText(' - ') self.Nyil_miss.Show() ##-- ##--P1 - 27.Bonusz: Immun ajulas / Faint res self.P1_Bonus27TextLine = ui.TextLine() self.P1_Bonus27TextLine.SetParent(self.Board) self.P1_Bonus27TextLine.SetPosition(12, 31+(26*13)) self.P1_Bonus27TextLine.SetText('Inmune') self.P1_Bonus27TextLine.Show() self.P1_Bonus27IMG = ui.ImageBox() self.P1_Bonus27IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus27IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus27IMG.SetPosition(88+20, 31+(26*13)) self.P1_Bonus27IMG.Show() self.Immun_ajul = ui.TextLine() self.Immun_ajul.SetParent(self.Board) self.Immun_ajul.SetPosition(105+22, 33+(26*13)) self.Immun_ajul.SetText(' - ') self.Immun_ajul.Show() ##-- ##--P1 - 28.Bonusz: Immun lelassulas / Slow res self.P1_Bonus28TextLine = ui.TextLine() self.P1_Bonus28TextLine.SetParent(self.Board) self.P1_Bonus28TextLine.SetPosition(170, 31+(26*13)) self.P1_Bonus28TextLine.SetText('Inmune Retardo') self.P1_Bonus28TextLine.Show() self.P1_Bonus28IMG = ui.ImageBox() self.P1_Bonus28IMG.LoadImage('d:/ymir work/ui/public/Parameter_Slot_01.sub') wndMgr.SetParent(self.P1_Bonus28IMG.GetWindowHandle(), self.Board.GetWindowHandle()) self.P1_Bonus28IMG.SetPosition(246+20, 31+(26*13)) self.P1_Bonus28IMG.Show() self.Immun_lelassul = ui.TextLine() self.Immun_lelassul.SetParent(self.Board) self.Immun_lelassul.SetPosition(263+22, 33+(26*13)) self.Immun_lelassul.SetText(' - ') self.Immun_lelassul.Show() ##-- ##--Refresh_Button self.RefreshButton = ui.Button() wndMgr.SetParent(self.RefreshButton.GetWindowHandle(), self.Board.GetWindowHandle()) self.RefreshButton.SetPosition(155, 413) self.RefreshButton.SetUpVisual("d:/ymir work/ui/game/guild/refresh_button_01.sub") self.RefreshButton.SetOverVisual("d:/ymir work/ui/game/guild/refresh_button_02.sub") self.RefreshButton.SetDownVisual("d:/ymir work/ui/game/guild/refresh_button_03.sub") self.RefreshButton.SetEvent(ui.__mem_func__(self.__Refresh)) self.RefreshButton.SetToolTipText('Actualizar') self.RefreshButton.Show() ##-- ##--Previous_Button self.PreviousButton = ui.Button() wndMgr.SetParent(self.PreviousButton.GetWindowHandle(), self.Board.GetWindowHandle()) self.PreviousButton.SetPosition(20, 410) self.PreviousButton.SetUpVisual("d:/ymir work/ui/public/small_button_01.sub") self.PreviousButton.SetOverVisual("d:/ymir work/ui/public/small_button_02.sub") self.PreviousButton.SetDownVisual("d:/ymir work/ui/public/small_button_03.sub") self.PreviousButton.SetEvent(ui.__mem_func__(self.__PrevPage)) self.PreviousButton.SetToolTipText('Previous page') self.PreviousButton.SetText('
Saludos.