- Joined
- Oct 15, 2012
- Messages
- 105
- Reaction score
- 9
I have followed this guide http://forum.ragezone.com/f554/tutorial-starter-npc-268405/ just to make an NPC that sells basic equipment to test for server. I have setup NPC's they load into game and they have their names working. I cannot get any chat to open with them. Only way I can get it to work is to add a different html number to them so it uses a different dialogue.
Here is my .dat file for the chat text. filename is s000900.dat
initnpc has this information
What am I doing wrong that will cause this text to not be linked to the npc? I think it looks ok I coppied it from working NPC and just changed shop and htm.
Any help please
Here is my .dat file for the chat text. filename is s000900.dat
Code:
(filechk file_ver (country_type ENG) (filename s000900))
(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 "In-Sall : Come here~ Come. We have plenty of equipment for strength and defence. They're needed in the battle. I guarantee the effectiveness.")
( line "")
( link ( text "[Enter Shop] Oh! There're some great gear here! Please show me some") ( param load "store" 71))
( link close ( text "[Talk End] Foods for magic points¡¦ I'm not ready for them yet."))
initnpc has this information
Code:
;Knight Merchant Narootuh
(gennpc (index 3000) (country 2) (kind 0) (shape 9) (html 900) (map 0) (xy 258001 259032 16044) (dir 257391 259501))
What am I doing wrong that will cause this text to not be linked to the npc? I think it looks ok I coppied it from working NPC and just changed shop and htm.
Any help please