antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
SouTOP

Problema Com Quest ( Alguns Pets )

Question

Olá,Estou com um problema nesta quest ... ivoca todos os pets ate ao 53013, mas chego ao jogo e nao invoca a partir do executor para cima .Alguem ajuda? Dou :+1:Quest: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, "'s Feuer Phoenix", 0},   [53002] = { 34002, "'s Baby Reindeer", 0},   [53003] = { 34003, "'s Eis Phoenix", 0},   [53004] = { 34001, "'s Feuer Phoenix", 0},   [53005] = { 34004, "'s Baby Gahnasel", 1},   [53006] = { 34009, "'s Golden Gahnasel", 1},   [53007] = { 34010, "'s Bambi", 0},   [53008] = { 34011, "'s Knuud", 0},   [53009] = { 34012, "'s Bao Bao", 0},   [53010] = { 34008, "'s Leonidas", 0},   [53011] = { 34007, "'s Khan", 0},   [53012] = { 34005, "´s Porky", 0},   [53013] = { 34006, "´s Rufus", 0},        [53014] = { 34013, "'s Mini-Executor", 0},        [53015] = { 34014, "'s Gold-Executor", 0},        [53016] = { 34015, "'s Boney", 0},        [53017] = { 34016, "'s Jade Phoenix", 0},   }   itemVnum = tonumber(itemVnum)   return pet_info_map[itemVnum]   end    function get_spawn_effect_file(idx)      effect_table = {        [0] = nil,        [1] = "d:ymir workeffectetcappear_dienpc2_appear.mse",      }      return effect_table [idx]    end   when 53001.use or       53002.use or       53003.use or       53004.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       53013.use or       53014.use or       53015.use or       53016.use or       53017.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("You already summoned a pet.")   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 -- stateend -- questObrigado :p

Share this post


Link to post
Share on other sites

14 answers to this question

antiblock
Rodnia | Alpha & Omega
  • 0

Eles estão implementados no cliente/server?

Sim, qd faço /m eles aparecem .. com nomes esquisitos mas aparecem xD

Share this post


Link to post
Share on other sites
  • 0

BUMP

Share this post


Link to post
Share on other sites
  • 0
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, "'s Feuer Phoenix", 0},                [53002]     = { 34002, "'s Baby Reindeer", 0},                [53003]     = { 34003, "'s Eis Phoenix", 0},                [53004]     = { 34001, "'s Feuer Phoenix", 0},                [53005]     = { 34004, "'s Baby Gahnasel", 1},                [53006]     = { 34009, "'s Golden Gahnasel", 1},                [53007]     = { 34010, "'s Bambi", 0},                [53008]     = { 34011, "'s Knuud", 0},                [53009]     = { 34012, "'s Bao Bao", 0},                [53010]     = { 34008, "'s Leonidas", 0},                [53011]     = { 34007, "'s Khan", 0},                [53012]     = { 34005, "´s Porky", 0},                [53013]     = { 34006, "´s Rufus", 0},                [53014]     = { 34013, "'s Mini-Executor", 0},                [53015]     = { 34014, "'s Gold-Executor", 0},                [53016]     = { 34015, "'s Boney", 0},                [53017]     = { 34016, "'s Jade Phoenix", 0},                [ID 01]     = { ID 02, "'s Executador", 0},                [ID 01]     = { ID 02, "'s Boney", 0},            }            itemVnum = tonumber(itemVnum)            return pet_info_map[itemVnum]        end        function get_spawn_effect_file(idx)            effect_table = {                [0] = nil,                [1] = "d:ymir workeffectetcappear_dienpc2_appear.mse",            }            return effect_table [idx]        end        when 53001.use or             53002.use or             53003.use or             53004.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             53013.use or             53014.use or             53015.use or             53016.use or             53017.use or             ID 01.use or             ID 01.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("You already summoned a pet.")                    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 -- stateend -- quest

no [ID 01] metes o ID dos itens.

no [ID 02] metes o ID dos moobs.

 

 

Exprimenta.

 

 

E btw, BUMP's são feitos de 24 em 24h, BUMP's antes disso são removidos e o utilizador leva um Aviso.

Share this post


Link to post
Share on other sites
  • 0
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, "'s Feuer Phoenix", 0},                [53002]     = { 34002, "'s Baby Reindeer", 0},                [53003]     = { 34003, "'s Eis Phoenix", 0},                [53004]     = { 34001, "'s Feuer Phoenix", 0},                [53005]     = { 34004, "'s Baby Gahnasel", 1},                [53006]     = { 34009, "'s Golden Gahnasel", 1},                [53007]     = { 34010, "'s Bambi", 0},                [53008]     = { 34011, "'s Knuud", 0},                [53009]     = { 34012, "'s Bao Bao", 0},                [53010]     = { 34008, "'s Leonidas", 0},                [53011]     = { 34007, "'s Khan", 0},                [53012]     = { 34005, "´s Porky", 0},                [53013]     = { 34006, "´s Rufus", 0},                [53014]     = { 34013, "'s Mini-Executor", 0},                [53015]     = { 34014, "'s Gold-Executor", 0},                [53016]     = { 34015, "'s Boney", 0},                [53017]     = { 34016, "'s Jade Phoenix", 0},                [ID 01]     = { ID 02, "'s Executador", 0},                [ID 01]     = { ID 02, "'s Boney", 0},            }            itemVnum = tonumber(itemVnum)            return pet_info_map[itemVnum]        end        function get_spawn_effect_file(idx)            effect_table = {                [0] = nil,                [1] = "d:ymir workeffectetcappear_dienpc2_appear.mse",            }            return effect_table [idx]        end        when 53001.use or             53002.use or             53003.use or             53004.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             53013.use or             53014.use or             53015.use or             53016.use or             53017.use or             ID 01.use or             ID 01.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("You already summoned a pet.")                    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 -- stateend -- quest

no [ID 01] metes o ID dos itens.

no [ID 02] metes o ID dos moobs.

 

 

Exprimenta.

 

 

E btw, BUMP's são feitos de 24 em 24h, BUMP's antes disso são removidos e o utilizador leva um Aviso.

 

Obrigado mano vou tentar . ainda nao vi, mas :+1:

Share this post


Link to post
Share on other sites
  • 0

Pus a quest, tal e qual como tu postas-te .. sem modificações .. e tipo, invoca os pets todos menos o executador, boney e a fenix de jade :|

Share this post


Link to post
Share on other sites
  • 0

Pus a quest, tal e qual como tu postas-te .. sem modificações .. e tipo, invoca os pets todos menos o executador, boney e a fenix de jade :|

 

Tens que modificar o que te disse :/

 

no [ID 01] metes o ID do item de chamar o pet.

no [ID 02] metes o ID do pet (moob).

Share this post


Link to post
Share on other sites
  • 0

necessario usar bug do cavalo para esta quest? ou tem um diff qualquer?

Share this post


Link to post
Share on other sites
  • 0

Mas isso ja la esta direito mano :/

 

Os IDS dos  itens sao:

 

Boney: 53014

Executador: 53016

Share this post


Link to post
Share on other sites
  • 0

[ID_DO_ITEM_QUE_EVOCA_O_PET] = { ID_DO_PET_NA_BASE_DE_DADOS, "'s Executador", 0},
[ID_DO_ITEM_QUE_EVOCA_O_PET] = { ID_DO_PET_NA_BASE_DE_DADOS, "'s Boney", 0},

 

 

Se perceberes clica +1 :D

Share this post


Link to post
Share on other sites
  • 0

[ID_DO_ITEM_QUE_EVOCA_O_PET] = { ID_DO_PET_NA_BASE_DE_DADOS, "'s Executador", 0},

[ID_DO_ITEM_QUE_EVOCA_O_PET] = { ID_DO_PET_NA_BASE_DE_DADOS, "'s Boney", 0},

 

 

Se perceberes clica +1 :D

ya xD

E na 1ª quest que eu postei la em cima, nao ta assim direito? XD

Share this post


Link to post
Share on other sites
  • 0

ya xD

E na 1ª quest que eu postei la em cima, nao ta assim direito? XD

 

Oh afinal tinhas os ID's já na 1º quest.

 

Não funciona?

Já testaste ver se o 53014 é o ID do item do executador e o 34013 o ID do executador (moob) ?

 

 

Não sei o que te dizer, se tivesse aqui as files mandava-te a quest.

Share this post


Link to post
Share on other sites
  • 0

Oh afinal tinhas os ID's já na 1º quest.

 

Não funciona?

Já testaste ver se o 53014 é o ID do item do executador e o 34013 o ID do executador (moob) ?

 

 

Não sei o que te dizer, se tivesse aqui as files mandava-te a quest.

Sim mano .. ja testei .. e aparecem .. com nomes todos tipo chinocada mas aparecem ..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this