- Joined
- Jan 29, 2009
- Messages
- 6
- Reaction score
- 0
game won't start anymore, any ideas?
;@@@@@@@@@@@@@@[ STARTER NPC ]
(quest (index 8750 1)
; If quest already been done by player Stop!
(case (if (clear 8750 1)) (then (html forbidden)))
; If Player not used this quest then run quest 8750 2
(case (then (link 8750 2))))
(quest (index 8750 2) (linked 1)
;If class is not knight goto the next line
(case (if (class 0)) (then (item (in 8900 0 1) (in 8901 0 1) (in 8902 0 1) (in 8903 0 1) (in 8904 0 1) (in 8905 0 1) (in 8906 93 1) (in 337 0 1) (in 192 0 20) (in 193 0 20) (in 194 0 20) (in 195 0 20) (in 196 0 20) (in 470 0 1) (in 474 0 1) (in 4004 0 100) (in 4007 0 100) (in 4018 0 20) ) (clear 8750 1) (html thankyou)))
;If class is not archer then goto the next line
(case (if (Class 2)) (then (item (in 8907 0 1) (in 8908 0 1) (in 8909 0 1) (in 8910 0 1) (in 8911 0 1) (in 8912 93 1) (in 339 0 1) (in 192 0 20) (in 193 0 20) (in 194 0 20) (in 195 0 20) (in 196 0 20) (in 470 0 1) (in 474 0 1) (in 4004 0 100) (in 4007 0 100) (in 4018 0 20) ) (clear 8750 1) (html thankyou)))
;Mage
(case (if (Class 1)) (then (item (in 8913 0 1) (in 8914 0 1) (in 8915 0 1) (in 8916 0 1) (in 8917 0 1) (in 8918 93 1) (in 338 0 1) (in 192 0 20) (in 193 0 20) (in 194 0 20) (in 195 0 20) (in 196 0 20) (in 470 0 1) (in 474 0 1) (in 4004 0 100) (in 4007 0 100) (in 4018 0 20) ) (clear 8750 1) (html thankyou)))
(case (then (html notmet)))
; When Quest Finished it marks the player as quest done an cant be done again
)
(filechk file_ver (country_type ENG) (filename A))
(background
(font 12)
(wrap 270)
(link system ( param ( width 270) ( height 255) ( style title edge system vscroll) ( caption "Talk") ( layout script) ))
)
( frame ( font 12)
( line "[b] Do you want to start?")
( line "")
( link ( text "Yes Thankyou") ( param send quest 8750 1 ))
( link close ( text "[Talk End] I dont wanna start!"))
)
[B]config.pk[/B]
( npcname 920 "PPS-Starter-NPC")
[B]e.pk[/B]
(filechk file_ver (country_type ENG) (filename s000766))
(background
(font 12)
(wrap 270)
(link system ( param ( width 270) ( height 255) ( style title edge system vscroll) ( caption "Talk") ( layout script) ))
)
( frame ( font 12)
( line "[B] Welcome to PPS. Do you want to start?")
( line "")
( link ( text "Yes, and I'am a Knight!") ( param send quest 8703 4 ))
( link ( text "Yes, and I'am a Archer!") ( param send quest 8703 2 ))
( link ( text "Yes, and I'am a Mage!") ( param send quest 8703 3 ))
( link close ( text "[Talk End] I don't wanna start!"))
)
[B]InitNPC[/B]
;starter npc
(gennpc (index 920) (country 0) (kind 0) (shape 39) (html 766) (map 0) (xy 257414 259100 16080) (dir 57258 7717))
[B]Quest[/B]
;Starter NPC
;Knight starter
(quest (index 8703 4)
(case (if (class 0) (item (1 1)))
(then (contribute 70) (supoint 77)(item (out 1 1)(in 102 1 1)(in 117 0 1)(in 118 0 1)(in 119 0 1)(in 120 0 1)(in 121 0 1)(in 30 0 1)(in 48 0 5000)(in 473 0 1)(in 2319 0 10)(in 337 0 1)(in 192 0 100)(in 193 0 100)(in 194 0 100)(in 195 0 100)(in 196 0 100)(in 447 0 200)(in 485 0 100)) ))
(case (then (html 766)))
)
;Archer starter
(quest (index 8703 2)
(case (if (class 2) (item (22 1)))
(then (contribute 70) (supoint 77)(item (out 22 1)(in 108 41 1)(in 122 0 1)(in 123 0 1)(in 124 0 1)(in 125 0 1)(in 126 0 1)(in 48 0 5000)(in 473 0 1)(in 2319 0 10)(in 339 0 1)(in 192 0 100)(in 193 0 100)(in 194 0 100)(in 195 0 100)(in 196 0 100)(in 447 0 200)(in 485 0 100)) ))
(case (then (html 766)))
)
;Mage starter
(quest (index 8703 3)
(case (if (class 1) (item (90 1)))
(then (contribute 70) (supoint 77) (item (out 90 1)(in 114 21 1)(in 127 0 1)(in 128 0 1)(in 129 0 1)(in 130 0 1)(in 131 0 1)(in 48 0 5000)(in 473 0 1)(in 2319 0 10)(in 338 0 1)(in 192 0 100)(in 193 0 100)(in 194 0 100)(in 195 0 100)(in 196 0 100)(in 447 0 200)(in 485 0 100)) ))
(case (then (html 766)))
)
InitNPC
;starter npc
(gennpc (index 920) (country 0) (kind 0) (shape 39) (html 766) (map 0) (xy 257414 259100 16080) (dir 57258 7717))
:?::?:(dir 57258 7717))
Aha.. whats wrong with :?::?:
Hi,
its been a long time I was active on kal privat servers but Im pretty sure I didnt made anything wrong. I dont see the NPC ingame alsoWhats wrong...?
Code:[B]config.pk[/B] ( npcname 920 "PPS-Starter-NPC") [B]e.pk[/B] (filechk file_ver (country_type ENG) (filename s000766)) (background (font 12) (wrap 270) (link system ( param ( width 270) ( height 255) ( style title edge system vscroll) ( caption "Talk") ( layout script) )) ) ( frame ( font 12) ( line "[B] Welcome to PPS. Do you want to start?") ( line "") ( link ( text "Yes, and I'am a Knight!") ( param send quest 8703 4 )) ( link ( text "Yes, and I'am a Archer!") ( param send quest 8703 2 )) ( link ( text "Yes, and I'am a Mage!") ( param send quest 8703 3 )) ( link close ( text "[Talk End] I don't wanna start!")) ) [B]InitNPC[/B] ;starter npc (gennpc (index 920) (country 0) (kind 0) (shape 39) (html 766) (map 0) (xy 257414 259100 16080) (dir 57258 7717)) [B]Quest[/B] ;Starter NPC ;Knight starter (quest (index 8703 4) (case (if (class 0) (item (1 1))) (then (contribute 70) (supoint 77)(item (out 1 1)(in 102 1 1)(in 117 0 1)(in 118 0 1)(in 119 0 1)(in 120 0 1)(in 121 0 1)(in 30 0 1)(in 48 0 5000)(in 473 0 1)(in 2319 0 10)(in 337 0 1)(in 192 0 100)(in 193 0 100)(in 194 0 100)(in 195 0 100)(in 196 0 100)(in 447 0 200)(in 485 0 100)) )) (case (then (html 766))) ) ;Archer starter (quest (index 8703 2) (case (if (class 2) (item (22 1))) (then (contribute 70) (supoint 77)(item (out 22 1)(in 108 41 1)(in 122 0 1)(in 123 0 1)(in 124 0 1)(in 125 0 1)(in 126 0 1)(in 48 0 5000)(in 473 0 1)(in 2319 0 10)(in 339 0 1)(in 192 0 100)(in 193 0 100)(in 194 0 100)(in 195 0 100)(in 196 0 100)(in 447 0 200)(in 485 0 100)) )) (case (then (html 766))) ) ;Mage starter (quest (index 8703 3) (case (if (class 1) (item (90 1))) (then (contribute 70) (supoint 77) (item (out 90 1)(in 114 21 1)(in 127 0 1)(in 128 0 1)(in 129 0 1)(in 130 0 1)(in 131 0 1)(in 48 0 5000)(in 473 0 1)(in 2319 0 10)(in 338 0 1)(in 192 0 100)(in 193 0 100)(in 194 0 100)(in 195 0 100)(in 196 0 100)(in 447 0 200)(in 485 0 100)) )) (case (then (html 766))) )
ehm sorry but the main server already told you whats wrong. On line 2976 you have 1 parenthesis too muchView attachment 138176 can any one tell me whats wrong ?