(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."))
;Knight Merchant Narootuh
(gennpc (index 3000) (country 2) (kind 0) (shape 9) (html 900) (map 0) (xy 258001 259032 16044) (dir 257391 259501))
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
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) ([COLOR=#ff0000]html 000900[/COLOR]) (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
;Knight Merchant Narootuh
(gennpc (index 3000) (country 2) (kind 0) (shape 9) (html 000900) (map 0) (xy 258001 259032 16044) (dir 257391 259501))
(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) also tried ( frame ( font 12)) none work
( 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."))
Also tried this
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) also tried ( frame ( font 12)) none work ( 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."))
(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."))
)
Sorry I didnt explain that thorough. ^^
the bracket is one that should be around the other things that follow.
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.")) )
like this, thats why I said im not sure if you just forgot to copy it.
(gennpc (index 3000) (country 2) (kind 1) (shape 9) (html 900) (map 0) (xy 267781 242663 19630) (dir 257391 259501))
(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 "Come here. We have plenty of equipment for strength and defence. They are needed in battle. I guarantee the effectiveness")
( line "")
( link ( text "[Enter Shop] We have some great gear here ! Please show me some.") ( param load "store" 71))
( line "")
( link close ( text "[Talk End] I'm not ready for them yet."))
)
thats what i thought too at first but then i just figured ... might as well try everything LOLi was just like "wtf" after i seen all that answers..
btw it even can be html "fuckoff" and it will be loaded... dont have to be 0009000