Titan Network

Archive => Mids' Hero Designer => Titan Projects => Tech Support => Topic started by: Tog on December 03, 2010, 11:30:05 AM

Title: Can only run once, and other bugs.
Post by: Tog on December 03, 2010, 11:30:05 AM
Nice to see the I-19 version out already.  I actually just set rest to sub for Health and Stam, so I've had my builds done and sort of ready.  When I saw the new version up, I installed in a hit a few bugs.

First off (Cause it's been around a while).  You still can't take the Frag Grenade on a Crab Spider unless you take the mutually exclusive Frag grenade from the General Soldier section.  The Mutually exclusive flag is set wrong.

Next issue I ran into is that I have to uninstall and reinstall every time I want to use it.  It only runs from the screen that asks at the end of the installation.  When I try to start up from the icon, I get the message that the database encountered a problem and it asks if I want to download a fix.

When I say I do, I get this error box:

Huh...

Enhancement Database file isn't how it should be (Too many bytes in what should have been a 7 bit encoded Int32.)
No Enhancements have been loaded.

When I click OK, It leads to this:

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 Hero_Designer.I9Gfx.LoadArchetypeImages()
   at Hero_Designer.clsDataX.DoDataLoad(frmLoading& iFrm)
   at Hero_Designer.clsDataX..ctor(frmLoading& iFrm)
   at Hero_Designer.frmMain.frmMain_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Hero Designer
    Assembly Version: 1.6.1.0
    Win32 Version: 1.6.001
    CodeBase: file:///C:/Program%20Files%20(x86)/Titan%20Network/Mids%20Hero%20Designer/Hero%20Designer.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.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.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.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
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
midsControls
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Titan%20Network/Mids%20Hero%20Designer/midsControls.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    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.


Another thing I see is referenced in the post header.  If you make a new character, or open an existing one, then look at the values box that floats on top ans shows all the numbers.  Everyone shows a +100% damage buff, though this is not actually reflected in the damages of the powers.  To be clear, this isn't some toggle turned on, this is a character with no powers selected at all beyond the first attack.

Title: Re: Can only run once, and other bugs.
Post by: Aggelakis on December 03, 2010, 07:37:51 PM
Regarding the damage buff, that's because at +100% damage, you do base damage. Enhancements are added after that. It's described in the hover text for it:

"As some powers can reduce your damage output,  this bar has your base damage (100%) included."
Title: Re: Can only run once, and other bugs.
Post by: Tog on December 03, 2010, 08:24:32 PM
Fair enough, but it was a change from the previous version which set the base damage at +0%, and the new version lists the base (non-modified) as +100% rather than just 100%.  Everything about it looked like a bug.

Also, After installing on the desktop when I got home I figured out how to make it work on the laptop that was giving me trouble.

On the laptop, it stopped running as admin from the shortcut after install.  Its never done that before and I didn't need to reset it on the desktop, so I didn't think about it.  Chalk that one up to PEBKaC.
Title: Re: Can only run once, and other bugs.
Post by: Diellan on December 04, 2010, 03:41:03 PM
Quote from: Tog on December 03, 2010, 08:24:32 PM
Fair enough, but it was a change from the previous version which set the base damage at +0%, and the new version lists the base (non-modified) as +100% rather than just 100%.  Everything about it looked like a bug.

It was a change because the way damage and recharge were being calculated was inconsistent (some places counted it as a base of 0 and some as a base of 100) leading to a few bugs (mostly in terms of the caps). I decided to make everything consistent and make it a base of 100% (the + should probably be removed).