NPC Problem

Newbie Spellweaver
Joined
Aug 1, 2008
Messages
72
Reaction score
0
Hey.. have a problem with NPC...
I see him in game... but if i wanna talk with him... it shows me this error... (Attached File)

My InitNPC Code is this:
Code:
(gennpc (index 479) (country 0) (kind 0) (shape 3) (html 700) (map 0) (xy 267785 242736 19630) (dir 267711 242732))

And my e.pk code is this:
Code:
(filechk file_ver (country_type ENG) (filename s000700))
(background
	(font 12) 
	(wrap 270)
	(link system ( param ( width 270) ( height 255) ( style title edge system vscroll) ( caption "Caption") ( layout script) ))
)

( frame ( font 12)

	( line "Hey")
	( line "How are you?")
	( link close ( text "[End Talking] Bye Bye"))
)

I have named the .dat file s000700.dat and encrypted it and put it in e.pk... what
 

Attachments

  • NPCError - NPC Problem - RaGEZONE Forums
    NPCError.webp
    18.9 KB · Views: 61
Hey.. have a problem with NPC...
I see him in game... but if i wanna talk with him... it shows me this error... (Attached File)

My InitNPC Code is this:
Code:
(gennpc (index 479) (country 0) (kind 0) (shape 3) (html 700) (map 0) (xy 267785 242736 19630) (dir 267711 242732))
And my e.pk code is this:
Code:
(filechk file_ver (country_type ENG) (filename s000700))
(background
    (font 12) 
    (wrap 270)
    (link system ( param ( width 270) ( height 255) ( style title edge system vscroll) ( caption "Caption") ( layout script) ))
)

( frame ( font 12)

    ( line "Hey")
    ( line "How are you?")
    ( link close ( text "[End Talking] Bye Bye"))
)
I have named the .dat file s000700.dat and encrypted it and put it in e.pk... what
 
Upvote 0
Ok I decrypted "s000001.dat" which looks like this:

Code:
(filechk file_ver (country_type ENG) (filename s000001))
(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 "Merchant, Goo-Deuk : Hello. Excellent weapons are basic requirements for excellent fighters. My products are only the basic weapons. If you're looking for better products, you'd btter go to the Geumoy Castle.")
	( line "")

	( link ( text "[Enter Shop]Please show me all your weapons") ( param load "store" 1))
	( link ( text "I'd like know more about the weapons.") ( param load "s000002" ))
	( link close ( text "I'll come back later."))
)

and modified it to this:

Code:
(filechk file_ver (country_type ENG) (filename s000700))
(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 "Mein Eigener NPC : Hallo. Wie geht
 
Upvote 0
Code:
(filechk file_ver (country_type ENG) (filename s000700))
(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 "Mein Eigener NPC : Hallo. Wie geht
 
Upvote 0
Back