Event Clar de Luna

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
ivanrobo
Nivel 2

Nivel 2
Mesaje: 150
Membru din: 27 Apr 2015, 21:46
Server: Aztec
Regat: Chunjo
Aprecieri: 12  
Mulţumiri: 0
Medalii

*Problemă:Cum activez event clar de luna
Tipologie server:
*Resursă folosită:
*ServerFiles utilizat:http://just4metin.ro/serverfiles/server ... 67971.html
*Syserr:
Poză:
*Detalii suplimentare:Am bagat questul dar nu stiu cum sa l activez, imi poate spune cineva?
Avatar utilizator
Mortals
Utilizator interzis !

Utilizator interzis !
Mesaje: 40
Membru din: 06 Ian 2018, 21:54
Aprecieri: 0
Mulţumiri: 3  
Medalii

Poti pune questul aici ?
Imagine
Afișează semnătura
Avatar utilizator
ivanrobo
Nivel 2

Nivel 2
Mesaje: 150
Membru din: 27 Apr 2015, 21:46
Server: Aztec
Regat: Chunjo
Aprecieri: 12  
Mulţumiri: 0
Medalii

Cod: Selectaţi tot

quest eventul_cll begin
        state start begin
      when kill with game.get_event_flag("optiune") == 4 begin
               local cufar=number(1, 500)
               if cufar==1 and game.get_event_flag("cufar") == 1 then 

                  pc.give_item2(50011,1)

               end
            end
      when kill with game.get_event_flag("optiune") == 3 begin
               local cufar=number(1, 250)
               if cufar==1 and game.get_event_flag("cufar") == 1 then 

                  pc.give_item2(50011,1)

               end
            end
            when kill with game.get_event_flag("optiune") == 2 begin
               local cufar=number(1, 150)
               if cufar==1 and game.get_event_flag("cufar") == 1 then 

                  pc.give_item2(50011,1)

               end
            end
            when kill with game.get_event_flag("optiune") == 1 begin
               local cufar=number(1, 50)
               if cufar==1 and game.get_event_flag("cufar") == 1 then 

                  pc.give_item2(50011,1)

               end
            end
                when login with pc.is_gm() begin
               send_letter("Event Cufar Lumina Lunii")
                end
                when button or info begin
               say_title("Event Cufar Lumina Lunii -"..pc.getname().."-")
                    local eventul = select("Porneste Event-ul Cufar Lumina Lunii", "Opreste Event-ul Cufar Lumina Lunii", "Panoul de control", "Anuleaza.")
            if eventul == 1 and game.get_event_flag("cufar") == 1 then
               say_title("Event Cufar Lumina Lunii:")
               say("Event-ul este deja pornit.")
               wait()
               send_letter("Event Cufar Lumina Lunii")

               return
               else
               if eventul == 1 then
               say_title("Event Cufar Lumina Lunii:")
               say("Event-ul a fost pornit si automat a fost pus pe mod")
               say("'Normal',daca vrei sa modifici modul fa o tura prin")
               say("Panoul de control.Bafta!")
               notice_all("Dragi jucatori!")
               notice_all("Event-ul Cufar Lumina Lunii ruleaza pe mod 'Normal'!")
               game.set_event_flag("optiune", 3)
               game.set_event_flag("cufar", 1)
               wait()
             send_letter("Event Cufar Lumina Lunii")
             return
             end
            end
            if eventul == 2 and game.get_event_flag("cufar") == 0 then
               say_title("Event Cufar Lumina Lunii:")
               say("Event-ul este deja oprit.")
               wait()
               send_letter("Event Cufar Lumina Lunii")
               return
               else
               if eventul == 2 then
               say_title("Event Cufar Lumina Lunii:")
               say("Event-ul a fost oprit.")
               notice_all("Dragi jucatori!")
               notice_all("Event-ul Cufar Lumina Lunii a fost incheiat!")
               game.set_event_flag("cufar", 0)
               wait()
             send_letter("Event Cufar Lumina Lunii")
             return
             end
            end
            if eventul == 3 then
            say_title("Panou de control'Event Cufar Lumina Lunii'")
                local optiune = select("Optiunea rata de 1/50 'USOR'","Optiunea rata de 1/150 'Binisor'","Optiunea rata de 1/250 'Normal'","Optiunea rata de 1/500 'Greu'","Inchide")
               if optiune == 1 then
               game.set_event_flag("optiune", 1)
               notice_all("Dragi jucatori!")
               notice_all("Event-ul Cufar Lumina Lunii a fost schimbat pe Mod 'Usor'!")
               send_letter("Event Cufar Lumina Lunii")
               return
               end
               if optiune == 2 then
               game.set_event_flag("optiune", 2)
               notice_all("Dragi jucatori!")
               notice_all("Event-ul Cufar Lumina Lunii a fost schimbat pe Mod 'Binisor'!")
               send_letter("Event Cufar Lumina Lunii")
               return
               end
               if optiune == 5 then
               send_letter("Event Cufar Lumina Lunii")
               return
               end
               if optiune == 3 then
               notice_all("Dragi jucatori!")
               notice_all("Event-ul Cufar Lumina Lunii a fost schimbat pe Mod 'Normal'!")
               game.set_event_flag("optiune", 3)
               send_letter("Event Cufar Lumina Lunii")
               return
               end
               if optiune == 4 then
               game.set_event_flag("optiune", 4)
               notice_all("Dragi jucatori!")
               notice_all("Event-ul Cufar Lumina Lunii a fost schimbat pe Mod 'Greu'!")
               send_letter("Event Cufar Lumina Lunii")
               return
               end
             return
            end
            if eventul == 4 then
                send_letter("Event Cufar Lumina Lunii")
               return
            end
            end
            
      end
end
Avatar utilizator
LikePc
Nivel 10

Nivel 10
Mesaje: 2240
Membru din: 11 Aug 2015, 00:01
Server: M3
Regat: Chunjo
Aprecieri: 9  
Mulţumiri: 270  
 Contact:
Medalii

quest mondlicht_truhen begin
state start begin
when login begin
if game.get_event_flag("mondlicht_event") == 1 then
notice("Event: Cufere lumina lunii ~ activ Non-Stop!")
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, 500)
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, 500)
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, 500)
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 or m_ind == 66 and pc.get_level() <= 85 then
if game.get_event_flag("mondlicht_event") == 1 then
local chance = number(1, 500)
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() <= 105 then
if game.get_event_flag("mondlicht_event") == 1 then
local chance = number(1, 500)
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 or m_ind == 206 or m_ind == 207 or m_ind == 208 or m_ind == 209 or m_ind == 200 or m_ind or m_ind == 210 and pc.get_level() <= 115 then
if game.get_event_flag("mondlicht_event") == 1 then
local chance = number(1, 500)
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 9010.chat."Administrare event Cufere lumina lunii" with pc.is_gm() begin
if game.get_event_flag("mondlicht_event") == 1 then
say_title("Administrare Eveniment:")
say("")
say("Eventul cu,cufere lumina lunii este pornit.")
say("")
say_reward("Inchidere 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("Event: Cufere lumina lunii ~ oprit!")
elseif s==2 then
say_title("Administrare Eveniment:")
say("")
say("~ Pe curând !")
end
else
say_title("Administrare Eveniment:")
say("")
say("Eventul cu,cufere lumina lunii este inchis.")
say("")
say_reward("Pornire 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("Event: Cufere lumina lunii ~ activ!")
elseif s==2 then
say_title("Administrare Eveniment:")
say("")
say("~ Pe curând !")
end
end
end
when 9010.chat."Dropul cuferelor lumina lunii" with pc.is_gm() begin
if pc . is_gm ( ) then
say_title("Administrare Eveniment:")
say("")
say("Cat de mare sã fie dropul acestora ?")
say("")
say_reward("Între 1-500")
say("")
local new_chance = tonumber(input())
if new_chance < 0 or new_chance > 500 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
Il activezi de la npc 9010 .
https:/horus-maps.com
Afișează semnătura
Avatar utilizator
ivanrobo
Nivel 2

Nivel 2
Mesaje: 150
Membru din: 27 Apr 2015, 21:46
Server: Aztec
Regat: Chunjo
Aprecieri: 12  
Mulţumiri: 0
Medalii

cannot find quest index for drop_event
Imi apare asta
Avatar utilizator
Athero
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 3936
Membru din: 17 Aug 2017, 00:08
Aprecieri: 559  
Mulţumiri: 7142  
Discord: Copiază ID
Medalii

NOU ! Un membru poate posta un singur subiect (problema) in 24h, subiectele postate unul dupa altul in aceeasi zi sunt trimise in Arhivă Probleme şi Întrebări.

Mai am unul postat cu vreo 20 de minute inainte de a il posta pe asta legat de mob_drop.

ARHIVAT.
//retras
Afișează semnătura
Avatar utilizator
calinv
Nou Venit

Nou Venit
Mesaje: 41
Membru din: 13 Aug 2014, 16:29
Server: www.i-longju.com
Regat: Jinno
Aprecieri: 33  
Mulţumiri: 0
 Contact:
Medalii

/e drop_moon 1 ON
/e drop_moon 0 OFF
Server italy new Style https://www.i-longju.com/ .
Afișează semnătura
Închis
Răspunsuri
7
Vizualizări
521
Răspunsuri
3
Vizualizări
246
Răspunsuri
2
Vizualizări
52
Răspunsuri
8
Vizualizări
477

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

  • Informaţie
  • Cine este conectat

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