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.

Error with AdvancedHook.dll, LCPDFR won't run

Featured Replies

I'm receiving an error related to AdvancedHook.dll whenever I try to run LCPDFR 0.91. I'm using the Steam version of GTAIV (1.0.7.0) and a legal copy of WIndows 7 Professional. The game is a fresh installation with no other mods. I've included the full application log at the bottom of this post, but here's the specific error:

Error during Tick in script '0.2.LCPDFR-Obfuscated-0':

System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.

File name: 'AdvancedHook.dll'

at 0.1.LCPDFR-Obfuscated-12.1(String A_0, String A_1, Int32 A_2, Boolean A_3)

at 0.1.LCPDFR-Obfuscated-0.1()

at 0.2.LCPDFR-Obfuscated-0.0()

at GTA.Script.ProcessBoundKey(Keys Key)

at GTA.Script.ProcessEvents()

at GTA.Script.DoTick()

at GTA.ScriptThread.OnTick()

I've searched the forums, and some other users have had similar issues... but they all seem to have been using pirated versions of GTA. That's certainly not the case here. I've done all the usual things: reinstall .NET Framework 4, reinstall Visual C++ 2010, run the game as an administrator, play around with dsound and xlive, etc., but I can't seem to fix the problem. An older version of LCPDFR, such as 0.90F, appears to work fine -- but note that it doesn't use AdvancedHook.dll. And FWIW, the 0.95 beta offers up a similar error on my system related to AdvancedHook.dll. Perhaps there's another version of this file that's more compatible? Or maybe I'm missing something simple?

Here's the full log. I'd appreciate any help you guys can offer.

BEGIN *SIGNED* LCPD First Response Issue Report

Diagnostics Tool Version: 0.4.3

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

System RAM (GB): 3.99

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)\steam\steamapps\common\grand theft auto iv\GTAIV

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===============

2011-08-02 23:47:00 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)

2011-08-02 23:48:04 - Direct3D device created!

2011-08-02 23:48:04 - SEARCHING FOR SCRIPTS...

2011-08-02 23:48:04 - Loading scripts in Assembly 'scripts\FirstResponse.net.dll' ...

2011-08-02 23:48:04 - ...found script '0.LCPDFR-Obfuscated-13'!

2011-08-02 23:48:04 - ...found script '0.LCPDFR-Obfuscated-5'!

2011-08-02 23:48:04 - ...found script '0.LCPDFR-Obfuscated-16'!

2011-08-02 23:48:04 - ...found script '0.LCPDFR-Obfuscated-1'!

2011-08-02 23:48:04 - ...found script '0.3.LCPDFR-Obfuscated-0'!

2011-08-02 23:48:04 - ...found script '0.3.LCPDFR-Obfuscated-1'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-8'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-14'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-9'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-11'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-10'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-13'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-2'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-4'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-15'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-3'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-12'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-6'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-5'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-0'!

2011-08-02 23:48:04 - ...found script '0.1.LCPDFR-Obfuscated-7'!

2011-08-02 23:48:04 - ...found script '1.0.LCPDFR-Obfuscated-0'!

2011-08-02 23:48:04 - ...found script '0.2.LCPDFR-Obfuscated-1'!

2011-08-02 23:48:04 - ...found script '0.2.LCPDFR-Obfuscated-0'!

2011-08-02 23:48:04 - DONE! 24 valid scripts found!

2011-08-02 23:48:04 - STARTING SCRIPTS...

2011-08-02 23:48:04 - 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()

2011-08-02 23:48:05 - ...successfully started script '0.2.LCPDFR-Obfuscated-0'!

2011-08-02 23:48:05 - ...successfully started script '0.2.LCPDFR-Obfuscated-1'!

2011-08-02 23:48:05 - ...successfully started script '1.0.LCPDFR-Obfuscated-0'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-7'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-0'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-5'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-6'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-12'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-3'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-15'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-4'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-2'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-13'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-10'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-11'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-9'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-14'!

2011-08-02 23:48:05 - ...successfully started script '0.1.LCPDFR-Obfuscated-8'!

2011-08-02 23:48:05 - ...successfully started script '0.3.LCPDFR-Obfuscated-1'!

2011-08-02 23:48:05 - ...successfully started script '0.3.LCPDFR-Obfuscated-0'!

2011-08-02 23:48:05 - ...successfully started script '0.LCPDFR-Obfuscated-1'!

2011-08-02 23:48:05 - ...successfully started script '0.LCPDFR-Obfuscated-16'!

2011-08-02 23:48:05 - ...successfully started script '0.LCPDFR-Obfuscated-5'!

2011-08-02 23:48:05 - ...successfully started script '0.LCPDFR-Obfuscated-13'!

2011-08-02 23:48:07 - Error during Tick in script '0.2.LCPDFR-Obfuscated-0':

System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.

File name: 'AdvancedHook.dll'

at 0.1.LCPDFR-Obfuscated-12.1(String A_0, String A_1, Int32 A_2, Boolean A_3)

at 0.1.LCPDFR-Obfuscated-0.1()

at 0.2.LCPDFR-Obfuscated-0.0()

at GTA.Script.ProcessBoundKey(Keys Key)

at GTA.Script.ProcessEvents()

at GTA.Script.DoTick()

at GTA.ScriptThread.OnTick()

2011-08-02 23:48:07 - Error in Thread.Abort:

System.Threading.ThreadAbortException: Thread was being aborted.

at System.Threading.Thread.AbortInternal()

at System.Threading.Thread.Abort()

at GTA.NetThread.Abort()

2011-08-02 23:48:13 - Direct3D device lost!

2011-08-02 23:48:14 - SCRIPTS TERMINATED!

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

===============BEGIN LCPD FIRST RESPONSE LOG===============

[8/2/2011 11:48:05 PM] [ASTATS] Sending: {"CPUCount":4,"GTAVersion":16779008,"LCPDGUID":"f877abde-ce5a-4bec-bd36-0b452659dd7a","LCPDVersion":"0.91","RAMCount":0,"WinVersion":"Microsoft Windows NT 6.1.7600.0"}

[8/2/2011 11:48:05 PM] [sTATISTICS] System.Net.WebException: The remote server returned an error: (403) Forbidden.

at System.Net.HttpWebRequest.GetResponse()

at 0.1.LCPDFR-Obfuscated-12.0.4(Object A_0)

[8/2/2011 11:48:05 PM] [ASTATS] Anonymous usage stats not sent: possible server failure or no connectivity.

===============END LCPD FIRST RESPONSE LOG===============

End of *SIGNED* LCPD First Response Issue Report

Digital signature: Sct8tzQ3Jju5vkc37MeoBA==

  • Author

Thanks for the reply. I forgot to mention that installed both the x86 and x64 versions of the Visual C++ package.

But this is all very strange now... LCPDFR mysteriously started working. Here was the exact chain of events during my troubleshooting:

1. Removed all LCPDFR 0.91 files.

2. Installed 0.90F. No AdvancedHook.dll in this version. Mod worked.

3. Removed all LCPDFR files.

4. Installed 0.90F H2. AdvancedHook.dll included in this version. Mod worked (?).

5. Removed all LCPDFR files.

6. Installed 0.91 to see if there was a difference between the .dll version of 0.90F H2 and 0.91. There was not. For the heck of it, I ran the game and the mod worked.

I don't know what to make of this, as I had explicitly removed every file from previous versions of LCPDFR before installing the new version -- there couldn't have been anything "left over." It's almost as if GTA made a change to its own configuration after 0.90F H2 ran, which allowed 0.91 to function, as well.

Weird stuff. But the mod is quite cool. :cool:

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

Need support yourself? Make a new topic instead.
Guest
This topic is now closed to further replies.

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.