[Questfile]GM-Item

06/12/2010 12:48 °RapLexx°#1
Hey Com

Ich möchte euch heute meine GM-Item quest zur verfügung stellen.

Copyright bitte drüber lassen.

Code:
----------------------------------
-- (c)xDestination
-- GM-Item
----------------------------------
quest gmhelpitem begin 
	state start begin
	  when [COLOR="Magenta"]*Item ID*[/COLOR].use with pc.is_gm() begin    
		  
             say_title("GM Helfer")
			 say("Ist ausschließlich für das Team")
			 say("Das Item erleichtet den Job des Teams.")
			 say("")
			 say("Bitte wähle eine der folgenden Optionen aus!")
						 
			 local main_set = select("Info Ansagen", "Charakter", "Event Management", "Skills", "Abbrechen")
			 if main_set == 5 then
				return
			 end
             if main_set == 1 then	
			 local g = select ("Support" , "GM Offline" , "Server Reboot" , "Link" , "Relog" , "Id u. PW", "Abbrechen")
             if g == 1 then
			 notice_all ("~ ~ ~")
                 command ("n "..pc.get_name() .." steht euch für Fragen und Probleme zur Verfügung!")
				 notice_all ("Play Fair - Dont Hack!")
				 notice_all ("~ ~ ~")
                 return
             end     
             if g == 2 then
			 	 notice_all ("~ ~ ~")
                 command ("n ".. pc.get_name() .." geht erstmal Offline und wünscht euch allen noch viel Spaß!")
				 notice_all ("~ ~ ~")
                 return
             end 		 
			if g == 3 then
			notice_all ("*!*!*!*")
			notice_all ("Bitte Ausloggen - Server reboot!")
				 notice_all ("Please Logout - Server reboot!")
				 notice_all ("*!*!*!*")
                           return
             end
			 if g == 4 then
			 notice_all ("*!*!*!*")
                 notice_all ("Homepage, News, Payment ||>[COLOR="Magenta"]*Der Link*[/COLOR]")
				 notice_all ("Forum ||> [COLOR="Magenta"]*Der Link*[/COLOR]")
				 notice_all ("*!*!*!*")
                 return
             end
			 if g == 5 then
			 notice_all ("*!*!*!*")
			     notice_all ("Bitte alle reloggen!")
				 notice_all ("Please relog all!")
				 notice_all ("*!*!*!*")
                 return
             end
			 
	     if g == 6 then
		 notice_all ("*!*!*!*")
			 	 notice_all ("GMs fragen niemals nach euerer ID und eurem PW!")
				 notice_all ("Gibt diese auch nicht an dritte Personen weiter!")
				 notice_all ("*!*!*!*")
                 return
             end
             if g == 7 then
                 return
             end
          end		
		  
		if main_set == 2 then
		say("")
		say("Hier sind einige Sachen für dein GM Charakter:")
		say("")
				local g = select("Ritterlich", "Sub-Skills","Pferdlevel 21", "Standart EQ", "Max HP", "Abbrechen")
				
				if g == 1 then			 
                 command("set "..pc.get_name() .." align 9999999")
				 return
             end     
             if g == 2 then
			 	command("setsk 122 2")
				command("setsk 121 59")
				command("setsk 124 59")
				command("setsk 125 59")
				command("setsk 126 59")
				command("setsk 127 59")
				command("setsk 128 59")
				command("setsk 129 59")
				command("setsk 130 59")
				command("setsk 131 59")
                 return
             end 		 
			if g == 3 then
				command("horse_level "..pc.get_name() .." 21")
				command("i 50053")
                return
             end
			 if g == 4 then
				command("i 90021")
				command("i 90022")
				command("i 71050 200")
				command("i 72701")
				command("i 72048 200")
				command("i 72042 200")
				command("i 72039 200")
				command("i 72036 200")
				command("i 72033 200")
				command("i 72027 200")
				command("i 71033")
				command("i 13169")
				command("i 13149")
				command("i 17329")
				command("i 13189")
				command("i 15449")
				command("i 16329")
				command("i 14329")
				command("i 12949")
				return
             end
			 
			 if g == 5 then 
				command("set "..pc.get_name() .." max_hp 999999999")
				command("r")
				return
			end
			if g == 6 then
			return
			end
			end
			
				if main_set == 4 then
	say("")
	say("Bitte waehle deine Charakter Klasse:")
	say("")
			local i = select ("Krieger", "Sura", "Ninja", "Schamane", "Abbrechen")
					if i == 1 then
						command("setsk 1 59")
						command("setsk 2 59")
						command("setsk 3 59")
						command("setsk 4 59")
						command("setsk 5 59")								
						command("setsk 16 59")
						command("setsk 17 59")
						command("setsk 18 59")
						command("setsk 19 59")
						command("setsk 20 59")
						return
						end
					if i == 2 then
						command("setsk 61 59")
						command("setsk 62 59")
						command("setsk 63 59")
						command("setsk 64 59")
						command("setsk 65 59")
						command("setsk 66 59")
						command("setsk 76 59")
						command("setsk 77 59")
						command("setsk 78 59")
						command("setsk 79 59")
						command("setsk 80 59")
						command("setsk 81 59")
						return
						end
					if i == 3 then
						command("setsk 31 59")
						command("setsk 32 59")
						command("setsk 33 59")
						command("setsk 34 59")
						command("setsk 34 59")
						command("setsk 35 59")
						command("setsk 46 59")
						command("setsk 47 59")
						command("setsk 48 59")
						command("setsk 49 59")
						command("setsk 50 59")
						return
						end
					if i == 4 then
						command("setsk 91 59")
						command("setsk 92 59")
						command("setsk 93 59")
						command("setsk 94 59")
						command("setsk 95 59")
						command("setsk 96 59")
						command("setsk 106 59")
						command("setsk 107 59")
						command("setsk 108 59")
						command("setsk 109 59")
						command("setsk 110 59")
						command("setsk 111 59")
						return
						end
						end					

	
			if main_set == 3 then	
			
			say_title("GM Helfer")
			say("")
			say("Hiermitkannst du saemtliche Events starten.")
			say(" ")
			say_title("Waehle nun aus folgenden Optionen aus:")
			say("")
			
			local e = select("OX Vorbereitung Info" , "Tag / Nacht", "Weihnachts Events", "Rates einstellen", "Abbrechen")
				if e == 1 then
				 notice_all ("*!*!*!*")
                 notice_all ("Ein OX Event ist damnächst vom Team geplant!")
				 notice_all ("Bitte haltet euch bereit auf schnellst möglichen Wege zu Uriel zu kommen,")
				 notice_all ("damit jeder am Event dran teilnehmen kann!")
				 notice_all ("*!*!*!*")
				 return
				 end
				if e == 2 then
					say_title("GM Helfer:")
					say("")
					say("Du moechtest also zwischen Tag und")
					say("Nacht wechseln ?")
					
						local f = select ("Tag" , "Nacht", "Abbrechen")
							if f == 1 then
								command ("x 2")
							elseif f == 2 then
								command ("x 1")
							elseif f == 3 then
								return
						end									
						
				elseif e == 3 then
					say_title("GM Helfer:")
					say("")
					say("Du moechtest also die Weihnachts Events Starten?")
							
						local f = select ("Weihnachtsbaum", "Schnee", "Weihnachtsmusik", "Weihnachtsevent starten (Alles)", "Weihnachtsevent stoppen (Alles)", "Abbrechen")
						
						
						if f == 1 then
						
							local g = select ("Weihnachtsbaum aufstellen" , "Weihnachtsbaum wegraeumen", "Abbrechen")
									if g == 1 then
										command ("e xmas_tree 1")
										notice_all ("Bei Weihnachtlicher Stimmung darf")
										notice_all ("ein Weihnachtsbaum nicht fehlen!")
										notice_all ("Das FireMt2 Team hat diesen geschmueckt")
										notice_all ("und in der Mitte Berg Sohans aufgestellt!")
										notice_all ("Frohes Fest!")
										
										say_title("GM Helfer:")
										say("")
										say("Es ist geschafft!")
										say("Der Weihnachtsbaum steht!")
										say("")
									elseif g == 2 then
										command ("e xmas_tree 0")
										notice_all ("Weihnachten neigt sich langsam")
										notice_all ("dem Ende! Der Weihnachtsbaum wird")
										notice_all ("nun nichtmehr benoetigt")
										notice_all ("und wir haben ihn deshalb abgebaut.")
										
										say_title("Seon-Hae:")
										say("")
										say("Es ist geschafft!")
										say("Der Weihnachtsbaum ist weg!")
										say("")
																		
									elseif g == 3 then
										return
									end
							
						elseif f == 2 then
							local h = select ("Schnee an" , "Schnee aus", "Abbrechen")
									if h == 1 then
										command("e xmas_snow 1")
									elseif h == 2 then
										command ("e xmas_snow 0")
									elseif h == 3 then
										return
									end
									
						elseif f == 3 then
							local i = select ("Musik abspielen", "Musik stoppen", "Abbrechen")
									if i == 1 then
										command("e xmas_song 1")
									elseif i == 2 then
										command("e xmas_song 0")
									elseif i == 3 then
										return
									end
						elseif f == 4 then
							say("Willst du wirklich alles aktivieren?")
							say("Also Nachtmodus, den Weihnachtsbaum,")
							say("Schnee und die Weihnachtsmusik?")
							say("")
							local g_sub = select ("Ja", "Nein")
								if g_sub == 1 then
									command("e xmas_tree 1")
									command("e xmas_song 1")
									command("e xmas_boom 1")
									command("e xmas_snow 1")
									say("Alles aktiviert!")
								elseif g_sub == 2 then
									return
								end
						elseif f == 5 then
								say("Willst du wirklich alles deaktivieren?")
								say("Also Nachtmodus, den Weihnachtsbaum,")
								say("Schnee und die Weihnachtsmusik?")
								say("")
						local g_desub = select ("Ja", "Nein")
							if g_desub == 1 then
								command("e xmas_tree 0")
								command("e xmas_song 0")
								command("e xmas_boom 0")
								command("e xmas_snow 0")
								say("Alles deaktiviert!")
							elseif g_desub == 2 then
								return
						end
									
						elseif f == 6 then
							return
						end
									
				elseif e == 4 then
					say_title("GM Helfer:")
					say("")
					say("Du moechtest also die Rates einstellen??")
					say("")
					say_title("Wähle die zu einstellende Rate")
						local rateset = select ("EXP","Yang","Max-Yang","Gegenstaende","Abbrechen")
						if rateset == 1 then
							say_title("Seon-Hae:")
							say("")
							say("Wie hoch soll die EXP-Rate werden?")
								local w =select ("150","250","500","1000","Abbrechen") 
									if w == 1 then
										command("priv_empire 0 4:exp 150 9999")
									elseif w == 2 then
										command("priv_empire 0 4:exp 250 9999")
									elseif w == 3 then
										command("priv_empire 0 4:exp 500 9999")
									elseif w == 4 then
										command("priv_empire 0 4:exp 1000 9999")
									elseif w == 5 then
										return
									end
							
						elseif rateset == 2 then
							say_title("GM Helfer:")
							say("")
							say("Wie hoch soll die Yangdrop-Rate werden?")
								local x =select ("100","200","500","1000","Abbrechen") 
									if x == 1 then
										command("priv_empire 0 2:gold_drop 100 9999")
									elseif x == 2 then
										command("priv_empire 0 2:gold_drop 200 9999")
									elseif x == 3 then
										command("priv_empire 0 2:gold_drop 500 9999")
									elseif x == 4 then
										command("priv_empire 0 2:gold_drop 1000 9999")
									elseif x == 5 then
										return
									end
						elseif rateset == 3 then
							say_title("GM Helfer:")
							say("")
							say("Wie hoch soll die MaxYang-Drop-Rate werden?")
								local y =select ("100","200","500","1000","Abbrechen") 
									if y == 1 then
										command("priv_empire 0 3:gold10_drop 100 9999")
									elseif y == 2 then
										command("priv_empire 0 3:gold10_drop 200 9999")
									elseif y == 3 then
										command("priv_empire 0 3:gold10_drop 500 9999")
									elseif y == 4 then
										command("priv_empire 0 3:gold10_drop 1000 9999")
									elseif y == 5 then
										return
									end
						elseif rateset == 4 then
							say_title("GM Helfer:")
							say("")
							say("Wie hoch soll die Gegenstandsdrop-Rate werden?")
							local z =select ("100","200","500","1000","Abbrechen") 
									if z == 1 then
										command("priv_empire 0 1:item_drop 100 9999")
									elseif z == 2 then
										command("priv_empire 0 1:item_drop 200 9999")
									elseif z == 3 then
										command("priv_empire 0 1:item_drop 500 9999")
									elseif z == 4 then
										command("priv_empire 0 1:item_drop 1000 9999")
									elseif z == 5 then
										return
									end
						elseif rateset == 5 then
							return
						end
					
				elseif e == 4 then
					return				
				
		end
		end
	end	
	

end
end

Schreibt mir ideen was noch rein könnte und ich mache es.
HowTo:
Code:
1./usr/home/game/share_data/locale/english/quest
(Kann auch statt english hongkong stehen)
2.hongkong_list runterladen
3. Bearbeiten am besten mit Notepad++
(den questname unten dran schreiben mit .quest hinten dran und einmal enter drücken)
4.hongkong_list wieder hochladen
5. make sh ausführen
6. Ingame /reload q eingeben und freuen
#HowTo added
# Anhang added



MFG
Destiiii
06/12/2010 12:49 Praim#2
Ganz gut :)
Könntest du mir evtl. eine Quest scripten?
06/12/2010 12:50 worse#3
sieht gar nicht so schlecht aus...bekommst nen thanks ;)
06/12/2010 12:50 Metzer#4
Sehr nice, nur eigentlich unnötig.

Für faule GM´s ...


Welches Item is das eig.?
06/12/2010 12:50 Chillerrux#5
nice bekommste thx wenn ich auch eins bekomm xDxDxDxD
06/12/2010 12:58 LS-fanfan#6
Nicht schlecht der Quest. Aber ist wirklich was für faule GM´s :D

Trozdem gute Arbeit ;)
06/12/2010 12:58 °RapLexx°#7
Quote:
Originally Posted by BeZz™ View Post
Sehr nice, nur eigentlich unnötig.

Für faule GM´s ...


Welches Item is das eig.?
Irgend so ein watte ding weiß ich nit mehr weil ich das in db umbenannt habe und anderes icon.

Habe die sachen Pink gemacht die ihr ändern könnt oder was auch nötig ist zu ändern
06/12/2010 13:08 .NumberTwo#8
ist schon toll so ein GM Eq macht fun ^^
06/12/2010 13:10 °RapLexx°#9
Bei dem GM eq ist noch mein Eq drin wen ihr wollt nehme ich es raus.
06/12/2010 13:16 ~Casi~#10
der erste teil mit den schreiben bringt iwie nix jeder kann ja wohl schreiben das er on ist etc
06/12/2010 13:17 °RapLexx°#11
Ja aber davor steht der name dan und das ist eher was für die Faulen GMs
06/12/2010 13:56 Doomadness#12
wieso faule gms? ich find das teil genial echt göttlich !!!!! ehrleichtert einiges !! habs jetzt net en deckt is auch ne bann und chatsperr funktion drinnen?
06/12/2010 14:00 °RapLexx°#13
Danke für die idee setze mich dran.
Kann mir mal bitte jemand den richtigen befehl für chat block geben /block_chat geht bei mir nit.
Schreibt die ganzen ideen für die quest hier rein ich setze mich dan dran wen ich zeit habe.
06/12/2010 14:37 .Raicon#14
Ne idee zum ergänzen ^^ ALso Vil. könnteste ja Event-Starts darüber laufen lassen wie OX Reichsschlacht Weihnachten so wie bei Profizockers Flies und den com /mh all einfügen braucht man manchmal! ^^
06/12/2010 14:41 °RapLexx°#15
Guck mal unter Event Management da ist weinachtsevent und so