Mini Quest Problem

12/30/2011 22:54 FaiSokumati#1
Hi

Das Problem liegt in der Vorlezten Zeile, ohne diese 2. Lezte Zeile funzt alles:

Quote:
say_title ( "Willkommen" )
say ( "Willkommen auf dem Server" )
say ( "Viel Spass!" )
pc . change_money ( 10000 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "71050" , 200 )
pc . give_item2 ( "72702" , 1 )
pc . give_item2 ( "50053" , 1 )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
say_reward ( "Du erhielst 100000 yang." )
say_reward ( "Du erhielst 1000 Rote(G)." )
say_reward ( "Du erhielst 400 Blaue(G)." )
say_reward ( "Du erhielst Items fur Laufgeschwindigkeit." )
say_reward ( "Du erhielst ein MillitärPferd." )
clear_letter ( )
set_state ( "__COMPLETE__" )
if pc . job == 0 then
pc . give_item2 ( "19" , 1 )
pc . give_item2 ( "11209" , 1 )
pc . give_item2 ( "15009" , 1 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "16009" , 1 )
pc . give_item2 ( "17009" , 1 )
pc . give_item2 ( "13009" , 1 )
say_reward ( "Du erhielst das Kriegerset!" )
elseif pc . job == 1 then
pc . give_item2 ( "17009 " , 1 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "15009" , 200 )
pc . give_item2 ( "16009" , 200 )
pc . give_item2 ( "13009" , 200 )
pc . give_item2 ( "11409" , 200 )
pc . give_item2 ( "1009" , 1 )
pc . give_item2 ( "12349" , 1 )
say_reward ( "Du erhielst das Ninjaset!" )
elseif pc . job == 2 then
pc . give_item2 ( "19" , 1 )
pc . give_item2 ( "13009" , 1 )
pc . give_item2 ( "16009" , 1 )
pc . give_item2 ( "15009" , 1 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "17009" , 1 )
pc . give_item2 ( "11609" , 1 )
say_reward ( "Du erhielst das Suraset!" )
elseif pc . job == 3 then
pc . give_item2 ( "17009" , 1 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "15009" , 1 )
pc . give_item2 ( "16009" , 1 )
pc . give_item2 ( "13009" , 1 )
pc . give_item2 ( "7009" , 1 )
pc . give_item2 ( "11809" , 1 )
say_reward ( "Du erhielst das Schamiset!" )
command("n "Wir begrüßen" ".. pc.get_name() .." auf dem Server!")
end
12/30/2011 23:02 Prσfizσcker94#2
Code:
say_title ( "Willkommen" )
say ( "Willkommen auf dem Server" )
say ( "Viel Spass!" )
pc . change_money ( 10000 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "71050" , 200 )
pc . give_item2 ( "72702" , 1 )
pc . give_item2 ( "50053" , 1 )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
say_reward ( "Du erhielst 100000 yang." )
say_reward ( "Du erhielst 1000 Rote(G)." )
say_reward ( "Du erhielst 400 Blaue(G)." )
say_reward ( "Du erhielst Items fur Laufgeschwindigkeit." )
say_reward ( "Du erhielst ein MillitärPferd." )
clear_letter ( )
set_state ( "__COMPLETE__" )
if pc . job == 0 then
pc . give_item2 ( "19" , 1 )
pc . give_item2 ( "11209" , 1 )
pc . give_item2 ( "15009" , 1 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "16009" , 1 )
pc . give_item2 ( "17009" , 1 )
pc . give_item2 ( "13009" , 1 )
say_reward ( "Du erhielst das Kriegerset!" )
elseif pc . job == 1 then
pc . give_item2 ( "17009 " , 1 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "15009" , 200 )
pc . give_item2 ( "16009" , 200 )
pc . give_item2 ( "13009" , 200 )
pc . give_item2 ( "11409" , 200 )
pc . give_item2 ( "1009" , 1 )
pc . give_item2 ( "12349" , 1 )
say_reward ( "Du erhielst das Ninjaset!" )
elseif pc . job == 2 then
pc . give_item2 ( "19" , 1 )
pc . give_item2 ( "13009" , 1 )
pc . give_item2 ( "16009" , 1 )
pc . give_item2 ( "15009" , 1 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "17009" , 1 )
pc . give_item2 ( "11609" , 1 )
say_reward ( "Du erhielst das Suraset!" )
elseif pc . job == 3 then
pc . give_item2 ( "17009" , 1 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "15009" , 1 )
pc . give_item2 ( "16009" , 1 )
pc . give_item2 ( "13009" , 1 )
pc . give_item2 ( "7009" , 1 )
pc . give_item2 ( "11809" , 1 )
say_reward ( "Du erhielst das Schamiset!" )
notice_all("Wir begrüßen ".. pc.get_name() .." auf dem Server!")
end
12/30/2011 23:03 He3o Sippel#3
ersetz die zeile mit notice("Wir begrüßen" ".. pc.get_name() .." auf dem Server!")

uppps xD hab es verwechselt das von Profizocker84 stimmt of course xD
12/30/2011 23:39 FaiSokumati#4
Klappt bei mir nicht ;(
12/30/2011 23:54 He3o Sippel#5
in local_list eingetragen ??

chmod ????

alles gemacht ?
12/30/2011 23:56 FaiSokumati#6
Lösung gefunden:

Diese Zeile muss an den Anfang der Quest:
notice_all ("Wir begrüßen ".. pc.get_name() .." auf dem Server!")

Es sollte dann so aussehen:
Quote:
notice_all ("Wir begrüßen ".. pc.get_name() .." auf dem Server!")
say_title ( "Willkommen" )
say ( "Willkommen auf dem Server" )
say ( "Viel Spass!" )
pc . change_money ( 10000 )
.....................
Es könnte daran liegen, dass die notice_all funktion nicht in der "Textbox" funktioniert.


#closerequest