Startquest =KG??

12/12/2009 13:28 Zepp'#1
also hir bekommt man dan immer einen normalen gaul wie stelle ich jetzt ein das es ein kg ist ???

PHP Code:
say_title ( "Willkommen" )  
say ( "Willkommen auf meinem Server!." )  
say ( "Viel Spass!" )  
say ( "" )  
set_quest_state ( "levelup" , "run" ) 
pc . give_item2 ( "72702" , 1 ) 
pc . give_item2 ( "50051" , 1 ) 
horse . advance ( )  
say_reward ( "Du erhältst Windschuhe." )  
say_reward ( "Du erhältst ein Pferd." )  
clear_letter ( )  
set_state ( "__COMPLETE__" ) 
if 
pc . job == 0 then 
pc 
. give_item2 ( "16" , 1 ) 
pc . give_item2 ( "12206" , 1 )
pc . give_item2 ( "11206" , 1 )
pc . give_item2 ( "3006" , 1 ) 
pc . give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 ) 
pc . give_item2 ( "73001" , 1 )
pc . give_item2 ( "73002" , 1 )
pc . give_item2 ( "73003" , 1 )
pc . give_item2 ( "73004" , 1 )
pc . give_item2 ( "73005" , 1 )
pc . give_item2 ( "73006" , 1 )
pc . give_item2 ( "73007" , 1 )
pc . give_item2 ( "73008" , 1 )
pc . give_item2 ( "73009" , 1 )
pc . give_item2 ( "73010" , 1 )
pc . give_item2 ( "73011" , 1 )
pc . give_item2 ( "73012" , 1 )
say_reward ( "Du erhielst das Kriegerset!" ) 
elseif 
pc . job == 1 then  
pc 
. give_item2 ( "16" , 1 ) 
pc . give_item2 ( "1006" , 1 )
pc . give_item2 ( "2006" , 1 )
pc . give_item2 ( "8000" , 200 )
pc . give_item2 ( "11406" , 1 )
pc . give_item2 ( "12346" , 1 )
pc . give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 )  
pc . give_item2 ( "73251" , 1 )
pc . give_item2 ( "73252" , 1 )
pc . give_item2 ( "73253" , 1 )
pc . give_item2 ( "73254" , 1 )
pc . give_item2 ( "73255" , 1 )
pc . give_item2 ( "73256" , 1 )
pc . give_item2 ( "73257" , 1 )
pc . give_item2 ( "73258" , 1 )
pc . give_item2 ( "73259" , 1 )
pc . give_item2 ( "73260" , 1 )
pc . give_item2 ( "73261" , 1 )
pc . give_item2 ( "73262" , 1 )
say_reward ( "Du erhielst das Ninjaset!" ) 
elseif 
pc . job == 2 then  
pc 
. give_item2 ( "16" , 1 ) 
pc . give_item2 ( "11606" , 1 )
pc . give_item2 ( "12486" , 1 )
pc . give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 ) 
pc . give_item2 ( "73501" , 1 ) 
pc . give_item2 ( "73502" , 1 )
pc . give_item2 ( "73503" , 1 ) 
pc . give_item2 ( "73504" , 1 ) 
pc . give_item2 ( "73505" , 1 ) 
pc . give_item2 ( "73506" , 1 ) 
pc . give_item2 ( "73507" , 1 ) 
pc . give_item2 ( "73508" , 1 ) 
pc . give_item2 ( "73509" , 1 ) 
pc . give_item2 ( "73510" , 1 ) 
pc . give_item2 ( "73511" , 1 ) 
pc . give_item2 ( "73512" , 1 ) 
say_reward ( "Du erhielst das Suraset!" ) 
elseif 
pc . job == 3 then  
pc 
. give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "11806" , 1 )
pc . give_item2 ( "5006" , 1 )
pc . give_item2 ( "7006" , 1 )
pc . give_item2 ( "12626" , 1 )
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 ) 
pc . give_item2 ( "73751" , 1 )
pc . give_item2 ( "73752" , 1 )
pc . give_item2 ( "73753" , 1 )
pc . give_item2 ( "73754" , 1 )
pc . give_item2 ( "73755" , 1 )
pc . give_item2 ( "73756" , 1 )
pc . give_item2 ( "73757" , 1 )
pc . give_item2 ( "73758" , 1 )
pc . give_item2 ( "73759" , 1 )
pc . give_item2 ( "73760" , 1 )
pc . give_item2 ( "73761" , 1 )
pc . give_item2 ( "73762" , 1 )
say_reward ( "Du erhielst das Schamiset!" ) 
end 
würde mich über antword freuen mfg lukas
12/12/2009 14:02 .greivel'#2
ich glaube hier
Code:
horse . advance ( )
da muss

Code:
horse . advance ([COLOR="Red"]11[/COLOR])
da bin ich mir aber nicht ganz sicher !
12/12/2009 14:37 wheldown14#3
Würde ich auch gerne wissen ...
12/12/2009 14:40 .ŋight#4
Quote:
Originally Posted by lukid2 View Post
also hir bekommt man dan immer einen normalen gaul wie stelle ich jetzt ein das es ein kg ist ???

PHP Code:
say_title ( "Willkommen" )  
say ( "Willkommen auf meinem Server!." )  
say ( "Viel Spass!" )  
say ( "" )  
set_quest_state ( "levelup" , "run" ) 
pc . give_item2 ( "72702" , 1 ) 
pc . give_item2 ( "50051" , 1 ) 
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 erhältst Windschuhe." )  
say_reward ( "Du erhältst ein Pferd." )  
clear_letter ( )  
set_state ( "__COMPLETE__" ) 
if 
pc . job == 0 then 
pc 
. give_item2 ( "16" , 1 ) 
pc . give_item2 ( "12206" , 1 )
pc . give_item2 ( "11206" , 1 )
pc . give_item2 ( "3006" , 1 ) 
pc . give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 ) 
pc . give_item2 ( "73001" , 1 )
pc . give_item2 ( "73002" , 1 )
pc . give_item2 ( "73003" , 1 )
pc . give_item2 ( "73004" , 1 )
pc . give_item2 ( "73005" , 1 )
pc . give_item2 ( "73006" , 1 )
pc . give_item2 ( "73007" , 1 )
pc . give_item2 ( "73008" , 1 )
pc . give_item2 ( "73009" , 1 )
pc . give_item2 ( "73010" , 1 )
pc . give_item2 ( "73011" , 1 )
pc . give_item2 ( "73012" , 1 )
say_reward ( "Du erhielst das Kriegerset!" ) 
elseif 
pc . job == 1 then  
pc 
. give_item2 ( "16" , 1 ) 
pc . give_item2 ( "1006" , 1 )
pc . give_item2 ( "2006" , 1 )
pc . give_item2 ( "8000" , 200 )
pc . give_item2 ( "11406" , 1 )
pc . give_item2 ( "12346" , 1 )
pc . give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 )  
pc . give_item2 ( "73251" , 1 )
pc . give_item2 ( "73252" , 1 )
pc . give_item2 ( "73253" , 1 )
pc . give_item2 ( "73254" , 1 )
pc . give_item2 ( "73255" , 1 )
pc . give_item2 ( "73256" , 1 )
pc . give_item2 ( "73257" , 1 )
pc . give_item2 ( "73258" , 1 )
pc . give_item2 ( "73259" , 1 )
pc . give_item2 ( "73260" , 1 )
pc . give_item2 ( "73261" , 1 )
pc . give_item2 ( "73262" , 1 )
say_reward ( "Du erhielst das Ninjaset!" ) 
elseif 
pc . job == 2 then  
pc 
. give_item2 ( "16" , 1 ) 
pc . give_item2 ( "11606" , 1 )
pc . give_item2 ( "12486" , 1 )
pc . give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 ) 
pc . give_item2 ( "73501" , 1 ) 
pc . give_item2 ( "73502" , 1 )
pc . give_item2 ( "73503" , 1 ) 
pc . give_item2 ( "73504" , 1 ) 
pc . give_item2 ( "73505" , 1 ) 
pc . give_item2 ( "73506" , 1 ) 
pc . give_item2 ( "73507" , 1 ) 
pc . give_item2 ( "73508" , 1 ) 
pc . give_item2 ( "73509" , 1 ) 
pc . give_item2 ( "73510" , 1 ) 
pc . give_item2 ( "73511" , 1 ) 
pc . give_item2 ( "73512" , 1 ) 
say_reward ( "Du erhielst das Suraset!" ) 
elseif 
pc . job == 3 then  
pc 
. give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "11806" , 1 )
pc . give_item2 ( "5006" , 1 )
pc . give_item2 ( "7006" , 1 )
pc . give_item2 ( "12626" , 1 )
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 ) 
pc . give_item2 ( "73751" , 1 )
pc . give_item2 ( "73752" , 1 )
pc . give_item2 ( "73753" , 1 )
pc . give_item2 ( "73754" , 1 )
pc . give_item2 ( "73755" , 1 )
pc . give_item2 ( "73756" , 1 )
pc . give_item2 ( "73757" , 1 )
pc . give_item2 ( "73758" , 1 )
pc . give_item2 ( "73759" , 1 )
pc . give_item2 ( "73760" , 1 )
pc . give_item2 ( "73761" , 1 )
pc . give_item2 ( "73762" , 1 )
say_reward ( "Du erhielst das Schamiset!" ) 
end 
würde mich über antword freuen mfg lukas
So muss man es machen , man kann da nicht einfach 11 rein schreiben ,
11 x horse . advance ( ) = KG
12/12/2009 14:55 HighLvleR#5
horse.set_level(11)

für KG steht die 11 falls du milligaul willst 21 und so weiter halt.

mfG

€dit: die Quest richtig


PHP Code:
say_title ( "Willkommen" )  
say ( "Willkommen auf meinem Server!." )  
say ( "Viel Spass!" )  
say ( "" )  
set_quest_state ( "levelup" , "run" ) 
pc . give_item2 ( "72702" , 1 ) 
pc . give_item2 ( "50051" , 1 ) 
horse.set_level(11)
say_reward ( "Du erhältst Windschuhe." )  
say_reward ( "Du erhältst ein Pferd." )  
clear_letter ( )  
set_state ( "__COMPLETE__" ) 
if 
pc . job == 0 then 
pc 
. give_item2 ( "16" , 1 ) 
pc . give_item2 ( "12206" , 1 )
pc . give_item2 ( "11206" , 1 )
pc . give_item2 ( "3006" , 1 ) 
pc . give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 ) 
pc . give_item2 ( "73001" , 1 )
pc . give_item2 ( "73002" , 1 )
pc . give_item2 ( "73003" , 1 )
pc . give_item2 ( "73004" , 1 )
pc . give_item2 ( "73005" , 1 )
pc . give_item2 ( "73006" , 1 )
pc . give_item2 ( "73007" , 1 )
pc . give_item2 ( "73008" , 1 )
pc . give_item2 ( "73009" , 1 )
pc . give_item2 ( "73010" , 1 )
pc . give_item2 ( "73011" , 1 )
pc . give_item2 ( "73012" , 1 )
say_reward ( "Du erhielst das Kriegerset!" ) 
elseif 
pc . job == 1 then  
pc 
. give_item2 ( "16" , 1 ) 
pc . give_item2 ( "1006" , 1 )
pc . give_item2 ( "2006" , 1 )
pc . give_item2 ( "8000" , 200 )
pc . give_item2 ( "11406" , 1 )
pc . give_item2 ( "12346" , 1 )
pc . give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 )  
pc . give_item2 ( "73251" , 1 )
pc . give_item2 ( "73252" , 1 )
pc . give_item2 ( "73253" , 1 )
pc . give_item2 ( "73254" , 1 )
pc . give_item2 ( "73255" , 1 )
pc . give_item2 ( "73256" , 1 )
pc . give_item2 ( "73257" , 1 )
pc . give_item2 ( "73258" , 1 )
pc . give_item2 ( "73259" , 1 )
pc . give_item2 ( "73260" , 1 )
pc . give_item2 ( "73261" , 1 )
pc . give_item2 ( "73262" , 1 )
say_reward ( "Du erhielst das Ninjaset!" ) 
elseif 
pc . job == 2 then  
pc 
. give_item2 ( "16" , 1 ) 
pc . give_item2 ( "11606" , 1 )
pc . give_item2 ( "12486" , 1 )
pc . give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 ) 
pc . give_item2 ( "73501" , 1 ) 
pc . give_item2 ( "73502" , 1 )
pc . give_item2 ( "73503" , 1 ) 
pc . give_item2 ( "73504" , 1 ) 
pc . give_item2 ( "73505" , 1 ) 
pc . give_item2 ( "73506" , 1 ) 
pc . give_item2 ( "73507" , 1 ) 
pc . give_item2 ( "73508" , 1 ) 
pc . give_item2 ( "73509" , 1 ) 
pc . give_item2 ( "73510" , 1 ) 
pc . give_item2 ( "73511" , 1 ) 
pc . give_item2 ( "73512" , 1 ) 
say_reward ( "Du erhielst das Suraset!" ) 
elseif 
pc . job == 3 then  
pc 
. give_item2 ( "16006" , 1 ) 
pc . give_item2 ( "11806" , 1 )
pc . give_item2 ( "5006" , 1 )
pc . give_item2 ( "7006" , 1 )
pc . give_item2 ( "12626" , 1 )
pc . give_item2 ( "15006" , 1 ) 
pc . give_item2 ( "14006" , 1 ) 
pc . give_item2 ( "17006" , 1 ) 
pc . give_item2 ( "13006" , 1 ) 
pc . give_item2 ( "73751" , 1 )
pc . give_item2 ( "73752" , 1 )
pc . give_item2 ( "73753" , 1 )
pc . give_item2 ( "73754" , 1 )
pc . give_item2 ( "73755" , 1 )
pc . give_item2 ( "73756" , 1 )
pc . give_item2 ( "73757" , 1 )
pc . give_item2 ( "73758" , 1 )
pc . give_item2 ( "73759" , 1 )
pc . give_item2 ( "73760" , 1 )
pc . give_item2 ( "73761" , 1 )
pc . give_item2 ( "73762" , 1 )
say_reward ( "Du erhielst das Schamiset!" ) 
end 
12/12/2009 15:22 ManuX.#6
ja wer hat nun recht??

♥Debbiì♥
oder
HighLvleR
12/12/2009 15:26 Simonos1203#7
♥Debbii♥
12/12/2009 15:32 Öff!Öff!#8
HiGhLvLer und Debbi xD
12/12/2009 15:36 HighLvleR#9
Beide aber mein Weg ist eindeutig der kürzere anstatt 11 mal nacheinander horse.advance zu schreiben. Und soweit ich weiss benützt de rMEister persönlich (lolkid2009 :awesome:) auch meinen/diesen Befehl der von mir vorgeschlagen worden ist ;)

mfG

PS: Ich versteh allgemein nicht warum in der Quest soviele Abstände sind wie z.B. pc . give_item ( VNUM ) Ach ja es könnte FEhler geben mit der Quest soweit ich weiss schreibt man doch nur pc.give_item2(vnum) und nicht pc.give_item2("VNUM") aber es gibt mehrere Möglichkeiten.
12/12/2009 15:38 0190666666#10
beide haben recht nur wer sich arbeit ersparen will machts halt wie highlevler