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.

A procedure imported by 'AdvancedHook.dll' could not be loaded, HELP!

Featured Replies

I have kept on trying to re-install LCPDFR 1.1 both Automatically and Manually and have tried every possible solution without reinstalling the whole game to get it working but I am always met with the same "LCPDFR Loader.loader" error everytime I start up my game. I have a legal copy of the game (Steam Product Key Activation), I'm on 1.0.7.0, I run it as admin, I have the right ScriptHook version, I have Windows 10 AND I am met with the .NET Framework and Visual C++ but I'm still getting that error in-game.

 

I use the Diagnostics tool to check my installation and of course a red bar appears saying "Log Check - Log files checked, see report for more" So I check the log provided by the diagnostics tool that discovered the issue and this is what was in it at the bottom:

 

Spoiler

2018-05-23 21:36:07 - Error during Tick in script 'LCPDFR_Loader.Loader':
                      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.
                         at ‮‪‭‪‭‌‬‮‪‍‏‎‮‬‬‍‌‌‬‪‮‍‬‪‪‏‮.‬‭‭‮‪‏‍‬‮‏‌‌‫‬‏‏‏‍‪‮(String )
                         at LCPD_First_Response.Engine.Main.‎‏‌‌‬‏‎‍‏‮‬‎‌‭‮‏‪‎‪‌‮‭‭‫‬‍‌‎‮() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 234
                         at LCPD_First_Response.Engine.Main.Main_Tick(Object sender, EventArgs e) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 211
                         --- End of inner exception stack trace ---
                         at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
                         at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
                         at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
                         at LCPDFR_Loader.Test.Tick(Object sender, EventArgs e)
                         at LCPDFR_Loader.Loader.Loader_Tick(Object sender, EventArgs e)
                         at GTA.Script.TryTick()
                         at GTA.Script.DoTick()
                         at GTA.ScriptThread.OnTick()
2018-05-23 21:36:08 -  ...successfully started script 'Policing.Policing'!
2018-05-23 21:40:34 - Direct3D device lost!
2018-05-23 21:40:35 - SCRIPTS TERMINATED!

[Log Check] ScriptHook.log doesn't start AdvancedHook thread
[Log Check] Log start: Wed May 23 21:31:00 2018
-----------------------------------------------
[INFO] GTA IV Script Hook 0.5.1 - (C) 2009, Aru - Initialized
[INFO] Process base address: 0xf20000
[INFO] Auto detecting game version
[INFO] Using game version 1.0.7
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] Car model available... spawning it!
[INFO] Car model available... spawning it!
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] Script Hook - Shutdown

[Log Check] LCPDFR.log doesn't finish initialize
[Log Check] LCPDFR.log lists one or more errors
[Log Check] ------------------------
[INFO - 9:36:06 PM] [Log] Started
[INFO - 9:36:06 PM] [Main] Main: Initializing...
[INFO - 9:36:06 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 9:36:06 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[ERROR - 9:36:07 PM] [] System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.
File name: 'AdvancedHook.dll'
   at ‭‬‏‏‌‭‭‭‎‪‌‬‎‭‮‮‭‌‏‌‫‌‮‪‮.‏‫‮‫‍‏‪‫‪‬‌‎‎‏‌‮‌‭‏‍‮()
   at ‭‬‏‏‌‭‭‭‎‪‌‬‎‭‮‮‭‌‏‌‫‌‮‪‮.‮‪‏‫‌‫‎‮‪‏‬‍‪‏‪‏‫‭‮‭‫‌‫‮() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Entities\PoolUpdaterUnmanaged.cs:line 117
   at ‭‬‏‏‌‭‭‭‎‪‌‬‎‭‮‮‭‌‏‌‫‌‮‪‮..ctor() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Entities\PoolUpdaterUnmanaged.cs:line 14
   at LCPD_First_Response.Engine.Main.‬‬‍‎‪‬‫‏‭‫‪‭‪‌‪‭‪‎‫‭‪‌‮() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 162
   at LCPD_First_Response.Engine.Main.‎‏‌‌‬‏‎‍‏‮‬‎‌‭‮‏‪‎‪‌‮‭‭‫‬‍‌‎‮() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 222
 

 

Please help, What else can I possibly do to fix this as this has been happening for 2 days straight now and its really starting to piss me off? If there is anything else that I need to provide in this thread then do tell but a solution would be much appreciated.

 

Thank You!

On 5/24/2018 at 12:07 AM, ACxbAiLzA said:

I have kept on trying to re-install LCPDFR 1.1 both Automatically and Manually and have tried every possible solution without reinstalling the whole game to get it working but I am always met with the same "LCPDFR Loader.loader" error everytime I start up my game. I have a legal copy of the game (Steam Product Key Activation), I'm on 1.0.7.0, I run it as admin, I have the right ScriptHook version, I have Windows 10 AND I am met with the .NET Framework and Visual C++ but I'm still getting that error in-game.

 

I use the Diagnostics tool to check my installation and of course a red bar appears saying "Log Check - Log files checked, see report for more" So I check the log provided by the diagnostics tool that discovered the issue and this is what was in it at the bottom:

 

  Hide contents

2018-05-23 21:36:07 - Error during Tick in script 'LCPDFR_Loader.Loader':
                      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.
                         at ‮‪‭‪‭‌‬‮‪‍‏‎‮‬‬‍‌‌‬‪‮‍‬‪‪‏‮.‬‭‭‮‪‏‍‬‮‏‌‌‫‬‏‏‏‍‪‮(String )
                         at LCPD_First_Response.Engine.Main.‎‏‌‌‬‏‎‍‏‮‬‎‌‭‮‏‪‎‪‌‮‭‭‫‬‍‌‎‮() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 234
                         at LCPD_First_Response.Engine.Main.Main_Tick(Object sender, EventArgs e) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 211
                         --- End of inner exception stack trace ---
                         at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
                         at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
                         at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
                         at LCPDFR_Loader.Test.Tick(Object sender, EventArgs e)
                         at LCPDFR_Loader.Loader.Loader_Tick(Object sender, EventArgs e)
                         at GTA.Script.TryTick()
                         at GTA.Script.DoTick()
                         at GTA.ScriptThread.OnTick()
2018-05-23 21:36:08 -  ...successfully started script 'Policing.Policing'!
2018-05-23 21:40:34 - Direct3D device lost!
2018-05-23 21:40:35 - SCRIPTS TERMINATED!

[Log Check] ScriptHook.log doesn't start AdvancedHook thread
[Log Check] Log start: Wed May 23 21:31:00 2018
-----------------------------------------------
[INFO] GTA IV Script Hook 0.5.1 - (C) 2009, Aru - Initialized
[INFO] Process base address: 0xf20000
[INFO] Auto detecting game version
[INFO] Using game version 1.0.7
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] Car model available... spawning it!
[INFO] Car model available... spawning it!
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] Script Hook - Shutdown

[Log Check] LCPDFR.log doesn't finish initialize
[Log Check] LCPDFR.log lists one or more errors
[Log Check] ------------------------
[INFO - 9:36:06 PM] [Log] Started
[INFO - 9:36:06 PM] [Main] Main: Initializing...
[INFO - 9:36:06 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 9:36:06 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[ERROR - 9:36:07 PM] [] System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.
File name: 'AdvancedHook.dll'
   at ‭‬‏‏‌‭‭‭‎‪‌‬‎‭‮‮‭‌‏‌‫‌‮‪‮.‏‫‮‫‍‏‪‫‪‬‌‎‎‏‌‮‌‭‏‍‮()
   at ‭‬‏‏‌‭‭‭‎‪‌‬‎‭‮‮‭‌‏‌‫‌‮‪‮.‮‪‏‫‌‫‎‮‪‏‬‍‪‏‪‏‫‭‮‭‫‌‫‮() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Entities\PoolUpdaterUnmanaged.cs:line 117
   at ‭‬‏‏‌‭‭‭‎‪‌‬‎‭‮‮‭‌‏‌‫‌‮‪‮..ctor() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Entities\PoolUpdaterUnmanaged.cs:line 14
   at LCPD_First_Response.Engine.Main.‬‬‍‎‪‬‫‏‭‫‪‭‪‌‪‭‪‎‫‭‪‌‮() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 162
   at LCPD_First_Response.Engine.Main.‎‏‌‌‬‏‎‍‏‮‬‎‌‭‮‏‪‎‪‌‮‭‭‫‬‍‌‎‮() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 222
 

 

Please help, What else can I possibly do to fix this as this has been happening for 2 days straight now and its really starting to piss me off? If there is anything else that I need to provide in this thread then do tell but a solution would be much appreciated.

 

Thank You!

 

Did you have installed ELS ? ELS have AdvancedHook.dll file too... don't use ELS AdvancedHook.dll file

Try delete AdvancedHook.dll and AdvancedHookInit.asi files, open LCPDFR installation folder and manually drag AdvancedHook.dll, AdvancedHookInit.asi files in GTAIV folder 

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