Jump to content

Troubleshooting Crashes


LtKeller

UPDATE

Both the developers of LCPD:FR and ELS have fixed most of the problems outlined here in LCPDFR v1.1 and ELS v8.5 respectively.

This guide still applies to 1.0d and earlier, as well as ELS v8.0 and earlier.

Guide Summery

This guide is designed to provide information on GTA IV crashing just before getting in game, or GTA IV crashing during gameplay, caused by ELS.

Before performing the actions this guide, make sure you have done the following:

  • Make sure you aren't using a crack
  • Update GTA IV to 1.0.7.0 (the latest version of the game, or 1.1.2.0 for EFLC) - This sometimes fixes a wide variety of issues
  • Make sure that you run the game as an administrator.
  • Make sure that you are using the Advancedhooks and Scripthooks provided with LCPD:FR
  • Delete AdvancedHookInit.asi (If present in main directory)
  • Make sure that your GTA IV root folder (and every subdirectory) is not set to "read-only"
  • Ensure that ScriptHook.dll, ScriptHookDotNet.asi and Dsound.dll OR Xlive.dll are in the GTA IV ROOT folder
  • Ensure that there is a folder titled 'LCPDFR' in the ROOT GTA IV folder.
  • Check that all the above files exist. If they do not, reinstall LCPDFR with the MANUAL installation.
  • Ensure that you are using up to date versions of every LCPDFR dependency and LCPDFR itself.
  • Install Net Framework 4.5 and Microsoft Visual C++ Redist 2012

ELS Crashing

This crash is typically caused by ELS Ai. This is ELS providing the same lighting to other vehicles. To confirm this is the problem, you can disable ELS Ai in the ELS.ini configuration file:

...

[ MISC SETTINGS ]

FlashSoundFx = on

FlashDelay_Sp = 2 // (0-5) Lower value for faster ELS lights in SP

FlashDelay_Mp = 2 // (0-5) Lower value for faster ELS lights in MP

Els_Range_Pl = 800

Els_Range_Ai = 500

Ai_Els_Sp = on

Ai_Els_Mp = on

MaxElsCarsAtOnce = 20

ClearRandAiExtrasSp = on

ClearRandAiExtrasMp = on

ClearAiExtrasDist = 500

Lstg3LightsMoveTraf = off

To disable ELS Ai, change Ai_Els_Sp and Ai_Els_Mp from on to off.

This crash can also be caused by incompatibility between LCPD:FR and ELS. Simply reinstall LCPD:FR after you install ELS, or try changing AdvancedHook.dll between what is included with LCPD:FR and ELS.

Further Troubleshooting

If this solution gets you in game, but you want to re-enable ELS Ai, there are a number of solutions you can try in the following order:

  • Disable ELS on NON-ELS vehicles in slotcontrol.ini
  • Disable Cruise Lights in the vehicle configuration file
  • Disable ClearRandAIExtras
  • (If Above Works) Re-enable and reduce ClearRandAiExtras distance
  • Reduce Els_Range_Ai
  • Change ASI Loader

AdvancedHook Crashing

This problem is commonly seen the error "System.MissingMethodException: Method not found: Boolean AdvancedHookManaged..." Both ELS and LCPD:FR can crash without the correct Advancedhook. To correct the problem, just use the Advancedhook provided with LCPD:FR. You can obtain this through LCPD:FR's manual installation package, or just by reinstalling LCPD:FR.

**GUDE STIll UNDER CONSTRUCTON**



User Feedback

Recommended Comments

What will that do ingame, other vehicles wouldn't have ELS until I got in them?

This is a troubleshooting procedure to stop ELS crashes.  At first, AI vehicles will not be able to flash their lights, but you should be able to re-enable ELS Ai after trying the steps listed.

Share this comment


Link to comment
Share on other sites

worked for me, I've had LCPDFR ELSv8 with DD's Met Battenburg, London Mini Mod, All the Met officers running with dsound.dll setup for over an hour and no crashes... GREAAAAT!!!!

Share this comment


Link to comment
Share on other sites

i use a set of mods i see a youtuber use and i know they work fine together but i still randomly crash in game with no idea what is causing it

Share this comment


Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×