Ionisator on 7/10/2016 at 17:40
startup times: (320GB HDD, Win 7)
v 1.3.2 the first time: 2,1 seconds - the second time: 0,6 seconds
v 1.3.4 the first time: 2 seconds - the second time: 0,6 seconds
v 1.3.5test the first time: 1 second - the second time: 0,5 seconds
R Soul on 8/10/2016 at 00:25
Thanks. It seems that the delay is a .net problem with some machines, rather than anything specific to NewDarkLoader. I think I'd have already received reports if many people were experiencing a long delay, so, after some more tweaking, I'm almost ready to release version 1.4:
(
http://www.mediafire.com/file/3idm8478wc3xthq/NewDarkLoader1.4.zip)
I say almost because I'll only put the link in the first post once a few people have confirmed things are still okay (e.g. that I haven't disabled any existing features).
Stingm on 8/10/2016 at 03:27
Okay there is an issue with 1.4 and t3. On startup it gives an error. Uhandled exception has occurred. Index out of range Must be non-negative and less than the size of the collection. Parameter name. index then the following shows up: See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at NewDarkLoader.Form1.getCellValue(Int32 row, Int32 col)
at NewDarkLoader.Form1.fmTable_CellToolTipTextNeeded(Object sender, DataGridViewCellToolTipTextNeededEventArgs e)
at System.Windows.Forms.DataGridView.OnCellToolTipTextNeeded(DataGridViewCellToolTipTextNeededEventArgs e)
at System.Windows.Forms.DataGridView.OnCellToolTipTextNeeded(Int32 columnIndex, Int32 rowIndex, String toolTipText)
at System.Windows.Forms.DataGridViewCell.GetToolTipText(Int32 rowIndex)
at System.Windows.Forms.DataGridViewCell.OnCellDataAreaMouseEnterInternal(Int32 rowIndex)
at System.Windows.Forms.DataGridViewCell.OnMouseMoveInternal(DataGridViewCellMouseEventArgs e)
at System.Windows.Forms.DataGridView.OnCellMouseMove(DataGridViewCellMouseEventArgs e)
at System.Windows.Forms.DataGridView.UpdateMouseEnteredCell(HitTestInfo hti, MouseEventArgs e)
at System.Windows.Forms.DataGridView.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.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: 4.0.0.0
Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
NewDarkLoader
Assembly Version: 1.4.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Games/Thief%20-%20Deadly%20Shadows/System/NewDarkLoader.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1081.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1084.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SevenZipSharp
Assembly Version: 0.64.3890.29348
Win32 Version: 0.64.3890.29348
CodeBase: file:///C:/Games/Thief%20-%20Deadly%20Shadows/System/SevenZipSharp.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.
Rolling back to 1.34 fixes issue.
Edit: Same issue with shock2 and rolling back to 1.34 fixed that as well. So can you fix this for t3 and shock2?
Stingm on 9/10/2016 at 01:27
I upgraded all games to 1.41 and all is well. Thanks R Soul
Can I ask what all that code told you the issue was?
Whoa another version already..yikes your fast.
Edit: Okay updated to 1.42 and all is well so far.
Dahenjo on 9/10/2016 at 16:10
"R Soul has exceeded their stored private messages quota and cannot accept further messages until they clear some space."
R Soul on 9/10/2016 at 16:25
And whose fault is that???
:cheeky:
I've cleared a few PMs.
R Soul on 9/10/2016 at 18:41
Quote Posted by Stingm
Can I ask what all that code told you the issue was?
The first few lines, plus a description of the same error that Dahenjo gave me in PM (he moved the mouse over a column header).
ArgumentOutOfRangeException means the program is trying to access element number X of a thing containing multiple elements, but X is either less than 0 or more than 'the number of elements - 1' (it's zero indexed, so 0 is the first element, 1 is the second etc).
getCellValue(Int32 row, Int32 col) is the method that was running when the crash happened.
The elegantly named fmTable_CellToolTipTextNeeded is the method that called getCellValue, and in this case it's the only method that calls it.
Going down the 'at' lines gets less and less specific. Usually for me the first line after the Exception lines gives me enough info. I then go into Visual Studio and can run that method one line at a time, looking at the variables to see when the dodgy value gets set (or when it fails to get set).
And here is 1.4.3, because I had to re-enable Home and End for scrolling to the top and bottom of the table:
(
http://www.mediafire.com/file/9330cw4pw2tgmg9/NewDarkLoader1.4.3.zip)
Stingm on 9/10/2016 at 19:14
There is a very minor bug in 1.43. The version still says 1.42 when you use the program. Otherwise all is well. I also wanted to thank you for the explanation on the previous error.
R Soul on 10/10/2016 at 01:34
That was actually 1.4.2. I put the wrong files in there :o
The correct version has been uploaded using the same link.