Cerere quest

Avatar utilizator
PiColo
Nivel 4

Nivel 4
Mesaje: 734
Membru din: 21 Sep 2015, 19:03
Server: Metin2NeTher
Regat: Jinno
Aprecieri: 86  
Mulţumiri: 16  
Discord: Copiază ID
 Contact:
Medalii

Buna seara as dori quest event craciun functional :D
DISCORD: PiColo#4586(RASPUND CEL MAI RAPID)
SKYPE: Metin2NeTher
FACEBOOK: https://www.facebook.com/Metin2NeTher-104745268168519
Afișează semnătura
Avatar utilizator
Gaz3rNr1
Nivel 6

Nivel 6
Mesaje: 983
Membru din: 19 Oct 2015, 19:13
Server: Se lucrează !
Regat: Jinno
Aprecieri: 1  
Mulţumiri: 571  
 Contact:
Medalii

Mutat în cereri !
Nu imi place realitatea, de asta trăiesc în lumea mea !
Afișează semnătura
Avatar utilizator
PiColo
Nivel 4

Nivel 4
Mesaje: 734
Membru din: 21 Sep 2015, 19:03
Server: Metin2NeTher
Regat: Jinno
Aprecieri: 86  
Mulţumiri: 16  
Discord: Copiază ID
 Contact:
Medalii

UP nimeni?
DISCORD: PiColo#4586(RASPUND CEL MAI RAPID)
SKYPE: Metin2NeTher
FACEBOOK: https://www.facebook.com/Metin2NeTher-104745268168519
Afișează semnătura
Avatar utilizator
Robert
Traficant de ouă

Traficant de ouă
Mesaje: 1376
Membru din: 19 Feb 2015, 10:29
Server: Scorpions2
Regat: Chunjo
Aprecieri: 125  
Mulţumiri: 476  
Discord: Copiază ID
Medalii

Poftim:

Cod: Selectaţi tot

quest santa begin 
    state start begin 
        when 20031.chat."Event de Craciun: Panoul de control" begin 
            say_title("Eventul de craciun:") 
            if game.get_event_flag("xmas")==0 then 
                say("Eventul de craciun este oprit.") 
                say("Vrei sa il pornesti?") 
                local s1 = select("Da", "Nu") 
                if s1 == 1 then 
                    say("Eventul a fost oprit!") 
                    game.set_event_flag("xmas", 1) 
                    notice_all("Eventul de craciun tocmai ce a inceput") 
                    notice_all("Incepand de acum puteti dropa") 
                    notice_all("Sosete si cadouri de la toti monstrii")
               notice_all("Sarbatori fericite tuturor")
               command("e xmas_snow 1")
               command("e xmas_song 1")
                else 
                    return 
                end 
            else 
                say("Eventul de craciun este pornit") 
                say("Vrei sa il opresti?") 
                local s2 = select("Da", "Nu") 
                if s2 == 1 then 
                    say("Eventul a fost pornit!") 
                    game.set_event_flag("xmas", 0) 
                    notice_all("Eventul de craciun a luat sfarsit")
               notice_all("Speram ca ati castigat premii folositoare")
               command("e xmas_snow 0")
               command("e xmas_song 0")
                end 
            end 
        end 
        when kill with game.get_event_flag("xmas")==1 and not npc.is_pc() begin 
            local drop = number(1, 75) 
            if drop == 1 then 
                game.drop_item_with_ownership(50035, 1) 
            elseif drop == 2 then 
                game.drop_item_with_ownership(50036, 1) 
            elseif drop == 3 then 
                game.drop_item_with_ownership(50010, 1) 
            end 
        end 
        when 20031.chat."Sosete" begin 
            say_title("Mos Craciun") 
            if pc.count_item(50010) <= 4 then 
                say("Salut ".. pc.get_name()) 
                say("Am o mica problema ... nu stiu cum sa iti spun") 
                say("dar din greseala mi-am pierdut toate sosetele!") 
                say("De fapt vroiam sa le umplu cu cadouri si sa") 
                say("le dau copiilor ... dar acum ...")  
                wait() 
                say("Daca gasesti sosetele te rog sa mi le aduci.") 
                say("Vei primi si o recompensa pentru ele!")
            say("")
            say_reward("Iti voi da o recompensa in schimbul a 5 sosete!")
            else 
                say("Ach mi-ai gasit sosetele?") 
                say("Ce frumos!Mi le poti da?") 
                say("Vei primi o recompensa") 
                say("in schimb!") 
                local s3 = select("Poftim sosetele", "Nu iti dau nimic") 
                if s3 == 1 then 
                    say_title("Mos craciun:") 
                    say("Iti multumesc mult!") 
                    say("Stai sa caut in sac") 
                    say("sa vad ce am pentru") 
               say("tine ...")
                    wait() 
                    local beutel = number(1, 5) 
                    if beutel == 1 then 
                        say("Ce frumos!Ai primit Artificii de Craciun ") 
                        pc.give_item2(50106, 5) 
                    elseif beutel == 2 then 
                        say("Ce frumos!Ai primit Cufar com. Clar-de-luna") 
                        pc.give_item2(50011, 10) 
                    elseif beutel == 3 then 
                        say("Ce frumos!Ai primit Piatra spiritului") 
                        pc.give_item2(50513, 1) 
                    elseif beutel == 4 then 
                        say("Ce frumos!Ai primit Pergament binecuvantat") 
                        say("Succes") 
                        pc.give_item2(25040, 15) 
                    else 
                        say("Ce frumos!Ai primit Manualul fierarului") 
                        say("Succes") 
                        pc.give_item2(70039, 1) 
                    end 
                end 
            end 
        end 
    end 
end
Avatar utilizator
MrPatryko
Nivel 1

Nivel 1
Mesaje: 52
Membru din: 03 Apr 2015, 22:58
Server: www.zalau.mtn2.ro
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 0
Medalii

E bugat , acest quest , se inchide singur event-ul fara sa faci nimic ...
Avatar utilizator
Robert
Traficant de ouă

Traficant de ouă
Mesaje: 1376
Membru din: 19 Feb 2015, 10:29
Server: Scorpions2
Regat: Chunjo
Aprecieri: 125  
Mulţumiri: 476  
Discord: Copiază ID
Medalii

Cod: Selectaţi tot

quest santa begin 
    state start begin 
        when 20031.chat."Event de Craciun: Panoul de control" with pc.is_gm() begin 
            say_title("Eventul de craciun:") 
            if game.get_event_flag("xmas")==0 then 
                say("Eventul de craciun este oprit.") 
                say("Vrei sa il pornesti?") 
                local s1 = select("Da", "Nu") 
                if s1 == 1 then 
                    say("Eventul a fost oprit!") 
                    game.set_event_flag("xmas", 1) 
                    notice_all("Eventul de craciun tocmai ce a inceput") 
                    notice_all("Incepand de acum puteti dropa") 
                    notice_all("Sosete si cadouri de la toti monstrii")
               notice_all("Sarbatori fericite tuturor")
               command("e xmas_snow 1")
               command("e xmas_song 1")
                else 
                    return 
                end 
            else 
                say("Eventul de craciun este pornit") 
                say("Vrei sa il opresti?") 
                local s2 = select("Da", "Nu") 
                if s2 == 1 then 
                    say("Eventul a fost pornit!") 
                    game.set_event_flag("xmas", 0) 
                    notice_all("Eventul de craciun a luat sfarsit")
               notice_all("Speram ca ati castigat premii folositoare")
               command("e xmas_snow 0")
               command("e xmas_song 0")
                end 
            end 
        end 
        when kill with game.get_event_flag("xmas")==1 and not npc.is_pc() begin 
            local drop = number(1, 75) 
            if drop == 1 then 
                game.drop_item_with_ownership(50035, 1) 
            elseif drop == 2 then 
                game.drop_item_with_ownership(50036, 1) 
            elseif drop == 3 then 
                game.drop_item_with_ownership(50010, 1) 
            end 
        end 
        when 20031.chat."Sosete" begin 
            say_title("Mos Craciun") 
            if pc.count_item(50010) <= 4 then 
                say("Salut ".. pc.get_name()) 
                say("Am o mica problema ... nu stiu cum sa iti spun") 
                say("dar din greseala mi-am pierdut toate sosetele!") 
                say("De fapt vroiam sa le umplu cu cadouri si sa") 
                say("le dau copiilor ... dar acum ...")  
                wait() 
                say("Daca gasesti sosetele te rog sa mi le aduci.") 
                say("Vei primi si o recompensa pentru ele!")
            say("")
            say_reward("Iti voi da o recompensa in schimbul a 5 sosete!")
            else 
                say("Ach mi-ai gasit sosetele?") 
                say("Ce frumos!Mi le poti da?") 
                say("Vei primi o recompensa") 
                say("in schimb!") 
                local s3 = select("Poftim sosetele", "Nu iti dau nimic") 
                if s3 == 1 then 
                    say_title("Mos craciun:") 
                    say("Iti multumesc mult!") 
                    say("Stai sa caut in sac") 
                    say("sa vad ce am pentru") 
               say("tine ...")
                    wait() 
                    local beutel = number(1, 5) 
                    if beutel == 1 then 
                        say("Ce frumos!Ai primit Artificii de Craciun ") 
                        pc.give_item2(50106, 5) 
                    elseif beutel == 2 then 
                        say("Ce frumos!Ai primit Cufar com. Clar-de-luna") 
                        pc.give_item2(50011, 10) 
                    elseif beutel == 3 then 
                        say("Ce frumos!Ai primit Piatra spiritului") 
                        pc.give_item2(50513, 1) 
                    elseif beutel == 4 then 
                        say("Ce frumos!Ai primit Pergament binecuvantat") 
                        say("Succes") 
                        pc.give_item2(25040, 15) 
                    else 
                        say("Ce frumos!Ai primit Manualul fierarului") 
                        say("Succes") 
                        pc.give_item2(70039, 1) 
                    end 
                end 
            end 
        end 
    end 
end
Avatar utilizator
PiColo
Nivel 4

Nivel 4
Mesaje: 734
Membru din: 21 Sep 2015, 19:03
Server: Metin2NeTher
Regat: Jinno
Aprecieri: 86  
Mulţumiri: 16  
Discord: Copiază ID
 Contact:
Medalii

[Robert] scrie:

Cod: Selectaţi tot

quest santa begin 
    state start begin 
        when 20031.chat."Event de Craciun: Panoul de control" with pc.is_gm() begin 
            say_title("Eventul de craciun:") 
            if game.get_event_flag("xmas")==0 then 
                say("Eventul de craciun este oprit.") 
                say("Vrei sa il pornesti?") 
                local s1 = select("Da", "Nu") 
                if s1 == 1 then 
                    say("Eventul a fost oprit!") 
                    game.set_event_flag("xmas", 1) 
                    notice_all("Eventul de craciun tocmai ce a inceput") 
                    notice_all("Incepand de acum puteti dropa") 
                    notice_all("Sosete si cadouri de la toti monstrii")
               notice_all("Sarbatori fericite tuturor")
               command("e xmas_snow 1")
               command("e xmas_song 1")
                else 
                    return 
                end 
            else 
                say("Eventul de craciun este pornit") 
                say("Vrei sa il opresti?") 
                local s2 = select("Da", "Nu") 
                if s2 == 1 then 
                    say("Eventul a fost pornit!") 
                    game.set_event_flag("xmas", 0) 
                    notice_all("Eventul de craciun a luat sfarsit")
               notice_all("Speram ca ati castigat premii folositoare")
               command("e xmas_snow 0")
               command("e xmas_song 0")
                end 
            end 
        end 
        when kill with game.get_event_flag("xmas")==1 and not npc.is_pc() begin 
            local drop = number(1, 75) 
            if drop == 1 then 
                game.drop_item_with_ownership(50035, 1) 
            elseif drop == 2 then 
                game.drop_item_with_ownership(50036, 1) 
            elseif drop == 3 then 
                game.drop_item_with_ownership(50010, 1) 
            end 
        end 
        when 20031.chat."Sosete" begin 
            say_title("Mos Craciun") 
            if pc.count_item(50010) <= 4 then 
                say("Salut ".. pc.get_name()) 
                say("Am o mica problema ... nu stiu cum sa iti spun") 
                say("dar din greseala mi-am pierdut toate sosetele!") 
                say("De fapt vroiam sa le umplu cu cadouri si sa") 
                say("le dau copiilor ... dar acum ...")  
                wait() 
                say("Daca gasesti sosetele te rog sa mi le aduci.") 
                say("Vei primi si o recompensa pentru ele!")
            say("")
            say_reward("Iti voi da o recompensa in schimbul a 5 sosete!")
            else 
                say("Ach mi-ai gasit sosetele?") 
                say("Ce frumos!Mi le poti da?") 
                say("Vei primi o recompensa") 
                say("in schimb!") 
                local s3 = select("Poftim sosetele", "Nu iti dau nimic") 
                if s3 == 1 then 
                    say_title("Mos craciun:") 
                    say("Iti multumesc mult!") 
                    say("Stai sa caut in sac") 
                    say("sa vad ce am pentru") 
               say("tine ...")
                    wait() 
                    local beutel = number(1, 5) 
                    if beutel == 1 then 
                        say("Ce frumos!Ai primit Artificii de Craciun ") 
                        pc.give_item2(50106, 5) 
                    elseif beutel == 2 then 
                        say("Ce frumos!Ai primit Cufar com. Clar-de-luna") 
                        pc.give_item2(50011, 10) 
                    elseif beutel == 3 then 
                        say("Ce frumos!Ai primit Piatra spiritului") 
                        pc.give_item2(50513, 1) 
                    elseif beutel == 4 then 
                        say("Ce frumos!Ai primit Pergament binecuvantat") 
                        say("Succes") 
                        pc.give_item2(25040, 15) 
                    else 
                        say("Ce frumos!Ai primit Manualul fierarului") 
                        say("Succes") 
                        pc.give_item2(70039, 1) 
                    end 
                end 
            end 
        end 
    end 
end
Il incerc acum :D
DISCORD: PiColo#4586(RASPUND CEL MAI RAPID)
SKYPE: Metin2NeTher
FACEBOOK: https://www.facebook.com/Metin2NeTher-104745268168519
Afișează semnătura
Avatar utilizator
PiColo
Nivel 4

Nivel 4
Mesaje: 734
Membru din: 21 Sep 2015, 19:03
Server: Metin2NeTher
Regat: Jinno
Aprecieri: 86  
Mulţumiri: 16  
Discord: Copiază ID
 Contact:
Medalii

[Robert] scrie:

Cod: Selectaţi tot

quest santa begin 
    state start begin 
        when 20031.chat."Event de Craciun: Panoul de control" with pc.is_gm() begin 
            say_title("Eventul de craciun:") 
            if game.get_event_flag("xmas")==0 then 
                say("Eventul de craciun este oprit.") 
                say("Vrei sa il pornesti?") 
                local s1 = select("Da", "Nu") 
                if s1 == 1 then 
                    say("Eventul a fost oprit!") 
                    game.set_event_flag("xmas", 1) 
                    notice_all("Eventul de craciun tocmai ce a inceput") 
                    notice_all("Incepand de acum puteti dropa") 
                    notice_all("Sosete si cadouri de la toti monstrii")
               notice_all("Sarbatori fericite tuturor")
               command("e xmas_snow 1")
               command("e xmas_song 1")
                else 
                    return 
                end 
            else 
                say("Eventul de craciun este pornit") 
                say("Vrei sa il opresti?") 
                local s2 = select("Da", "Nu") 
                if s2 == 1 then 
                    say("Eventul a fost pornit!") 
                    game.set_event_flag("xmas", 0) 
                    notice_all("Eventul de craciun a luat sfarsit")
               notice_all("Speram ca ati castigat premii folositoare")
               command("e xmas_snow 0")
               command("e xmas_song 0")
                end 
            end 
        end 
        when kill with game.get_event_flag("xmas")==1 and not npc.is_pc() begin 
            local drop = number(1, 75) 
            if drop == 1 then 
                game.drop_item_with_ownership(50035, 1) 
            elseif drop == 2 then 
                game.drop_item_with_ownership(50036, 1) 
            elseif drop == 3 then 
                game.drop_item_with_ownership(50010, 1) 
            end 
        end 
        when 20031.chat."Sosete" begin 
            say_title("Mos Craciun") 
            if pc.count_item(50010) <= 4 then 
                say("Salut ".. pc.get_name()) 
                say("Am o mica problema ... nu stiu cum sa iti spun") 
                say("dar din greseala mi-am pierdut toate sosetele!") 
                say("De fapt vroiam sa le umplu cu cadouri si sa") 
                say("le dau copiilor ... dar acum ...")  
                wait() 
                say("Daca gasesti sosetele te rog sa mi le aduci.") 
                say("Vei primi si o recompensa pentru ele!")
            say("")
            say_reward("Iti voi da o recompensa in schimbul a 5 sosete!")
            else 
                say("Ach mi-ai gasit sosetele?") 
                say("Ce frumos!Mi le poti da?") 
                say("Vei primi o recompensa") 
                say("in schimb!") 
                local s3 = select("Poftim sosetele", "Nu iti dau nimic") 
                if s3 == 1 then 
                    say_title("Mos craciun:") 
                    say("Iti multumesc mult!") 
                    say("Stai sa caut in sac") 
                    say("sa vad ce am pentru") 
               say("tine ...")
                    wait() 
                    local beutel = number(1, 5) 
                    if beutel == 1 then 
                        say("Ce frumos!Ai primit Artificii de Craciun ") 
                        pc.give_item2(50106, 5) 
                    elseif beutel == 2 then 
                        say("Ce frumos!Ai primit Cufar com. Clar-de-luna") 
                        pc.give_item2(50011, 10) 
                    elseif beutel == 3 then 
                        say("Ce frumos!Ai primit Piatra spiritului") 
                        pc.give_item2(50513, 1) 
                    elseif beutel == 4 then 
                        say("Ce frumos!Ai primit Pergament binecuvantat") 
                        say("Succes") 
                        pc.give_item2(25040, 15) 
                    else 
                        say("Ce frumos!Ai primit Manualul fierarului") 
                        say("Succes") 
                        pc.give_item2(70039, 1) 
                    end 
                end 
            end 
        end 
    end 
end
Nu merge , mosul dispare la cateva secunde dupa ce dau click pe el , pica cadouri si sosete , vreau sa pice doar sosete .
DISCORD: PiColo#4586(RASPUND CEL MAI RAPID)
SKYPE: Metin2NeTher
FACEBOOK: https://www.facebook.com/Metin2NeTher-104745268168519
Afișează semnătura
Avatar utilizator
PiColo
Nivel 4

Nivel 4
Mesaje: 734
Membru din: 21 Sep 2015, 19:03
Server: Metin2NeTher
Regat: Jinno
Aprecieri: 86  
Mulţumiri: 16  
Discord: Copiază ID
 Contact:
Medalii

UP nimeni?
DISCORD: PiColo#4586(RASPUND CEL MAI RAPID)
SKYPE: Metin2NeTher
FACEBOOK: https://www.facebook.com/Metin2NeTher-104745268168519
Afișează semnătura
Avatar utilizator
Robert
Traficant de ouă

Traficant de ouă
Mesaje: 1376
Membru din: 19 Feb 2015, 10:29
Server: Scorpions2
Regat: Chunjo
Aprecieri: 125  
Mulţumiri: 476  
Discord: Copiază ID
Medalii

Mos Craciun nu dispare din cauza acestui quest!
Uite aici o rezolvare pentru Mos Craciun
PS:
-Dropeaza doar sosete!
-Recompensa: 1x Cufar de Craciun
Daca te-am ajutat nu uita de Multumesc :-bd
EDIT: Poti adauga acest cod in npc.txt(aflat in folderul mapei in care vrei sa fie prezent Mos Craciun)

Cod: Selectaţi tot

m	351	668	0	0	0	8	1s	100	1	20031
http://just4metin.ro/ghiduri-tutoriale/ ... 35463.html

Cod: Selectaţi tot

quest santa begin 
    state craciun begin 
        when 20095.chat."Event de Craciun: Panoul de control" with pc.is_gm() begin 
            say_title("Eventul de craciun:") 
            if game.get_event_flag("xmas")==0 then 
                say("Eventul de craciun este oprit.") 
                say("Vrei sa il pornesti?") 
                local s1 = select("Da", "Nu") 
                if s1 == 1 then 
                    say("Eventul a fost pornit!") 
                    game.set_event_flag("xmas", 1) 
                    notice_all("Eventul de craciun tocmai ce a inceput") 
                    notice_all("Incepand de acum puteti dropa") 
                    notice_all("Sosete si cadouri de la toti monstrii")
               notice_all("Sarbatori fericite tuturor")
               command("e xmas_snow 1")
               command("e xmas_song 1")
                else 
                    return 
                end 
            else 
                say("Eventul de craciun este pornit") 
                say("Vrei sa il opresti?") 
                local s2 = select("Da", "Nu") 
                if s2 == 1 then 
                    say("Eventul a fost oprit!") 
                    game.set_event_flag("xmas", 0) 
                    notice_all("Eventul de craciun a luat sfarsit")
               notice_all("Speram ca ati castigat premii folositoare")
               command("e xmas_snow 0")
               command("e xmas_song 0")
                end 
            end 
        end 
        when kill with game.get_event_flag("xmas")==1 begin 
            local drop = number(1, 75) 
            if drop == 1 then 
                game.drop_item_with_ownership(50010, 1) 
            end 
        end 
        when 20095.chat."Sosete" begin 
            say_title("Mos Craciun") 
            if pc.count_item(50010) <= 4 then 
                say("Salut ".. pc.get_name()) 
                say("Am o mica problema ... nu stiu cum sa iti spun") 
                say("dar din greseala mi-am pierdut toate sosetele!") 
                say("De fapt vroiam sa le umplu cu cadouri si sa") 
                say("le dau copiilor ... dar acum ...")  
                wait() 
                say("Daca gasesti sosetele te rog sa mi le aduci.") 
                say("Vei primi si o recompensa pentru ele!")
            say("")
            say_reward("Iti voi da o recompensa in schimbul a 5 sosete!")
            else 
                say("Ach mi-ai gasit sosetele?") 
                say("Ce frumos!Mi le poti da?") 
                say("Vei primi o recompensa") 
                say("in schimb!") 
                local s3 = select("Poftim sosetele", "Nu iti dau nimic") 
                if s3 == 1 then 
                    say_title("Mos craciun:") 
                    say("Iti multumesc mult!") 
                    say("Stai sa caut in sac") 
                    say("sa vad ce am pentru") 
					say("tine ...")
                    wait() 
                    say("Ce frumos!Ai primit un Cufar de Craciun! ") 
					pc.give_item2(71144, 1) 
					pc.remove_item(50010, 5)
                end 
            end 
        end 
    end 
end
Închis

Înapoi la “Arhivă”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 15 vizitatori