mrsanty Posted November 23, 2017 Report Share Posted November 23, 2017 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. Link to comment Share on other sites More sharing options...
Dilong Posted November 23, 2017 Report Share Posted November 23, 2017 Claro que aparecera, las mascotas, monturas son simples NPC´S, el tema de invocar lo hace la quest del sistema Link to comment Share on other sites More sharing options...
mrsanty Posted November 23, 2017 Author Report Share Posted November 23, 2017 Pero al darle al huevo este no cambia a sello y al darle al sello tampoco. Y la quest está puesta Link to comment Share on other sites More sharing options...
Johan™ Posted November 23, 2017 Report Share Posted November 23, 2017 Comprueba el syser del canal :v me pasaba lo mismo y era un error de query :v Link to comment Share on other sites More sharing options...
mrsanty Posted November 24, 2017 Author Report Share Posted November 24, 2017 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) Link to comment Share on other sites More sharing options...
Theron Posted November 24, 2017 Report Share Posted November 24, 2017 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 Link to comment Share on other sites More sharing options...
Kenshi Torres Posted November 24, 2017 Report Share Posted November 24, 2017 Alguien que me pase ese nuevo sistema por huevo se lo agradeseria Link to comment Share on other sites More sharing options...
mrsanty Posted November 24, 2017 Author Report Share Posted November 24, 2017 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 Link to comment Share on other sites More sharing options...
Theron Posted November 24, 2017 Report Share Posted November 24, 2017 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 Link to comment Share on other sites More sharing options...
mrsanty Posted November 24, 2017 Author Report Share Posted November 24, 2017 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 Link to comment Share on other sites More sharing options...
mrsanty Posted November 25, 2017 Author Report Share Posted November 25, 2017 En 23/11/2017 a las 19:54, Raiser dijo: Comprueba el syser del canal :v me pasaba lo mismo y era un error de query :v hola y como lo solucionaste, sebe que me pasa lo mismo que avos Link to comment Share on other sites More sharing options...
Recommended Posts