quest moonlight begin state start begin when 30121.chat."Moonlight Event GM" with pc.is_gm() begin if game.get_event_flag("mondi_drop") == 0 then say("Das Mondlicht - Event ist deaktiviert") say("Möchtest du es aktivieren?") local s = select("Ja","Nein") if s == 1 then say("Moonlight Event wurde aktiviert!") game.set_event_flag("mondi_drop", 1) notice_all("Das Mondlicht - Event wurde gestartet!") else return end else say("Das Mondlicht - Event ist aktiviert") say("Möchtest du es deaktivieren?") local s = select("Ja","Nein") if s == 1 then say("Das Moonlight Event wurde deaktiviert!") game.set_event_flag("mondi_drop", 0) notice_all("Das Mondlicht - Event wurde beendet!") else return end end end end end
quest mond_drop begin state start begin when kill with game.get_event_flag("mondi_drop") == 1 and not npc.is_pc() begin local s=number(1, 250) if 5 == s then game.drop_item_with_ownership(50011,1) end end end end
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest 07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies ENGLISH
Hello dear community, this is a very simple guide but at the same time useful.
How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"?
Easy!
Open the file "make" and replace the content of the file with this:
for f in *.quest; do ./qc $f; done
Oki. Now set the 0777 permission to the file.
Finally open a SSH client and sign in. Write the command:
cd /game_file_folder