Problema cu dovleci
Salutare.. am o problema... nu cred ca e un bug.. dar pica tot timpul dovleci.. am oprit si eventul prin quest si tot pica.. cum pot sa opresc asta ? sa nu mai pice dovleci !! multumesc !
Dezinstaleaza questul pentru evenimentul cu dovleci.
Taci ca habar nu ai ce vorbeşti , eşti total în necunoştinţă de cauză.F. Gabriel scrie:Dezinstaleaza questul pentru evenimentul cu dovleci.
Cât despre problema ta.
Ai un eventflag pornit, în questul de l-ai executat o să vezi ceva degenul
get.game_event_flag("asd")
scrii in joc /e asd 0 şi gata dropul.
Posibil să fie două , caută poate fi şi asd_chance.
*Taci ca habar nu ai ce vorbeşti , eşti total în necunoştinţă de cauză.*Luca Dr3Ame3r Cristian scrie:Taci ca habar nu ai ce vorbeşti , eşti total în necunoştinţă de cauză.F. Gabriel scrie:Dezinstaleaza questul pentru evenimentul cu dovleci.
Cât despre problema ta.
Ai un eventflag pornit, în questul de l-ai executat o să vezi ceva degenul
get.game_event_flag("asd")
scrii in joc /e asd 0 şi gata dropul.
Posibil să fie două , caută poate fi şi asd_chance.
Se bagă doar să facă ceva mesaje..
E bună și rezolvarea ta, dar poate să aibă dovlecii puși să pice la mobi.. verifică mob_drop_item sau prin quest/object la mobii la care cad !
nu merge.. in nici un fel... am cautat si in mob_drop_item si nu exista.. am incercat si comanda /e halloween_active 0
codul este 50095 de la dovleci
questul este asta
codul este 50095 de la dovleci
questul este asta
Cod: Selectaţi tot
quest trick_or_treat begin
state start begin
when login or enter begin
if get_time() > pc.getqf("halloween_info_restart") and pc.getqf("halloween_info_restart") > 0 then
pc.setqf("halloween_info_abort", 0)
pc.setqf("halloween_info_restart", 0)
end
if game.get_event_flag("halloween_active") == 1 and pc.getqf("halloween_info_abort") == 0 then
q.set_icon("scroll_open_blue.tga")
send_letter("Este halloween!")
end
end
when button or info begin
say_title("Este Halloween!")
say("")
say("Dovleacul Jack este in vizita pe Metin2 Eclipse ")
say("de halloween.In acest moment,puteti dropa ")
say("bagete magice si dovleci. ")
say("Din ele poti face cufarul de halloween. ")
say("Acel cufar contine o groaza de iteme valoroase. ")
say("")
say("")
local mail = select("OK", "Nu afisa acest mesaj din nou ")
if mail == 2 then
pc.setqf("halloween_info_abort", 1)
pc.setqf("halloween_info_restart", get_time()+691200)
end
end
when 33008.chat."GM: Trick or treat!" with pc.is_gm() == true begin
if game.get_event_flag("halloween_active") == 0 then
say_title(mob_name(33008))
say("")
say("Vrei sa pornesti eventul de halloween")
say("")
local start = select("Da", "Nu")
if start == 1 then
notice_all("Eventul de Halloween a Inceput ")
notice_all("Puteti dropa baghete magice si dovleci ")
notice_all("si le puteti da pe un cufar de halloween. ")
game.set_event_flag("halloween_active", 1)
end
else
say_title(mob_name(33008))
say("")
say("Vrei sa inchizi eventul de halloween")
say("")
local halloweenend = select("Da", "Nu")
if halloweenend == 1 then
notice_all("Eventul de Halloween sa incheiat. ")
game.set_event_flag("halloween_active", 0)
end
end
end
--[[ when 33008.chat."Am Tichet Jack O`Lantern" begin
if pc.count_item(30323) > 0 then
if pc.getqf("hair_active") > 0 then
say_title(mob_name(33008))
say("")
say("Salut! Porti deja un dovleac pe cap")
say("")
say_reward("Coafura dvs trebuie sa expire")
say_reward("pentru a cumpara una noua.")
say("")
else
say_title(mob_name(33008))
say("")
say("Vad ca ai Tichet Jack ")
say("Itii voi da o masca de dovleac puternica ")
say("Ea iti ofera 10% impotriva monstrilo r")
say("pentru 7 zile")
say("")
say_reward("Vrei sa facem schimbul? ")
say("")
local hair = select("Da", "Nu")
if hair == 1 then
local race = pc.get_job()
if race == 0 then
pc.set_part(PART_HAIR, 1015)
affect.remove_hair()
affect.add_hair(apply.ATTBONUS_MONSTER, 10, 604800)
pc.setf("hair","limit_time", get_time()+604800)
pc.setqf("halloween_hair_expire", get_time()+604800)
pc.remove_item(30323, 1)
pc.setqf("hair_active", 1)
elseif race == 1 then
pc.set_part(PART_HAIR, 2015)
affect.remove_hair()
affect.add_hair(apply.ATTBONUS_MONSTER, 10, 604800)
pc.setf("hair","limit_time", get_time()+604800)
pc.setqf("halloween_hair_expire", get_time()+604800)
pc.remove_item(30323, 1)
pc.setqf("hair_active", 1)
elseif race == 2 then
pc.set_part(PART_HAIR, 3015)
affect.remove_hair()
affect.add_hair(apply.ATTBONUS_MONSTER, 10, 604800)
pc.setf("hair","limit_time", get_time()+604800)
pc.setqf("halloween_hair_expire", get_time()+604800)
pc.remove_item(30323, 1)
pc.setqf("hair_active", 1)
else
pc.set_part(PART_HAIR, 4015)
affect.remove_hair()
affect.add_hair(apply.ATTBONUS_MONSTER, 10, 604800)
pc.setf("hair","limit_time", get_time()+604800)
pc.setqf("halloween_hair_expire", get_time()+604800)
pc.remove_item(30323, 1)
pc.setqf("hair_active", 1)
end
end
end
else
say_title("Tichet Jack O`Lantern")
say("")
say("Ai nevoie de un Tichet Jack O`Lantern pentru ")
say("a face schimbul.")
say("")
say_item_vnum(30323)
say("")
say_reward("Acest tichet il puteti obtine din ")
say_reward("cufarul de halloween. ")
say("")
end
end ]]
when 33008.chat."Event Halloween" begin
if game.get_event_flag("halloween_active") == 0 then
say_title(mob_name(33008))
say("")
say("Eventul de Halloween nu este activ. ")
say("Va rugam sa incercati mai tarziu. ")
say("")
elseif game.get_event_flag("halloween_active") == 1 then
if pc.count_item(30322) > 0 and pc.count_item(50095) > 0 then
say_title(mob_name(33008))
say("")
say("Salut ")
say("A sosit timpul pentru bomboane si groza! ")
say("")
say("Vad ca esti bine pregatit! Vrei sa schimbi ")
say("o bageta magica si un dovleac ")
say("pentru un cufar de halloween? ")
say("")
local trade = select("Da", "Nu.")
if trade == 1 then
say_title(mob_name(33008))
say("")
say("He he bine,bucurate de cufar. ")
say("Iti doresc un halloween infricosator! ")
say("")
say_reward("Ai primit cufar de halloween ")
pc.remove_item(30322,1)
pc.remove_item(50032,1)
pc.remove_item(50095,1)
pc.give_item2(50215,1)
end
else
say_title(mob_name(33008))
say("")
say("Heeee!Nu trisa de halloween! ")
say("Nu ai toate elementele! ")
say("Ai nevoie de o bagheta magica si de un dovleac ")
say("pentru a face un cufar de halloween! ")
say("")
say("")
end
end
end
end
end- MariusExygo
-

- Mesaje: 2063
- Membru din: 09 Mar 2014, 15:47
- Server: WildFantasy
- Regat: Jinno
- Aprecieri: 156
- Mulţumiri: 226
- Rezolvări prob.: 4
- Discord: Copiază ID
- Contact:
Pai nu e ala questul ma, vezi tu cumva vreun when kill prin el ?marincosmin2005 scrie:nu merge.. in nici un fel... am cautat si in mob_drop_item si nu exista.. am incercat si comanda /e halloween_active 0
codul este 50095 de la dovleci
questul este asta
Cod: Selectaţi tot
quest trick_or_treat begin state start begin when login or enter begin if get_time() > pc.getqf("halloween_info_restart") and pc.getqf("halloween_info_restart") > 0 then pc.setqf("halloween_info_abort", 0) pc.setqf("halloween_info_restart", 0) end if game.get_event_flag("halloween_active") == 1 and pc.getqf("halloween_info_abort") == 0 then q.set_icon("scroll_open_blue.tga") send_letter("Este halloween!") end end when button or info begin say_title("Este Halloween!") say("") say("Dovleacul Jack este in vizita pe Metin2 Eclipse ") say("de halloween.In acest moment,puteti dropa ") say("bagete magice si dovleci. ") say("Din ele poti face cufarul de halloween. ") say("Acel cufar contine o groaza de iteme valoroase. ") say("") say("") local mail = select("OK", "Nu afisa acest mesaj din nou ") if mail == 2 then pc.setqf("halloween_info_abort", 1) pc.setqf("halloween_info_restart", get_time()+691200) end end when 33008.chat."GM: Trick or treat!" with pc.is_gm() == true begin if game.get_event_flag("halloween_active") == 0 then say_title(mob_name(33008)) say("") say("Vrei sa pornesti eventul de halloween") say("") local start = select("Da", "Nu") if start == 1 then notice_all("Eventul de Halloween a Inceput ") notice_all("Puteti dropa baghete magice si dovleci ") notice_all("si le puteti da pe un cufar de halloween. ") game.set_event_flag("halloween_active", 1) end else say_title(mob_name(33008)) say("") say("Vrei sa inchizi eventul de halloween") say("") local halloweenend = select("Da", "Nu") if halloweenend == 1 then notice_all("Eventul de Halloween sa incheiat. ") game.set_event_flag("halloween_active", 0) end end end --[[ when 33008.chat."Am Tichet Jack O`Lantern" begin if pc.count_item(30323) > 0 then if pc.getqf("hair_active") > 0 then say_title(mob_name(33008)) say("") say("Salut! Porti deja un dovleac pe cap") say("") say_reward("Coafura dvs trebuie sa expire") say_reward("pentru a cumpara una noua.") say("") else say_title(mob_name(33008)) say("") say("Vad ca ai Tichet Jack ") say("Itii voi da o masca de dovleac puternica ") say("Ea iti ofera 10% impotriva monstrilo r") say("pentru 7 zile") say("") say_reward("Vrei sa facem schimbul? ") say("") local hair = select("Da", "Nu") if hair == 1 then local race = pc.get_job() if race == 0 then pc.set_part(PART_HAIR, 1015) affect.remove_hair() affect.add_hair(apply.ATTBONUS_MONSTER, 10, 604800) pc.setf("hair","limit_time", get_time()+604800) pc.setqf("halloween_hair_expire", get_time()+604800) pc.remove_item(30323, 1) pc.setqf("hair_active", 1) elseif race == 1 then pc.set_part(PART_HAIR, 2015) affect.remove_hair() affect.add_hair(apply.ATTBONUS_MONSTER, 10, 604800) pc.setf("hair","limit_time", get_time()+604800) pc.setqf("halloween_hair_expire", get_time()+604800) pc.remove_item(30323, 1) pc.setqf("hair_active", 1) elseif race == 2 then pc.set_part(PART_HAIR, 3015) affect.remove_hair() affect.add_hair(apply.ATTBONUS_MONSTER, 10, 604800) pc.setf("hair","limit_time", get_time()+604800) pc.setqf("halloween_hair_expire", get_time()+604800) pc.remove_item(30323, 1) pc.setqf("hair_active", 1) else pc.set_part(PART_HAIR, 4015) affect.remove_hair() affect.add_hair(apply.ATTBONUS_MONSTER, 10, 604800) pc.setf("hair","limit_time", get_time()+604800) pc.setqf("halloween_hair_expire", get_time()+604800) pc.remove_item(30323, 1) pc.setqf("hair_active", 1) end end end else say_title("Tichet Jack O`Lantern") say("") say("Ai nevoie de un Tichet Jack O`Lantern pentru ") say("a face schimbul.") say("") say_item_vnum(30323) say("") say_reward("Acest tichet il puteti obtine din ") say_reward("cufarul de halloween. ") say("") end end ]] when 33008.chat."Event Halloween" begin if game.get_event_flag("halloween_active") == 0 then say_title(mob_name(33008)) say("") say("Eventul de Halloween nu este activ. ") say("Va rugam sa incercati mai tarziu. ") say("") elseif game.get_event_flag("halloween_active") == 1 then if pc.count_item(30322) > 0 and pc.count_item(50095) > 0 then say_title(mob_name(33008)) say("") say("Salut ") say("A sosit timpul pentru bomboane si groza! ") say("") say("Vad ca esti bine pregatit! Vrei sa schimbi ") say("o bageta magica si un dovleac ") say("pentru un cufar de halloween? ") say("") local trade = select("Da", "Nu.") if trade == 1 then say_title(mob_name(33008)) say("") say("He he bine,bucurate de cufar. ") say("Iti doresc un halloween infricosator! ") say("") say_reward("Ai primit cufar de halloween ") pc.remove_item(30322,1) pc.remove_item(50032,1) pc.remove_item(50095,1) pc.give_item2(50215,1) end else say_title(mob_name(33008)) say("") say("Heeee!Nu trisa de halloween! ") say("Nu ai toate elementele! ") say("Ai nevoie de o bagheta magica si de un dovleac ") say("pentru a face un cufar de halloween! ") say("") say("") end end end end end
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: sanducatalin1 și 36 vizitatori






