Jump to content
  • 0

Failed to load options


AccurateNoodle

Question

Hey, any idea what this means?

 

2018-10-14 17:17:15.056 [Error] Message: Failed to load options.
2018-10-14 17:17:15.067 [Error] Stack Trace:    à IntersectClientExtras.Database.GameDatabase.LoadConfigFromXml(String xml) dans C:\Users\JC Snider\Desktop\AGD\Intersect-Client-Extras\IntersectClientExtras\Database\GameDatabase.cs:ligne 163
   à Intersect_Client.Classes.Bridges_and_Interfaces.SFML.Database.MonoDatabase.LoadConfig() dans C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect Client\Classes\MonoGame\Database\MonoDatabase.cs:ligne 51
   à Intersect.Client.IntersectGame..ctor() dans C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect Client\IntersectGame.cs:ligne 41
2018-10-14 17:17:15.069 [Error] Stack Trace:    à System.Xml.XmlTextReaderImpl.Throw(Exception e)
   à System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   à System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   à System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   à System.Xml.XmlDocument.Load(XmlReader reader)
   à System.Xml.XmlDocument.LoadXml(String xml)
   à IntersectClientExtras.Database.GameDatabase.LoadConfigFromXml(String xml) dans C:\Users\JC Snider\Desktop\AGD\Intersect-Client-Extras\IntersectClientExtras\Database\GameDatabase.cs:ligne 148
2018-10-14 17:17:15.069 [Error] Time: 10/14/2018 5:17:15 PM

--------------------------------------------------------------------------------

 

Thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

It sounds like its telling you that the "Client and Editor\resources\config.xml file" is improper (something about whitespacing, I assume). Unfortunately the error trace doesn't explain much that the general public can figure out, so developers can explain more.
 

As far as the config file goes, It should be something like the following:

<?xml version="1.0" encoding="utf-16"?>
<!--Config.xml generated automatically by Intersect Game Engine.-->
<Config>
  <Language>English</Language>
  <Host>localhost</Host>
  <Port>5400</Port>
  <RenderCache>true</RenderCache>
  <MenuBgm />
  <MenuBG>background.png</MenuBG>
  <Logo>logo.png</Logo>
  <IntroBg />
  <Font>arial</Font>
</Config>

Maybe compare or attach your config.xml file.

Link to comment
Share on other sites

  • 0
6 minutes ago, Shilo said:

It sounds like its telling you that the "Client and Editor\resources\config.xml file" is improper. Unfortunately the error trace doesn't explain much that the general public can figure out, so developers can explain more.
 

As far as the config file goes, It should be something like the following:


<?xml version="1.0" encoding="utf-16"?>
<!--Config.xml generated automatically by Intersect Game Engine.-->
<Config>
  <Language>English</Language>
  <Host>localhost</Host>
  <Port>5400</Port>
  <RenderCache>true</RenderCache>
  <MenuBgm />
  <MenuBG>background.png</MenuBG>
  <Logo>logo.png</Logo>
  <IntroBg />
  <Font>arial</Font>
</Config>

Maybe compare or attach your config.xml file.

Found the problem in the .config file, thanks for the huge hint!

Link to comment
Share on other sites

×
×
  • Create New...