So a week ago I decided to try and play GTA IV with all of those mods; ELS, LCPDFR etc. This is for nostalgia purposes and because GTA V is shit. Then I constantly get this Exception from the SlimDx.dll. This is unmanaged code. So if an exception is propagated up the stack to managed code, it will map to a managed Structured Exception Handler(SEH). For example: STATUS_ACCESS_VIOLATION maps to NullReferenceException. I think this is a developer fail safe intended for people to move onto LSPDFR. Anyway I have reinstalled the .Net and c++ redistributables as well I have reinstalled the game a couple of times. Heck I have even tried to use IDA Pro to de-compile the Loader and the First Response Dlls. Any help developers?
Specs:
i5-6600k (Oc to 4.1GHz)
ASUS GTX 970 - Nvidia GeForce Experience running with it
8gb ddr4 3200mhz
ScriptHookDotNet Log
2017-08-01 15:57:08 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.7.0 with C++ Hook version 0.5.1)
2017-08-01 15:58:03 - Direct3D device created!
2017-08-01 15:58:04 - SEARCHING FOR SCRIPTS...
2017-08-01 15:58:04 - Loading scripts in Assembly 'scripts\LCPDFR Loader.net.dll' ...
2017-08-01 15:58:04 - ...found script 'LCPDFR_Loader.Loader'!
2017-08-01 15:58:04 - ...found script 'LCPDFR_Loader.PublicScript'!
2017-08-01 15:58:04 - DONE! 2 valid scripts found!
2017-08-01 15:58:04 - STARTING SCRIPTS...
2017-08-01 15:58:04 - INFO: Phone number checks are not available!
2017-08-01 15:58:04 - ...successfully started script 'LCPDFR_Loader.PublicScript'!
2017-08-01 15:58:04 - ...successfully started script 'LCPDFR_Loader.Loader'!
2017-08-01 15:58:06 - Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at .(Exception ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\ExceptionHandler.cs:line 103
at LCPD_First_Response.LCPDFR.Main.ExceptionCaught(Object sender, Exception ex) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\Main.cs:line 908
at .(Object , Exception ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\ExceptionHandler.cs:line 40
at LCPD_First_Response.Engine.Main.() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 940
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
2017-08-01 15:58:06 - CRASH!
2017-08-01 15:58:06 - Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at .(Exception ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\ExceptionHandler.cs:line 103
at LCPD_First_Response.LCPDFR.Main.ExceptionCaught(Object sender, Exception ex) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\Main.cs:line 908
at .(Object , Exception ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\ExceptionHandler.cs:line 40
at LCPD_First_Response.Engine.Main.() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 940
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
2017-08-01 15:58:06 - CRASH!
LCPDFR.log:
[INFO - 3:58:04 PM] [Log] Started
[INFO - 3:58:04 PM] [Main] Main: Initializing...
[INFO - 3:58:04 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 3:58:04 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[INFO - 3:58:06 PM] [PluginManager] Initialize: Loading custom plugins
[WARNING - 3:58:06 PM] [Settings] ReadSettings: Invalid entry
[INFO - 3:58:06 PM] [Settings] ReadSettings: Suspect transporter POLICE
[INFO - 3:58:06 PM] [Settings] ReadSettings: Suspect transporter POLICE2
[INFO - 3:58:06 PM] [Settings] ReadSettings: Suspect transporter PSTOCKADE
[WARNING - 3:58:06 PM] [Settings] ReadSettings: Invalid entry
[INFO - 3:58:06 PM] [Plugin.Main] Changing language to en-US
[INFO - 3:58:06 PM] [Main] Main: Initializing done
[INFO - 15:58:06] [ServerCommunication] InitializeConnection: Internet connection available
[ERROR - 15:58:06] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.
[ERROR - 15:58:06] [] System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at XInputGetState(UInt32 _XINPUT_STATE )
at SlimDX.XInput.Controller.get_IsConnected()
at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Input\Controller.cs:line 92
at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Input\KeyWatchDog.cs:line 163
at LCPD_First_Response.Engine.Main.() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 284