Problema EVENT Cufere Clar De Luna

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

Nivel 1
Mesaje: 55
Membru din: 01 Mar 2015, 02:39
Aprecieri: 0
Mulţumiri: 1  
Medalii

Nu imi merge questul deloc,inainte sa umblu prin el picau cuferele pe jos,deci am incercat sa il modific sa le fac sa pice in inventar...si l-am stricat de tot.
Ma poate ajuta cine cineva cu un quest bun pentru eveniment clar de luna permanent?
Sa pice multe,foarte repede.
Multumesc anticipat !
Ultima oară modificat 20 Apr 2015, 13:43 de către Răzvaan, modificat 1 dată în total.
Motiv: Textul trebuie sa fie normal.
Avatar utilizator
atharos
Nivel 1

Nivel 1
Mesaje: 55
Membru din: 01 Mar 2015, 02:39
Aprecieri: 0
Mulţumiri: 1  
Medalii

Ma poate ajuta cineva ?
Asta e questul,ce am stricat in el ? Ca nu pica deloc cufere,nici o mapa. ([OwN]Draconis) este numele meu.
Questul se activeaza,am dat permisiuni 777 arata si in joc,cufar clar de luna activat,i-am bagat rata 100(de la 1-100) si tot nimic,am incercat si cu caractere level 1,tot nu pica.
quest cufere_clar_luna begin
state start begin
when login begin
if game.get_event_flag("mondlicht_event") == 1 then
notice("[Eveniment]Cufãr 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() <= 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 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("[Eveniment]Cufãr Clar de Lunã: Activ")
say("")
say_reward("Opreste Eventul?")
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]Cufãr 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 Clar De Lunã : ~ Închis ")
say("")
say_reward("Start Eveniment?")
local s=select("Da", "Nu")
if s==1 then
say_title("Administrare Eveniment:")
say("")
say("[Eveniment]Cufãr Clar de Lunã: A inceput")
game.set_event_flag("mondlicht_event", 1)
char_log(0, "Mondlicht_event_start from" ..pc.get_name())
notice_all("[Eveniment]Cufãr Clar de Lunã: A inceput!")
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() == "[OwN]Draconis" or pc.get_name() == "[OwN]Draconis" or pc.get_name() == "[OwN]Draconis" 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
Ultima oară modificat 20 Apr 2015, 13:45 de către Răzvaan, modificat de 3 ori în total.
Motiv: Mesaje unite, dublu post + textul trebuie sa fie normal.
Avatar utilizator
atharos
Nivel 1

Nivel 1
Mesaje: 55
Membru din: 01 Mar 2015, 02:39
Aprecieri: 0
Mulţumiri: 1  
Medalii

Asta e questul,ce am stricat in el ? Ca nu pica deloc cufere,nici o mapa. ([OwN]Draconis) este numele meu.
Questul se activeaza,am dat permisiuni 777 arata si in joc,cufar clar de luna activat,i-am bagat rata 100(de la 1-100) si tot nimic,am incercat si cu caractere level 1,tot nu pica.
quest cufere_clar_luna begin
state start begin
when login begin
if game.get_event_flag("mondlicht_event") == 1 then
notice("[Eveniment]Cufãr 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() <= 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 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("[Eveniment]Cufãr Clar de Lunã: Activ")
say("")
say_reward("Opreste Eventul?")
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]Cufãr 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 Clar De Lunã : ~ Închis ")
say("")
say_reward("Start Eveniment?")
local s=select("Da", "Nu")
if s==1 then
say_title("Administrare Eveniment:")
say("")
say("[Eveniment]Cufãr Clar de Lunã: A inceput")
game.set_event_flag("mondlicht_event", 1)
char_log(0, "Mondlicht_event_start from" ..pc.get_name())
notice_all("[Eveniment]Cufãr Clar de Lunã: A inceput!")
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() == "[OwN]Draconis" or pc.get_name() == "[OwN]Draconis" or pc.get_name() == "[OwN]Draconis" 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
Ultima oară modificat 20 Apr 2015, 13:44 de către Răzvaan, modificat de 2 ori în total.
Motiv: Textul trebuie sa fie normal.
Avatar utilizator
atharos
Nivel 1

Nivel 1
Mesaje: 55
Membru din: 01 Mar 2015, 02:39
Aprecieri: 0
Mulţumiri: 1  
Medalii

UP !!! Din cati x sunteti pe forumul asta de y,nu sunteti unu in stare sa ma ajutati cu un amarat de quest ?
Scris Gros si multe emoticoane :))) =)))) :) :))) :) :) :)))) :)) =)))) _l_
Avatar utilizator
Camelon
Nou Venit

Nou Venit
Mesaje: 8
Membru din: 20 Apr 2015, 14:21
Server: None
Regat: Jinno
Aprecieri: 0
Mulţumiri: 0
Medalii

Stergel pe acela si bagal pe asta

Cod: Selectaţi tot

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("Î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
Tutorial instalare quest:
1. Salvaţi conţinutul quest-ului într-un fişier text numit de exemplu nume_quest.quest .
2. Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).
3. Îl puneţi acolo (să fie .quest) şi da-ţi permisiuni 777.
4. Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/germany/quest apoi ./qc nume_quest.quest
5. Intraţi pe server şi scrieţi /reload q.
6. Testaţi quest-ul.
Avatar utilizator
atharos
Nivel 1

Nivel 1
Mesaje: 55
Membru din: 01 Mar 2015, 02:39
Aprecieri: 0
Mulţumiri: 1  
Medalii

Incerc acum,revin cu Edit.
Edit: Cand setez rata,pun 100 nu ?
Edit2:Tot nu merge,nu pica nici macar 1..am incercat cu contul de gm de la level 1 la 60,pe alt cont de teste de la level 1 la 50,nici macar 1 cl.
Închis
Răspunsuri
10
Vizualizări
1732
Răspunsuri
5
Vizualizări
243
Răspunsuri
2
Vizualizări
167
Răspunsuri
8
Vizualizări
699

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

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Google [Bot] și 137 vizitatori