|
You last visited: Today at 18:57
Advertisement
[SERVICE] Die Questkontrolle
Discussion on [SERVICE] Die Questkontrolle within the Metin2 Private Server forum part of the Metin2 category.
05/09/2011, 18:03
|
#2281
|
elite*gold: 0
Join Date: May 2009
Posts: 56
Received Thanks: 88
|
Hey ich krieg nen compile error wenn ich make.py ausführe, bei der quest:
Code:
--Quest make by .FamouZ
--Quest make from FamouZ for [SA]Dream and Revolution World2
quest gmnpc begin
state start begin
when 500028.use 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 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
|
|
|
05/09/2011, 18:08
|
#2282
|
elite*gold: 0
Join Date: Feb 2009
Posts: 453
Received Thanks: 157
|
Quote:
Originally Posted by Googler77
d.jump_all(koord, koord, map index) soweit ich weiss...
Gilt aber nur für Dungeons
|
und wie sage ich das es ein dungeon sein soll ?
|
|
|
05/09/2011, 18:08
|
#2283
|
elite*gold: 26
Join Date: Mar 2010
Posts: 3,765
Received Thanks: 2,661
|
und was steht bei der Fehlermeldung dabei?
bitte immer komplette Fehlermeldung angeben
|
|
|
05/09/2011, 18:10
|
#2284
|
elite*gold: 5
Join Date: Dec 2010
Posts: 356
Received Thanks: 181
|
Quote:
Originally Posted by Fatal,exe
Hey ich krieg nen compile error wenn ich make.py ausführe, bei der quest:
Code:
--Quest make by .FamouZ
--Quest make from FamouZ for [SA]Dream and Revolution World2
quest gmnpc begin
state start begin
when 500028.use 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 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
|
Hey
In der Quest erkenne ich im Moment keinen Fehler, aber make.py? Eigentlich müsste die make.sh heißen.
Außerdem schreib mal bitte den Fehler genau.
|
|
|
05/09/2011, 18:12
|
#2285
|
elite*gold: 26
Join Date: Mar 2010
Posts: 3,765
Received Thanks: 2,661
|
Quote:
Originally Posted by .ReDDoX™
Hey
In der Quest erkenne ich im Moment keinen Fehler, aber make.py? Eigentlich müsste die make.sh heißen.
Außerdem schreib mal bitte den Fehler genau.
|
make.py stimmt schon^^
ist in einigen 2010er files so
z.b. Daroo seine
|
|
|
05/09/2011, 18:17
|
#2286
|
elite*gold: 0
Join Date: Feb 2009
Posts: 453
Received Thanks: 157
|
Quote:
Originally Posted by .Delta
und was steht bei der Fehlermeldung dabei?
bitte immer komplette Fehlermeldung angeben 
|
rein gar nichts 
es funktioniert einfach nur nicht 
sie wird eincompiliert und alles... nur es passiert nichts wenn es passieren soll <.<
|
|
|
05/09/2011, 18:18
|
#2287
|
elite*gold: 26
Join Date: Mar 2010
Posts: 3,765
Received Thanks: 2,661
|
Quote:
Originally Posted by henpii
rein gar nichts 
es funktioniert einfach nur nicht 
sie wird eincompiliert und alles... nur es passiert nichts wenn es passieren soll <.<
|
iwas muss dabei stehen
naja ich versuchs schon selber aufm local server
€: so habs verbessert
ihr hattet in einer Zeile kein notice_all davor und einmal then´ statt then 
bekomme in vpc keine Fehler
PHP Code:
--Quest make by .FamouZ --Quest make from FamouZ for [SA]Dream and Revolution World2 quest gmnpc begin state start begin when 500028.use 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 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
|
|
|
05/09/2011, 19:35
|
#2288
|
elite*gold: 32
Join Date: Dec 2010
Posts: 1,294
Received Thanks: 862
|
Quote:
Originally Posted by henpii
und wie sage ich das es ein dungeon sein soll ? 
|
Soweit ich weiss wird es irgendwo an der Map an sich (Client- Serverside?) festgelegt. Aber frag mich nicht wo  Kannst ja mal die Ascaria, DT und ne andere "kein Dungeon" Map vergleichen, obs da Merkmale gibt.
Weil wenn man sich die DT Quest angeuckt wird nirgendwo erwähnt, dass es ein Dungeon sein soll, bzw. hab noch nie son Befehl gelesen
|
|
|
05/09/2011, 19:43
|
#2289
|
elite*gold: 26
Join Date: Mar 2010
Posts: 3,765
Received Thanks: 2,661
|
Quote:
Originally Posted by Googler77
Soweit ich weiss wird es irgendwo an der Map an sich (Client- Serverside?) festgelegt. Aber frag mich nicht wo  Kannst ja mal die Ascaria, DT und ne andere "kein Dungeon" Map vergleichen, obs da Merkmale gibt.
Weil wenn man sich die DT Quest angeuckt wird nirgendwo erwähnt, dass es ein Dungeon sein soll, bzw. hab noch nie son Befehl gelesen 
|
ich hab den Befehl mal auf map 1 getestet 
hat auch funktioniert, allerdings waren dann keine Mobs/Npc mehr auf der map.
deswegen gibts ja auch die regenfiles in der dt quest
|
|
|
05/09/2011, 21:05
|
#2290
|
elite*gold: 0
Join Date: Feb 2009
Posts: 453
Received Thanks: 157
|
Quote:
Originally Posted by .Delta
ich hab den Befehl mal auf map 1 getestet 
hat auch funktioniert, allerdings waren dann keine Mobs/Npc mehr auf der map.
deswegen gibts ja auch die regenfiles in der dt quest 
|
mhmm... wie hast du den befehl geschrieben?
bei mir wird man in eine andere map geportet.
und nicht wie im DT auf die gleiche map nur andere koords.
Warscheinlich liegt es daran...
|
|
|
05/10/2011, 18:40
|
#2291
|
elite*gold: 2
Join Date: Feb 2009
Posts: 1,030
Received Thanks: 586
|
Folgender Fehler bei der Quest: "
syntax error : [string "startpc . countitem ( "90909" ) >= 1"]:11: `=' expected near `pc'
eisen.quest:42:Abort trap (core dumped)"
PHP Code:
quest pferdone begin
state start begin
when 20349.chat."Pferd Level11" with pc. countitem("90909") >= 1 begin
say("Möchtest du dein Pferd für 500.000 Yang aufrüsten?")
say("")
local b=select("Ja", "Nein")
if b==1 then
If pc .get_gold()>=500000 then
if pc. countitem("90909") >= 1 then
item.remove("90909",1)
pc .changemoney("-500000")
horse.unride()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.ride()
say("Viel Spaß mit dem Pferd!")
say("")
end
elseif b==2 then
say("Tschüss!")
say("")
end
end
end
end
|
|
|
05/10/2011, 18:43
|
#2292
|
elite*gold: 32
Join Date: Dec 2010
Posts: 1,294
Received Thanks: 862
|
Quote:
Originally Posted by RoleS
PHP Code:
quest pferdone begin state start begin when 20349.chat."Pferd Level11" with pc.count_item("90909") >= 1 begin say("Möchtest du dein Pferd für 500.000 Yang aufrüsten?") say("") local b=select("Ja", "Nein") if b==1 then if pc.get_gold()>=500000 then if pc.count_item("90909") >= 1 then pc.remove_item("90909", 1) pc.chang_gold(-500000) horse.unride() horse.advance() horse.advance() horse.advance() horse.advance() horse.advance() horse.advance() horse.advance() horse.advance() horse.advance() horse.advance() horse.ride() say("Viel Spaß mit dem Pferd!") say("") end else say("Du hast zu wenig Geld") elseif b==2 then say("Tschüss!") say("") end end end end
|
Nicht pc .change_gold() sondern pc.change_gold()
€dit: Kleiner einrück fail von mir, so sollts jetzt aber gehen
|
|
|
05/10/2011, 18:45
|
#2293
|
elite*gold: 26
Join Date: Mar 2010
Posts: 3,765
Received Thanks: 2,661
|
sollte doch eig gehen
PHP Code:
quest pferdone begin state start begin when 20349.chat."Pferd Level11" with pc.count_item(90909) >= 1 begin say("Möchtest du dein Pferd für 500.000 Yang aufrüsten?") say("") local b=select("Ja", "Nein") if b==1 then if pc.get_gold()>=500000 then if pc.count_item(90909) >= 1 then pc.remove_item(90909, 1) pc.change_gold(-500000) horse.unride() horse.set_level(11) horse.ride() say("Viel Spaß mit dem Pferd!") say("") else return end else return end elseif b==2 then say("Tschüss!") say("") return end end end end
€ wie ich immer zu langsam bin...
schrecklich
|
|
|
05/12/2011, 01:07
|
#2294
|
elite*gold: 0
Join Date: Sep 2009
Posts: 214
Received Thanks: 16
|
Also mein Problem liegt darin..ich habe quests geschrieben die hier auch geprüft wurden und auch beim make.sh Keine fehlermedlungen kommen..
bloß wenn ich mich dann zu den jeweiligen (neuen maps) teleportieren will..
zeigt die NPC mit GARNIX an..also kein chat titel...
als wenn die nicht exestieren würde. 
habe schon mob_proto click geändert mit 1 UND mit 2 beides net gefunzt 
mfg..wenn ihr die quest doch braucht dann sagts^^
|
|
|
05/12/2011, 15:45
|
#2295
|
elite*gold: 0
Join Date: Jan 2011
Posts: 499
Received Thanks: 82
|
brauche hilfe, wenn ich pferd rufe, dann steig ich aufs pferd rauf, nur kann ich dann nicht mehr runter..    außerdem kann ich den Pferd nicht anklicken!! und von reittieren kann ich auch nicht absteigen wie beim pferd. welche quest muss ich bearbeiten? und könntet ihr dann auch euren code reinposten? also den txt von der quest. danke.
|
|
|
All times are GMT +1. The time now is 18:57.
|
|