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!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser .
Need to know how to make starter npc
hey im new to all of this so im having trouble making a starter npc and ive looked in the kal tut thread but havent found anything if someone can help me like the repack i have already has a starter npc but im having trouble editing the items it gives to the player so if anyone can help me
Just a hint, you're posting all your questions in the general section, while they should be posted in the help section.
(gennpc (index 3042) (country 2) (kind 3) (shape 163) (quest 9010 1) (map 0) (xy 257279 259194 16090) (dir 257318 259170))
(quest (index 9010 1) (case (if (clear 9010 1)) (then (html 200030))) (case (then (link 9010 2))));Knight, Archer, Mage(quest (index 9010 2) (linked 1) (case (if (class 0)) (then (item (in 7003 256 1)(in 4327 256 1) (in 20200 256 1)(in 6039 256 1)(in 101 256 1) (in 117 256 1) (in 118 256 1) (in 119 256 1) (in 120 256 1) (in 121 256 1) (in 30 256 1) (in 447 256 30) (in 469 256 1) (in 48 256 5000) (in 1319 256 5000) (in 337 0 1) (in 338 0 1) (in 339 0 1) (in 1596 0 1)(in 20045 256 1)(in 20046 256 1)(in 20047 256 1)) (contribute 20) (supoint 50)(teleport 0 267228 242489) (clear 9010 1) (html 900679))) (case (if (class 2)) (then (item (in 7003 256 1)(in 4327 256 1) (in 20185 256 1)(in 20200 256 1)(in 6039 256 1)(in 107 256 1) (in 122 256 1) (in 123 256 1) (in 124 256 1) (in 125 256 1) (in 126 256 1) (in 447 256 30) (in 469 256 1) (in 48 256 5000) (in 1319 256 5000) (in 337 0 1) (in 338 0 1) (in 339 0 1) (in 1596 0 1)(in 20045 256 1)(in 20046 256 1)(in 20047 256 1)) (contribute 20) (supoint 50) (teleport 0 267228 242489) (clear 9010 1) (html 900679))) (case (if (class 1)) (then (item (in 7003 256 1)(in 4327 256 1) (in 20192 256 1)(in 20200 256 1)(in 6039 256 1)(in 112 256 1) (in 127 256 1) (in 128 256 1) (in 129 256 1) (in 130 256 1) (in 131 256 1) (in 447 256 30) (in 469 256 1) (in 48 256 5000) (in 1319 256 5000) (in 337 0 1) (in 338 0 1) (in 339 0 1) (in 1596 0 1)(in 20045 256 1)(in 20046 256 1)(in 20047 256 1)) (contribute 20) (supoint 50)(teleport 0 267228 242489) (clear 9010 1) (html 900679))) (case (if (class 3)) (then (item (in 7003 256 1)(in 4327 256 1) (in 20200 256 1)(in 6039 256 1)(in 1415 256 1) (in 1570 256 1) (in 1571 256 1) (in 1572 256 1) (in 1573 256 1) (in 1574 256 1) (in 447 256 30) (in 469 256 1) (in 48 256 5000) (in 1319 256 5000) (in 337 0 1) (in 338 0 1) (in 339 0 1) (in 1596 0 1)(in 20045 256 1)(in 20046 256 1)(in 20047 256 1)) (contribute 20) (supoint 50) (teleport 0 267228 242489) (clear 9010 1) (html 900679))) (case (then (html ))))
In Config/Quests.txt
Spoiler
;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 800))))
The
Red text is the item ID's from InitItem.txt,
Blue text is item quantity. Yours might/will be different from mine, btw this is with only like 2 days of private server knowledge
(in 447 0 200)
0 is its prefix if its 0 you have no prefix , you can make it bound that way or just add talismans to armors weps , you should used also clear option , to avoid multitasking of this quest