fullmedyc 0 Posted January 8, 2015 Bom dia srs. Podem me informa se existe no metin2 algum npc que faça drop de items pelo vnum? Onde o npc forneça um campo para digitação do vnum do item que o jogador quiser. Share this post Link to post Share on other sites
0 Karbust 1,143 Posted January 9, 2015 Não, mas podes tu criar... Share this post Link to post Share on other sites
0 fullmedyc 0 Posted January 13, 2015 Obrigado HabiraMt2. Tinha receio de reiventar a roda refazendo algo que ja existisse. :) Share this post Link to post Share on other sites
0 TMoore 217 Posted January 13, 2015 Quest para o que queres seria algo neste género (não testei pois vou dormir agora) quest drop_item begin state start begin when ID.chat."Dropar item" begin say_title("Oferta") say("") say("És um sortudo, podes escolher um item à tua escolha!") say("Insere o vnum do item que desejas:") say("") local b=input() if b>0 then game.drop_item_with_ownership(b, 1) else return end end end end end 2 Slender_Man and Shad0w reacted to this Share this post Link to post Share on other sites
0 Tyler Durden 556 Posted January 13, 2015 Fiz 2 versões, uma só para GM's e outra para todos.Nota: onde diz "ID" metes o ID do NPC.Apenas GM quest drop begin state start begin when ID.chat."GM: Dropar Item" with pc.is_gm begin say_title("... ... ...:") say("... ... ...") say("... ... ...") say("") say_reward("... ... ...") say("") local d = select ( "Sim" , "Não" ) if d == 1 then say_title("... ... ...:") say("... ... ...") say("") local drop = input () game.drop_item_with_ownership("" .. drop .. "") if drop == "" then say_title("... ... ...:") say("... ... ...") say("... ... ...") say("") return end elseif d == 2 then return end end end end Para todos quest drop begin state start begin when ID.chat."Dropar Item" begin say_title("... ... ...:") say("... ... ...") say("... ... ...") say("") say_reward("... ... ...") say("") local d = select ( "Sim" , "Não" ) if d == 1 then say_title("... ... ...:") say("... ... ...") say("") local drop = input () game.drop_item_with_ownership("" .. drop .. "") if drop == "" then say_title("... ... ...:") say("... ... ...") say("... ... ...") say("") return end elseif d == 2 then return end end end end Share this post Link to post Share on other sites
0 fullmedyc 0 Posted January 14, 2015 fiz como uma quest. http://cyber-gamers.org/index.php?/topic/28738-exclusivo-fullmedyc-v1-quest-com-entrada-de-dados/ Share this post Link to post Share on other sites
0 Tyler Durden 556 Posted January 15, 2015 fiz como uma quest. http://cyber-gamers.org/index.php?/topic/28738-exclusivo-fullmedyc-v1-quest-com-entrada-de-dados/ Está aqui o que pedias... Fiz 2 versões, uma só para GM's e outra para todos.Nota: onde diz "ID" metes o ID do NPC.Apenas GM quest drop begin state start begin when ID.chat."GM: Dropar Item" with pc.is_gm begin say_title("... ... ...:") say("... ... ...") say("... ... ...") say("") say_reward("... ... ...") say("") local d = select ( "Sim" , "Não" ) if d == 1 then say_title("... ... ...:") say("... ... ...") say("") local drop = input () game.drop_item_with_ownership("" .. drop .. "") if drop == "" then say_title("... ... ...:") say("... ... ...") say("... ... ...") say("") return end elseif d == 2 then return end end end end Para todos quest drop begin state start begin when ID.chat."Dropar Item" begin say_title("... ... ...:") say("... ... ...") say("... ... ...") say("") say_reward("... ... ...") say("") local d = select ( "Sim" , "Não" ) if d == 1 then say_title("... ... ...:") say("... ... ...") say("") local drop = input () game.drop_item_with_ownership("" .. drop .. "") if drop == "" then say_title("... ... ...:") say("... ... ...") say("... ... ...") say("") return end elseif d == 2 then return end end end end Share this post Link to post Share on other sites
Bom dia srs.
Podem me informa se existe no metin2 algum npc que faça drop de items pelo vnum? Onde o npc forneça um campo para digitação do vnum do item que o jogador quiser.
Share this post
Link to post
Share on other sites