Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Npc building

Newbie Spellweaver
Joined
Mar 30, 2014
Messages
36
Reaction score
0
hey there
I am working on a Teleporter.
I already done the Initnpc, Quest, E.pk and message.e.
My problem is, that I dont find the mistake, that the Teleporter dont show a Window..
I tried by myself and then with Tutorials but its not working fine.. any help?
-
initnpc:;TradeTest(gennpc (index 3000) (country 2) (kind 5) (shape 20) (quest 3000) (map 0) (xy 257451 259135 16080))

quest:
(quest (index 3000 1)(case (if (item (123 1 ))) (then (item (out 123 1)(in 124 0 1)) ))(case (then (html ))))

e.pk:
(filechk file_ver (country_type ENG) (filename s900678))(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 "Lottery system: Wanna try?") ( line "") ( link ( text "[Enter Shop] Sure, I wanna be a millionaire!") ( param send quest 3000 1 )) ( link close ( text "[Talk End] Alight.")) )


Marco
 
Last edited:
Junior Spellweaver
Joined
Jan 1, 2007
Messages
149
Reaction score
7
hey there
I am working on a Teleporter.
I already done the Initnpc, Quest, E.pk and message.e.
My problem is, that I dont find the mistake, that the Teleporter dont show a Window..
I tried by myself and then with Tutorials but its not working fine.. any help?
-
initnpc:;TradeTest(gennpc (index 3000) (country 2) (kind 5) (shape 20) (quest 3000) (map 0) (xy 257451 259135 16080))

quest:
(quest (index 3000 1)(case (if (item (123 1 ))) (then (item (out 123 1)(in 124 0 1)) ))(case (then (html ))))

e.pk:
(filechk file_ver (country_type ENG) (filename s900678))(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 "Lottery system: Wanna try?") ( line "") ( link ( text "[Enter Shop] Sure, I wanna be a millionaire!") ( param send quest 3000 1 )) ( link close ( text "[Talk End] Alight.")) )


Marco
Change quest 3000 at initnpc to html 900678

It should work fine then
 
Upvote 0
Experienced Elementalist
Joined
Jul 11, 2015
Messages
201
Reaction score
273
or let it as it is and do open the html in the quest itself if quest is "done"

or maybe not leaving it as it is and fix npc

Code:
[COLOR=#888888](gennpc (index [/COLOR][COLOR=#ff0000]3000[/COLOR][COLOR=#888888]) (country 2) (kind [/COLOR][COLOR=#ff0000]5[/COLOR][COLOR=#888888]) (shape 20) (quest 3000 [/COLOR][COLOR=#ff0000]1[/COLOR][COLOR=#888888]) (map 0) (xy 257451 259135 16080) [/COLOR][COLOR=#ff0000](dir 0 1)[/COLOR][COLOR=#888888])[/COLOR]
 
Upvote 0
off@kal. - on@gw2/d3 :)
Joined
May 30, 2009
Messages
772
Reaction score
480
or maybe not leaving it as it is and fix npc

Code:
[COLOR=#888888](gennpc (index [/COLOR][COLOR=#ff0000]3000[/COLOR][COLOR=#888888]) (country 2) (kind [/COLOR][COLOR=#ff0000]5[/COLOR][COLOR=#888888]) (shape 20) (quest 3000 [/COLOR][COLOR=#ff0000]1[/COLOR][COLOR=#888888]) (map 0) (xy 257451 259135 16080) [/COLOR][COLOR=#ff0000](dir 0 1)[/COLOR][COLOR=#888888])[/COLOR]

what's wrong with it ? using the same way for storyline based quests?


(quest (index 29603 1)
(case (if (clear 29603))
(then (html 8001012)))
(case (if (quest 29603 0))
(then (link 29603 2)))
(case (if (quest 29603 1))
(then (link 29603 4)))
)

(quest (index 29603 2) (linked 1)
(case (if (level 30))
(then (html 8001055)))
(case (then (html 8001068)))
)

(quest (index 29603 3)
(case (if ( quest 29603 0) (level 30))
(then (save 29603 1) (teleport 0 257238 292510)) )
)

(quest (index 29603 4) (linked 1)
(case (if (item (9840 15)))
(then (exp 360198) (item (out 9840 15) (in 11650 256 8) (in 9511 0 50)) (clear 29603 2) (html 8001012)))
(case (then (html 8001015)))
)

@€DIT: nvm didnt saw that u wrote something about initnpc
 
Upvote 0
Back
Top