Pac092 Posted April 19, 2014 Report Share Posted April 19, 2014 Bueno no he visto en ningun lado, tampoco se si son del oficial ya que no los juego pero en mi opinion deberian crear mas armaduras asi estilo oriental Mega: Debes iniciar sesión para ver el contenido del enlace en esta publicación. LovePlay 1 Link to comment Share on other sites More sharing options...
PromeTheuS Posted April 19, 2014 Report Share Posted April 19, 2014 que bueno me gusta !! Link to comment Share on other sites More sharing options...
Shogun Posted April 19, 2014 Report Share Posted April 19, 2014 si es del oficial Link to comment Share on other sites More sharing options...
-YC- Posted April 19, 2014 Report Share Posted April 19, 2014 son de metin2dev :3 bueno de ahí me las baje yopo olle shogun usted sabria como ponerle a esta parte: self.boton4 = ui.Button() self.boton4.SetParent(self.sema1) self.boton4.SetPosition(37,167) self.boton4.SetUpVisual('d:/ymir work/ui/bonus_normal.tga') self.boton4.SetOverVisual('d:/ymir work/ui/bonus_raton.tga') self.boton4.SetDownVisual('d:/ymir work/ui/bonus_pulsado.tga') self.boton4.SetToolTipText("Vacio L.P") #self.boton4.SetEvent(ui.__mem_func__(self.funcion)) self.boton4.Show() la opción de abrir el calendario que lo tengo con F6 Link to comment Share on other sites More sharing options...
Shogun Posted April 20, 2014 Report Share Posted April 20, 2014 no tengo ni idea de python Link to comment Share on other sites More sharing options...
Shang Posted April 20, 2014 Report Share Posted April 20, 2014 son de metin2dev :3 bueno de ahí me las baje yopo olle shogun usted sabria como ponerle a esta parte: self.boton4 = ui.Button() self.boton4.SetParent(self.sema1) self.boton4.SetPosition(37,167) self.boton4.SetUpVisual('d:/ymir work/ui/bonus_normal.tga') self.boton4.SetOverVisual('d:/ymir work/ui/bonus_raton.tga') self.boton4.SetDownVisual('d:/ymir work/ui/bonus_pulsado.tga') self.boton4.SetToolTipText("Vacio L.P") #self.boton4.SetEvent(ui.__mem_func__(self.funcion)) self.boton4.Show() la opción de abrir el calendario que lo tengo con F6 Borras la parte de F6 self.boton4 = ui.Button() self.boton4.SetParent(self.sema1) self.boton4.SetPosition(37,167) self.boton4.SetUpVisual('d:/ymir work/ui/bonus_normal.tga') self.boton4.SetOverVisual('d:/ymir work/ui/bonus_raton.tga') self.boton4.SetDownVisual('d:/ymir work/ui/bonus_pulsado.tga') self.boton4.SetToolTipText("Calendario") self.boton4.SetEvent(ui.__mem_func__(self.Calendario)) self.boton4.Show() Donde pone self.calendario pones self.nombre del def que usas para la función del calendario. Debes poner la función en el menuboard.py. Link to comment Share on other sites More sharing options...
-YC- Posted April 20, 2014 Report Share Posted April 20, 2014 este es el self: onPressKeyDict[app.DIK_F6] = lambda : self.Calendar() entonces lo deje asi: self.boton4 = ui.Button() self.boton4.SetParent(self.sema1) self.boton4.SetPosition(37,167) self.boton4.SetUpVisual('d:/ymir work/ui/bonus_normal.tga') self.boton4.SetOverVisual('d:/ymir work/ui/bonus_raton.tga') self.boton4.SetDownVisual('d:/ymir work/ui/bonus_pulsado.tga') self.boton4.SetToolTipText("Vacio L.P") #self.boton4.SetEvent(ui.__mem_func__(self.calendar)) self.boton4.Show() Link to comment Share on other sites More sharing options...
Jfirewall Posted April 20, 2014 Report Share Posted April 20, 2014 self.boton4.SetEvent(ui.__mem_func__(self.Calendar)) def Calendar(self):import calendarself.calendar = calendar.Calendar()self.calendar.Show() esto va en el menu de la board osea que debes pasar esta funcion para el menuboard #onPressKeyDict[app.DIK_F6] = lambda : self.Calendar() esto va en el game.py -YC- 1 Link to comment Share on other sites More sharing options...
-YC- Posted April 20, 2014 Report Share Posted April 20, 2014 self.boton4.SetEvent(ui.__mem_func__(self.Calendar)) def Calendar(self):import calendarself.calendar = calendar.Calendar()self.calendar.Show() esto va en el menu de la board osea que debes pasar esta funcion para el menuboard #onPressKeyDict[app.DIK_F6] = lambda : self.Calendar() esto va en el game.py No entendí ni J perdón pero no se de phyton Link to comment Share on other sites More sharing options...
-YC- Posted April 20, 2014 Report Share Posted April 20, 2014 osea esta parte: def Calendar(self):import calendarself.calendar = calendar.Calendar()self.calendar.Show() en que parte del .py de la board va y va o no con tabulaciones? Link to comment Share on other sites More sharing options...
Jfirewall Posted April 20, 2014 Report Share Posted April 20, 2014 Exactamente lleva tabulacion, sino que nose porque el foro no agarra tabulacion Link to comment Share on other sites More sharing options...
-YC- Posted April 20, 2014 Report Share Posted April 20, 2014 Lo he puesto así: import calendar import uiimport wndMgrclass MENULOVE(ui.ScriptWindow):def __init__(self):ui.ScriptWindow.__init__(self)self.__LovePlay()def __del__(self):ui.ScriptWindow.__del__(self)def __LovePlay(self):self.sema1 = ui.ImageBox()self.sema1.LoadImage("d:/ymir work/ui/board.tga")self.sema1.SetPosition((wndMgr.GetScreenWidth()-25), 275)self.sema1.Show()self.abrir = ui.Button()self.abrir.SetParent(self.sema1)self.abrir.SetPosition(+3,90)self.abrir.SetUpVisual('d:/ymir work/ui/abrir.tga')self.abrir.SetOverVisual('d:/ymir work/ui/abrir_raton.tga')self.abrir.SetDownVisual('d:/ymir work/ui/abrir_pulsado.tga')self.abrir.SetEvent(ui.__mem_func__(self.__Abrirsema1))self.abrir.Show()self.cerrar = ui.Button()self.cerrar.SetParent(self.sema1)self.cerrar.SetPosition(+3,90)self.cerrar.SetUpVisual('d:/ymir work/ui/cerrar.tga')self.cerrar.SetOverVisual('d:/ymir work/ui/cerrar_raton.tga')self.cerrar.SetDownVisual('d:/ymir work/ui/cerrar_pulsado.tga')self.cerrar.SetEvent(ui.__mem_func__(self.__Cerrarsema1))self.cerrar.Hide()self.boton1 = ui.Button()self.boton1.SetParent(self.sema1)self.boton1.SetPosition(36,31)self.boton1.SetUpVisual('d:/ymir work/ui/equip_icon_1.sub')self.boton1.SetOverVisual('d:/ymir work/ui/equip_icon_2.sub')self.boton1.SetDownVisual('d:/ymir work/ui/equip_icon_3.sub')self.boton1.SetToolTipText("Bonus Page")#self.boton1.SetEvent(ui.__mem_func__(self.funcion))self.boton1.Show()self.boton2 = ui.Button()self.boton2.SetParent(self.sema1)self.boton2.SetPosition(31,73)self.boton2.SetUpVisual('d:/ymir work/ui/bonuscambiar_normal.tga')self.boton2.SetOverVisual('d:/ymir work/ui/bonuscambiar_raton.tga')self.boton2.SetDownVisual('d:/ymir work/ui/bonuscambiar_pulsado.tga')self.boton2.SetToolTipText("Dopador")#self.boton2.SetEvent(ui.__mem_func__(self.funcion))self.boton2.Show()self.boton3 = ui.Button()self.boton3.SetParent(self.sema1)self.boton3.SetPosition(37,122)self.boton3.SetUpVisual('d:/ymir work/ui/armadura_normal.tga')self.boton3.SetOverVisual('d:/ymir work/ui/armadura_raton.tga')self.boton3.SetDownVisual('d:/ymir work/ui/armadura_pulsado.tga')self.boton3.SetToolTipText("Vacio L.P")#self.boton3.SetEvent(ui.__mem_func__(self.funcion))self.boton3.Show()self.boton4 = ui.Button()self.boton4.SetParent(self.sema1)self.boton4.SetPosition(37,167)self.boton4.SetUpVisual('d:/ymir work/ui/bonus_normal.tga')self.boton4.SetOverVisual('d:/ymir work/ui/bonus_raton.tga')self.boton4.SetDownVisual('d:/ymir work/ui/bonus_pulsado.tga')self.boton4.SetToolTipText("Calendario")#self.boton4.SetEvent(ui.__mem_func__(self.Calendar))self.boton4.Show()def __Cerrarsema1(self):self.cerrar.Hide()self.sema1.SetPosition((wndMgr.GetScreenWidth()-25), 275)self.abrir.Show()def __Abrirsema1(self):self.abrir.Hide()self.sema1.SetPosition((wndMgr.GetScreenWidth()-79), 275)self.cerrar.Show()def Calendar(self):self.calendar = calendar.Calendar()self.calendar.Show()fa=MENULOVE() esta bien o como lo dejo? Link to comment Share on other sites More sharing options...
Jfirewall Posted April 20, 2014 Report Share Posted April 20, 2014 Pega imagen, el foro no agarra tabulacion. Link to comment Share on other sites More sharing options...
-YC- Posted April 20, 2014 Report Share Posted April 20, 2014 oka Link to comment Share on other sites More sharing options...
-YC- Posted April 20, 2014 Report Share Posted April 20, 2014 Aqui ta: Link to comment Share on other sites More sharing options...
Jfirewall Posted April 20, 2014 Report Share Posted April 20, 2014 si, pega lo otro que te dije Link to comment Share on other sites More sharing options...
-YC- Posted April 20, 2014 Report Share Posted April 20, 2014 Pegue todo lo que me pusiste y no habré Link to comment Share on other sites More sharing options...
Jfirewall Posted April 20, 2014 Report Share Posted April 20, 2014 self.boton1.SetEvent(ui.__mem_func__(self.Calendar)) y import calendar arriba falta eso Link to comment Share on other sites More sharing options...
-YC- Posted April 20, 2014 Report Share Posted April 20, 2014 Link to comment Share on other sites More sharing options...
-YC- Posted April 20, 2014 Report Share Posted April 20, 2014 Ya puedo Jfirewall Thanks brother te diera +999 pero solo se puede +1 Link to comment Share on other sites More sharing options...
-YC- Posted April 20, 2014 Report Share Posted April 20, 2014 pero al darle click desaparee el icono en la board Link to comment Share on other sites More sharing options...
LovePlay Posted April 20, 2014 Report Share Posted April 20, 2014 Woow, muchas gracias por este atuendo o armadura, voy a implementaarlo (Y) Link to comment Share on other sites More sharing options...
Recommended Posts