Cufere lumina luni

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
zollyofficial
Nou Venit

Nou Venit
Mesaje: 25
Membru din: 16 Ian 2017, 17:41
Server: Metin2LastWinner
Regat: Jinno
Aprecieri: 28  
Mulţumiri: 0
 Contact:
Medalii

Buna seara.
Am si eu o problema, cu dropul la cufere.
Am introdus un quest, am dar permisiuni 777 l-am instalat din putty , am intrat in joc, am dat reload q si cu npc-ul am deschis eventul. imi apare ca eventul este activ dar cuferele nu pica . in npc, am si sa setez dropul dar imi spune ca nu am acces ... cum pot rezolva sa primesc acces sau sa setez dropul din alta parte

quest

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 < 60 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
 ! Mesaj de la: zollyofficial
Daca ma ajuti ai un LIKE
Cu Placere!
Afișează semnătura
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

zollyofficial scrie:Buna seara.
Am si eu o problema, cu dropul la cufere.
Am introdus un quest, am dar permisiuni 777 l-am instalat din putty , am intrat in joc, am dat reload q si cu npc-ul am deschis eventul. imi apare ca eventul este activ dar cuferele nu pica . in npc, am si sa setez dropul dar imi spune ca nu am acces ... cum pot rezolva sa primesc acces sau sa setez dropul din alta parte

quest

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 < 60 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

Cod: Selectaţi tot

if pc.get_name() == "[GA]C.Firth" or pc.get_name() == "[GA]C.Firth" or pc.get_name() == "[GA]C.Firth" then
Verifica aceasta linie, si modifica, dca nu este acela numele tau in joc.
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Avatar utilizator
zollyofficial
Nou Venit

Nou Venit
Mesaje: 25
Membru din: 16 Ian 2017, 17:41
Server: Metin2LastWinner
Regat: Jinno
Aprecieri: 28  
Mulţumiri: 0
 Contact:
Medalii

[RaffaeL] scrie:
zollyofficial scrie:Buna seara.
Am si eu o problema, cu dropul la cufere.
Am introdus un quest, am dar permisiuni 777 l-am instalat din putty , am intrat in joc, am dat reload q si cu npc-ul am deschis eventul. imi apare ca eventul este activ dar cuferele nu pica . in npc, am si sa setez dropul dar imi spune ca nu am acces ... cum pot rezolva sa primesc acces sau sa setez dropul din alta parte

quest

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 < 60 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

Cod: Selectaţi tot

if pc.get_name() == "[GA]C.Firth" or pc.get_name() == "[GA]C.Firth" or pc.get_name() == "[GA]C.Firth" then
Verifica aceasta linie, si modifica, dca nu este acela numele tau in joc.
am incercat aceasta varianta inainte as postez .. nu merge
dupa ce am modificat quest, am dat save, si in joc reload q , daca trebuia sa reinstalez in putty asta nu am facut . dar nu cred ca e necesar
 ! Mesaj de la: zollyofficial
Daca ma ajuti ai un LIKE
Cu Placere!
Afișează semnătura
Avatar utilizator
Hades ✔
Utilizatorul Lunii Noiembrie

Utilizatorul Lunii Noiembrie
Mesaje: 3363
Membru din: 22 Aug 2016, 18:35
Server: Hades World
Aprecieri: 104  
Mulţumiri: 824  
Discord: Copiază ID
 Contact:
Medalii

Dacă ai modificat "Quest-ul", îl compilezi şi în "Putty". Imagine Şi dai "Reboot" / "Reload q". Eu recomand "Reboot".

Şi tu pune "Quest-ul" oferit, să-l testezi dacă merge, nu te apuci să-l modifici de unul singur.
Hades World
(New) 2023 Version for Selling!
Discord: hades_97
Server Discord: https://discord.gg/YF27nkC

:flag_gb: :flag_ro: :flag_de: :flag_tr: :flag_pl: :flag_cz: :flag_fr: :flag_pt: :flag_nl: :flag_gr: :flag_hu: :flag_it: :flag_es:

Imagine
Afișează semnătura
Avatar utilizator
zollyofficial
Nou Venit

Nou Venit
Mesaje: 25
Membru din: 16 Ian 2017, 17:41
Server: Metin2LastWinner
Regat: Jinno
Aprecieri: 28  
Mulţumiri: 0
 Contact:
Medalii

[ Hades ] ✔ scrie:Dacă ai modificat "Quest-ul", îl compilezi şi în "Putty". Imagine Şi dai "Reboot" / "Reload q". Eu recomand "Reboot".

Şi tu pune "Quest-ul" oferit, să-l testezi dacă merge, nu te apuci să-l modifici de unul singur.
Gata, am rezolvat, multumesc frumos :)
Amundoi ati raspuns exact cu ce aveam nev :)
C/T
 ! Mesaj de la: zollyofficial
Daca ma ajuti ai un LIKE
Cu Placere!
Afișează semnătura
Avatar utilizator
Hades ✔
Utilizatorul Lunii Noiembrie

Utilizatorul Lunii Noiembrie
Mesaje: 3363
Membru din: 22 Aug 2016, 18:35
Server: Hades World
Aprecieri: 104  
Mulţumiri: 824  
Discord: Copiază ID
 Contact:
Medalii

Rezolvat. Mutat în "Probleme Rezolvate".
Pentru acest mesaj, Hades ✔ for the post:
Codexx
Hades World
(New) 2023 Version for Selling!
Discord: hades_97
Server Discord: https://discord.gg/YF27nkC

:flag_gb: :flag_ro: :flag_de: :flag_tr: :flag_pl: :flag_cz: :flag_fr: :flag_pt: :flag_nl: :flag_gr: :flag_hu: :flag_it: :flag_es:

Imagine
Afișează semnătura
Închis

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

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