Latest Bugs

Moderators: Edgecrusher, Vladdy

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

Latest Bugs

Post by RCK »

Found some more bugs ;)

For the goto sector, when you enter in the sector and hit enter it adds a new line doesnt search. And im still waiting for CTRL+g to work... ;)

When i click "Plot Arming" i get a error screen,

Code: Select all

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.OptimalRoute.AddGunsToMenu()
   at MGU.OptimalRoute.OptimalRoute_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   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.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:/Users/Ben/AppData/Local/Temp/Temp1_MGU.zip/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
----------------------------------------

************** 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.
Guessing that one stems from the fact that there is no ships/locations etc listed...
Edgecrusher
Newbie Spam Artist
Posts: 512
Joined: Tue Apr 05, 2005 10:23 am
Location: Netherlands

Re: Latest Bugs

Post by Edgecrusher »

Hitting enter no longer generates a newline. Well, technically it does, but it gets deleted immediately and the go to function is triggered. No CTRL-G yet, next version. Update is in the main thread.

And the plot arming indeed occurs only for newly generated maps cause location, tech, weaps and ships are not in there yet. That is because I have to fill them in manuallyu and that is a :D of work. I will di it gradually, but don't expect it to work for new maps for a while.
Kessler
Quiet One
Posts: 24
Joined: Mon Jan 05, 2004 10:54 am

Re: Latest Bugs

Post by Kessler »

No clue where to put this, but

When searching for a jump route It gave me a racial port and planet gal port. 15 dist(jump) but there was a neutral galaxy in between. We know we can't jump 2 warps, but can MGU learn this?


I must say, it is getting more usable by the version.
Kessler
Former member : Ingenious!, Fool's Errand, Quiet Riot, Crusaders, Controlled Anarchy, F.U.N., System Failure, Sesame Street, -=Shadow=-, Dark Knights, Rain of Death, TLS

Always Smoothe as Silk
Edgecrusher
Newbie Spam Artist
Posts: 512
Joined: Tue Apr 05, 2005 10:23 am
Location: Netherlands

Re: Latest Bugs

Post by Edgecrusher »

I was under the impression that MGU already checks for adjacency of galaxies, but apparently not, I'll look into it. It's not difficult to implement anyway.
Hugh
Quiet One
Posts: 25
Joined: Sat Mar 19, 2005 12:21 am

Re: Latest Bugs

Post by Hugh »

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

************** Exception Text **************
System.ArgumentNullException: Path cannot be null.
Parameter name: path
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at MGU.SMR16.SaveData(String SMRFile, Game currentGame)
at MGU.RouteFinder.CalculateTrigger_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3620 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MGU
Assembly Version: 1.6.1.4
Win32 Version: 1.6.1.4
CodeBase: file:///C:/SMR/Merchants%20Guide%20to%20the%20Universe/MGU.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
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.3614 (GDR.050727-3600)
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.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.
Hugh
~-~-~
Currently with Path TO Oblivion
Previously with Tyranical Rule, Undead Umbrellas, Contraction, V.E.N.o.M, Quiet Riot, System Failure, RoD, TLS and others that don't come to mind...
Led iLegitimate Basterds

Hated 1.5
Page
SMR Coder
Posts: 1779
Joined: Sat Dec 07, 2002 9:17 pm

Re: Latest Bugs

Post by Page »

:O :O :O Hugh left his comfort zone?!? :O

On a side note I really do have to have a look at this code sometime, interested how Edgecrusher did both the pathfinding and route gen.
Edgecrusher
Newbie Spam Artist
Posts: 512
Joined: Tue Apr 05, 2005 10:23 am
Location: Netherlands

Re: Latest Bugs

Post by Edgecrusher »

Hugh, what did you do to generate that error and what version of MGU do you use?

Page: the code is all there. It's not rocket science, but help yourself.
Hugh
Quiet One
Posts: 25
Joined: Sat Mar 19, 2005 12:21 am

Re: Latest Bugs

Post by Hugh »

I just downloaded the last one, and it did it as soon as I clicked the route finder, no other input was needed.
Hugh
~-~-~
Currently with Path TO Oblivion
Previously with Tyranical Rule, Undead Umbrellas, Contraction, V.E.N.o.M, Quiet Riot, System Failure, RoD, TLS and others that don't come to mind...
Led iLegitimate Basterds

Hated 1.5
Edgecrusher
Newbie Spam Artist
Posts: 512
Joined: Tue Apr 05, 2005 10:23 am
Location: Netherlands

Re: Latest Bugs

Post by Edgecrusher »

I cannot reproduce that error, but I think I know what is wrong, can you paste me the contents of your startup.txt file?
MrSpock
Newbie Spam Artist
Posts: 826
Joined: Thu Feb 07, 2002 4:38 pm
Location: Thuringia, Germany
Contact:

Re: Latest Bugs

Post by MrSpock »

My statup looks like this:



LoadedMap = C:\Users\Xxx\Downloads\SMR\MGU\Summer Solstice.smr
LoadedMap = C:\Users\Xxx\Downloads\SMR\MGU\Warlocked.smr
Style = 0


(a space right before first path and spaces in the path)
We will add your biological and technological distinctiveness to our own.
Your trader will adapt to service us. Resistance is futile. We are the creator of SMR.
Post Reply