Quest event timp

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

Nivel 3
Mesaje: 346
Membru din: 14 Sep 2013, 10:34
Server: Metin3D
Aprecieri: 552  
Mulţumiri: 37  
Medalii

Salut.Stie cineva vreun quest pentru event,care sa dropeze iteme pe server la mobi(cufere clar de luna), dar doar intre orele 17:00 - 19:00 zilnic ?
Afișează semnătura
Avatar utilizator
EndMaking
Utilizator interzis !

Utilizator interzis !
Mesaje: 59
Membru din: 07 Mai 2017, 19:34
Server: ◈Nici unul◈
Regat: Chunjo
Aprecieri: 3  
Mulţumiri: 28  
Medalii

Cod: Selectaţi tot

uest drop_event begin
    state start begin   
        when login begin
            if game.get_event_flag("drop_event") == 1 then         
                notice("[METIN2 "..settings.server_name.."]: METIN3D: Cufar clar de luna activ.")            
            end
        end            
        when kill with not npc.is_pc() and game.get_event_flag("drop_event") == 1 begin
         local chance = number(1, 100)
         local chance_max = game.get_event_flag("drop_event_chance")                    
            if chance <= chance_max then                  
               pc.give_item2(50011)                     
            else
         end
      end
      when 20094.chat."GM: Eveniment cufere lună " with pc.is_gm() begin   
         if pc.is_gm() then         
         say_gm_title("Hong-Hae:")
         say_gm("")
         say_gm("Ce doreşti să faci?")      
         say_gm("")
            
         if game.get_event_flag("drop_event") == 0 then
            say_gm("METIN3D:Evenimentul cufărul lunii este oprit.")   
            say_gm("")
         else      
            say_gm("METIN3D:Evenimentul cufărul lunii este pornit.")   
            say_gm("")
         end
               
         local s=select("Porneşte evenimentul","Opreşte evenimentul","Şansa de drop al cuferelor","Ieşire")
               
         if s==1 then      
            notice_all("[METIN2 "..settings.server_name.."]: METIN3D:Evenimentul Cufărul Lunii a început.")                  
            game.set_event_flag("drop_event", 1)               
               
            say_gm_title("Hong-Hae:")
            say_gm("")
            say_gm("METIN3D:Evenimentul a fost pornit.")
            say_gm("")   
                  
         elseif s==2 then                        
            notice_all("[METIN2 "..settings.server_name.."]: METIN3D:Evenimentul Cufărul Lunii a luat sfârşit.")
            game.set_event_flag("drop_event", 0)               
            
            say_gm_title("Hong-Hae:")
            say_gm("")
            say_gm("Evenimentul a luat sfârşit.")      
            say_gm("")
                     
         elseif s==3 then
            say_gm_title("Hong-Hae:")
            say_gm("")
            say_gm("Cât de mare doreşti să fie şansa de aruncare?")
            say_gm("")         
            say_gm("Între 1-100:")
            say_gm("")
               
            local new_chance = tonumber(input())
            
            if new_chance < 0 or new_chance > 100 then               
               say_gm_title("Eveniment cufere lună:")
               say_gm("")
               say_gm("Valorile introduse nu sunt bune.")            
            else
         
            game.set_event_flag("drop_event_chance", new_chance)
                  
            say_gm_title("Hong-Hae:")
            say_gm("")
            say_gm("Şansa a fost modificată; şansă " ..new_chance.. "%.")
            say_gm("")               
            end   
                  
            elseif s==4 then   
            return            
            end
         end
      end
    end
end
Cat despre ce iteme vrei sa cada la cufar cauta-ma la adresa de skype si le setez eu:


[email protected]

P.S: Pentru timp, angajeaza-ti un "moderator" care sa fie online intre orele respective sa il inchida si sa il activeze.
Imagine
Afișează semnătura
Avatar utilizator
blackghost27
Nivel 3

Nivel 3
Mesaje: 346
Membru din: 14 Sep 2013, 10:34
Server: Metin3D
Aprecieri: 552  
Mulţumiri: 37  
Medalii

#nume sexy scrie:Ce facui wa.Comentezi la topicuri a.k.a developer si acum cauti un quest?=)) daca ai fi cautat pe forum ai fi gasit,cius.
Mă confunzi

[ Postat de pe Android ] Imagine
Afișează semnătura
Avatar utilizator
ZNF
Membru Club

Membru Club
Mesaje: 1953
Membru din: 16 Feb 2014, 10:09
Aprecieri: 15  
Mulţumiri: 110  
Discord: Copiază ID
Medalii

Subiect inactiv, arhivat. Inchis si mutat în sectiunea corespunzatoare.
Închis
Răspunsuri
2
Vizualizări
1612
Răspunsuri
1
Vizualizări
444
Răspunsuri
4
Vizualizări
147
Răspunsuri
2
Vizualizări
422

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

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Semrush [Bot] și 103 vizitatori