Jump to content

problemas con el nuevo sistema de mascota


mrsanty

Mensajes recomendados

hola, tengo un problema que no le encuentro la falla.

instale el nuevo sistema de mascota de mascota el que las mascotas nacen por huevo, y evolucionan y leen libro.

lo instale por source files eternia2, no me tiro error en source de file ni en el cliente. 

la cosa es que cuando le ago click al huevo este no se rompe, y al darle al item  de invocar este tampoco funciona.

si pongo el comando /m xxxx de la mascota esta aparece. 

Enlace para comentar
Compartir en otros sitios

este es el syserr

Spoiler

SYSERR: Nov 19 09:08:57 :: LoadMotion: cannot find accumulation data in file 'data/monster/naoki/03.msa'
SYSERR: Nov 19 09:08:58 :: heart_idle: losing 96 seconds. (lag occured)
SYSERR: Nov 19 09:09:56 :: ChildLoop: AsyncSQL: query failed: Unknown column 'type' in 'field list' (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip) VALUES('CHARACTER', NOW(), 9, 956093, 249156, 0, 'LOGIN', '192.168.1.64 11900 1 41 59', '192.168.1.64') errno: 1054)
SYSERR: Nov 19 09:09:57 :: ChildLoop: AsyncSQL: query failed: Unknown column 'type' in 'field list' (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 1, 0, 0, 10000142, 'SET_SOCKET', '', '', 72701) errno: 1054)
SYSERR: Nov 19 09:10:21 :: RunState: LUA_ERROR: [string "energy_system"]:1: attempt to call global `getenergytime' (a nil value)
SYSERR: Nov 19 09:10:21 :: WriteRunningStateToSyserr: LUA_ERROR: quest energy_system.start click
SYSERR: Nov 19 09:10:30 :: RunState: LUA_ERROR: [string "PetSystemIncubator"]:1: attempt to index global `newpet' (a nil value)
SYSERR: Nov 19 09:10:30 :: WriteRunningStateToSyserr: LUA_ERROR: quest PetSystemIncubator.start click
SYSERR: Nov 19 09:10:31 :: RunState: LUA_ERROR: [string "PetSystemIncubator"]:1: attempt to index global `newpet' (a nil value)
SYSERR: Nov 19 09:10:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest PetSystemIncubator.start click
SYSERR: Nov 19 09:10:32 :: RunState: LUA_ERROR: [string "PetSystemIncubator"]:1: attempt to index global `newpet' (a nil value)
SYSERR: Nov 19 09:10:32 :: WriteRunningStateToSyserr: LUA_ERROR: quest PetSystemIncubator.start click
SYSERR: Nov 19 09:10:33 :: RunState: LUA_ERROR: [string "PetSystemIncubator"]:1: attempt to index global `newpet' (a nil value)
SYSERR: Nov 19 09:10:33 :: WriteRunningStateToSyserr: LUA_ERROR: quest PetSystemIncubator.start click
SYSERR: Nov 19 09:10:33 :: ChildLoop: AsyncSQL: query failed: Unknown column 'type' in 'field list' (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 1, 6, 0, 10000122, 'SET_SOCKET', '', '', 55002) errno: 1054)
SYSERR: Nov 19 09:10:34 :: ChildLoop: AsyncSQL: query failed: Unknown column 'type' in 'field list' (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 1, 7, 0, 10000122, 'SET_SOCKET', '', '', 55002) errno: 1054)
SYSERR: Nov 19 09:10:35 :: ChildLoop: AsyncSQL: query failed: Unknown column 'type' in 'field list' (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 1, 8, 0, 10000122, 'SET_SOCKET', '', '', 55002) errno: 1054)
SYSERR: Nov 19 09:10:35 :: ChildLoop: AsyncSQL: query failed: Unknown column 'type' in 'field list' (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 2, 1798, 0, 10000142, 'SET_SOCKET', '', '', 72701) errno: 1054)
SYSERR: Nov 19 09:10:36 :: ChildLoop: AsyncSQL: query failed: Unknown column 'type' in 'field list' (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 1, 9, 0, 10000122, 'SET_SOCKET', '', '', 55002) errno: 1054)
SYSERR: Nov 19 09:10:43 :: ChildLoop: AsyncSQL: query failed: Unknown column 'type' in 'field list' (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip) VALUES('CHARACTER', NOW(), 9, 956093, 249156, 0, 'LOGOUT', '192.168.1.64 11900 1 41 59', '192.168.1.64') errno: 1054)
SYSERR: Nov 19 09:10:43 :: RunState: LUA_ERROR: [string "energy_system"]:1: attempt to call global `getenergytime' (a nil value)
SYSERR: Nov 19 09:10:43 :: WriteRunningStateToSyserr: LUA_ERROR: quest energy_system.start click
SYSERR: Nov 19 09:10:43 :: ChildLoop: AsyncSQL: query failed: Unknown column 'type' in 'field list' (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 1, 52, 0, 10000142, 'SET_SOCKET', '', '', 72701) errno: 1054)
 

 

Enlace para comentar
Compartir en otros sitios

hace 8 horas, Theron dijo:

se supone que eso aparte del sistema tiene un incubador si no tienes eso no te cambia el huevo por el sello ni el sello te invoca el mob

cuando lo agregaba al source nombraba el encubado.

por ejemplo el archivo lua.

Spoiler

quest PetSystemIncubator begin
    state start begin
        when 55401.use or 55402.use or 55403.use or 55404.use begin
            newpet.EggRequest(item.get_vnum())
            cmdchat(string.format("OpenPetIncubator %d ", (item.get_vnum()-55401)))
        end
    end
end

 

Enlace para comentar
Compartir en otros sitios

hace 1 hora, mrsanty dijo:

cuando lo agregaba al source nombraba el encubado.

por ejemplo el archivo lua.

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

quest PetSystemIncubator begin
    state start begin
        when 55401.use or 55402.use or 55403.use or 55404.use begin
            newpet.EggRequest(item.get_vnum())
            cmdchat(string.format("OpenPetIncubator %d ", (item.get_vnum()-55401)))
        end
    end
end

 

de casualidad revisaste el petsystems.lua? y si las compilaste supongo. en este que te nombro esta lo que te dije antes donde linkeas el id mob con el id item

Enlace para comentar
Compartir en otros sitios

hace 5 minutos, Theron dijo:

de casualidad revisaste el petsystems.lua? y si las compilaste supongo. en este que te nombro esta lo que te dije antes donde linkeas el id mob con el id item

si, al copilar te refieres darle permiso 777 y poner el comando 

/qc nombre.lua

si lo e echo

Spoiler

quest PetSystems begin
    state start begin
        function get_pet_info(itemVnum)
            pet_info_map = {
            --  [ITEM VNUM] MOB_VNUM, DEFAULT NAME, buff_idx, spawn_effect_idx
                [55701]     = { 34041, "'s Kleiner Affe", 0},
                [55702]     = { 34045, "'s Kleine Spinne", 0},
                [55703]     = { 34049, "'s Kleiner Razador", 0},
                [55704]     = { 34053, "'s Kleiner Nemere", 0},
                
            }
            itemVnum = tonumber(itemVnum)
            return pet_info_map[itemVnum]
        end
        
        when 55701.use or 55702.use or 55703.use or 55704.use begin
            local pet_info = PetSystems.get_pet_info(item.vnum)

            if null != pet_info then

                local mobVnum = pet_info[1]
                local petName = pet_info[2]
                

                if true == newpet.is_summon(mobVnum) then                    
                    newpet.unsummon(mobVnum)
                else
                    if newpet.count_summoned() < 1 then
                        newpet.summon(mobVnum, petName, false)
                    else
                        syschat("Ya has innvocado una mascota.")
                    end                    
                end -- if pet.is_summon
            end  -- if null != pet_info
        end -- when
    end
end

 

Enlace para comentar
Compartir en otros sitios

  • Dilong locked this tema
Guest
Este tema está cerrado a otras respuestas.
  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...