*Problemă/Întrebare: Problema drop CL
Tipologie server: PvP PvM
*Resursă folosită:
*ServerFiles utilizat: Argo
*Syserr:
Poză:
*Detalii suplimentare: Acum cateva zile functiona ok, nu imi dau seama ce s-a intamplat, am incercat sa adaug orice alt quest gasesc care sa semene cu evenimentul acesta si nicio rezolvare, sansa de drop este 100% evenimentul activ, dar niciun drop, indiferent ce as face. Dropul functioneaza in continuare, dar nu la eveniment.
Cufar Clar de Luna bug?
posteaza quest ul de la cufere clar de luna
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() <= 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)
else
end
else
end
elseif m_ind == 63 or m_ind == 64 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)
else
end
else
end
elseif m_ind == 65 or m_ind == 61 or m_ind == 114 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)
else
end
else
end
elseif m_ind == 62 or m_ind == 71 or m_ind == 67 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)
else
end
else
end
elseif m_ind == 68 or m_ind == 72 or m_ind == 73 or m_ind == 66 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)
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)
else
end
else
end
elseif m_ind == 2 or m_ind == 110 or m_ind == 189 or m_ind == 206 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)
else
end
else
end
elseif m_ind == 207 or m_ind == 208 or m_ind == 209 or m_ind == 210 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)
else
end
else
end
elseif m_ind == 211 or m_ind == 213 or m_ind == 214 or m_ind == 200 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)
else
end
else
end
elseif m_ind == 201 or m_ind == 202 or m_ind == 203 or m_ind == 204 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)
else
end
else
end
elseif m_ind == 205 or m_ind == 181 or m_ind == 182 or m_ind == 105 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)
else
end
else
end
end
end
end
when 20092.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 terminat?")
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 20092.chat."<GM> Dropul Cuferelor" with pc.is_gm() begin
if pc.get_name() == "[a]x" or pc.get_name() == "[MR]xCupidoN" or pc.get_name() == "[a]x" 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
daca vrei sa faci un eveniment de genul acesta modifici in quest quest cufere_clar_luna11 begin
+
mondlicht_event
+
Mondlicht_event_start
+
if pc.get_name() == "[a]x" or pc.get_name() == "[MR]xCupidoN" or pc.get_name() == "[a]x" then (in loc de [a]x pui numele tau de pe joc
+
pc.get_level() <= 250 ##(level mai mic sau egal cu 250 are drop,daca pui 100 o sa fie lvl 100 sau mai mic are drop)
permisiunile si implementarea din puty ai facut o? de fiecare data cand modifici ceva trebuie sa faci din nou faza cu consola , ca sa il citeasca
Sterge din object toate questurile/state pentru eveniment si instaleaza questul de aici:
Activarea se face de la npc-ul 9004. Modifica checkul pe numele caracterului din [Metin2] in caracterul tau.
Activarea se face de la npc-ul 9004. Modifica checkul pe numele caracterului din [Metin2] in caracterul tau.
- Pentru acest mesaj, F. Gabriel for the post:
- DragonA7X
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 19 vizitatori





