Bugs.... bugs.. and more bugs...

Moderators: Edgecrusher, Vladdy

Post Reply
RCK
Beginner Spam Artist
Posts: 2686
Joined: Tue Feb 03, 2004 4:09 pm
Location: Ontario, Canada
Contact:

Bugs.... bugs.. and more bugs...

Post by RCK »

So was playing with your new version tonight Edge.

Clicked on the "Find Location" button and got the following error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at MGU.LocationDisplay.AddGunsToMenu()
at MGU.LocationDisplay.LocationsChanged()
at MGU.MainStuff.FindLocation()
at MGU.MainStuff.KnopKlik(Object sender, ToolBarButtonClickEventArgs e)
at System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
at System.Windows.Forms.ToolBar.WndProc(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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
MGU
Assembly Version: 1.6.1.0
Win32 Version: 1.6.1.0
CodeBase: file:///C:/MGU/MGU.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Edgecrusher
Newbie Spam Artist
Posts: 512
Joined: Tue Apr 05, 2005 10:23 am
Location: Netherlands

Re: Bugs.... bugs.. and more bugs...

Post by Edgecrusher »

That's only one bug and it's easily fixed. It was caused by the fact that I changed the race index and therefore Nijarin remained undetected in certain cases.

By the way, be aware that Location finding does not work for self-generated maps yet because I have not included all ships, weapons and tech in those maps. That;s a lot of work and will be gradually done. for now only te IST and PSF are implemented because most people use those. A bug fix is attached.
You do not have the required permissions to view the files attached to this post.
RCK
Beginner Spam Artist
Posts: 2686
Joined: Tue Feb 03, 2004 4:09 pm
Location: Ontario, Canada
Contact:

Re: Bugs.... bugs.. and more bugs...

Post by RCK »

Edgecrusher wrote:That's only one bug and it's easily fixed. It was caused by the fact that I changed the race index and therefore Nijarin remained undetected in certain cases.

By the way, be aware that Location finding does not work for self-generated maps yet because I have not included all ships, weapons and tech in those maps. That;s a lot of work and will be gradually done. for now only te IST and PSF are implemented because most people use those. A bug fix is attached.
You might want to make that a higher priority... since that's somewhat a key feature.
Edgecrusher
Newbie Spam Artist
Posts: 512
Joined: Tue Apr 05, 2005 10:23 am
Location: Netherlands

Re: Bugs.... bugs.. and more bugs...

Post by Edgecrusher »

Well, for now I only use self-generated maps for testing route plotting. Course plotting and arming routes already work for as far as I know, so no need to test those. I suspect that the typical player won't need self-generated maps, as they have the game-generated maps. Hence the low priority...
RCK
Beginner Spam Artist
Posts: 2686
Joined: Tue Feb 03, 2004 4:09 pm
Location: Ontario, Canada
Contact:

Re: Bugs.... bugs.. and more bugs...

Post by RCK »

currently for one reason or another MGU says u can buy a IST at creo HQ.
Edgecrusher
Newbie Spam Artist
Posts: 512
Joined: Tue Apr 05, 2005 10:23 am
Location: Netherlands

Re: Bugs.... bugs.. and more bugs...

Post by Edgecrusher »

I can't reproduce that error, and being solo I don't have Creonti mapped. You'll either have to allow me into the newbie help alliance or buy me maps :)
RCK
Beginner Spam Artist
Posts: 2686
Joined: Tue Feb 03, 2004 4:09 pm
Location: Ontario, Canada
Contact:

Re: Bugs.... bugs.. and more bugs...

Post by RCK »

find me (or any other Ni) member on IRC and we'll give you maps ;)
Edgecrusher
Newbie Spam Artist
Posts: 512
Joined: Tue Apr 05, 2005 10:23 am
Location: Netherlands

Re: Bugs.... bugs.. and more bugs...

Post by Edgecrusher »

I solved the bug. Apparently some idiot thought it was a good idea to sort the ships for the route plotter, without realising that it screwed up the indices. When you saved a map, every ship became wrongly placed, not only the ist. I fixed it now by sorting ships *before* reading locations. Update is in the main thread.
Post Reply