Jump to content

Happy

Miembro
  • Contador contenido

    44
  • Ingreso

  • Última visita

Actividad de reputación

  1. Me Gusta
    Happy got a reaction from Stiiven in Necesito esta quest de lvl pvp   
    Te sale mal porque no agregaste la funcion: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
  2. Me Gusta
    Happy got a reaction from FlasH in [Sistema]GiftBox   
    Hoy os voy a mostrar un sistema que subieron ayer en metin2dev, este sistema consiste en que cada x horas te daran un regalo. [Los items que se dan se pueden editar]
     
    Imagen del sistema: 
     

     
     
     
    Primero de todo es poner esta query: 
    CREATE TABLE `surprisebox` (`id` int(5) NOT NULL AUTO_INCREMENT ,`openorclose` int(5) NOT NULL ,`box1` int(8) NULL DEFAULT NULL ,`box2` int(8) NULL DEFAULT NULL ,`box3` int(8) NULL DEFAULT NULL ,`box4` int(8) NULL DEFAULT NULL ,`box5` int(8) NULL DEFAULT NULL ,`date` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,`hour` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,PRIMARY KEY (`id`))ENGINE=MyISAMDEFAULT CHARACTER SET=latin1 COLLATE=latin1_swedish_ciAUTO_INCREMENT=47CHECKSUM=0ROW_FORMAT=DYNAMICDELAY_KEY_WRITE=0; Una vez puesta la anterior procedimos a poner la siguiente: 
    INSERT INTO `surprisebox` (`openorclose`,`box1`,`box2`,`box3`,`box4`,`box5`,`date`,`hour`) VALUES (1, ITEM_ID_1, ITEM_ID_2, ITEM_ID_3, ITEM_ID_4, ITEM_ID_5, '<date>', '<hour>'); Donde dice Item_ID_X hay ponemos la id del item que queramos que de.
     
    Aora ponemos esta quest:
    quest thsgiftdev begin state start begin when login begin cmdchat("zetsugfsys "..q.getcurrentquestindex()) end function giverandomitem() local random_nr = number(1,5) chat("I: The box it's opening...") -- Opening if random_nr==1 then pc.give_item2(tonumber(mysql_query('SELECT box1 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box1[1])) elseif random_nr==2 then pc.give_item2(tonumber(mysql_query('SELECT box2 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box2[1])) elseif random_nr==3 then pc.give_item2(tonumber(mysql_query('SELECT box3 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box3[1])) elseif random_nr==4 then pc.give_item2(tonumber(mysql_query('SELECT box4 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box4[1])) elseif random_nr==5 then pc.give_item2(tonumber(mysql_query('SELECT box5 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box5[1])) end pc.setqf("giftsystemuse", get_time()+60*60*12) -- 12 HRS  cmdchat("giftsyshide") end when button or info begin if pc.getqf("giftsystemuse") <= get_time() then thsgiftdev.giverandomitem() -- yeah..function -_- don't try to bind that condition with this.. else chat("W: You have no gift. Try after 12 hours...") -- Played end end endend Ahora vamos a la instalacion del cliente.
     
    Abrimos el game.py (root), y buscamos: self.playerGauge = None
     
    a continuación pegamos esto:
    self.GiftBox = ui.Button()self.GiftBox.SetUpVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetOverVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetDownVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetText(" ")self.GiftBox.SetToolTipText("Open the box!")self.GiftBox.SetPosition(10, int(wndMgr.GetScreenHeight())-126)self.GiftBox.SetEvent(self.ZetsuGiftSystem__deff__)self.GiftBox.Show() Buscamos: def OnUpdate(self):
     
    a continuación pegamos esto:
    ## Z ############################################################################# if app.IsPressed(app.DIK_P) and app.IsPressed(app.DIK_LSHIFT): if self.GiftBox.IsShow(): self.GiftBox.Hide() else: self.GiftBox.Show() ## Z ############################################################################# Tiene que quedar algo asi:
     

     
    Ahora buscaos: def __ServerCommand_Build(self):
     
    Y agregamos:
    ## Begin LuckyBoxes system "zetsugfsys" : self.ZetsuGiftSystem__init__, "giftsysshow" : self.ZetsuGiftSystem__show__, "giftsyshide" : self.ZetsuGiftSystem__hide__, ## End LuckyBoxes Y a final del archivo pegamos esto:
    ## Begin LuckyBoxes system def ZetsuGiftSystem__init__(self, index): constInfo.GIFTSYS = index # if doesn't work replace with: constInfo.GIFTSYS = int(index) # But it's impossible... def ZetsuGiftSystem__deff__(self): import event event.QuestButtonClick(int(constInfo.GIFTSYS)) ## End LuckyBoxes # Warning!! Let the last row empty!! ## def ZetsuGiftSystem__show__(self): self.GiftBox.Show() def ZetsuGiftSystem__hide__(self): self.GiftBox.Hide()  Ahora guardamos el game.py y abrimos el costinfo.py
    Justo al principio del archivo pegamos esto: GIFTSYS = 1
     
    Esto seria todo, falta añadir el boton.
     

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    Lo pegan en (Etc.epk/eix)D:/ymir work/ui
     
    Y listo
     
     
    Fuente: Metin2Dev
    Creditos: Zetsu
  3. Me Gusta
    Happy got a reaction from estefany molina in Necesito esta quest de lvl pvp   
    Te sale mal porque no agregaste la funcion: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
  4. Me Gusta
    Happy got a reaction from Mase St in [Taller] ¡Todo tipo de imágenes!   
    Firma
    Colores: Pon los que tu veas que queden bien
    Texto: Happy
    Imagen: Si puedes poner esta mejor : 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
     
    Avatar
    Lo de el avatar hazlo como quieras xD
    Saludos y gracias
  5. Me Gusta
    Happy got a reaction from Adrian Rocky in Necesito esta quest de lvl pvp   
    Te sale mal porque no agregaste la funcion: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
  6. Me Gusta
    Happy got a reaction from santos2002 in [Quest]Premium users   
    Hace 2 quests, la primera para activar la quest: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    (a partir de esto podeis hacer que reciban bonus especiales, yo eh echo una tienda premium)
     
    Tienda para premium users: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    Espero que les guste
  7. Gracias
    Happy got a reaction from LaHire in [Recopilación] Utilidades "Bugs y Traducciones" Para Files By Maxmi   
    Son de estos files: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  ?
  8. Me Gusta
    Happy got a reaction from Tiburon in [Quest]Ox automatico   
    Código traducido y con tabs: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación. Creditos: HaverBeen [EPVP]PD: Si no tienen este código: printañadirlo en quest_functions

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
  9. Me Gusta
    Happy got a reaction from Alegar in [Release]Texturas caballo   
    Hoy os traigo unas texturas de cabllo que vi en epvp, trae de caballo normal i militar.
     
    Foto:

     
    Link: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
  10. Me Gusta
    Happy reacted to MiGueLiT0 in [C++]Skills Color   
    Hola chicas, les dejo este sistema que lo encontre en turkmmon y aqui no asi que se los dejo para que se lo instalen en su sservidor!

     
    Virus Total: 

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    link: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    Fuente: Turkmmon
  11. Me Gusta
    Happy got a reaction from Painter in [Recopilación] Utilidades "Bugs y Traducciones" Para Files By Maxmi   
    Son de estos files: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  ?
  12. Me Gusta
    Happy got a reaction from serloard in Npc para reemplazar el herrero xd   
    Muy guapo gracias
    Link en mega:
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.!8g0WHBBa!TWsmLUQO7iwFMJzTqIAkbXJQBLcxzRIwTC1WmfkfM0M  
    Para quien quiera en mega.
  13. Sorprendido
    Happy got a reaction from josecobra in [Quest]Cofres   
    No pongo el código en el foro porque no me deja con tabuladores.
     
    código: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    PD: Si ven algún error díganmelo.

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
  14. Me Gusta
    Happy got a reaction from Micro in [Sistema]GiftBox   
    Hoy os voy a mostrar un sistema que subieron ayer en metin2dev, este sistema consiste en que cada x horas te daran un regalo. [Los items que se dan se pueden editar]
     
    Imagen del sistema: 
     

     
     
     
    Primero de todo es poner esta query: 
    CREATE TABLE `surprisebox` (`id` int(5) NOT NULL AUTO_INCREMENT ,`openorclose` int(5) NOT NULL ,`box1` int(8) NULL DEFAULT NULL ,`box2` int(8) NULL DEFAULT NULL ,`box3` int(8) NULL DEFAULT NULL ,`box4` int(8) NULL DEFAULT NULL ,`box5` int(8) NULL DEFAULT NULL ,`date` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,`hour` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,PRIMARY KEY (`id`))ENGINE=MyISAMDEFAULT CHARACTER SET=latin1 COLLATE=latin1_swedish_ciAUTO_INCREMENT=47CHECKSUM=0ROW_FORMAT=DYNAMICDELAY_KEY_WRITE=0; Una vez puesta la anterior procedimos a poner la siguiente: 
    INSERT INTO `surprisebox` (`openorclose`,`box1`,`box2`,`box3`,`box4`,`box5`,`date`,`hour`) VALUES (1, ITEM_ID_1, ITEM_ID_2, ITEM_ID_3, ITEM_ID_4, ITEM_ID_5, '<date>', '<hour>'); Donde dice Item_ID_X hay ponemos la id del item que queramos que de.
     
    Aora ponemos esta quest:
    quest thsgiftdev begin state start begin when login begin cmdchat("zetsugfsys "..q.getcurrentquestindex()) end function giverandomitem() local random_nr = number(1,5) chat("I: The box it's opening...") -- Opening if random_nr==1 then pc.give_item2(tonumber(mysql_query('SELECT box1 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box1[1])) elseif random_nr==2 then pc.give_item2(tonumber(mysql_query('SELECT box2 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box2[1])) elseif random_nr==3 then pc.give_item2(tonumber(mysql_query('SELECT box3 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box3[1])) elseif random_nr==4 then pc.give_item2(tonumber(mysql_query('SELECT box4 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box4[1])) elseif random_nr==5 then pc.give_item2(tonumber(mysql_query('SELECT box5 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box5[1])) end pc.setqf("giftsystemuse", get_time()+60*60*12) -- 12 HRS  cmdchat("giftsyshide") end when button or info begin if pc.getqf("giftsystemuse") <= get_time() then thsgiftdev.giverandomitem() -- yeah..function -_- don't try to bind that condition with this.. else chat("W: You have no gift. Try after 12 hours...") -- Played end end endend Ahora vamos a la instalacion del cliente.
     
    Abrimos el game.py (root), y buscamos: self.playerGauge = None
     
    a continuación pegamos esto:
    self.GiftBox = ui.Button()self.GiftBox.SetUpVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetOverVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetDownVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetText(" ")self.GiftBox.SetToolTipText("Open the box!")self.GiftBox.SetPosition(10, int(wndMgr.GetScreenHeight())-126)self.GiftBox.SetEvent(self.ZetsuGiftSystem__deff__)self.GiftBox.Show() Buscamos: def OnUpdate(self):
     
    a continuación pegamos esto:
    ## Z ############################################################################# if app.IsPressed(app.DIK_P) and app.IsPressed(app.DIK_LSHIFT): if self.GiftBox.IsShow(): self.GiftBox.Hide() else: self.GiftBox.Show() ## Z ############################################################################# Tiene que quedar algo asi:
     

     
    Ahora buscaos: def __ServerCommand_Build(self):
     
    Y agregamos:
    ## Begin LuckyBoxes system "zetsugfsys" : self.ZetsuGiftSystem__init__, "giftsysshow" : self.ZetsuGiftSystem__show__, "giftsyshide" : self.ZetsuGiftSystem__hide__, ## End LuckyBoxes Y a final del archivo pegamos esto:
    ## Begin LuckyBoxes system def ZetsuGiftSystem__init__(self, index): constInfo.GIFTSYS = index # if doesn't work replace with: constInfo.GIFTSYS = int(index) # But it's impossible... def ZetsuGiftSystem__deff__(self): import event event.QuestButtonClick(int(constInfo.GIFTSYS)) ## End LuckyBoxes # Warning!! Let the last row empty!! ## def ZetsuGiftSystem__show__(self): self.GiftBox.Show() def ZetsuGiftSystem__hide__(self): self.GiftBox.Hide()  Ahora guardamos el game.py y abrimos el costinfo.py
    Justo al principio del archivo pegamos esto: GIFTSYS = 1
     
    Esto seria todo, falta añadir el boton.
     

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    Lo pegan en (Etc.epk/eix)D:/ymir work/ui
     
    Y listo
     
     
    Fuente: Metin2Dev
    Creditos: Zetsu
  15. Me Gusta
    Happy got a reaction from Thanatouj in [Sistema]GiftBox   
    Hoy os voy a mostrar un sistema que subieron ayer en metin2dev, este sistema consiste en que cada x horas te daran un regalo. [Los items que se dan se pueden editar]
     
    Imagen del sistema: 
     

     
     
     
    Primero de todo es poner esta query: 
    CREATE TABLE `surprisebox` (`id` int(5) NOT NULL AUTO_INCREMENT ,`openorclose` int(5) NOT NULL ,`box1` int(8) NULL DEFAULT NULL ,`box2` int(8) NULL DEFAULT NULL ,`box3` int(8) NULL DEFAULT NULL ,`box4` int(8) NULL DEFAULT NULL ,`box5` int(8) NULL DEFAULT NULL ,`date` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,`hour` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,PRIMARY KEY (`id`))ENGINE=MyISAMDEFAULT CHARACTER SET=latin1 COLLATE=latin1_swedish_ciAUTO_INCREMENT=47CHECKSUM=0ROW_FORMAT=DYNAMICDELAY_KEY_WRITE=0; Una vez puesta la anterior procedimos a poner la siguiente: 
    INSERT INTO `surprisebox` (`openorclose`,`box1`,`box2`,`box3`,`box4`,`box5`,`date`,`hour`) VALUES (1, ITEM_ID_1, ITEM_ID_2, ITEM_ID_3, ITEM_ID_4, ITEM_ID_5, '<date>', '<hour>'); Donde dice Item_ID_X hay ponemos la id del item que queramos que de.
     
    Aora ponemos esta quest:
    quest thsgiftdev begin state start begin when login begin cmdchat("zetsugfsys "..q.getcurrentquestindex()) end function giverandomitem() local random_nr = number(1,5) chat("I: The box it's opening...") -- Opening if random_nr==1 then pc.give_item2(tonumber(mysql_query('SELECT box1 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box1[1])) elseif random_nr==2 then pc.give_item2(tonumber(mysql_query('SELECT box2 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box2[1])) elseif random_nr==3 then pc.give_item2(tonumber(mysql_query('SELECT box3 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box3[1])) elseif random_nr==4 then pc.give_item2(tonumber(mysql_query('SELECT box4 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box4[1])) elseif random_nr==5 then pc.give_item2(tonumber(mysql_query('SELECT box5 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box5[1])) end pc.setqf("giftsystemuse", get_time()+60*60*12) -- 12 HRS  cmdchat("giftsyshide") end when button or info begin if pc.getqf("giftsystemuse") <= get_time() then thsgiftdev.giverandomitem() -- yeah..function -_- don't try to bind that condition with this.. else chat("W: You have no gift. Try after 12 hours...") -- Played end end endend Ahora vamos a la instalacion del cliente.
     
    Abrimos el game.py (root), y buscamos: self.playerGauge = None
     
    a continuación pegamos esto:
    self.GiftBox = ui.Button()self.GiftBox.SetUpVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetOverVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetDownVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetText(" ")self.GiftBox.SetToolTipText("Open the box!")self.GiftBox.SetPosition(10, int(wndMgr.GetScreenHeight())-126)self.GiftBox.SetEvent(self.ZetsuGiftSystem__deff__)self.GiftBox.Show() Buscamos: def OnUpdate(self):
     
    a continuación pegamos esto:
    ## Z ############################################################################# if app.IsPressed(app.DIK_P) and app.IsPressed(app.DIK_LSHIFT): if self.GiftBox.IsShow(): self.GiftBox.Hide() else: self.GiftBox.Show() ## Z ############################################################################# Tiene que quedar algo asi:
     

     
    Ahora buscaos: def __ServerCommand_Build(self):
     
    Y agregamos:
    ## Begin LuckyBoxes system "zetsugfsys" : self.ZetsuGiftSystem__init__, "giftsysshow" : self.ZetsuGiftSystem__show__, "giftsyshide" : self.ZetsuGiftSystem__hide__, ## End LuckyBoxes Y a final del archivo pegamos esto:
    ## Begin LuckyBoxes system def ZetsuGiftSystem__init__(self, index): constInfo.GIFTSYS = index # if doesn't work replace with: constInfo.GIFTSYS = int(index) # But it's impossible... def ZetsuGiftSystem__deff__(self): import event event.QuestButtonClick(int(constInfo.GIFTSYS)) ## End LuckyBoxes # Warning!! Let the last row empty!! ## def ZetsuGiftSystem__show__(self): self.GiftBox.Show() def ZetsuGiftSystem__hide__(self): self.GiftBox.Hide()  Ahora guardamos el game.py y abrimos el costinfo.py
    Justo al principio del archivo pegamos esto: GIFTSYS = 1
     
    Esto seria todo, falta añadir el boton.
     

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    Lo pegan en (Etc.epk/eix)D:/ymir work/ui
     
    Y listo
     
     
    Fuente: Metin2Dev
    Creditos: Zetsu
  16. Me Gusta
    Happy got a reaction from manuel jose queiros in [Sistema]GiftBox   
    Hoy os voy a mostrar un sistema que subieron ayer en metin2dev, este sistema consiste en que cada x horas te daran un regalo. [Los items que se dan se pueden editar]
     
    Imagen del sistema: 
     

     
     
     
    Primero de todo es poner esta query: 
    CREATE TABLE `surprisebox` (`id` int(5) NOT NULL AUTO_INCREMENT ,`openorclose` int(5) NOT NULL ,`box1` int(8) NULL DEFAULT NULL ,`box2` int(8) NULL DEFAULT NULL ,`box3` int(8) NULL DEFAULT NULL ,`box4` int(8) NULL DEFAULT NULL ,`box5` int(8) NULL DEFAULT NULL ,`date` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,`hour` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,PRIMARY KEY (`id`))ENGINE=MyISAMDEFAULT CHARACTER SET=latin1 COLLATE=latin1_swedish_ciAUTO_INCREMENT=47CHECKSUM=0ROW_FORMAT=DYNAMICDELAY_KEY_WRITE=0; Una vez puesta la anterior procedimos a poner la siguiente: 
    INSERT INTO `surprisebox` (`openorclose`,`box1`,`box2`,`box3`,`box4`,`box5`,`date`,`hour`) VALUES (1, ITEM_ID_1, ITEM_ID_2, ITEM_ID_3, ITEM_ID_4, ITEM_ID_5, '<date>', '<hour>'); Donde dice Item_ID_X hay ponemos la id del item que queramos que de.
     
    Aora ponemos esta quest:
    quest thsgiftdev begin state start begin when login begin cmdchat("zetsugfsys "..q.getcurrentquestindex()) end function giverandomitem() local random_nr = number(1,5) chat("I: The box it's opening...") -- Opening if random_nr==1 then pc.give_item2(tonumber(mysql_query('SELECT box1 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box1[1])) elseif random_nr==2 then pc.give_item2(tonumber(mysql_query('SELECT box2 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box2[1])) elseif random_nr==3 then pc.give_item2(tonumber(mysql_query('SELECT box3 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box3[1])) elseif random_nr==4 then pc.give_item2(tonumber(mysql_query('SELECT box4 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box4[1])) elseif random_nr==5 then pc.give_item2(tonumber(mysql_query('SELECT box5 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box5[1])) end pc.setqf("giftsystemuse", get_time()+60*60*12) -- 12 HRS  cmdchat("giftsyshide") end when button or info begin if pc.getqf("giftsystemuse") <= get_time() then thsgiftdev.giverandomitem() -- yeah..function -_- don't try to bind that condition with this.. else chat("W: You have no gift. Try after 12 hours...") -- Played end end endend Ahora vamos a la instalacion del cliente.
     
    Abrimos el game.py (root), y buscamos: self.playerGauge = None
     
    a continuación pegamos esto:
    self.GiftBox = ui.Button()self.GiftBox.SetUpVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetOverVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetDownVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetText(" ")self.GiftBox.SetToolTipText("Open the box!")self.GiftBox.SetPosition(10, int(wndMgr.GetScreenHeight())-126)self.GiftBox.SetEvent(self.ZetsuGiftSystem__deff__)self.GiftBox.Show() Buscamos: def OnUpdate(self):
     
    a continuación pegamos esto:
    ## Z ############################################################################# if app.IsPressed(app.DIK_P) and app.IsPressed(app.DIK_LSHIFT): if self.GiftBox.IsShow(): self.GiftBox.Hide() else: self.GiftBox.Show() ## Z ############################################################################# Tiene que quedar algo asi:
     

     
    Ahora buscaos: def __ServerCommand_Build(self):
     
    Y agregamos:
    ## Begin LuckyBoxes system "zetsugfsys" : self.ZetsuGiftSystem__init__, "giftsysshow" : self.ZetsuGiftSystem__show__, "giftsyshide" : self.ZetsuGiftSystem__hide__, ## End LuckyBoxes Y a final del archivo pegamos esto:
    ## Begin LuckyBoxes system def ZetsuGiftSystem__init__(self, index): constInfo.GIFTSYS = index # if doesn't work replace with: constInfo.GIFTSYS = int(index) # But it's impossible... def ZetsuGiftSystem__deff__(self): import event event.QuestButtonClick(int(constInfo.GIFTSYS)) ## End LuckyBoxes # Warning!! Let the last row empty!! ## def ZetsuGiftSystem__show__(self): self.GiftBox.Show() def ZetsuGiftSystem__hide__(self): self.GiftBox.Hide()  Ahora guardamos el game.py y abrimos el costinfo.py
    Justo al principio del archivo pegamos esto: GIFTSYS = 1
     
    Esto seria todo, falta añadir el boton.
     

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    Lo pegan en (Etc.epk/eix)D:/ymir work/ui
     
    Y listo
     
     
    Fuente: Metin2Dev
    Creditos: Zetsu
  17. Me Gusta
    Happy got a reaction from Eduardo Rodríguez in [Quest]Ox automatico   
    Código traducido y con tabs: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación. Creditos: HaverBeen [EPVP]PD: Si no tienen este código: printañadirlo en quest_functions

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
  18. Me Gusta
    Happy got a reaction from andercitox in [Quest]Cofres   
    No pongo el código en el foro porque no me deja con tabuladores.
     
    código: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    PD: Si ven algún error díganmelo.

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
  19. Me Gusta
    Happy got a reaction from clocki in [Quest]Ox automatico   
    Código traducido y con tabs: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación. Creditos: HaverBeen [EPVP]PD: Si no tienen este código: printañadirlo en quest_functions

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
  20. Me Gusta
    Happy got a reaction from Andres Vaquero in [Quest]Premium users   
    Hace 2 quests, la primera para activar la quest: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    (a partir de esto podeis hacer que reciban bonus especiales, yo eh echo una tienda premium)
     
    Tienda para premium users: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    Espero que les guste
  21. Me Gusta
    Happy got a reaction from Break in [Quest]Ox automatico   
    Código traducido y con tabs: 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación. Creditos: HaverBeen [EPVP]PD: Si no tienen este código: printañadirlo en quest_functions

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
  22. Me Gusta
    Happy got a reaction from Francisco Román Some in [Sistema]GiftBox   
    Hoy os voy a mostrar un sistema que subieron ayer en metin2dev, este sistema consiste en que cada x horas te daran un regalo. [Los items que se dan se pueden editar]
     
    Imagen del sistema: 
     

     
     
     
    Primero de todo es poner esta query: 
    CREATE TABLE `surprisebox` (`id` int(5) NOT NULL AUTO_INCREMENT ,`openorclose` int(5) NOT NULL ,`box1` int(8) NULL DEFAULT NULL ,`box2` int(8) NULL DEFAULT NULL ,`box3` int(8) NULL DEFAULT NULL ,`box4` int(8) NULL DEFAULT NULL ,`box5` int(8) NULL DEFAULT NULL ,`date` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,`hour` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,PRIMARY KEY (`id`))ENGINE=MyISAMDEFAULT CHARACTER SET=latin1 COLLATE=latin1_swedish_ciAUTO_INCREMENT=47CHECKSUM=0ROW_FORMAT=DYNAMICDELAY_KEY_WRITE=0; Una vez puesta la anterior procedimos a poner la siguiente: 
    INSERT INTO `surprisebox` (`openorclose`,`box1`,`box2`,`box3`,`box4`,`box5`,`date`,`hour`) VALUES (1, ITEM_ID_1, ITEM_ID_2, ITEM_ID_3, ITEM_ID_4, ITEM_ID_5, '<date>', '<hour>'); Donde dice Item_ID_X hay ponemos la id del item que queramos que de.
     
    Aora ponemos esta quest:
    quest thsgiftdev begin state start begin when login begin cmdchat("zetsugfsys "..q.getcurrentquestindex()) end function giverandomitem() local random_nr = number(1,5) chat("I: The box it's opening...") -- Opening if random_nr==1 then pc.give_item2(tonumber(mysql_query('SELECT box1 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box1[1])) elseif random_nr==2 then pc.give_item2(tonumber(mysql_query('SELECT box2 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box2[1])) elseif random_nr==3 then pc.give_item2(tonumber(mysql_query('SELECT box3 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box3[1])) elseif random_nr==4 then pc.give_item2(tonumber(mysql_query('SELECT box4 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box4[1])) elseif random_nr==5 then pc.give_item2(tonumber(mysql_query('SELECT box5 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box5[1])) end pc.setqf("giftsystemuse", get_time()+60*60*12) -- 12 HRS  cmdchat("giftsyshide") end when button or info begin if pc.getqf("giftsystemuse") <= get_time() then thsgiftdev.giverandomitem() -- yeah..function -_- don't try to bind that condition with this.. else chat("W: You have no gift. Try after 12 hours...") -- Played end end endend Ahora vamos a la instalacion del cliente.
     
    Abrimos el game.py (root), y buscamos: self.playerGauge = None
     
    a continuación pegamos esto:
    self.GiftBox = ui.Button()self.GiftBox.SetUpVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetOverVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetDownVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetText(" ")self.GiftBox.SetToolTipText("Open the box!")self.GiftBox.SetPosition(10, int(wndMgr.GetScreenHeight())-126)self.GiftBox.SetEvent(self.ZetsuGiftSystem__deff__)self.GiftBox.Show() Buscamos: def OnUpdate(self):
     
    a continuación pegamos esto:
    ## Z ############################################################################# if app.IsPressed(app.DIK_P) and app.IsPressed(app.DIK_LSHIFT): if self.GiftBox.IsShow(): self.GiftBox.Hide() else: self.GiftBox.Show() ## Z ############################################################################# Tiene que quedar algo asi:
     

     
    Ahora buscaos: def __ServerCommand_Build(self):
     
    Y agregamos:
    ## Begin LuckyBoxes system "zetsugfsys" : self.ZetsuGiftSystem__init__, "giftsysshow" : self.ZetsuGiftSystem__show__, "giftsyshide" : self.ZetsuGiftSystem__hide__, ## End LuckyBoxes Y a final del archivo pegamos esto:
    ## Begin LuckyBoxes system def ZetsuGiftSystem__init__(self, index): constInfo.GIFTSYS = index # if doesn't work replace with: constInfo.GIFTSYS = int(index) # But it's impossible... def ZetsuGiftSystem__deff__(self): import event event.QuestButtonClick(int(constInfo.GIFTSYS)) ## End LuckyBoxes # Warning!! Let the last row empty!! ## def ZetsuGiftSystem__show__(self): self.GiftBox.Show() def ZetsuGiftSystem__hide__(self): self.GiftBox.Hide()  Ahora guardamos el game.py y abrimos el costinfo.py
    Justo al principio del archivo pegamos esto: GIFTSYS = 1
     
    Esto seria todo, falta añadir el boton.
     

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    Lo pegan en (Etc.epk/eix)D:/ymir work/ui
     
    Y listo
     
     
    Fuente: Metin2Dev
    Creditos: Zetsu
  23. Me Gusta
    Happy got a reaction from carlos eduardo marval mello in [Sistema]GiftBox   
    Hoy os voy a mostrar un sistema que subieron ayer en metin2dev, este sistema consiste en que cada x horas te daran un regalo. [Los items que se dan se pueden editar]
     
    Imagen del sistema: 
     

     
     
     
    Primero de todo es poner esta query: 
    CREATE TABLE `surprisebox` (`id` int(5) NOT NULL AUTO_INCREMENT ,`openorclose` int(5) NOT NULL ,`box1` int(8) NULL DEFAULT NULL ,`box2` int(8) NULL DEFAULT NULL ,`box3` int(8) NULL DEFAULT NULL ,`box4` int(8) NULL DEFAULT NULL ,`box5` int(8) NULL DEFAULT NULL ,`date` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,`hour` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,PRIMARY KEY (`id`))ENGINE=MyISAMDEFAULT CHARACTER SET=latin1 COLLATE=latin1_swedish_ciAUTO_INCREMENT=47CHECKSUM=0ROW_FORMAT=DYNAMICDELAY_KEY_WRITE=0; Una vez puesta la anterior procedimos a poner la siguiente: 
    INSERT INTO `surprisebox` (`openorclose`,`box1`,`box2`,`box3`,`box4`,`box5`,`date`,`hour`) VALUES (1, ITEM_ID_1, ITEM_ID_2, ITEM_ID_3, ITEM_ID_4, ITEM_ID_5, '<date>', '<hour>'); Donde dice Item_ID_X hay ponemos la id del item que queramos que de.
     
    Aora ponemos esta quest:
    quest thsgiftdev begin state start begin when login begin cmdchat("zetsugfsys "..q.getcurrentquestindex()) end function giverandomitem() local random_nr = number(1,5) chat("I: The box it's opening...") -- Opening if random_nr==1 then pc.give_item2(tonumber(mysql_query('SELECT box1 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box1[1])) elseif random_nr==2 then pc.give_item2(tonumber(mysql_query('SELECT box2 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box2[1])) elseif random_nr==3 then pc.give_item2(tonumber(mysql_query('SELECT box3 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box3[1])) elseif random_nr==4 then pc.give_item2(tonumber(mysql_query('SELECT box4 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box4[1])) elseif random_nr==5 then pc.give_item2(tonumber(mysql_query('SELECT box5 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box5[1])) end pc.setqf("giftsystemuse", get_time()+60*60*12) -- 12 HRS  cmdchat("giftsyshide") end when button or info begin if pc.getqf("giftsystemuse") <= get_time() then thsgiftdev.giverandomitem() -- yeah..function -_- don't try to bind that condition with this.. else chat("W: You have no gift. Try after 12 hours...") -- Played end end endend Ahora vamos a la instalacion del cliente.
     
    Abrimos el game.py (root), y buscamos: self.playerGauge = None
     
    a continuación pegamos esto:
    self.GiftBox = ui.Button()self.GiftBox.SetUpVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetOverVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetDownVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetText(" ")self.GiftBox.SetToolTipText("Open the box!")self.GiftBox.SetPosition(10, int(wndMgr.GetScreenHeight())-126)self.GiftBox.SetEvent(self.ZetsuGiftSystem__deff__)self.GiftBox.Show() Buscamos: def OnUpdate(self):
     
    a continuación pegamos esto:
    ## Z ############################################################################# if app.IsPressed(app.DIK_P) and app.IsPressed(app.DIK_LSHIFT): if self.GiftBox.IsShow(): self.GiftBox.Hide() else: self.GiftBox.Show() ## Z ############################################################################# Tiene que quedar algo asi:
     

     
    Ahora buscaos: def __ServerCommand_Build(self):
     
    Y agregamos:
    ## Begin LuckyBoxes system "zetsugfsys" : self.ZetsuGiftSystem__init__, "giftsysshow" : self.ZetsuGiftSystem__show__, "giftsyshide" : self.ZetsuGiftSystem__hide__, ## End LuckyBoxes Y a final del archivo pegamos esto:
    ## Begin LuckyBoxes system def ZetsuGiftSystem__init__(self, index): constInfo.GIFTSYS = index # if doesn't work replace with: constInfo.GIFTSYS = int(index) # But it's impossible... def ZetsuGiftSystem__deff__(self): import event event.QuestButtonClick(int(constInfo.GIFTSYS)) ## End LuckyBoxes # Warning!! Let the last row empty!! ## def ZetsuGiftSystem__show__(self): self.GiftBox.Show() def ZetsuGiftSystem__hide__(self): self.GiftBox.Hide()  Ahora guardamos el game.py y abrimos el costinfo.py
    Justo al principio del archivo pegamos esto: GIFTSYS = 1
     
    Esto seria todo, falta añadir el boton.
     

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    Lo pegan en (Etc.epk/eix)D:/ymir work/ui
     
    Y listo
     
     
    Fuente: Metin2Dev
    Creditos: Zetsu
  24. Me Gusta
    Happy got a reaction from Borus Beras in [Taller] ¡Todo tipo de imágenes!   
    Firma
    Colores: Pon los que tu veas que queden bien
    Texto: Happy
    Imagen: Si puedes poner esta mejor : 
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
     
    Avatar
    Lo de el avatar hazlo como quieras xD
    Saludos y gracias
  25. Me Gusta
    Happy got a reaction from Ondra Souček in [Sistema]GiftBox   
    Hoy os voy a mostrar un sistema que subieron ayer en metin2dev, este sistema consiste en que cada x horas te daran un regalo. [Los items que se dan se pueden editar]
     
    Imagen del sistema: 
     

     
     
     
    Primero de todo es poner esta query: 
    CREATE TABLE `surprisebox` (`id` int(5) NOT NULL AUTO_INCREMENT ,`openorclose` int(5) NOT NULL ,`box1` int(8) NULL DEFAULT NULL ,`box2` int(8) NULL DEFAULT NULL ,`box3` int(8) NULL DEFAULT NULL ,`box4` int(8) NULL DEFAULT NULL ,`box5` int(8) NULL DEFAULT NULL ,`date` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,`hour` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,PRIMARY KEY (`id`))ENGINE=MyISAMDEFAULT CHARACTER SET=latin1 COLLATE=latin1_swedish_ciAUTO_INCREMENT=47CHECKSUM=0ROW_FORMAT=DYNAMICDELAY_KEY_WRITE=0; Una vez puesta la anterior procedimos a poner la siguiente: 
    INSERT INTO `surprisebox` (`openorclose`,`box1`,`box2`,`box3`,`box4`,`box5`,`date`,`hour`) VALUES (1, ITEM_ID_1, ITEM_ID_2, ITEM_ID_3, ITEM_ID_4, ITEM_ID_5, '<date>', '<hour>'); Donde dice Item_ID_X hay ponemos la id del item que queramos que de.
     
    Aora ponemos esta quest:
    quest thsgiftdev begin state start begin when login begin cmdchat("zetsugfsys "..q.getcurrentquestindex()) end function giverandomitem() local random_nr = number(1,5) chat("I: The box it's opening...") -- Opening if random_nr==1 then pc.give_item2(tonumber(mysql_query('SELECT box1 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box1[1])) elseif random_nr==2 then pc.give_item2(tonumber(mysql_query('SELECT box2 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box2[1])) elseif random_nr==3 then pc.give_item2(tonumber(mysql_query('SELECT box3 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box3[1])) elseif random_nr==4 then pc.give_item2(tonumber(mysql_query('SELECT box4 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box4[1])) elseif random_nr==5 then pc.give_item2(tonumber(mysql_query('SELECT box5 from player.surprisebox WHERE openorclose=1 LIMIT 1;').box5[1])) end pc.setqf("giftsystemuse", get_time()+60*60*12) -- 12 HRS  cmdchat("giftsyshide") end when button or info begin if pc.getqf("giftsystemuse") <= get_time() then thsgiftdev.giverandomitem() -- yeah..function -_- don't try to bind that condition with this.. else chat("W: You have no gift. Try after 12 hours...") -- Played end end endend Ahora vamos a la instalacion del cliente.
     
    Abrimos el game.py (root), y buscamos: self.playerGauge = None
     
    a continuación pegamos esto:
    self.GiftBox = ui.Button()self.GiftBox.SetUpVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetOverVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetDownVisual("d:/ymir work/ui/present.tga")self.GiftBox.SetText(" ")self.GiftBox.SetToolTipText("Open the box!")self.GiftBox.SetPosition(10, int(wndMgr.GetScreenHeight())-126)self.GiftBox.SetEvent(self.ZetsuGiftSystem__deff__)self.GiftBox.Show() Buscamos: def OnUpdate(self):
     
    a continuación pegamos esto:
    ## Z ############################################################################# if app.IsPressed(app.DIK_P) and app.IsPressed(app.DIK_LSHIFT): if self.GiftBox.IsShow(): self.GiftBox.Hide() else: self.GiftBox.Show() ## Z ############################################################################# Tiene que quedar algo asi:
     

     
    Ahora buscaos: def __ServerCommand_Build(self):
     
    Y agregamos:
    ## Begin LuckyBoxes system "zetsugfsys" : self.ZetsuGiftSystem__init__, "giftsysshow" : self.ZetsuGiftSystem__show__, "giftsyshide" : self.ZetsuGiftSystem__hide__, ## End LuckyBoxes Y a final del archivo pegamos esto:
    ## Begin LuckyBoxes system def ZetsuGiftSystem__init__(self, index): constInfo.GIFTSYS = index # if doesn't work replace with: constInfo.GIFTSYS = int(index) # But it's impossible... def ZetsuGiftSystem__deff__(self): import event event.QuestButtonClick(int(constInfo.GIFTSYS)) ## End LuckyBoxes # Warning!! Let the last row empty!! ## def ZetsuGiftSystem__show__(self): self.GiftBox.Show() def ZetsuGiftSystem__hide__(self): self.GiftBox.Hide()  Ahora guardamos el game.py y abrimos el costinfo.py
    Justo al principio del archivo pegamos esto: GIFTSYS = 1
     
    Esto seria todo, falta añadir el boton.
     

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.  
    Lo pegan en (Etc.epk/eix)D:/ymir work/ui
     
    Y listo
     
     
    Fuente: Metin2Dev
    Creditos: Zetsu
×
×
  • Crear nuevo...