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.

GTA IV Startup Error: "LCPD:FR has encountered Critical Error while initializing."

Featured Replies

Whenever I load up GTA IV in steam I get an error "LCPD:FR has encountered a critical error while initializing."
And I checked the LCPD:FR logfile a.k.a LCPDFR.log this is what it says 
 

------------------------
[INFO - 1:51:44 PM] [Log] Started
[INFO - 1:51:45 PM] [Main] Main: Initializing...
[INFO - 1:51:45 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 1:51:45 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[INFO - 1:51:49 PM] [PluginManager] Initialize: Loading custom plugins
[WARNING - 1:51:50 PM] [PluginManager] Error while initializing plugin: Main: The type initializer for '‍‌‪‪‫‍‮‎‍‌‍‎‌‭‮‌‫‌‍‮' threw an exception.   at ‍‌‪‪‫‍‮‎‍‌‍‎‌‭‮‌‫‌‍‮.‌‭‮‍‮‏‫‍‮‪‫‍‫‫‭‬‮‏‮‭‎‬‬‎‫‭‪‎‮(String )
   at LCPD_First_Response.LCPDFR.Main.Initialize() in d:\GTA IV\LCPDFR\SVN\branches\LCPDFR Ambient Action\LCPD First Response\LCPD First Response\LCPDFR\Main.cs:line 176
   at ‮‏‎‍‫‪‍‍‭‭‌‫‬‮‌‪‏‭‪‌‌‮.‮‭‏‍‍‍‏‏‫‍‌‫‪‫‍‭‭‫‌‭‮() in d:\GTA IV\LCPDFR\SVN\branches\LCPDFR Ambient Action\LCPD First Response\LCPD First Response\Engine\Scripting\Plugins\PluginManager.cs:line 104
[ERROR - 1:51:50 PM] [] System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
   at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
   at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, Boolean inherit)
   at System.Reflection.RuntimeMethodInfo.GetCustomAttributes(Type attributeType, Boolean inherit)
   at ‫‍‎‌‎‪‎‍‏‭‎‫‌‍‌‫‪‪‫‭‫‎‍‌‮‍‮.‎‪‫‬‍‪‍‪‫‍‬‪‍‫‬‎‫‭‭‫‌‫‏‬‏‫‌‍‌‮(Type , BindingFlags , Object ) in d:\GTA IV\LCPDFR\SVN\branches\LCPDFR Ambient Action\LCPD First Response\LCPD First Response\Engine\Input\ConsoleCommandAssigner.cs:line 49
   at ‫‍‎‌‎‪‎‍‏‭‎‫‌‍‌‫‪‪‫‭‫‎‍‌‮‍‮.‮‭‏‍‍‍‏‏‫‍‌‫‪‫‍‭‭‫‌‭‮() in d:\GTA IV\LCPDFR\SVN\branches\LCPDFR Ambient Action\LCPD First Response\LCPD First Response\Engine\Input\ConsoleCommandAssigner.cs:line 24
   at LCPD_First_Response.Engine.Main.‮‭‏‍‍‍‏‏‫‍‌‫‪‫‍‭‭‫‌‭‮() in d:\GTA IV\LCPDFR\SVN\branches\LCPDFR Ambient Action\LCPD First Response\LCPD First Response\Engine\Main.cs:line 172
   at LCPD_First_Response.Engine.Main.‌‍‪‌‬‎‭‭‍‌‮‭‌‮‏‪‍‌‪‎‫‪‮‮‮() in d:\GTA IV\LCPDFR\SVN\branches\LCPDFR Ambient Action\LCPD First Response\LCPD First Response\Engine\Main.cs:line 222


And I have looked at other forums with the same problem but I found NO FIX.

I believe I have the latest version of .NET Framework. & and I dont know where to found scripthook but I am almost positive I have it installed.

I did do the hotfix and run as admin. But I run through steam. and I am using the mod with my other friend and he gets the same error as me, but he refuses not to run in steam IDK why.

I did also do the manual install.

PLEASE HELP ASAP! I also installed Simple Trainer 6.5 and that didn't work either.

Well responses are not fast here, because people are probably too busy working on LSPDFR! (woohoo!) But anywho i don't know much about the coding but all i can do is offer you some suggestions. What version of Windows are you running? If you did the manual installation ScriptHook should be in the main directory where you dropped the manual installation. Did you also set the the entire game folder to NOT be Read-Only? also have you looked in your Control Panel/Uninstall to see if you even have .Net 4.5 installed and C++ 2012?

This is a support topic.
Only reply here to offer help or assistance to Zombocalyptism. 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...

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.