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!

[Tutorial] How to make your own NPCs :]

Junior Spellweaver
Joined
Sep 16, 2006
Messages
162
Reaction score
0
BakaBug posted one , use search :x

no1 can help me at my prob?
 
Newbie Spellweaver
Joined
Aug 28, 2006
Messages
14
Reaction score
0
good totorial
but i cant get it to work i tryed everything just like ciut
tryed
(gennpc (index 601) (country 252) (kind 0) (shape 5) (html 300) (teleport 2 50179 34100 20476) (map 0) (xy 232651 295588 45300) (dir 235916 233677))

(gennpc (index 601) (country 252) (kind 0) (shape 5) (html 300) (teleport 0 50179 34100 20476) (map 0) (xy 232651 295588 45300) (dir 235916 233677))

but i cant get the npc to tele me anywhere!
Anyone knows what i did wrong?
 
Last edited:
Your omega
Loyal Member
Joined
Aug 22, 2006
Messages
1,495
Reaction score
24
good totorial
but i cant get it to work i tryed everything just like ciut
tryed
(gennpc (index 601) (country 252) (kind 0) (shape 5) (html 300) (teleport 2 50179 34100 20476) (map 0) (xy 232651 295588 45300) (dir 235916 233677))

(gennpc (index 601) (country 252) (kind 0) (shape 5) (html 300) (teleport 0 50179 34100 20476) (map 0) (xy 232651 295588 45300) (dir 235916 233677))

but i cant get the npc to tele me anywhere!
Anyone knows what i did wrong?

For teleport you need to set Kind to 5 i thought also edit the dialog in e.pk
with s500300
 
Newbie Spellweaver
Joined
Aug 28, 2006
Messages
14
Reaction score
0
now i cant see him any more!
i ll try tomorow i need some sleep been up all night trying to get it work
 
Newbie Spellweaver
Joined
Sep 10, 2006
Messages
19
Reaction score
0
1. You dont need to change the dialog file to s500300.dat, im using kind 5 and s000284.dat and it works fine.
2. If you cant see him anymore its the shape which doesnt work with the kind, try other shapes (kind5) (shape 39) DOES work.
 
Newbie Spellweaver
Joined
Aug 28, 2006
Messages
14
Reaction score
0
you were right about the shape but if i dont change it to s500300 then i have a speed med npc text
allthou i changed s500300 to s000300 in e.pk
i can see him and talk to him but still he doesn't tak me anywhere
 
Newbie Spellweaver
Joined
Aug 28, 2006
Messages
14
Reaction score
0
you were right about the shape but if i dont change it to s500300 then i have a speed med npc text
allthou i changed s500300 to s000300 in e.pk
i can see him and talk to him but still he doesn't take me anywhere
 
Newbie Spellweaver
Joined
Sep 10, 2006
Messages
19
Reaction score
0
U need to use this: ( param load "teleportNPC1")
I bet u typed it like you posted it b4 ( param load "teleport NPC"), which doesnt work!!
 
Banned
Banned
Joined
Oct 9, 2006
Messages
7
Reaction score
0
HI
thnx for the guide...i wanted to make a NPC in the TEMPO CASTLE and i made it successfully...
now the NPC is "Null", i edited a new line in Messege-e :
Code:
(npcname 584 "Testing NPC")
but the NPC is still null :s
then for the items, the merchant should sale, i went into the Config file and Edited the MACRO.DAT file
Code:
( store ( key 584) ( index 895 896 897 898 899 900 901 902 903 904 905 906))
but still the NPC is NULL
what to do :s
my s000584.TXT file is :
Code:
(filechk file_ver (country_type ENG) (filename s000584))
(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 "Mix System Shopkeeper : Welcome, i got all the Mixing system Items, Come on In ")
	( line "")

	( link ( text "[ENTER SHOP] Show me some Mixing Items") ( param load "store" 584 ))
	
	
	( link close ( text "I'll come later, Good Bye ^.^ "))	
)
 
Last edited:
Newbie Spellweaver
Joined
Jan 4, 2006
Messages
46
Reaction score
8
the index of the NPC must be the same as the npcname number, in your case 584. check it ;>
 
Banned
Banned
Joined
Oct 9, 2006
Messages
7
Reaction score
0
@Puppi: :S the number is same :s ...584 is there
See:
Code:
macro.TXT
( store ( key 584) ( index 895 896 897 898 899 900 901 902 903 904 905 906))

Code:
message-e.TXT
(npcname 584 "Testing NPC")

s000584.TXT :
Code:
(filechk file_ver (country_type ENG) (filename s000584))
(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 "Mix System Shopkeeper : Welcome, i got all the Mixing system Items, Come on In ")
	( line "")

	( link ( text "[ENTER SHOP] Show me some Mixing Items") ( param load "store" 584 ))
	
	
	( link close ( text "I'll come later, Good Bye ^.^ "))	
)
:question1 ?? am i missing some thing?
 
Custom Title Activated
Loyal Member
Joined
May 18, 2006
Messages
2,065
Reaction score
14
Open your InitNPC.txt from your MainSvr's config folder.

The index there is the same index for the name.
 
Banned
Banned
Joined
Oct 9, 2006
Messages
7
Reaction score
0
Open your InitNPC.txt from your MainSvr's config folder.

The index there is the same index for the name.
it's already there see
Code:
(gennpc (index 584) (country 252) (kind 0) (shape 3) (html 584) (map 0) (xy 268865 242756 19620) (dir 268865 242756))
 
Newbie Spellweaver
Joined
Jan 4, 2006
Messages
46
Reaction score
8
then you're doing something wrong. are you sure you inserted the message-e.dat into the config correctly, and are you using it in the client which you use to connect?
 
Junior Spellweaver
Joined
Sep 16, 2006
Messages
162
Reaction score
0
nvm i was wrong lol ignore my post -.-

i thought it must be kind 5 but kind 5 is for teleporter sry.
 
Last edited:
Banned
Banned
Joined
Oct 9, 2006
Messages
7
Reaction score
0
then you're doing something wrong. are you sure you inserted the message-e.dat into the config correctly, and are you using it in the client which you use to connect?
am using admin tool :S
 
Newbie Spellweaver
Joined
Jan 4, 2006
Messages
46
Reaction score
8
heh then I can't help you I don't know how admin tool works, never used it =P
 
Banned
Banned
Joined
Oct 9, 2006
Messages
7
Reaction score
0
then what should i use ?? :s any other application?
 
Back
Top