Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unmanaged Code in LCPDFR, SEHException (0x80004005)

Featured Replies

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

Edited by AaronMac
Additional info (specs)

Aaron

  • 3 weeks later...

Hey AaronMac

 

Pls tell me when this happens, after you hit [ALT]+[P] ?

Do you get an Error message in-game called ''LCPDFR Loader.loader error''?

Do you start the game as an admin ?

Did you try to play LCPD:FR without other mods?

 

pls try to describe your situation as best as you can.

 

Also make sure you ready this topic:

 

                             762245702_LCPDFRLSPDFR.jpg.531551ee96fa380b8d62663e612a00cc.jpg

This is a support topic.
Only reply here to offer help or assistance to AaronMac. Off-topic or "me too" replies will be removed.

Need support yourself? Make a new topic instead.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.