Jump to content

SuperGamix

Miembro
  • Contador contenido

    153
  • Ingreso

  • Última visita

  • Días ganados

    4

Mensajes publicados por SuperGamix

  1. hace 4 minutos, NazoX dijo:

    Has probado a reinstalar el sistema? Quiero decir, si el q tienes no te va, aunque sea un poco tedioso re hacerlo  crearle nuevas ids y tal, (hablando tema quest buscar otra funcional de otros files y acomodar la tuya,) si es por source revisar q no Le falte nada,  y eso,  creo recordar q ese sistema estaba publicado en algún foro,  si encuentro alguna solución te la traigo, por ahora solo queda probar eso. 

    No le veo sentido 😕 en el source game los archivos mas relevantes para el pet system que consigo son: petsystem.cpp, petsystem.h y questlua_pet.cpp... y esos 3 archivos los he remplazado por unos de varios sources que en el game si que funciona... He comparado tambien el item_proto de mi servidor con los de otro servidor y no tiene falla, todo deberia estar funcionando... Pero no lo hace...

  2. hace 36 minutos, MiGueLiT0 dijo:
    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
    Ocultar contenido
    
    
    quest pet_system begin
        state start begin
            function get_pet_info(itemVnum)
                pet_info_map = {
                --  [ITEM VNUM] MOB_VNUM, DEFAULT NAME, buff_idx, spawn_effect_idx
                    [53001]     = { 34001, " - Ateþ Kuþu Ankasý ", 1},
                    [53002]     = { 34002, " - Yavru Ren Geyiði ", 1},
                    [53003]     = { 34003, " - Buz Ankasý ", 1},
                    [53005]     = { 34004, " - Yavru Azrail ", 1},
    				[53006]		= { 34009, " - Altýn Yavru Azrail ", 1},
                    [53007]     = { 34010, " - Bambi ", 1},
    				[53008]		= { 34011, " - Knuud ", 1},
    				[53009]		= { 34012, " - Bao Bao ", 1},
                    [53010]     = { 34008, " - Leonidas ", 1},
                    [53011]     = { 34007, " - Khan ", 1},
                    [53012]     = { 34005, " - Porki ", 1},
                    [53013]     = { 34006, " - Rufus ", 1},
    				[53014]     = { 34013, " - Þiþko Cellatcýk ", 1},
    				[53015]     = { 34014, " - Altýn Þiþko Cellatcýk ", 1},
    				[53016]     = { 34015, " - Boney ", 1},
    				[53017]     = { 34016, " - Yeþim Ankasý ", 1},
    				[53018]     = { 34020, " - Kar Leonidas ", 1},
    				[53019]     = { 34019, " - Arktis Khan ", 1},
    				[53022]     = { 34021, " - Sheldon ", 1},
    				[53023]     = { 34022, " - Cooper ", 1},
    				[53024]     = { 34023, " - Yavru Panter ", 1},
    				[53025]     = { 34024, " - Yavru Leopar ", 1},
    				[53222]     = { 34026, " - Balkabaðý Kafasý ", 1},
    				[53223]     = { 34027, " - Cadý Süpürgesi ", 1},
    				[53224]     = { 34028, " - Kar Tanesi ", 1},
    				[53225]     = { 34029, " - Çancýk ", 1},	
    				[53226]     = { 34030, " - Cupido ", 1},
    				[53227]     = { 34031, " - Öfkeli Kalp ", 1},
    				[53228]     = { 34032, " - Mavi Ay ", 1},
    				[53229]     = { 34033, " - Kýzýl Ay ", 1},
    				[53230]     = { 34034, " - Mavi Koç ", 1},
    				[53231]     = { 34035, " - Beyaz Kuzucuk ", 1},
    				[53232]     = { 34036, " - Yavru Huashin ", 1},
    				[53233]		= { 34100, " - Bruce ", 0},
    				[53234]		= { 34101, " - Wayne ", 0},
    				[53235]		= { 34102, " - Robin ", 0},
    				[53236]		= { 34103, " - Valentino ", 0},
    				[53237]		= { 34104, " - Valentinia ", 0},
    				[53238]		= { 34105, " - Valentino ", 0},
    				[53239]		= { 34106, " - Valentinia ", 0},
    				[53240]		= { 34107, " - Ay Feneri ", 0},
    				[53241]		= { 34108, " - Ay Feneri ", 0},
    				[53242]		= { 34111, " - Bonsa+ ", 0},
    				[53243]		= { 34111, " - Bonsa ", 0},
    				[53244]		= { 34112, " - Bayan Jiangshi ", 0},
    				[53245]		= { 34113, " - Bay Jiangshi ", 0},
    				[53246]		= { 34114, " - Genç Jiangshi ", 0},
    				[53247]		= { 34115, " - Kýrmýzý Elf ", 0},
    				[53248]		= { 34116, " - Yeþil Elf ", 0},
    				[53249]		= { 34117, " - Kýrmýzý Elf ", 0},
    				[53256]		= { 34111, " - Bonsa ", 0},
                }
    
                itemVnum = tonumber(itemVnum)
    
                return pet_info_map[itemVnum]
            end
    		function get_spawn_effect_file(idx)
    			effect_table = {
    				[0] = nil,
    				[1] = "d:\\\\ymir work\\\\effect\\\\etc\\\\appear_die\\\\monster_die.mse",
    			}
    			return effect_table [idx]
    		end
    		when 53001.use or 53002.use or 53003.use or 53015.use or 53005.use or 53006.use or 53007.use or 53008.use or 53009.use or 53010.use or 53011.use or 53012.use or 53016.use or 53014.use or 53013.use or 53017.use or 53018.use or 53019.use or 53020.use or 53021.use or 53022.use or 53023.use or 53024.use or 53025.use or 53222.use or 53223.use or 53224.use or 53225.use or 53226.use or 53227.use or 53228.use or 53229.use or 53230.use or 53231.use or 53232.use or
    			53233.use or 53234.use or 53235.use or 53236.use or 53237.use or 53238.use or 53239.use or 53240.use or 53241.use or 53242.use or 53243.use or 53244.use or 53245.use or 53246.use or 53247.use or 53248.use or 53249.use or 53250.use or 53251.use or 53256.use begin
                local pet_info = pet_system.get_pet_info(item.vnum)
    
                if null != pet_info then
    
                    local mobVnum = pet_info[1]
                    local petName = pet_info[2]
    				local spawn_effect_file_name = pet_system.get_spawn_effect_file(pet_info[3])
    
                    if true == pet.is_summon(mobVnum) then
    					if spawn_effect_file_name != nil then
    						pet.spawn_effect (mobVnum, spawn_effect_file_name)
    					end
                        pet.unsummon(mobVnum)
                    else
                        if pet.count_summoned() < 1 then
                            pet.summon(mobVnum, petName, false)
                        else
                            syschat("Evcil hayvan muhru yok")
                        end
    					if spawn_effect_file_name != nil then
    						pet.spawn_effect(mobVnum, spawn_effect_file_name)
    					end
                    end -- if pet.is_summon
                end  -- if null != pet_info
            end -- when
        end -- state
    end -- quest

     

    Prueba esta quest, puede que te sirva..

    EDIT: O también por lo que me eh fijado tu quest esta asi: 

    [53001]     = { 34001, " - Ateþ Kuþu Ankasý ", 0},

    Cambialo por: 

    [53001]     = { 34001, " - Ateþ Kuþu Ankasý ", 1},

    Espero te sirva 😉

     

    Me llené de ilusion xddd... Nop, no funcionó 😞

  3. hace 1 minuto, KnightFall dijo:

    deberías mostrar entonces tu quest

    Esta es la que estoy usando actualmente:

    quest pet_system begin
        state start begin
            function get_pet_info(itemVnum)
                pet_info_map = {
                    [53001]     = { 34001, " - Pheonix Foc ", 0},
                    [53002]     = { 34002, " - Pui de Ren ", 0},
                    [53003]     = { 34003, " - Pheonix de Gheata ", 0},
                    [53005]     = { 34004, " - Mini-Azrael ", 0},
                    [53006]     = { 34009, " - Azrael Aur ", 0},
                    [53007]     = { 34010, " - Bambi ", 0},
                    [53008]     = { 34011, " - Knuud ", 0},
                    [53009]     = { 34012, " - Bao Bao ", 0},
                    [53010]     = { 34008, " - Leu ", 0},
                    [53011]     = { 34007, " - Tigru ", 0},
                    [53012]     = { 34005, " - Porcusor ", 0},
                    [53013]     = { 34006, " - Caine ", 0},
                    [53014]     = { 34013, " - Mini-Executor ", 0},
                    [53015]     = { 34014, " - Mini-Executo(Aur) ", 0},
                    [53016]     = { 34015, " - Oase ", 0},
                    [53017]     = { 34016, " - Pheonix de Jad ", 0},
                    [53018]     = { 34020, " - Leu Arctic ", 0},
                    [53019]     = { 34019, " - Tigru Arctic ", 0},
                    [53020]     = { 34017, " - Porc Arctic ", 0},
                    [53021]     = { 34018, " - Câine Arctic ", 0},
                    [53022]     = { 34021, " - Sheldon ", 0},
                    [53023]     = { 34022, " - Cooper ", 0},
                    [53024]     = { 34023, " - Pantera ", 0},
                    [53025]     = { 34024, " - Leopard ", 0},
                }

                itemVnum = tonumber(itemVnum)

                return pet_info_map[itemVnum]
            end
            function get_spawn_effect_file(idx)
                effect_table = {
                    [0] = nil,
                    [1] = "d:\\\\ymir work\\\\effect\\\\etc\\\\buff\\\\buff_item3.mse",
                }
                return effect_table [idx]
            end
            when 53001.use or 53002.use or 53003.use or 53015.use or 53005.use or 53006.use or 53007.use or 53008.use or 53009.use or 53010.use or 53011.use or 53012.use or 53016.use or 53014.use or 53013.use or 53017.use or 53018.use or 53019.use or 53020.use or 53021.use or 53022.use or 53023.use or 53024.use or 53025.use begin
                local pet_info = pet_system.get_pet_info(item.vnum)

                if null != pet_info then

                    local mobVnum = pet_info[1]
                    local petName = pet_info[2]
                    local spawn_effect_file_name = pet_system.get_spawn_effect_file(pet_info[3])

                    if true == pet.is_summon(mobVnum) then
                        if spawn_effect_file_name != nil then
                            pet.spawn_effect (mobVnum, spawn_effect_file_name)
                        end
                        pet.unsummon(mobVnum)
                    else
                        if pet.count_summoned() < 1 then
                            pet.summon(mobVnum, petName, false)
                        else
                            syschat("Ai deja un animãluþ chemat, nu poþi chema altul. Trimite-l înapoi pe celãlalt, ºi apoi cheamã-l pe ãsta. ")
                        end
                        if spawn_effect_file_name != nil then
                            pet.spawn_effect(mobVnum, spawn_effect_file_name)
                        end
                    end -- if pet.is_summon
                end  -- if null != pet_info
            end -- when
        end -- state
    end -- quest

  4. Tengo un problema, y es que a las mascotas les da por no salir de sus sellos xd... 

    Ya he verificado los archivos de mi source, y parece todo estar bien (comparado con otro que si funciona), o claro, eso creo yo... 

    Ya he cambiado miles de veces la quest, e incluso puesto nombres diferentes (Aunque quizas no tengan nada que ver)

    Ya verifiqué las funciones, todo y nada... 

    Lo extraño es que si hago /m 34001 (id del fenix de fuego) el fenix sale, como riendose en mi cara xddd

    Pero si lo llamo del sello, no viene...

     

    ¿Alguna idea? ~Gracias de antemano

     

  5. hace 3 horas, Nicolas.Tizeira dijo:

    Y por si el que pase no lo entendes, este es mucho mas facil y esta mejor ordenado paso por paso.... no tenes ni que saber c+:

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

     

    Suerte gente.

    Ya habia hecho ambos xd Pero gracias ^^ Capaz y a alguien le sirve 


    EDITO: Lo acabo de lograr, si que funciona, si que se puede conectar por 40k :3

  6. Justo ahora, Siipe dijo:

    Exactamente ahí estoy yo, y realmente me gustaría una solución para testear  el servidor con mas gente...

    En mi base de datos y demás también se puede entrar desde otra IP

     

    x2 xd... Finalmente pude tener el sistema Gaya y entre otras cosas, mi game, db y cliente compilan sin errores, y la mayoria de cosas esta en español :'v  Mas, lamentablemente ^^ No es posible xd... Y aun no me entiendo como ahora que tenemos source y esas cosas no pueden sacar un launcher "Cara de sura" para 40k xdddd o alguna solucion xd pero bueno

    Segun algunos afirman que el bucle invertido funciona, pero yo lo probé y nada, no funciona xd asi que bueno... Si consigues algo, se agradece

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

  7.  

    # gdb712
    (gdb) set gnutarget i386-marcel-freebsd
     
    (gdb) file game
    (gdb) core game.core
    (gdb) bt full
     
    (gdb) quit
     
    Importante que tengas el gdb instalado, dependiendo la versión va el comando inicial, debes de tener en cuenta la ruta donde tengas ubicado el .core y el gamefile, sugiero hacer una carpeta a parte.

     

    Gracias por la ayuda amigo, no hizo falta, al parecer tengo un problema es con la cuenta GM que usaba, porque hice otra y todo va correctamente.... No se porque, pero solo es un problema de la cuenta ADMIN principal, pero ya me he hecho otra y todo va OK.

     

    Gracias por la ayuda.

  8. Tengo una duda, estoy practicando, y estoy intento hacer un "Sistema" el cual sea por source que envie un anuncio cada vez que se mejore X item anotado en un TXT (Como un sistema de mejora de armas legendarias)

    Al caso: Tengo algo hecho, no es nada profesional, ni nada serio, quiero aprender.

    Pero me gustaria saber si hay una forma de hacer que el source game compile mas rapido, o como hacen los desarrolladores? (Uso gmake)

    Gracias.

  9. sysser?

    El sysser del ch1 como dije, solo me arroja que faltan grupos de mobs... Pero en el Syslog (Ni idea que es) me arroja esto

     

    SYSERR: Mar  4 15:18:27 :: ForAttrRegion: Cannot find SECTREE_MAP by map index 41

    SYSERR: Mar  4 15:18:27 :: ForAttrRegion: Cannot find SECTREE_MAP by map index 41

    Mar  4 15:18:27 :: <shutdown> Flushing TrafficProfiler...

    Mar  4 15:18:27 :: <shutdown> Canceling ReloadSpamEvent...

    Mar  4 15:18:27 :: <shutdown> regen_free()...

    Mar  4 15:18:27 :: <shutdown> Closing sockets...

    Mar  4 15:18:27 :: <shutdown> fdwatch_delete()...

    Mar  4 15:18:27 :: <shutdown> event_destroy()...

    Mar  4 15:18:27 :: <shutdown> CTextFileLoader::DestroySystem()...

    Mar  4 15:18:27 :: <shutdown> thecore_destroy()...

    SYSERR: Mar  4 15:18:27 :: pid_deinit:

    End of pid

     

     

     

    Y en el sysser de la DB:

     

    SYSERR: Mar  4 12:24:24 :: Start: TABLE_POSTFIX not configured use default

    SYSERR: Mar  4 12:46:19 :: Process: FDWATCH: peer null in event: ident 21

    SYSERR: Mar  4 12:55:31 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.

    SYSERR: Mar  4 12:55:32 :: pid_deinit:

    End of pid

     

    SYSERR: Mar  4 12:56:52 :: pid_init:

    Start of pid: 869

     

    SYSERR: Mar  4 12:56:52 :: Start: TABLE_POSTFIX not configured use default

    SYSERR: Mar  4 14:49:20 :: Process: FDWATCH: peer null in event: ident 21

    SYSERR: Mar  4 14:59:09 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.

    SYSERR: Mar  4 14:59:12 :: pid_deinit:

    End of pid

     

    SYSERR: Mar  4 15:00:42 :: pid_init:

    Start of pid: 869

     

    SYSERR: Mar  4 15:00:42 :: Start: TABLE_POSTFIX not configured use default

    SYSERR: Mar  4 15:05:43 :: Process: FDWATCH: peer null in event: ident 21

    SYSERR: Mar  4 15:17:09 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.

    SYSERR: Mar  4 15:17:10 :: pid_deinit:

    End of pid

     

    SYSERR: Mar  4 15:18:18 :: pid_init:

    Start of pid: 869

     

    SYSERR: Mar  4 15:18:18 :: Start: TABLE_POSTFIX not configured use default

    SYSERR: Mar  4 15:18:27 :: Process: FDWATCH: peer null in event: ident 21

    SYSERR: Mar  4 15:18:29 :: Process: FDWATCH: peer null in event: ident 22

    SYSERR: Mar  4 15:18:29 :: Process: FDWATCH: peer null in event: ident 23

     

     

     

×
×
  • Crear nuevo...