Me again!
My main Questgiver keeps dropping the quest description book at his feet rather than in the players backpack. I have the code set up like in the tutorial (but including the end >) and he does everything I wanted him too except drop the book in the backpack. What would I be missing?
QUOTE (Syntria @ June 03, 2006 06:03 pm) |
Me again!
My main Questgiver keeps dropping the quest description book at his feet rather than in the players backpack. I have the code set up like in the tutorial (but including the end >) and he does everything I wanted him too except drop the book in the backpack. What would I be missing? |
there are some typos in the tutorial description. If you read further down the thread you will see the fixes.
Basically it has to do with the use of the html < and > character escape sequence in normal strings. They should be replaced with the actual characters '<' and '>'.
hmmm... I tried to change the < to the < and when I refresh it it goes back to the <........... and then drops it at the npc's feet.....
QUOTE (Syntria @ June 03, 2006 06:19 pm) |
hmmm... I tried to change the < to the < and when I refresh it it goes back to the <........... and then drops it at the npc's feet..... |
where are you changing this?
in the [xmledit menu under actions
QUOTE (Syntria @ June 03, 2006 06:58 pm) |
in the [xmledit menu under actions |
are you opening up the book entry gump using the button at the right of the Action field and editing it in there?
yes that's where. My entry is way longer than the single text line
hmm. so you open the book, edit the text to replace < with <, right click the book to close it. Then when you open the book again, the < is back?
It sounds like you may have saved the original version with < out to a .npc file, you make the changes in xmledit, but then respawn the npc with the old .npc file and so undo any changes you made with xmledit.
Try making the changes using xmledit, and then save them to the .npc file right away.
Yes. as soon as I right click the book it shows back up as < in the text line of the main menu......
I haven't actually saved the npc yet........ where else could I have made the changes at?
QUOTE (Syntria @ June 03, 2006 07:28 pm) |
Yes. as soon as I right click the book it shows back up as < in the text line of the main menu......
I haven't actually saved the npc yet........ where else could I have made the changes at? |
can you make any other edits to text using the book?
It seems I can only add things at the very end of the phrase. I can't delete anything even at the end and I can't change anything in the middle. Could I have installed the book entry wrong?
QUOTE (Syntria @ June 03, 2006 07:52 pm) |
It seems I can only add things at the very end of the phrase. I can't delete anything even at the end and I can't change anything in the middle. Could I have installed the book entry wrong? |
well, the only things that should affect the book entry are having made custom modifications to basebook.cs, or having performed installation step #3 which disables them.
Otherwise, it should work by default.
By any chance did you do this step?
QUOTE |
STEP 3: (NOT recommended but allowed) In order to provide the book extended text entry interface, xmlspawner replaces the default packet handler for basebooks. While this does not affect the behavior of standard books in any way, if you DONT want this mod, comment out the following line at line 26 in PacketHandlerOverrides.cs If you comment out this line then you will NOT be able to edit spawner entries using the book interface.
// Timer.DelayCall( TimeSpan.Zero, new TimerCallback( ContentChangeOverride ) );
|
Nope. I figured the book made it easier for long entries so I kept it...
what is your accesslevel when you are editing?