Register for your free account! | Forgot your password?

You last visited: Today at 04:26

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE]Moonlight Event

Discussion on [RELEASE]Moonlight Event within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
Howaner's Avatar
 
elite*gold: 132
Join Date: Apr 2010
Posts: 2,864
Received Thanks: 2,009
[RELEASE]Moonlight Event

Es gibt in DE ein Moonlight Event wo man Moonlighttruhen droppt wenn man es aktiviert
Die Texte stimmen nicht mit denen von DE überein aber sonst egal
Man kann es als GM beim Npc 9010 aktivieren und deaktivieren

Quest:
PHP Code:
quest moonlight begin
    state start begin
        when 9010.chat
."Moonlight Event GM" with pc.is_gm() begin
            
if game.get_event_flag("moon_drop") == 0 then
                say
("Das Moonlight Event ist deaktiviert")
                
say("Möchtest du es aktivieren?")
                
local s select("Ja","Nein")
                if 
== 1 then
                    say
("Moonlight Event wurde aktiviert!")
                    
game.set_event_flag("moon_drop"1)
                    
notice_all("Das Moonlight Event wurde aktiviert!")
                else
                    return
                
end
            
else
                
say("Das Moonlight Event ist aktiviert")
                
say("Möchtest du es deaktivieren?")
                
local s select("Ja","Nein")
                if 
== 1 then
                    say
("Das Moonlight Event wurde deaktiviert!")
                    
game.set_event_flag("moon_drop"0)
                    
notice_all("Das Moonlight Event wurde deaktiviert!")
                else
                    return
                
end
            end
        end
    end
end 
thx an Risan für den den flag moon_drop
Howaner is offline  
Thanks
20 Users
Old 07/31/2011, 15:42   #2
 
.Risan.'s Avatar
 
elite*gold: 30
Join Date: Jul 2010
Posts: 1,627
Received Thanks: 1,450
Ja, aber deine befehle sind Falsch. Wenn Gamecore genauer anschaust wirst du sehen das der Befehl für das Mondlichtschatztruhen event anders lautet.

moon_drop

Würde es eher sein!

Ich zum meinem Teil hab alle Eventbefehle entbuggt und funktionen gegeben.

EDIT: Deine Quest kannst in tonne hauen und würde alle anderen Quest blockieren!

Hab deine Quest mal abgeändert..
PHP Code:
quest moonlight begin
    state start begin
        when 9010.chat
."Moonlight Event GM" with pc.is_gm() begin
            
if game.get_event_flag("moon_drop") == 0 then
                say
("Das Moonlight Event ist deaktiviert")
                
say("Möchtest du es aktivieren?")
                
local s select("Ja","Nein")
                if 
== 1 then
                    say
("Moonlight Event wurde aktiviert!")
                    
game.set_event_flag("moon_drop"1)
                    
notice_all("Das Moonlight Event wurde aktiviert!")
                else
                    return
                
end
            
else
                
say("Das Moonlight Event ist aktiviert")
                
say("Möchtest du es deaktivieren?")
                
local s select("Ja","Nein")
                if 
== 1 then
                    say
("Das Moonlight Event wurde deaktiviert!")
                    
game.set_event_flag("moon_drop"0)
                    
notice_all("Das Moonlight Event wurde deaktiviert!")
                else
                    return
                
end
            end
        end
    end
end 
.Risan. is offline  
Thanks
25 Users
Old 07/31/2011, 16:38   #3
 
Kriegergeist^^'s Avatar
 
elite*gold: 60
Join Date: Jul 2010
Posts: 771
Received Thanks: 439
Habe gewusst das es das event durch ein Befehlt aktiv wird
aber so geht es leichter

Danke .Howan und Risan

Wie groß ist die warscheinlichkeit eine zu droppen, also ohne raten?

MfG
Kriegergeist^^
Kriegergeist^^ is offline  
Old 07/31/2011, 20:06   #4
 
.Joko2's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 44
Received Thanks: 20
Thanks Howan
.Joko2 is offline  
Old 07/31/2011, 20:13   #5
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,702
Received Thanks: 1,468
Quote:
Originally Posted by .Joko2 View Post
Thanks Howan
Für sowas gibts den Thanks Button.
Und ich finde es eher angebracht Risan ein Thx zu geben
.Awesoome is offline  
Thanks
1 User
Old 07/31/2011, 20:23   #6
 
Kriegergeist^^'s Avatar
 
elite*gold: 60
Join Date: Jul 2010
Posts: 771
Received Thanks: 439
Kleine Frage, kann man diese quest so um schreiben, das man also das ganze Weihnnachts Event aktivert?
Wen ja, wie?
Kriegergeist^^ is offline  
Old 07/31/2011, 20:26   #7
 
.Risan.'s Avatar
 
elite*gold: 30
Join Date: Jul 2010
Posts: 1,627
Received Thanks: 1,450
Ja geht, such dir die Eventflags hierfür raus und bau sie ein.
Kann sogar ein Anfänger.
.Risan. is offline  
Thanks
1 User
Old 08/08/2011, 18:44   #8
 
Howaner's Avatar
 
elite*gold: 132
Join Date: Apr 2010
Posts: 2,864
Received Thanks: 2,009
weis eigentlich wer genau wie monarch-system funktioniert
Also keine Quest oder Sonst was sondern nur eine Beschreibung wie das abläuft
Howaner is offline  
Thanks
1 User
Old 08/08/2011, 18:55   #9
 
lfcmaus's Avatar
 
elite*gold: 205
Join Date: Jun 2010
Posts: 5,334
Received Thanks: 2,510
welche monster droppen die truhen dann alle oder? als zufalls drop ne?
lfcmaus is offline  
Old 08/09/2011, 20:02   #10
 
Killermen123's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 456
Received Thanks: 271
iwie dropp ich diese turhen nicht wenn ich das event mit der quest aktiviere..
Killermen123 is offline  
Old 08/11/2011, 06:21   #11
 
elprinc™'s Avatar
 
elite*gold: 4
Join Date: May 2010
Posts: 45
Received Thanks: 14
server# python make.py
QUEST : moonlight
STATE : start
WHEN : 9010.chat ("Moonlight Event GM")
with pc . is_gm ( )
Error occured on compile drop.quest
elprinc™ is offline  
Old 01/05/2012, 16:47   #12
 
elite*gold: 1
Join Date: May 2011
Posts: 623
Received Thanks: 153
Man dropt nichts, von daher hats kein Sin
-Roxon- is offline  
Old 01/05/2012, 16:49   #13
 
lolor2's Avatar
 
elite*gold: 135
Join Date: Oct 2007
Posts: 1,088
Received Thanks: 210
man droppt was also hats sinn xD
lolor2 is offline  
Old 01/05/2012, 17:55   #14
 
ReckLess.'s Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 85
Received Thanks: 192
Necropost. Easy-Going.
ReckLess. is offline  
Old 01/05/2012, 18:04   #15
 
elite*gold: 0
Join Date: Jan 2011
Posts: 2,903
Received Thanks: 1,262
PHP Code:
quest mondlicht_truhen begin
    state start begin
        when login begin
            
if game.get_event_flag("mondlicht_event") == 1 then
                notice
("Das Mondlicht Event auf Servername wurde gestartet!")
                
notice("Die Dropchance einer Truhe liegt bei " ..game.get_event_flag("mond_drop_chance").. "%")
            
end
        end
        when kill begin
            local m_ind 
pc.get_map_index()
            if 
npc.is_pc() then
            
else
                if 
m_ind == or m_ind == 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(1100)
                        
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(1100)
                        
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(1100)
                        
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(1100)
                        
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(1100)
                        
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(1100)
                        
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: Mondlicht Event" with pc.is_gm() begin
            
if game.get_event_flag("mondlicht_event") == 1 then
                say_title
("Event Managment:")
                
say("")
                
say("Mondlicht Event Status: Gestartet")
                
say("")
                
say_reward("Event Beenden?")
                
local s=select("Ja""Nein")
                if 
s==1 then
                    say_title
("Event Managment:")
                    
say("")
                    
say("Event wurde beendet.")
                    
say("Viel Spaß noch.")
                    
game.set_event_flag("mondlicht_event"0)
                    
char_log(0"Mondlicht_event_end from" ..pc.get_name())
                    
notice_all("Das Mondlicht Event wurde beendet.")
                elseif 
s==2 then
                    say_title
("Event Managment:")
                    
say("")
                    
say("Man sieht sich.")
                
end
            
else
                
say_title("Event Managment:")
                
say("")
                
say("Mondlicht Event Status: Beendet")
                
say("")
                
say_reward("Event Starten?")
                
local s=select("Ja""Nein")
                if 
s==1 then
                    say_title
("Event Managment:")
                    
say("")
                    
say("Event wurde gestartet.")
                    
say("Viel Spaß noch.")
                    
game.set_event_flag("mondlicht_event"1)
                    
char_log(0"Mondlicht_event_start from" ..pc.get_name())
                    
notice_all("Das Mondlicht Event wurde gestartet.")
                    
notice_all("Viel Spaß!")
                elseif 
s==2 then
                    say_title
("Event Managment:")
                    
say("")
                    
say("Man sieht sich.")
                
end
            end
        end
        when 9004.chat
."GM: Mondlicht Event Drop Chance" with pc.is_gm() begin
            
if pc.get_name() == "[SA]4Live" or pc.get_name() == "[GA]Three" or pc.get_name() == "[SA]Azasur" then
                say_title
("Event Managment:")
                
say("")
                
say("Wie hoch soll die Dropchance sein?")
                
say("")
                
say_reward("1-100")
                
say("")
                
local new_chance tonumber(input())
                if 
new_chance or new_chance 100 then
                    say_title
("Event Managment:")
                    
say("")
                    
say("Fehlerhafte Eingabe!")
                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("Event Managment:")
                    
say("")
                    
say("Dropchance auf " ..new_chance.. " gesetzt.")
                    
say("Man sieht sich.")
                
end
            
else
                
say_title("Event Managment:")
                
say("")
                
say("Du hast nicht die Nötigen rechte um dies auszuführen.")
            
end
        end
    end
end 
Da kann man die droppchangse einstellem

mfg
£αšεℜ™ is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release] New Event
09/26/2010 - EO PServer Guides & Releases - 12 Replies
The event i am releasing is something like a scavenger hunt. But you start off and get one item. Then you go and find the npc that you exchange that item to. After this you have to go to different maps looking for the npc until you have found them all. There is 5 different npcs on this one. But you can add as many as you want. This event was maid with token exchange event. So i hope you all can use this. delete from cq_action where id >= 1950000029 and id <= 1950000039; delete from...
[RELEASE] Modded Moonlight Engine v1.3.2.0
11/06/2009 - Kal Online - 13 Replies
Now i gonna release a modded moonlightengine. That means this engine is fully undetected and can be used on Int. and Priv. This version is working for XP/Vista/Win7. Virus Scan: File information
[Release]Moonlight Engine 1348.4.0.1
07/20/2009 - Grand Chase Philippines - 21 Replies
FaaF Released A New Engine Well Its Everybodys Time Again xD! Link : Pwned By The Filter ! xD!
[Release]Pk Event
07/01/2009 - CO2 PServer Guides & Releases - 34 Replies
Okay, this is my first release for a LOTF PK event, so i hope you enjoy it! Any questions reply here or message me on msn at [email protected]. Also Credits to EmmeTheCoder for his Start/stop npc codes used for this. Remember to hit Thanks! First: Go to General.cs and add this somewhere: public static bool PKEvent = false; Second: Go to Character.cs and search for: public void TimerElapsed(object source, ElapsedEventArgs e)
RARE AND NEW RELEASE:Moonlight engine1196.3.0.1+MapleSEA 0.59 CT/CEM !!!!!!!!!
07/27/2008 - MapleStory - 1 Replies
Moonlight engine1196.3.0.1 MoonLight_Engine_1196.3.0.1.rar - MoonLight Engine 1196.3.0.1 - BADONGO MapleSEA 0.59 CT V.59 CT and CEM part2.rar Open moonlight engine and use moonlight engine and open the ct and happy hacking MapleSEA Hacks is back again~~



All times are GMT +2. The time now is 04:26.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.