EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   EQ2Map Troubleshooting (https://www.eq2interface.com/forums/forumdisplay.php?f=36)
-   -   More info on errors while updating. (https://www.eq2interface.com/forums/showthread.php?t=9696)

eqpymp 11-15-2007 03:37 PM

More info on errors while updating.
 
Keep in mind this is a new install from the latest program link.

When Updating I get this error:
Unknown Error: EQ2MAP_Updater
at EQ2MAPUpdater.GlobalVariables.ReadConfigValues()
at EQ2MAPUpdater.MainWindow.FormMain_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Object reference not set to an instance of an object.

When closing the program I get this error:
Error saving your changes to the configuration file
Object refrence not set to an instance of an object.
at EQ2mapupdater.GlobalVariables.WriteConfigValues()
at EQ2mMapUpdater.MAinWindow.Form1_Closing(Objectsender, CancelEventArgs e)

I saw someone refrecning a config.cfg file supposedly to be present in the eq2updater folder but I dont see one whan I look. This could be totally irrelevant.

Great program I used it a year ago when I played I want to use it some more :)

jnils 11-16-2007 12:19 AM

The program should create one if non exist, but by some reason it fails :(

Are you admin on the computer ?

Groul 11-16-2007 04:57 AM

It looks like the newest version neither distributes nor creates a configuration file (eq2map_config.cfg). If I make a null file with the old config file name (eq2map_config.cfg) I get different error messages.

Error Message WITH a null config file:
--
Unknown Error: System
at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, Boolean useCache)
at System.Text.RegularExpressions.Regex..ctor(String pattern)
at EQ2MAPUpdater.Options.Options_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Value cannot be null.
Parameter name: pattern
--

Error Message WITHOUT a config file:
--
Unknown Error: EQ2MAP_Updater
at EQ2MAPUpdater.GlobalVariables.ReadConfigValues()
at EQ2MAPUpdater.MainWindow.FormMain_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Object reference not set to an instance of an object.
--

Talyns 11-16-2007 05:15 AM

What windows version do you use and I assume you have administration rights?

For now, you can try copying this into that empty cfg file..

Code:

<?xml version="1.0" standalone="yes"?>
<ConfigOpt>
  <ConfigValues>
    <OptionName>AutoUpdate</OptionName>
    <OptionValue>True</OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>AutoLaunch</OptionName>
    <OptionValue>True</OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>AutoLaunch2</OptionName>
    <OptionValue>False</OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>MainhudOver</OptionName>
    <OptionValue>False</OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>StyleOver</OptionName>
    <OptionValue>False</OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>POIOver</OptionName>
    <OptionValue>False</OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>LogUpdates</OptionName>
    <OptionValue>False</OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>EQ2Dir</OptionName>
    <OptionValue></OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>Language</OptionName>
    <OptionValue>Default</OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>AutoLaunchPath</OptionName>
    <OptionValue></OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>AutoLaunchFile</OptionName>
    <OptionValue></OptionValue>
  </ConfigValues>
  <ConfigValues>
    <OptionName>AutoLaunchPath2</OptionName>
    <OptionValue />
  </ConfigValues>
  <ConfigValues>
    <OptionName>AutoLaunchFile2</OptionName>
    <OptionValue />
  </ConfigValues>
  <ConfigValues>
    <OptionName>CommandLineArgs</OptionName>
    <OptionValue />
  </ConfigValues>
</ConfigOpt>


eqpymp 11-16-2007 11:54 AM

Using windows xp sp2 and yes i have admin rights. I tried to make my own config.cfg using the code above but that dident work. Thanks for the response though.

eqpymp 11-17-2007 01:46 PM

Seems fixed to me. Another job well done! Just a note I did have to delete it everywhere i could find it and then install the newest version before it stopped spitting the error.

And another thought. Might be a good idea to require those looking for answers to provide you with any UI's they may be using in case of conflict. IE I was using thorui no idea if it was part of the problem but regardless its all good now :)

Thanks Loads


All times are GMT -5. The time now is 08:56 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI