I made a new XMLQuestNPC, froze it, opened the gump (which shows the player name on the Trig and NoTrig lines automatically) and saved it to 'Braina', which made a Braina.npc file for me here:
<?xml version="1.0" standalone="yes"?>
<XmlQuestNPC>
<NPC>
<Name>Braina</Name>
<Running>True</Running>
<ProximityRange>3</ProximityRange>
<ResetRange>16</ResetRange>
<TriggerOnCarried>Braina</TriggerOnCarried>
<NoTriggerOnCarried>Braina</NoTriggerOnCarried>
<AllowGhost>False</AllowGhost>
<SpeechPace>10</SpeechPace>
<ResetTime>1</ResetTime>
<SpeechEntries>1</SpeechEntries>
</NPC>
<SpeechEntry>
<EntryNumber>10</EntryNumber>
<ID>10</ID>
<Text>Braina</Text>
<Keywords>Braina</Keywords>
<Action>Braina</Action>
<Condition>Braina</Condition>
<DependsOn>Braina</DependsOn>
<Pause>1</Pause>
<PrePause>-1</PrePause>
<LockConversation>True</LockConversation>
<IgnoreCarried>False</IgnoreCarried>
<AllowNPCTrigger>False</AllowNPCTrigger>
<SpeechStyle>Regular</SpeechStyle>
<SpeechHue>-1</SpeechHue>
<Gump>Braina</Gump>
</SpeechEntry>
</XmlQuestNPC>
Now, something else I discovered in the process of it. There appears to be TWO locations of 'XMLQuestNPC' on my server. One is in the root of my shard folder. (IE: \shard\XmlQuestNPC ' The other, is located at: ' \shard\scripts\services\XmlSpanwer Extras\XmlQuestNPC '
In the root location, I see where anything I have saved (like Braina above) shows up. In the other directory (which is the default that came with ServUO), I show a bunch of NPC files:
Abbott, Costello, Dracondar, drake, echo, etc.
So, I copied the 'travelagent.npc' over to the root level and tried to load it through that. I actually get it to load properly off the XMLSpawner, but when I use the Xmledit command, here is what I get (see attachment).
The config file for that is as follows:
<?xml version="1.0" standalone="yes"?>
<XmlQuestNPC>
<NPC>
<Name>FlyByNight</Name>
<Running>True</Running>
<ProximityRange>3</ProximityRange>
<AllowGhost>False</AllowGhost>
<ResetTime>0.20</ResetTime>
<ConfigFile>travelagent</ConfigFile>
<SpeechEntries>14</SpeechEntries>
</NPC>
<SpeechEntry>
<EntryNumber>0</EntryNumber>
<ID>0</ID>
<DependsOn>999</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>1</EntryNumber>
<ID>3</ID>
<Text>Where can I take you today? </Text>
<DependsOn>-1</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>2</EntryNumber>
<ID>3</ID>
<Text>What is your destination? </Text>
<DependsOn>-1</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>3</EntryNumber>
<ID>3</ID>
<Text>Just say the word and you are off! </Text>
<DependsOn>-1</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>20</EntryNumber>
<ID>20</ID>
<Action>TAKEBYTYPE,1,1000,true/gold</Action>
<DependsOn>5</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>4</EntryNumber>
<ID>4</ID>
<Keywords>britain</Keywords>
<DependsOn>3</DependsOn>
<Text>The fare is 1000 gold. Is that agreeable? </Text>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>5</EntryNumber>
<ID>5</ID>
<Keywords>yes</Keywords>
<Text>Enjoy your trip! </Text>
<Action>SETONTRIGMOB/map/felucca/x/1401/y/1625/z/28</Action>
<Pause>0</Pause>
<DependsOn>4</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>12</EntryNumber>
<ID>12</ID>
<Keywords>no</Keywords>
<Text>Ah well, perhaps when your purse is heavier. </Text>
<DependsOn>4</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>6</EntryNumber>
<Keywords>minoc</Keywords>
<Action>SETONTRIGMOB/map/felucca/x/2539/y/501/z/30</Action>
<DependsOn>3</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>7</EntryNumber>
<Keywords>deceit</Keywords>
<Action>SETONTRIGMOB/map/felucca/x/4111/y/432/z/5</Action>
<DependsOn>3</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>8</EntryNumber>
<Keywords>luna</Keywords>
<Action>SETONTRIGMOB/map/malas/x/991/y/519/z/-50</Action>
<DependsOn>3</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>9</EntryNumber>
<Keywords>umbra</Keywords>
<Action>SETONTRIGMOB/map/malas/x/1941/y/1321/z/-88</Action>
<DependsOn>3</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>10</EntryNumber>
<Keywords>doom</Keywords>
<Action>SETONTRIGMOB/map/malas/x/2367/y/1268/z/-85</Action>
<DependsOn>3</DependsOn>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>11</EntryNumber>
<Keywords>mistas</Keywords>
<Action>SETONTRIGMOB/map/ilshenar/x/820/y/1073/z/-30</Action>
<DependsOn>3</DependsOn>
</SpeechEntry>
</XmlQuestNPC>
So, the 'TrigonCarried' and 'NoTrigOnCarried' are being populated by his name right out of the gate. If I click on ANY edit function, any blank line in there automatically gets replaced by the NPC name. (Same issue as before.) So, I feel like I'm doing the right things, but it looks like something is broke.
I may try to install a clean SVN on another machine and just load up a world and see if I can replicate this same problem on a brand new install. I should be able to, cause I haven't touched any part of the XML system since the initial download.
[doublepost=1486764969][/doublepost]If I click on 'edit' by line 0, without doing anything, I get the following. (see screenshot), in which I cannot get rid (blank out) anything.