Jump to content

renssis

Miembro
  • Contador contenido

    38
  • Ingreso

  • Última visita

Mensajes publicados por renssis

  1. I use a balloon in my server forum, and I find it very interesting to use it here.
     

    Example:

    JBq4S8i.png

    My css:
     

    .css-1j77ejl {
        box-shadow: rgba(217, 115, 115, 0.3) 0px 3px 5px -1px, rgba(217, 115, 115, 0.14) 0px 6px 10px 0px, rgba(217, 115, 115, 0.12) 0px 1px 18px 0px !important;
        background-color: rgb(219, 60, 60) !important;
    }

    Ps: "!important;" is necessary

    Code "metin2zone"
     

    <script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
      new Crate({
        server: '560551745470857216',
        channel: '560614452861337620',
        shard: 'https://disweb.dashflo.net'
      })
    </script>


    Tutorial example: 

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.


    Done.

     

  2. hace 11 minutos, Dilong dijo:

    Todos los servers son programados xd

    El tema es que mas de uno se descargan o compran cualquier serverfile >> pagan un vps y host de 5 o 10€ >> listo server instantaneo en linea

    De esos que ante cualquer problema terminan cerrando obviamente

    Entiendo que muchos servidores son así.
    Puede intentarlo porque hay excelentes servidores que realmente lo hacen por amor.
    Metin2 ha cambiado mi vida, así que no lo hago por dinero.
    Estoy creando un servidor "ideal" durante 10 largos años.
    Reto a cualquiera a no amar lo que he estado haciedo.
    Porque todo lo que estoy haciendo es con amor. Exactamente todo.

  3. hace 22 horas, caanmasu dijo:
    
    Try:
    
    INSERT INTO save_item_copy1
    SELECT * FROM player.save_item WHERE id = id_item;
    
    
    mysql_direct_query("INSERT INTO save_item_copy1 SELECT * FROM player.save_item WHERE id = "..item.get_id()..";")

    Source: 

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.

    Not work =/

    		when 9005.take begin
    			----"111111222222333333444444555555666666777777888888999999000000"
    			say_title("bla bla bla")
    			say("")
    			local store=select("Save item", "Exit")
    			if store==2 then
    			return
    			end
    			mysql_direct_query("INSERT INTO save_item_copy1 SELECT * FROM player.save_item WHERE id = "..item.get_id()..";")
    			item.remove()
    			setskin(NOWINDO)
    		end

     

  4. Copie un elemento a otra tabla.
    Ejemplo: mi copia de búsqueda lleva el elemento a otra tabla

     

    when 9005.take begin
                ----"111111222222333333444444555555666666777777888888999999000000"
                say_title("bla bla bla")
                say("")
                local store=select("Save item", "Exit")
                if store==2 then
                return
                end
                mysql_direct_query("select * from player.save_item;")
                mysql_direct_query("INSERT INTO `save_item` (`id`,  `owner_id`,  `window`,  `pos`,  `count`,  `vnum`,  `socket0`,  `socket1`,  `socket2`,  `socket3`,  `socket4`,  `socket5`,  `attrtype0`,  `attrvalue0`,  `attrtype1`,  `attrvalue1`,  `attrtype2`,  `attrvalue2`,  `attrtype3`,  `attrvalue3`,  `attrtype4`,  `attrvalue4`,  `attrtype5`,  `attrvalue5`,  `attrtype6`,  `attrvalue6`) VALUES ('"..pc.get_player_id().."');")
                item.remove()
                setskin(NOWINDO)
            end

    quest 2

    		when 9005.take with item.get_id() begin
    			code = item_attr.set_value()
    			codu = item.get_vnum()
    			----"111111222222333333444444555555666666777777888888999999000000"
    			say_title("bla bla bla")
    			say("")
    			local store=select("Save item", "Exit")
    			if store==2 then
    			return
    			end
    			local code, codu = mysql_direct_query("INSERT INTO save_item_copy1 (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2, socket3, socket4, socket5, attrtype0, attrvalue0, attrtype1, attrvalue1, attrtype2, attrvalue2, attrtype3, attrvalue3, attrtype4, attrvalue4, attrtype5, attrvalue5, attrtype6, attrvalue6) SELECT id, owner_id, window, pos, count, vnum, socket0, socket1, socket2, socket3, socket4, socket5, attrtype0, attrvalue0, attrtype1, attrvalue1, attrtype2, attrvalue2, attrtype3, attrvalue3, attrtype4, attrvalue4, attrtype5, attrvalue5, attrtype6, attrvalue6 FROM save_item WHERE id LIMIT 1)
    			item.remove()
    			setskin(NOWINDO)
    		end

    ¿Tienes alguna sugerencia?

  5. el sysser:

     

    SYSERR: Sep 29 09:55:12 :: pid_init: 
    Start of pid: 2025

    SYSERR: Sep 29 09:55:33 :: ReadVnumMapper: dragon_soul_table.txt need VnumMapper.
    SYSERR: Sep 29 09:55:33 :: Boot: cannot load DragonSoulTable: locale/germany/dragon_soul_table.txt
    SYSERR: Sep 29 10:00:33 :: Analyze: login phase does not handle this packet! header 56
     

  6. En 21/8/2018 a las 20:35, Dilong dijo:
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
    Revelar contenido oculto
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
    Revelar contenido oculto

    Esto comprueba la id de la cuenta no el login, para que no te confundas

    No funcionó intentado de todos modos.

  7. hace 5 horas, Dilong dijo:

    Seria bueno si explicaras para que necesitas eso, así la gente se hace una idea, por que viendo la quest que has puesto se podría utilizar fácilmente un setqf y getqf en lugar de MySQL

    muy bien. necesito que el pl sólo participe en eventos si en la columna ok está el numero 1 si tiene el numero 0 no puede participar.

  8. hace 23 minutos, Jfirewall dijo:
    
    local c,query = mysql_direct_query("SELECT * FROM account.account WHERE id = '"..pc.get_account_id().."' LIMIT 1;")
    			if query[1].ok  < 1 then
    				say'existe un valor menor a 1'
    			else
    				say'existe un valor de 1'

     

    No =/

     

            when info or button begin 
    			say("blablabla")
    			local f = select("bla si","bla no")
    			if f == 1 then
    				local c,query = mysql_direct_query("SELECT * FROM account.account WHERE id = '"..pc.get_account_id().."' LIMIT 1;")
    				if query[1].ok < 1 then
    					say'existe un valor menor a 1'
    				else
    					say'existe un valor de 1'
    				end
    			end
    			if f == 2 then
    			return
    			end
            end 

     

  9. ¡Gracias por la respuesta!

    ¿No funcionó, podría de un vistazo?

     

            when info or button begin 
    			say("Para participar en el evento necesito saber si esta OK")
    			say("")
    			local f = select("Estoy bien","No estoy")
    			if f == 1 then
    			local_tabla = mysql_query("SELECT ok FROM account.account")
    			if local_tabla .ok[1] < 1 then
    			say("existe un valor menor a 1")
    			else
    			say("existe un valor de 1")
    			end
    			end
    			if f == 2 then
    			return
    			end
            end 

     

×
×
  • Crear nuevo...