Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 11-21-2004, 02:22 PM   #1 (permalink)
Newbie
 
pglizerd's Avatar
 
Join Date: Jul 2004
Age: 46
Posts: 44
Question Problem with Add command

when ever i do [add the server will crash any ideals on what may cause this ?? below is the Crash log


Exception:
System.Xml.XmlException: There is an unclosed literal string. Line 1285, position 32.
at System.Xml.XmlScanner.ScanLiteral()
at System.Xml.XmlTextReader.SetLiteralValues(XmlAttri buteTokenInfo fld)
at System.Xml.XmlTextReader.SetAttributeValues()
at System.Xml.XmlTextReader.ParseElement()
at System.Xml.XmlTextReader.Read()
at Server.Gumps.CAGCategory..ctor(CAGCategory parent, XmlTextReader xml)
at Server.Gumps.CAGCategory..ctor(CAGCategory parent, XmlTextReader xml)
at Server.Gumps.CAGCategory..ctor(CAGCategory parent, XmlTextReader xml)
at Server.Gumps.CAGCategory.Load(String path)
at Server.Scripts.Commands.AddCommand.ValidateArgs(Ba seCommandImplementor impl, CommandEventArgs e)
at Server.Scripts.Commands.SingleCommandImplementor.R edirect(CommandEventArgs e)
at Server.Commands.Handle(Mobile from, String text)
at Server.Mobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue)
at Server.Network.PacketHandlers.UnicodeSpeech(NetSta te state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
pglizerd is offline   Reply With Quote
Old 11-21-2004, 02:32 PM   #2 (permalink)
Master of the Internet
 
Join Date: Aug 2003
Posts: 5,688
Default

check out this thread.
Questions
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. "

For questions, information, and support for XmlSpawner and its addons, visit the
XmlSpawner Support Forum
ArteGordon is offline   Reply With Quote
Old 11-21-2004, 03:52 PM   #3 (permalink)
Newbie
 
pglizerd's Avatar
 
Join Date: Jul 2004
Age: 46
Posts: 44
Default [add crashing server

xception:
System.Xml.XmlException: There is an unclosed literal string. Line 1404, position 25.
at System.Xml.XmlScanner.ScanLiteral()
at System.Xml.XmlTextReader.SetLiteralValues(XmlAttri buteTokenInfo fld)
at System.Xml.XmlTextReader.SetAttributeValues()
at System.Xml.XmlTextReader.ParseElement()
well i went to the forum u posted and tried that but still get server crash when i do [add or [rebuld categorization here is the latest crash file they only new scripts i have added is the SE script any help would b great thanks




at System.Xml.XmlTextReader.Read()
at Server.Gumps.CAGCategory..ctor(CAGCategory parent, XmlTextReader xml)
at Server.Gumps.CAGCategory..ctor(CAGCategory parent, XmlTextReader xml)
at Server.Gumps.CAGCategory..ctor(CAGCategory parent, XmlTextReader xml)
at Server.Gumps.CAGCategory.Load(String path)
at Server.Scripts.Commands.AddCommand.ValidateArgs(Ba seCommandImplementor impl, CommandEventArgs e)
at Server.Scripts.Commands.SingleCommandImplementor.R edirect(CommandEventArgs e)
at Server.Commands.Handle(Mobile from, String text)
at Server.Mobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue)
at Server.Network.PacketHandlers.UnicodeSpeech(NetSta te state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
pglizerd is offline   Reply With Quote
Old 11-21-2004, 03:57 PM   #4 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

You have a script that is poorly written.

You will have to find it by trial and error.

My suggestion take out all of your custom scripts out, and don't use them at all, if you always write your own code you won't have this problem.
Phantom is offline   Reply With Quote
Old 11-21-2004, 04:05 PM   #5 (permalink)
Master of the Internet
 
Join Date: Aug 2003
Posts: 5,688
Default

yep, bad script. You can get a clue as to what it is by looking in your objects.xml file at the line indicated in the crash report

System.Xml.XmlException: There is an unclosed literal string. Line 1404, position 25.

You can also add this debugging code to identify it.

in gencategorization.cs, RecurseExport where it writes out cte.Type info (around line 103) just put in

Console.WriteLine("{0}",cte.Type);

That will tell you the element that is causing the problem when you run a [rebuildcategorization.
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. "

For questions, information, and support for XmlSpawner and its addons, visit the
XmlSpawner Support Forum
ArteGordon is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5