Jump to content

ayuda con esta quest de inicial


mrsanty
 Share

Recommended Posts

hola es una quest que me pasaron. la cual cuando entras por primera ves al server te da el equipo inicial y aparese una leyenda de bienvenida a tu reino. el problema de esta quest es que solo te dise bienvenido al reino rojo sin inportar que reino seas.

quest give_basic_weapon begin        state start begin                when login with pc.get_level() == 1 and pc.countitem(27003) == 0 begin	notice_all ("".. pc.get_name() .." comienza su aventura en Metin Linkuei")	say_title ( "Bienvenido" )    say ( "Has despertado en Metin Linkuei" )    say ( "nuevo servidor PvM." )    say ( "Disfruta el tiempo que jueges!" )    say ( "" )    pc . give_exp2 ( 1 )    set_quest_state ( "levelup" , "run" )    pc . change_money ( 100000 )    pc . give_item2 ( "27003" , 200 )    pc . give_item2 ( "27003" , 200 )    pc . give_item2 ( "27003" , 200 )    pc . give_item2 ( "27003" , 200 )    pc . give_item2 ( "27003" , 200 )    pc . give_item2 ( "27006" , 200 )    pc . give_item2 ( "27006" , 200 )    pc . give_item2 ( "71050" , 200 )    pc . give_item2 ( "70038" , 40 )    pc . give_item2 ( "72702" , 1 )    pc . give_item2 ( "50051" , 1 )    pc . give_item2 ( "72701" , 1 )    pc . give_item2 ( "71085" , 40 )    pc . give_item2 ( "71084" , 40 )	pc . give_item2 ( "80009" , 1 )    horse.advance()    horse.summon ()    say ( "Sistemas unicos:" )    say ( "-Sistema de estadisticas PvM" )    say ( "-Muchas misiones" )    say ( "-Muchas evoluciones" )    say ( "-Nuevos mapas" )    say ( "Nuevos monstruos" )    say ( "y muchas mas cosas.." )    if pc . job == 0 then    pc . give_item2 ( "19" , 1 )    pc . give_item2 ( "3009" , 1 )    pc . give_item2 ( "11209" , 1 )    pc . give_item2 ( "12209" , 1 )    pc . give_item2 ( "13009" , 1 )    pc . give_item2 ( "14009" , 1 )    pc . give_item2 ( "15009" , 1 )    pc . give_item2 ( "16009" , 1 )    pc . give_item2 ( "17009" , 1 )        say_reward ( "Has Recibido Set de Guerrero!" )    elseif pc . job == 1 then    pc . give_item2 ( "1009" , 1 )    pc . give_item2 ( "19" , 1 )    pc . give_item2 ( "2009" , 1 )    pc . give_item2 ( "8009" , 200 )    pc . give_item2 ( "8009" , 200 )    pc . give_item2 ( "8009" , 200 )    pc . give_item2 ( "8009" , 200 )    pc . give_item2 ( "11409" , 1 )    pc . give_item2 ( "12349" , 1 )    pc . give_item2 ( "13009" , 1 )    pc . give_item2 ( "14009" , 1 )    pc . give_item2 ( "15009" , 1 )    pc . give_item2 ( "16009" , 1 )    pc . give_item2 ( "17009" , 1 )    say_reward ( "Has Recibido Set de Ninja!" )    elseif pc . job == 2 then    pc . give_item2 ( "19" , 1 )    pc . give_item2 ( "11609" , 1 )    pc . give_item2 ( "12489" , 1 )    pc . give_item2 ( "13009" , 1 )    pc . give_item2 ( "14009" , 1 )    pc . give_item2 ( "15009" , 1 )    pc . give_item2 ( "16009" , 1 )    pc . give_item2 ( "17009" , 1 )    say_reward ( "Has Recibido Set de Sura!" )    elseif pc . job == 3 then    pc . give_item2 ( "5009" , 1 )    pc . give_item2 ( "7009" , 1 )    pc . give_item2 ( "11809" , 1 )    pc . give_item2 ( "12629" , 1 )    pc . give_item2 ( "13009" , 1 )    pc . give_item2 ( "14009" , 1 )    pc . give_item2 ( "15009" , 1 )    pc . give_item2 ( "16009" , 1 )    pc . give_item2 ( "17009" , 1 )    say_reward ( "Has Recibido Set de Chaman!" )        end    if pc.get_map_index() == 21 then   chat("Bienvenido al reino amarillo")   elseif pc.get_map_index() == 1 then   chat("Bienvenido al reino azul")   elseif pc.get_map_index() == 41 then    chat("Bienvenido al reino rojo")end			set_state(COMPLETE)		end	end	state COMPLETE begin	endend
Link to comment
Share on other sites

Prueba Así :)

 

 

quest give_basic_weapon begin        state start begin                when login with pc.get_level() == 1 and pc.countitem(27003) == 0 begin	notice_all ("".. pc.get_name() .." comienza su aventura en Metin Linkuei")	say_title ( "Bienvenido" )    say ( "Has despertado en Metin Linkuei" )    say ( "nuevo servidor PvM." )    say ( "Disfruta el tiempo que jueges!" )    say ( "" )    pc . give_exp2 ( 1 )    set_quest_state ( "levelup" , "run" )    pc . change_money ( 100000 )    pc . give_item2 ( "27003" , 200 )    pc . give_item2 ( "27003" , 200 )    pc . give_item2 ( "27003" , 200 )    pc . give_item2 ( "27003" , 200 )    pc . give_item2 ( "27003" , 200 )    pc . give_item2 ( "27006" , 200 )    pc . give_item2 ( "27006" , 200 )    pc . give_item2 ( "71050" , 200 )    pc . give_item2 ( "70038" , 40 )    pc . give_item2 ( "72702" , 1 )    pc . give_item2 ( "50051" , 1 )    pc . give_item2 ( "72701" , 1 )    pc . give_item2 ( "71085" , 40 )    pc . give_item2 ( "71084" , 40 )	pc . give_item2 ( "80009" , 1 )    horse.advance()    horse.summon ()    say ( "Sistemas unicos:" )    say ( "-Sistema de estadisticas PvM" )    say ( "-Muchas misiones" )    say ( "-Muchas evoluciones" )    say ( "-Nuevos mapas" )    say ( "Nuevos monstruos" )    say ( "y muchas mas cosas.." )    if pc . job == 0 then    pc . give_item2 ( "19" , 1 )    pc . give_item2 ( "3009" , 1 )    pc . give_item2 ( "11209" , 1 )    pc . give_item2 ( "12209" , 1 )    pc . give_item2 ( "13009" , 1 )    pc . give_item2 ( "14009" , 1 )    pc . give_item2 ( "15009" , 1 )    pc . give_item2 ( "16009" , 1 )    pc . give_item2 ( "17009" , 1 )        say_reward ( "Has Recibido Set de Guerrero!" )    elseif pc . job == 1 then    pc . give_item2 ( "1009" , 1 )    pc . give_item2 ( "19" , 1 )    pc . give_item2 ( "2009" , 1 )    pc . give_item2 ( "8009" , 200 )    pc . give_item2 ( "8009" , 200 )    pc . give_item2 ( "8009" , 200 )    pc . give_item2 ( "8009" , 200 )    pc . give_item2 ( "11409" , 1 )    pc . give_item2 ( "12349" , 1 )    pc . give_item2 ( "13009" , 1 )    pc . give_item2 ( "14009" , 1 )    pc . give_item2 ( "15009" , 1 )    pc . give_item2 ( "16009" , 1 )    pc . give_item2 ( "17009" , 1 )    say_reward ( "Has Recibido Set de Ninja!" )    elseif pc . job == 2 then    pc . give_item2 ( "19" , 1 )    pc . give_item2 ( "11609" , 1 )    pc . give_item2 ( "12489" , 1 )    pc . give_item2 ( "13009" , 1 )    pc . give_item2 ( "14009" , 1 )    pc . give_item2 ( "15009" , 1 )    pc . give_item2 ( "16009" , 1 )    pc . give_item2 ( "17009" , 1 )    say_reward ( "Has Recibido Set de Sura!" )    elseif pc . job == 3 then    pc . give_item2 ( "5009" , 1 )    pc . give_item2 ( "7009" , 1 )    pc . give_item2 ( "11809" , 1 )    pc . give_item2 ( "12629" , 1 )    pc . give_item2 ( "13009" , 1 )    pc . give_item2 ( "14009" , 1 )    pc . give_item2 ( "15009" , 1 )    pc . give_item2 ( "16009" , 1 )    pc . give_item2 ( "17009" , 1 )    say_reward ( "Has Recibido Set de Chaman!" )        end    if empire == 2 then   chat("Bienvenido al reino amarillo")   elseif empire == 3 then   chat("Bienvenido al reino azul")   elseif empire == 1 then    chat("Bienvenido al reino rojo")end			set_state(COMPLETE)		end	end	state COMPLETE begin	endend

 

Suerte ^^

Link to comment
Share on other sites

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...