Jump to content
  • 0

[Problem]Quest give basic weapons


AlCapone

Question

  • VIP

Hi guys I have a problem whit this in mi server, I put a normal give basic weapon quest like oficial and when I login whit a new PJ he give me random items like this 

1747ae3eb1df8ba2359f769590eee3b6.png

 

Soo then I delet notarget folder to see if I create a new PJ give me random items more, and YES he give me random items..What could be wrong.

And then I delet object folder too and give me random items..

Thanks for helping me and sorry for mi bad english.

Link to comment

3 answers to this question

Recommended Posts

  • 0
  • VIP

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 Tuserver")
    say_title ( "Bienvenido" )
    say ( "Has despertado en Tuserver." )
    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 )
    horse.advance()
    horse.summon ()
    say ( "Recibes level 1." )
    say ( "Recibes 100000 yang." )
    say ( "Recibes 1000 Pociones Rojas(G)." )
    say ( "Recibes 400 Pociones Azules(G)." )
    say ( "Recibes Equipo basico." )
    say ( "Recibes 40 dopes y 40 cambios" )
    say ( "Recibes un Caballo lvl1" )
    say ( "Recibes varios cabos valor" )
    say ( "Recibes zapatos de velocidad" )
    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
    end
end

Link to comment

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


  • Read our Rules
  • Activity

    1. 2

      [Python] Code Translator 2 to 3

    2. 0

      bug gaya

    3. 5

      Fix Core Crash (unused serverside packet)

    4. 45

      Chest Drop View

    5. 0

      How to add Python 3.9 script?

    6. 15

      Metin2 Download Center - Specifications & Documentation

    7. 5

      Fix Core Crash (unused serverside packet)

    8. 45

      Chest Drop View

    9. 5

      Fix Core Crash (unused serverside packet)

  • Recently Browsing

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.