Jump to content
Eric703

LCDPFR Error on Startup

Recommended Posts

I get an error when I start LCPDFR, right after the game loads. The log in the file is below. The GTA IV folder is not read only, I run it as admin (windows 7 x64) and it still hasn't worked. I need help as soon as possible.

[DEBUG - 7:05:34 PM] [Core] HandleException: Shutting down Scripts.PoliceDepartmentsManager...

[ERROR - 7:05:35 PM] An unhandled exception occured in LCPDFR. Details: Object reference not set to an instance of an object.

at eval_0.eval_0.eval_0.LCPDFR-eval_9.6()

at CSharp.LCPDFR.Scripts.LCPDMain.eval_0()

at CSharp.LCPDFR.Scripts.LCPDMain.KeyDown(KeyEventArgs e)

at CSharp.Engine.Script.ScriptManager.GKeyDown(KeyEventArgs e)

Additional info: Script: Scripts.LCPDMain

Thank you.

Share this post


Link to post
Share on other sites

I just ran one, and these are my results:

BEGIN *SIGNED* LCPD First Response Issue Report

Diagnostics Tool Version: 0.4.3

Operating system: Windows7 HomePremium (6.1.0.0 Build: 7600) Service Pack:

System RAM (GB): 3.98

CPU cores: 4

NET Framework 4.0 installed: True

Visual C++ 2010 Redistributable installed: True

GTA IV - Installed: True

GTA IV - Install folder: C:Program Files (x86)2K GamesGrand Theft Auto IV

GTA IV - Version: 1, 0, 7, 0

GTA IV - Asi loader installed: True

GTA IV - Asi loader: DSOUND

GTA IV - Asi loader valid: True

GTA IV - C++ ScriptHook installed: True

GTA IV - C++ ScriptHook valid: True

GTA IV - C++ ScriptHook version: 0, 5, 1, 0

GTA IV - ScriptHookDotNet installed: True

GTA IV - ScriptHookDotNet valid: True

===============BEGIN .NET SCRIPTHOOK LOG===============

2012-04-27 19:03:31 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)

2012-04-27 19:05:30 - Direct3D device created!

2012-04-27 19:05:30 - SEARCHING FOR SCRIPTS...

2012-04-27 19:05:30 - Loading scripts in Assembly 'scriptsFirstResponse.net.dll' ...

2012-04-27 19:05:30 - ...found script 'FirstResponse.Main.EmergencyLights'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.Main.Start'!

2012-04-27 19:05:30 - ...found script 'CSharp.Engine.Core'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.Debugging'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.DeletionList'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.Hardcore'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.TextDraw'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCMD.Main'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCMD.Functions'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.Carboot'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.Disarm'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.Frisk'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.PullOver'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.Actions'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.Debug'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.Flashlight'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.Functions'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.Partner'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.inputSimulator'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.Start'!

2012-04-27 19:05:30 - ...found script 'FirstResponse.LCPD.Various'!

2012-04-27 19:05:30 - Loading scripts in Assembly 'scriptsindicator.net.dll' ...

2012-04-27 19:05:30 - ...found script 'indicatorClass'!

2012-04-27 19:05:30 - Loading scripts in Assembly 'scriptsTrafficFlow.net.dll' ...

2012-04-27 19:05:30 - ...found script 'TrafficFlow.TrafficFlow'!

2012-04-27 19:05:30 - DONE! 23 valid scripts found!

2012-04-27 19:05:30 - STARTING SCRIPTS...

2012-04-27 19:05:30 - Error during GetPhoneNumber (Phone checks will be disabled):

System.Exception: Accessing Globals failed! Invalid Memory Address!

at unmanaged.MemoryAccess.GetGlobalAddress(Int32 index)

at unmanaged.MemoryAccess.GetPhoneNumber()

at GTA.NetHook.CheckPhone()

2012-04-27 19:05:30 - ...successfully started script 'TrafficFlow.TrafficFlow'!

2012-04-27 19:05:30 - ...successfully started script 'indicatorClass'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.Various'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.Start'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.inputSimulator'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.Partner'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.Functions'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.Flashlight'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.Debug'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.Actions'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.PullOver'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.Frisk'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.Disarm'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCPD.Carboot'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCMD.Functions'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.LCMD.Main'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.TextDraw'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.Hardcore'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.DeletionList'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.Debugging'!

2012-04-27 19:05:30 - ...successfully started script 'CSharp.Engine.Core'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.Main.Start'!

2012-04-27 19:05:30 - ...successfully started script 'FirstResponse.Main.EmergencyLights'!

2012-04-27 19:05:47 - Direct3D device lost!

2012-04-27 19:05:47 - Direct3D device created!

===============END .NET SCRIPTHOOK LOG===============

End of *SIGNED* LCPD First Response Issue Report

Digital signature: lTSzpm7ima5jpyqGZSCJCg==

Share this post


Link to post
Share on other sites

there is a script reset built in if i remember right

Not sure. Right when the game loads it gives me an error like I said. It's something to do with system.core.dll as it said.

Share this post


Link to post
Share on other sites

try a reinstall of LCPDFR, maybe something messed up

I tried that over and over. No outcome, still the same thing. Here's an update script:

[ERROR - 4:00:55 PM] [scriptManager] StartScript: Exception caught while creating script: LCPDMain Exception: Could not load file or assembly 'System.Core.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.

[ERROR - 4:00:55 PM] An unhandled exception occured in LCPDFR. Details: Could not load file or assembly 'System.Core.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.

at eval_0.eval_1.LCPDFR-eval_5.LCPDFR-2(String A_0)

at eval_0.eval_1.LCPDFR-eval_6..ctor(String A_0)

at eval_0.eval_0.eval_0.LCPDFR-eval_9.7()

at CSharp.LCPDFR.Scripts.LCPDMain.OnStart()

at CSharp.Engine.Script.ScriptManager.StartScript(Type type)

Edited by erick

Share this post


Link to post
Share on other sites

Make sure you have the LCPDFR dependencies installed:

  1. http://www.microsoft...s.aspx?id=17718
  2. http://www.microsoft...ls.aspx?id=5555

Even if you have them installed, try to download and install them again as people often have the wrong version, hence why the diagnostics tool fails to realize you do not have them.

Edited by Tom H

Share this post


Link to post
Share on other sites

I have the same problime

Installation component 'LCPDFRModels' error'd!

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)

at System.IO.File.Copy(String sourceFileName, String destFileName)

at G17MediaSetupEngine.Installation_Components.tazershit.beginComponent()

at G17MediaSetupEngine.UI.Interface.wizardControl1_SelectedPageChanged(Object sender, EventArgs e)

at G17MediaSetupEngine.UI.Interface.wizardControl1_SelectedPageChanged(Object sender, EventArgs e)

Share this post


Link to post
Share on other sites

I have the same problime

Installation component 'LCPDFRModels' error'd!

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)

at System.IO.File.Copy(String sourceFileName, String destFileName)

at G17MediaSetupEngine.Installation_Components.tazershit.beginComponent()

at G17MediaSetupEngine.UI.Interface.wizardControl1_SelectedPageChanged(Object sender, EventArgs e)

at G17MediaSetupEngine.UI.Interface.wizardControl1_SelectedPageChanged(Object sender, EventArgs e)

Do not thread hijack, instead, please create your own topic in the support forum.

Share this post


Link to post
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

×