Probleme Event Clar de Luna

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
AlexTzutzu
Nivel 10

Nivel 10
Mesaje: 2345
Membru din: 12 Feb 2014, 13:59
Server: Am RENUNTAT
Regat: Jinno
Aprecieri: 18  
Mulţumiri: 91  
 Contact:
Medalii

Salut am si yo o problema la questul cu,cuferele clar de luna am questul functional in consola dar cand dau click pe NPC(9004) nu imi apare nimic oare dc ? :-w
Imagine


The quieter you become,the more you are able to hear.
Afișează semnătura
Avatar utilizator
HuNterukh
Nivel 2

Nivel 2
Mesaje: 274
Membru din: 09 Dec 2014, 16:49
Server: metin2redemption.ro
Regat: Shinsoo
Aprecieri: 1  
Mulţumiri: 6  
 Contact:
Medalii

Pune quest-ul aici.
Avatar utilizator
AlexTzutzu
Nivel 10

Nivel 10
Mesaje: 2345
Membru din: 12 Feb 2014, 13:59
Server: Am RENUNTAT
Regat: Jinno
Aprecieri: 18  
Mulţumiri: 91  
 Contact:
Medalii

Poftim,Questul este complet:

Cod: Selectaţi tot

	quest mondlicht_truhen begin
        state start begin
            when login begin
                if game.get_event_flag("mondlicht_event") == 1 then
                    notice("Evenimentul : Cufăr Clar De Lună ~ Activ !")
                end
            end
            when kill begin
                local m_ind = pc.get_map_index()
                if npc.is_pc() then
                else
                    if m_ind == 1 or m_ind == 3 or m_ind == 21 or m_ind == 23 or m_ind == 41 or m_ind == 43 and pc.get_level() <= 20 then
                        if game.get_event_flag("mondlicht_event") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    elseif m_ind == 63 or m_ind == 64 and pc.get_level() <= 40 then
                        if game.get_event_flag("mondlicht_event") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    elseif m_ind == 65 or m_ind == 61 or m_ind == 104 and pc.get_level() <= 60 then
                        if game.get_event_flag("mondlicht_event") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    elseif m_ind == 62 or m_ind == 71 or m_ind == 67 and pc.get_level() <= 70 then
                        if game.get_event_flag("mondlicht_event") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    elseif m_ind == 68 or m_ind == 72 or m_ind == 73 or m_ind == 66 and pc.get_level() <= 90 then
                        if game.get_event_flag("mondlicht_event") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    elseif m_ind == 103 or m_ind == 70 or m_imd == 69 and pc.get_level() <= 250 then
                        if game.get_event_flag("mondlicht_event") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    end
                end
            end
            when 9004.chat."<GM> Eveniment Cufere" with pc.is_gm() begin
                if game.get_event_flag("mondlicht_event") == 1 then
                    say_title("Administrare Eveniment:")
                    say("")
                    say("Cufăr Clar De Lună : ~ Activ ")
                    say("")
                    say_reward("Inchizi Eveniment?")
                    local s=select("Da", "Nu")
                    if s==1 then
                        say_title("Administrare Eveniment:")
                        say("")
                        say("Evenimentul a luat sfârsit .")
                        say("~ Pe data viitoare !")
                        game.set_event_flag("mondlicht_event", 0)
                        char_log(0, "Mondlicht_event_end from" ..pc.get_name())
                        notice_all("Evenimentul : Cufăr Clar De Lună ~ Terminat.")
                    elseif s==2 then
                        say_title("Administrare Eveniment:")
                        say("")
                        say("~ Pe curând !")
                    end
                else
                    say_title("Administrare Eveniment:")
                    say("")
                    say("Cufăr Clar De Lună : ~ Închis ")
                    say("")
                    say_reward("Start Eveniment?")
                    local s=select("Da", "Nu")
                    if s==1 then
                        say_title("Administrare Eveniment:")
                        say("")
                        say("Evenimentul ~ A Început ! .")
                        say("~ Succes la strâns mai multe cufere !")
                        game.set_event_flag("mondlicht_event", 1)
                        char_log(0, "Mondlicht_event_start from" ..pc.get_name())
                        notice_all("Evenimentul : Cufăr Clar De Lună ~ A Început !")
                    elseif s==2 then
                        say_title("Administrare Eveniment:")
                        say("")
                        say("~ Pe curând !")
                    end
                end
            end
            when 9004.chat."<GM> Dropul Cuferelor" with pc.is_gm() begin
                if pc.get_name() == "[GF]Susanoo" or pc.get_name() == "[GF]Susanoo" or pc.get_name() == "[GF]Susanoo" then
                    say_title("Administrare Eveniment:")
                    say("")
                    say("Cat de mult să fie dropul acestora ?")
                    say("")
                    say_reward("Între 1-100")
                    say("")
                    local new_chance = tonumber(input())
                    if new_chance < 0 or new_chance > 100 then
                        say_title("Administrare Eveniment:")
                        say("")
                        say("Introducere incorectă ~")
                    else
                        char_log(0, "Mondlicht_event_chance from" ..pc.get_name().. " to " ..new_chance.. "%")
                        game.set_event_flag("mond_drop_chance", new_chance)
                        say_title("Administrare Eveniment:")
                        say("")
                        say("Dropul actual " ..new_chance.. " setat.")
                        say("~ Pe curând !")
                    end
                else
                    say_title("Administrare Eveniment:")
                    say("")
                    say("Nu ai dreptul pentru a executa evenimentul .")
                end
            end
        end
	end 
Imagine


The quieter you become,the more you are able to hear.
Afișează semnătura
Avatar utilizator
Floki
Nivel 2

Nivel 2
Mesaje: 178
Membru din: 20 Sep 2014, 13:31
Server: www.redlinemt2.com
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 0
Medalii

Cod: Selectaţi tot

if pc.get_name() == "[GF]Susanoo" or pc.get_name() == "[GF]Susanoo" or pc.get_name() == "[GF]Susanoo" then
Cauta linia asta iar .. unde scrie "[GF]Susanoo" pune numele tau din joc :) .
Imagine
Afișează semnătura
Avatar utilizator
AlexTzutzu
Nivel 10

Nivel 10
Mesaje: 2345
Membru din: 12 Feb 2014, 13:59
Server: Am RENUNTAT
Regat: Jinno
Aprecieri: 18  
Mulţumiri: 91  
 Contact:
Medalii

Ala este numele meu in Metin =)) .
Imagine


The quieter you become,the more you are able to hear.
Afișează semnătura
Avatar utilizator
Floki
Nivel 2

Nivel 2
Mesaje: 178
Membru din: 20 Sep 2014, 13:31
Server: www.redlinemt2.com
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 0
Medalii

Ohh, scuza-ma dar ar trebui sa specifici inainte .. nu aveam de unde sa stiu :), ia de aici quest-ul asta .. incearca ;).

Cod: Selectaţi tot


quest mondlicht_truhen begin
        state start begin
            when login begin
                if game.get_event_flag("mondlicht_event5") == 1 then
                    notice("Evenimentul : Cufar Com Clar De Luna ~ Activ !")
                end
            end
            when kill begin
                local m_ind = pc.get_map_index()
                if npc.is_pc() then
                else
                    if m_ind == 1 or m_ind == 3 or m_ind == 21 or m_ind == 23 or m_ind == 41 or m_ind == 43 and pc.get_level() <= 20 then
                        if game.get_event_flag("mondlicht_event5") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    elseif m_ind == 63 or m_ind == 64 and pc.get_level() <= 40 then
                        if game.get_event_flag("mondlicht_event5") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    elseif m_ind == 65 or m_ind == 61 or m_ind == 104 and pc.get_level() <= 60 then
                        if game.get_event_flag("mondlicht_event5") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    elseif m_ind == 62 or m_ind == 71 or m_ind == 67 and pc.get_level() <= 70 then
                        if game.get_event_flag("mondlicht_event5") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    elseif m_ind == 68 or m_ind == 72 or m_ind == 73 or m_ind == 66 and pc.get_level() <= 90 then
                        if game.get_event_flag("mondlicht_event5") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    elseif m_ind == 103 or m_ind == 70 or m_imd == 69 and pc.get_level() <= 250 then
                        if game.get_event_flag("mondlicht_event5") == 1 then
                            local chance = number(1, 100)
                            local chance_max = game.get_event_flag("mond_drop_chance")
                            if chance <= chance_max then
                                pc.give_item2(50011)
                                --game.drop_item(50011)
                            else
                            end
                        else
                        end
                    end
                end
            end
            when 9004.chat."<GM> Eveniment Cufere" with pc.is_gm() begin
                if game.get_event_flag("mondlicht_event5") == 1 then
                    say_title("Administrare Eveniment:")
                    say("")
                    say("Cufar Com Clar De Luna : ~ Activ ")
                    say("")
                    say_reward("Event Beenden?")
                    local s=select("Da", "Nu")
                    if s==1 then
                        say_title("Administrare Eveniment:")
                        say("")
                        say("Evenimentul a luat sfârsit .")
                        say("~ Pe data viitoare !")
                        game.set_event_flag("mondlicht_event5", 0)
                        char_log(0, "mondlicht_event5_end from" ..pc.get_name())
                        notice_all("Evenimentul : Cufar Com Clar De Luna ~ Terminat.")
                    elseif s==2 then
                        say_title("Administrare Eveniment:")
                        say("")
                        say("~ Pe curând !")
                    end
                else
                    say_title("Administrare Eveniment:")
                    say("")
                    say("Cufar Com Clar De Luna : ~ Închis ")
                    say("")
                    say_reward("Start Eveniment?")
                    local s=select("Da", "Nu")
                    if s==1 then
                        say_title("Administrare Eveniment:")
                        say("")
                        say("Evenimentul ~ A Început ! .")
                        say("~ Succes la strâns mai multe cufere !")
                        game.set_event_flag("mondlicht_event5", 1)
                        char_log(0, "mondlicht_event5_start from" ..pc.get_name())
                        notice_all("Evenimentul : Cufar Com Clar De Luna ~ A Început !")
                    elseif s==2 then
                        say_title("Administrare Eveniment:")
                        say("")
                        say("~ Pe curând !")
                    end
                end
            end
            when 9004.chat."<GM> Dropul Cuferelor" with pc.is_gm() begin
                if pc.get_name() == "NUMELE TAU" or pc.get_name() == "NUMELE TAU" or pc.get_name() == "NUMELE TAUi" then
                    say_title("Administrare Eveniment:")
                    say("")
                    say("Cat de mult sa fie dropul acestora ?")
                    say("")
                    say_reward("Între 1-100")
                    say("")
                    local new_chance = tonumber(input())
                    if new_chance < 0 or new_chance > 100 then
                        say_title("Administrare Eveniment:")
                        say("")
                        say("Introducere incorecta ~")
                    else
                        char_log(0, "mondlicht_event5_chance from" ..pc.get_name().. " to " ..new_chance.. "%")
                        game.set_event_flag("mond_drop_chance", new_chance)
                        say_title("Administrare Eveniment:")
                        say("")
                        say("Dropul actual " ..new_chance.. " setat.")
                        say("~ Pe curând !")
                    end
                else
                    say_title("Administrare Eveniment:")
                    say("")
                    say("Nu ai dreptul pentru a executa evenimentul .")
                end
            end
        end
    end

Eu pe asta il am si imi merge :) ( seamana cu al tau din cate am vazut .. dar habar n-am incearca vezi .. eu pe asta il folosc . )
Imagine
Afișează semnătura
Avatar utilizator
AlexTzutzu
Nivel 10

Nivel 10
Mesaje: 2345
Membru din: 12 Feb 2014, 13:59
Server: Am RENUNTAT
Regat: Jinno
Aprecieri: 18  
Mulţumiri: 91  
 Contact:
Medalii

Questul ruleaza fara probleme dau in joc /reload q si nu se intampla nimic :|
Imagine


The quieter you become,the more you are able to hear.
Afișează semnătura
Avatar utilizator
AlexTzutzu
Nivel 10

Nivel 10
Mesaje: 2345
Membru din: 12 Feb 2014, 13:59
Server: Am RENUNTAT
Regat: Jinno
Aprecieri: 18  
Mulţumiri: 91  
 Contact:
Medalii

Am rezolvat bugul.
Cer T.C
Imagine


The quieter you become,the more you are able to hear.
Afișează semnătura
Avatar utilizator
.Deb
Fost Administrator

Fost Administrator
Mesaje: 4585
Membru din: 25 Iul 2013, 21:37
Aprecieri: 10  
Mulţumiri: 7  
 Contact:
Medalii

Mutat în probleme rezolvate.
Imagine
Afișează semnătura
Închis
Răspunsuri
6
Vizualizări
1658
Răspunsuri
7
Vizualizări
529
Răspunsuri
3
Vizualizări
256
Răspunsuri
10
Vizualizări
1733

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

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