|
You last visited: Today at 00:23
Advertisement
[SERVICE] Die Questkontrolle
Discussion on [SERVICE] Die Questkontrolle within the Metin2 Private Server forum part of the Metin2 category.
09/15/2010, 15:13
|
#361
|
elite*gold: 0
Join Date: Jan 2010
Posts: 1,512
Received Thanks: 857
|
Thx
|
|
|
09/15/2010, 19:52
|
#362
|
elite*gold: 0
Join Date: Aug 2010
Posts: 223
Received Thanks: 50
|
@Benhero: kannse mir eventuel hierbei helfen
PHP Code:
quest gmstuff begin
state start begin
when 20095.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 ||>*Der Link*")
notice_all ("Forum ||> *Der Link*")
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", "Neben und Pferde-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 131 59")
command("setsk 137 20")
command("setsk 138 20")
command("setsk 139 20")
command("horse_level "..pc.get_name() .." 21")
command("i 50053")
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
wen ich den ankliecke kommt da nix ;(
|
|
|
09/15/2010, 20:42
|
#363
|
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
|
@all! Probiert bitte eure Quests zu ordnen. Alein dadurch das ich euere Quests immer ordne vergehen schon manchmal 15 Minuten da ich die zusammenhänge erstmal finden und ansotieren muss.... Solltet ihr das nicht machen!!!! Werde ich es mir 2x überlegen ob ich mir eure Quests anschaue!!
Greatz Benhero
99 Posts noch ^-^
--------------------------------
@WaRRiorS~2011 Hier... thx sind erwünscht... (zeit gemessen: zum anordnen: 12Minuten 13Sekunden +- 5Sekunden..
PHP Code:
quest gmstuff begin state start begin when 20095.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 == 1 then local g = select ("Support" , "GM Offline" , "Server Reboot" , "Link" , "Relog" , "Id u. PW", "Abbrechen") if g == 1 then notice_all ("~ ~ ~") notice_all(pc.get_name() .." steht euch für Fragen und Probleme zur Verfügung!") notice_all ("Play Fair - Dont Hack!") notice_all ("~ ~ ~") elseif g == 2 then notice_all ("~ ~ ~") command ("n ".. pc.get_name() .." geht erstmal Offline und wünscht euch allen noch viel Spaß!") notice_all ("~ ~ ~") elseif g == 3 then notice_all ("*!*!*!*") notice_all ("Bitte Ausloggen - Server reboot!") notice_all ("Please Logout - Server reboot!") notice_all ("*!*!*!*") elseif g == 4 then notice_all ("*!*!*!*") notice_all ("Homepage, News, Payment ||>*Der Link*") notice_all ("Forum ||> *Der Link*") notice_all ("*!*!*!*") elseif g == 5 then notice_all ("*!*!*!*") notice_all ("Bitte alle reloggen!") notice_all ("Please relog all!") notice_all ("*!*!*!*") elseif 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 ("*!*! *!*") elseif g == 7 then end elseif main_set == 2 then say("") say("Hier sind einige Sachen für dein GM Charakter:") say("") local g = select("Ritterlich", "Neben und Pferde-Skills","Pferdlevel 21", "Standart EQ", "Max HP", "Abbrechen") if g == 1 then pc.change_alignment(9999999) elseif 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 131 59") command("setsk 137 20") command("setsk 138 20") command("setsk 139 20") command("horse_level "..pc.get_name() .." 21") command("i 50053") elseif g == 3 then command("horse_level "..pc.get_name() .." 21") command("i 50053") elseif 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") elseif g == 5 then command("set "..pc.get_name() .." max_hp 999999999") command("r") elseif g == 6 then´ end elseif 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 ("*!*!*!*") elseif 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 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 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 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 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 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 end elseif f == 6 then 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 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 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 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 end elseif rateset == 5 then end elseif e == 5 then end elseif 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") elseif 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") elseif 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") elseif 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") end elseif main_set == 5 then end end end end
Greatz Benhero
|
|
|
09/15/2010, 21:33
|
#364
|
elite*gold: 0
Join Date: Aug 2010
Posts: 223
Received Thanks: 50
|
@Benhero: thx aber wen ich den ankliecken möchte geht es nicht wiesso
|
|
|
09/15/2010, 21:45
|
#365
|
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
|
öhm? Richtig hochgeladen?
Greatz Benhero
|
|
|
09/15/2010, 22:41
|
#366
|
elite*gold: 0
Join Date: Aug 2010
Posts: 223
Received Thanks: 50
|
Quote:
Originally Posted by Benhero
öhm? Richtig hochgeladen?
Greatz Benhero
|
*** richtig hochgeladen
|
|
|
09/16/2010, 12:50
|
#367
|
elite*gold: 28
Join Date: Apr 2010
Posts: 2,355
Received Thanks: 439
|
PHP Code:
quest drop begin
state start begin
when kill with npc.is_pc() begin
local items = {
11600,
11400,
11200,
}
local n= number(1,ANZAHL)
pc.give_item2(items[n])
chat("Glückwunsch was bekommen ;3")
end
end
end
Was stimmt daran nicht?
Wenn man jemanden killt kommt nur der Text, dass man etwas bekommen hat, nicht aber das Item.
PS: Kann mir evtl. jemand helfen? Irgendwo stand hier mal, wie man per Quest z.B. alle 10 Minuten einen Text (Akündigung) schreiben lassen kann.
Wie ging das nochmal?
|
|
|
09/16/2010, 21:23
|
#368
|
elite*gold: 0
Join Date: Nov 2009
Posts: 177
Received Thanks: 60
|
Was stimmt an der player_kill Quest nicht?
Quote:
quest player_kill begin
state start begin
when login with pc.level >= 15 begin
set_state(information)
end
end
state information begin
when letter begin
send_letter("Mache Duelle")
end
when info or button begin
say("Mache Duelle")
say("Text Text Text")
say("Text Text Text")
say("Text Text Text")
say("Text Text Text")
say("Text Text Text")
say_reward("Toete 80 deiner Mitspieler!")
say("")
pc.setqf("state", 80)
q.set_counter("", 80)
end
when kill begin
local count = pc.getqf("state") - 1
if count <= 80 then
pc.setqf("state", count)
q.set_counter("", count)
end
if count == 0 then
say("Du hast erfolgreich alle Spieler getoetet!")
say("Du bekommst:")
say_reward("30.000.000 Yang")
pc.change_money(30000000)
clear_letter()
set_state(__COMPLETE__)
end
end
end
state __COMPLETE__ begin
end
end
|
|
|
|
09/16/2010, 21:25
|
#369
|
elite*gold: 0
Join Date: Jan 2010
Posts: 1,512
Received Thanks: 857
|
ben mein freund..
Code:
----------------------------------
-- Reichsschat
-- By Avulsed
----------------------------------
quest reichschat begin
state start begin
when 20003.chat."Schreibe eine Ankündigung" begin
if get_time() > pc.getqf("duration") then
say("Hallo du willst mit einem anderen Reich kommunizieren?")
say("Ich kann dir dabei helfen")
say("So kannst du zum Beispiel Items anbieten")
local a = select("Schreibe eine Ankündigung", "Schließen", "Handbuch")
if a == 2 then
return
elseif a == 1 then
say("Du kannst die Ankündigung nun schreiben")
notice_all(pc.get_name(), ": ", input(), input())
pc.setqf("duration",get_time()+60*15*1)
return
elseif a == 3 then
say("Um eine Ankündigung zu schreiben")
say("Schreibst du einfach in die 2 Felder einen Text")
say("Und schickst ihn ab!")
say("Deine Nachricht kann dann jeder sehen")
end
else
say("Zur Vermeidung von Spam")
say("Kannst du nur alle 15 Minuten")
say("Eine Nachricht schreiben")
end
end
end
end
This ^^
Thx bekommse :P
|
|
|
09/16/2010, 21:34
|
#370
|
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
|
Probiers so..
PHP Code:
---------------------------------- -- Reichsschat -- By Avulsed ---------------------------------- quest reichschat begin state start begin when 20003.chat."Schreibe eine Ankündigung" begin if get_time() >= pc.getqf("warte_zeit") then say("Hallo du willst mit einem anderen Reich kommunizieren?") say("Ich kann dir dabei helfen") say("So kannst du zum Beispiel Items anbieten") local a = select("Schreibe eine Ankündigung", "Schließen", "Handbuch") if a == 2 then elseif a == 1 then say("Du kannst die Ankündigung nun schreiben") notice_all(pc.get_name(), ": ", input(), input()) pc.setqf("warte_zeit", get_time()+60*15) elseif a == 3 then say("Um eine Ankündigung zu schreiben") say("Schreibst du einfach in die 2 Felder einen Text") say("Und schickst ihn ab!") say("Deine Nachricht kann dann jeder sehen") end else say("Zur Vermeidung von Spam") say("Kannst du nur alle 15 Minuten") say("Eine Nachricht schreiben") end end end end
Greatz Benhero
|
|
|
09/16/2010, 21:36
|
#371
|
elite*gold: 28
Join Date: Apr 2010
Posts: 2,355
Received Thanks: 439
|
Ben kannst du mir bitte auch eben helfen?
PHP Code:
quest drop begin state start begin when kill with npc.is_pc() begin local items = { 11600, 11400, 11200, } local n= number(1,ANZAHL) pc.give_item2(items[n]) chat("Glückwunsch was bekommen ;3") end end end
Was stimmt daran nicht?
Wenn man jemanden killt kommt nur der Text, dass man etwas bekommen hat, nicht aber das Item.
PS: Kann mir evtl. jemand helfen? Irgendwo stand hier mal, wie man per Quest z.B. alle 10 Minuten einen Text (Akündigung) schreiben lassen kann.
Wie ging das nochmal?
|
|
|
09/16/2010, 21:39
|
#372
|
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
|
NOCHMALS FÜR ALLE!
PHP Code:
@all! ORDNET EURE QUESTS. Alein dadurch das ich euere Quests immer ordne vergehen schon manchmal 15 Minuten da ich die zusammenhänge erstmal finden und ansotieren muss.... Solltet ihr das nicht machen!!!! Werde ich es mir 2x überlegen ob ich mir eure Quests anschaue!!
Prime ... teste ma so:
PHP Code:
quest drop begin state start begin when kill with npc.is_pc() begin local item_1 = 11600 local item_2 = 11400 local item_3 = 11200 local n= number(1,3) if n == 1 then pc.give_item2(item_1) elseif n==2 then pc.give_item2(item_2) elseif n==3 then pc.give_item2(item_3) else end notice("Glückwunsch was bekommen ;3") end end end
Greatz Benhero
|
|
|
09/16/2010, 21:42
|
#373
|
elite*gold: 28
Join Date: Apr 2010
Posts: 2,355
Received Thanks: 439
|
Muss ich dann bei
pc.give_item2("item_"..n)
Anstatt item was einsetzen oder das so lassen? ;3
|
|
|
09/16/2010, 21:44
|
#374
|
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
|
lassen.. wenn ich etwas schreibe dann schreibe ich das es geht.
Quest nochmal bearbeitet!:
PHP Code:
quest drop begin state start begin when kill with npc.is_pc() begin local item_1 = 11600 local item_2 = 11400 local item_3 = 11200 local n= number(1,3) if n == 1 then pc.give_item2(item_1) elseif n==2 then pc.give_item2(item_2) elseif n==3 then pc.give_item2(item_3) else end notice("Glückwunsch was bekommen ;3") end end end
Geht jetz 1000% XD
Greatz Benhero
|
|
|
09/16/2010, 21:45
|
#375
|
elite*gold: 28
Join Date: Apr 2010
Posts: 2,355
Received Thanks: 439
|
Super, danke erstmal dafür ;D
Kannst du mir denn evtl. auch noch bei meinem PS helfen?
Quote:
|
Originally Posted by ÞR1Me
PS: Kann mir evtl. jemand helfen? Irgendwo stand hier mal, wie man per Quest z.B. alle 10 Minuten einen Text (Akündigung) schreiben lassen kann.
Wie ging das nochmal?
|
|
|
|
All times are GMT +1. The time now is 00:23.
|
|