problema event clar de luna

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
D. Dragos
Maiestrul Bombonar

Maiestrul Bombonar
Mesaje: 384
Membru din: 28 Mai 2015, 20:35
Regat: Chunjo
Aprecieri: 18  
Mulţumiri: 2  
Medalii

Salut am quest in server files even_cc si pe server il activez de la NPC spune ca este activat tot !
Problema este ca nu pica nici un cufar cand omor mobi !

Uitati questul :


quest mondlicht_truhen begin
state start begin
when login begin
if game.get_event_flag("mondlicht_event") == 1 then
notice("Evenimentul : Cufãr Com 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 Com Clar De Lunã : ~ 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_event", 0)
char_log(0, "Mondlicht_event_end from" ..pc.get_name())
notice_all("Evenimentul : Cufãr Com 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 Com 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 Com 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() == "[GA]C.Firth" or pc.get_name() == "[GA]C.Firth" or pc.get_name() == "[GA]C.Firth" then
say_title("Administrare Eveniment:")
say("")
say("Cat de mult sã fie dropul acestora ?")
say("")
say_reward("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
Avatar utilizator
C.Marius
Nivel 4

Nivel 4
Mesaje: 689
Membru din: 28 Sep 2014, 16:21
Server: orice
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 1027  
 Contact:
Medalii

Vezi ca se poate seta si rata,% sa pice.Poate e prea mica.
Avatar utilizator
D. Dragos
Maiestrul Bombonar

Maiestrul Bombonar
Mesaje: 384
Membru din: 28 Mai 2015, 20:35
Regat: Chunjo
Aprecieri: 18  
Mulţumiri: 2  
Medalii

Da de unde setez rata ?
Avatar utilizator
KingWTH
Nivel 1

Nivel 1
Mesaje: 92
Membru din: 27 Oct 2014, 18:05
Regat: Shinsoo
Aprecieri: 2  
Mulţumiri: 0
 Contact:
Medalii

Vezi ca pica doar in map1 la caini si lupi! Activeaza event-ul seteaza ratele eventului de 25 si du-te map1 bate niste caini/lupi si spune-mi daca am dreptate sau nu! :ympeace:
Imagine

Cod: Selectaţi tot

If $post = "helpful" Then  
Mouseclick ("left","thank button")  
EndIf
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

Daca ai zis ca dupa ce activezi event-ul scrie toate bune si frumoase inseamna ca nu este de la quest.Verifica sa ai implementat in Navicat cuferele la fel sa le ai si in client.Daca le ai verifica in server sa ai facut dropul in fisiereul mob_drop sau nush exact cu se numeste.

[ Mesaj scris via Android ] Imagine
Imagine


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

Nivel 4
Mesaje: 689
Membru din: 28 Sep 2014, 16:21
Server: orice
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 1027  
 Contact:
Medalii

Incearca acest quest(e dupa sf meu deci merge 100%):

Cod: Selectaţi tot

quest cufere_clar_luna begin
    state start begin
        when login begin
            if game.get_event_flag("mondlicht_event") == 1 then
                notice("[Eveniment]Cufar 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() <= 100 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)                        
                        else
                        end
                    else
                    end
                elseif m_ind == 63 or m_ind == 64 and pc.get_level() <= 100 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)                           
                        else
                        end
                    else
                    end
                elseif m_ind == 65 or m_ind == 61 or m_ind == 104 and pc.get_level() <= 100 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)                        
                        else
                        end
                    else
                    end
                elseif m_ind == 62 or m_ind == 71 or m_ind == 67 and pc.get_level() <= 100 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)                        
                        else
                        end
                    else
                    end
                elseif m_ind == 68 or m_ind == 72 or m_ind == 73 or m_ind == 66 and pc.get_level() <= 100 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)                        
                        else
                        end
                    else
                    end
                elseif m_ind == 103 or m_ind == 70 or m_imd == 69 and pc.get_level() <= 100 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)                        
                        else
                        end
                    else
                    end
                end
            end
        end
        when 9010.chat."<GM> Eveniment Cufere" with pc.is_gm() begin
            if game.get_event_flag("mondlicht_event") == 1 then
                say_title("Administrare Eveniment:")
                say("")
                say("[Eveniment]Cufar 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_event", 0)
                    char_log(0, "Mondlicht_event_end from" ..pc.get_name())
                    notice_all("[Eveniment]Cufar 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 Clar de luna : ~ Închis ")
                say("")
                say_reward("Start Eveniment?")
                local s=select("Da", "Nu")
                if s==1 then
                    say_title("Administrare Eveniment:")
                    say("")
                    say("[Eveniment]Cufar Clar de luna: A inceput")
                    game.set_event_flag("mondlicht_event", 1)
                    char_log(0, "Mondlicht_event_start from" ..pc.get_name())
                    notice_all("[Eveniment]Cufar Clar de luna: A inceput!")
                elseif s==2 then
                    say_title("Administrare Eveniment:")
                    say("")
                    say("~ Pe curând !")
                end
            end
        end
        when 9010.chat."<GM> Dropul Cuferelor" with pc.is_gm() begin
            if pc.get_name() == "TheDelphi" or pc.get_name() == "[SGM]Delphi" or pc.get_name() == "[SGA]Pinguu" 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
Avatar utilizator
D. Dragos
Maiestrul Bombonar

Maiestrul Bombonar
Mesaje: 384
Membru din: 28 Mai 2015, 20:35
Regat: Chunjo
Aprecieri: 18  
Mulţumiri: 2  
Medalii

tot nu merge este activat dar nu pica.... am incercat pe mai multe harti si am schimbat si levelul.. si nimic
Avatar utilizator
C.Marius
Nivel 4

Nivel 4
Mesaje: 689
Membru din: 28 Sep 2014, 16:21
Server: orice
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 1027  
 Contact:
Medalii

Ce serverfile ai?
Si incearca sa pui niste printuri din joc(multe) sau un video.
Avatar utilizator
D. Dragos
Maiestrul Bombonar

Maiestrul Bombonar
Mesaje: 384
Membru din: 28 Mai 2015, 20:35
Regat: Chunjo
Aprecieri: 18  
Mulţumiri: 2  
Medalii

da-mi skype mai simplu :l
Avatar utilizator
C.Marius
Nivel 4

Nivel 4
Mesaje: 689
Membru din: 28 Sep 2014, 16:21
Server: orice
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 1027  
 Contact:
Medalii

:-! Suportul se da numai pe forum
Închis
Răspunsuri
3
Vizualizări
247
Răspunsuri
5
Vizualizări
978
Răspunsuri
6
Vizualizări
1655
Răspunsuri
7
Vizualizări
521

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie