IB Features/Bugs Tracking List

Discuss IB/IBx engine ideas, bugs, etc.
User avatar
slowdive
Site Admin
Posts: 491
Joined: Wed Jan 15, 2020 4:37 am

Re: IB Features/Bugs Tracking List

Post by slowdive »

Pongo wrote: Fri Feb 18, 2022 9:07 am Line of Sight bug


OK! Its taken me a while to work it out but this one is sorted.

In module properties, "heightBlocksSight" is automatically set to true. Disable it. Problem solved!

I'm not sure its actually a bug. The option to use different heights on tiles looks great but I don't use it, so it could be functioning exactly as intended.
That's great to hear and know. This is one that I could never track down in the code itself (it is very complex and difficult for me to follow how it was set up) so it is good to hear that when it is disabled, LoS works again. For those that are using the feature, I'll still need to try and wrap my head around it at some point.
zach_holbrook
Posts: 84
Joined: Thu Jan 16, 2020 5:00 am

Re: IB Features/Bugs Tracking List

Post by zach_holbrook »

Alas, I'm still getting these runtime errors. Sometimes I can go an hour without one, and sometimes it happens right away or not long into the game. Unfortunately, there's no consistency to when they happen -- it seems like any time (even if I'm simply reading a bit of conversation and haven't taken any actions).

Here's the most recent error message. The one thing I know is consistent is the exception verbiage "Attempted to divide by zero."

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.DivideByZeroException: Attempted to divide by zero.
   at IceBlink2.GameView.gameTimer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.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.8.4470.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
IceBlink2
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/zachh/Documents/GitHub/Malkin-the-Game/IBv203/IBv203/IceBlink2.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
    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.8.4488.0 built by: NET48REL1LAST_C
    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.8.4395.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SharpDX
    Assembly Version: 2.6.3.0
    Win32 Version: 2.6.3
    CodeBase: file:///C:/Users/zachh/Documents/GitHub/Malkin-the-Game/IBv203/IBv203/SharpDX.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    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.8.4470.0 built by: NET48REL1LAST_C
    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.8.4161.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SharpDX.Direct2D1
    Assembly Version: 2.6.3.0
    Win32 Version: 2.6.3
    CodeBase: file:///C:/Users/zachh/Documents/GitHub/Malkin-the-Game/IBv203/IBv203/SharpDX.Direct2D1.DLL
----------------------------------------
SharpDX.DXGI
    Assembly Version: 2.6.3.0
    Win32 Version: 2.6.3
    CodeBase: file:///C:/Users/zachh/Documents/GitHub/Malkin-the-Game/IBv203/IBv203/SharpDX.DXGI.DLL
----------------------------------------
SharpDX.Direct3D11
    Assembly Version: 2.6.3.0
    Win32 Version: 2.6.3
    CodeBase: file:///C:/Users/zachh/Documents/GitHub/Malkin-the-Game/IBv203/IBv203/SharpDX.Direct3D11.DLL
----------------------------------------
Newtonsoft.Json
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.1.18622
    CodeBase: file:///C:/Users/zachh/Documents/GitHub/Malkin-the-Game/IBv203/IBv203/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4161.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4161.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.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.
User avatar
slowdive
Site Admin
Posts: 491
Joined: Wed Jan 15, 2020 4:37 am

Re: IB Features/Bugs Tracking List

Post by slowdive »

Looks like I need to do a check for a zero denominator before attempting to do the division. Rookie error on my part, 😂. Of course, with the Unity version, Unity handles the game loop so that shouldn’t be an issue in the future version v204.
zach_holbrook
Posts: 84
Joined: Thu Jan 16, 2020 5:00 am

Re: IB Features/Bugs Tracking List

Post by zach_holbrook »

This is amazing news! I'm so excited for this new version.
Post Reply