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.

lcpdfr error in script loader.loader

Featured Replies

Hi!

Lcpdfr doesn't start and the error "lcpdfr error in script loader.loader is displayed. 

I have checked "the internet" for solutions and i found one... or at least I thought so. 

i found two threads in this forum where the issue was somehow solved. So I tried doing the same. But it doesn't work. 

Additionally, I tried a full reinstall of the game. But it still doesn't work. Hence it must be a problem with my computer.

According to these (1: http://www.lcpdfr.com/topic/25644-lcpdfr_loaderloader-error/ ; 2: http://www.lcpdfr.com/topic/32044-error-in-script-lcpdfr-loaderloader/) threads, I had to install microsoft .net framework 4.5 and Visual C++ Redistributable for Visual Studio 2012 Update 4. I installed the redistibutable package but the microsoft .net 4.5 framework won't install due to 2 errors. First: Microsoft .net framework is already part of the system and second: The same or a higher version of microsoft .net framework is already installed. I tried to remove the microsoft .net framework fully with the cleaner but it still doesn't work. 

On a Microsoft support page I found out, that I don't need to install microsoft .net framework on windows 8.1 and that the errors displayed in the installer do NOT require any reaction. Thereafter I tried disabling and enabling the microsoft .net framework through control panel but lcpdfr still doesn't work. I tried disabling microsoft .net framework and then running the cleaner and then installing microsoft .net 4.5 framework but the installation and lcpdfr still don't work. I tried it with enabled microsoft framework in the feature settings of windows too, but no success either. Screenshot_(8).thumb.png.0050771faa863f9

The issue first appeared after I followed this (http://steamcommunity.com/app/12210/discussions/0/648814844744080613/#c558746089716449779) guide to improve the stability of GTA 4. 

Furthermore, my log files match with the log files uploaded in the other threads about this issue. 

The log files: 

asilog.txt: 

/ -- GTA IV ASI LOADER LOG -- //
//-- (C) Alexander Blade 2008 -- //
C:\WINDOWS\system32\dsound.dll is loaded, address 0x5A650000
Hooking dsound proc named "DirectSoundCreate"
"DirectSoundCreate" hooked, address 0x5A672290
Hooking dsound proc named "DirectSoundEnumerateA"
"DirectSoundEnumerateA" hooked, address 0x5A6A5C00
Hooking dsound proc named "DirectSoundEnumerateW"
"DirectSoundEnumerateW" hooked, address 0x5A65F4B0
Hooking dsound proc named "DllCanUnloadNow"
"DllCanUnloadNow" hooked, address 0x5A672030
Hooking dsound proc named "DllGetClassObject"
"DllGetClassObject" hooked, address 0x5A657D70
Hooking dsound proc named "DirectSoundCaptureCreate"
"DirectSoundCaptureCreate" hooked, address 0x5A6A5B20
Hooking dsound proc named "DirectSoundCaptureEnumerateA"
"DirectSoundCaptureEnumerateA" hooked, address 0x5A6A5BE0
Hooking dsound proc named "DirectSoundCaptureEnumerateW"
"DirectSoundCaptureEnumerateW" hooked, address 0x5A65F8F0
Hooking dsound proc named "GetDeviceID"
"GetDeviceID" hooked, address 0x5A65EA80
Hooking dsound proc named "DirectSoundFullDuplexCreate"
"DirectSoundFullDuplexCreate" hooked, address 0x5A6A5C20
Hooking dsound proc named "DirectSoundCreate8"
"DirectSoundCreate8" hooked, address 0x5A65ECF0
Hooking dsound proc named "DirectSoundCaptureCreate8"
"DirectSoundCaptureCreate8" hooked, address 0x5A6A5A50
Loading ASI C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto IV\GTAIV\AdvancedHookInit.asi
ASI loaded : C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto IV\GTAIV\AdvancedHookInit.asi, Address 0x00000000
Loading ASI C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto IV\GTAIV\ScriptHookDotNet.asi
ASI loaded : C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto IV\GTAIV\ScriptHookDotNet.asi, Address 0x688F0000
Loading ASI C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto IV\GTAIV\Trainer.asi
ASI loaded : C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto IV\GTAIV\Trainer.asi, Address 0x50B50000

 

 

LCPDFRlog:

 

[INFO - 12:27:07 PM] [Log] Started
[INFO - 12:27:07 PM] [Main] Main: Initializing...
[INFO - 12:27:07 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 12:27:07 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[ERROR - 12:27:08 PM] [] System.IO.FileNotFoundException: Could not load file or assembly 'AdvancedHook.dll' or one of its dependencies. The specified module could not be found.
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


------------------------
[INFO - 2:53:56 PM] [Log] Started
[INFO - 2:53:56 PM] [Main] Main: Initializing...
[INFO - 2:53:56 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 2:53:56 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[ERROR - 2:53:56 PM] [] System.IO.FileNotFoundException: Could not load file or assembly 'AdvancedHook.dll' or one of its dependencies. The specified module could not be found.
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


------------------------
[INFO - 1:51:48 PM] [Log] Started
[INFO - 1:51:48 PM] [Main] Main: Initializing...
[INFO - 1:51:48 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 1:51:48 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[ERROR - 1:51:49 PM] [] System.IO.FileNotFoundException: Could not load file or assembly 'AdvancedHook.dll' or one of its dependencies. The specified module could not be found.
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

 

ScriptHooklog:

Log start: Sun May 17 13:36:13 2015
-----------------------------------------------
[INFO] GTA IV Script Hook 0.5.1 - (C) 2009, Aru - Initialized
[INFO] Process base address: 0x920000
[INFO] Auto detecting game version
[INFO] Using game version 1.0.7
[INFO] [ScriptHookDotNet] Thread started
[INFO] [SimpleTrainer] Thread started

 

 

ScriptHookDotNet log:

2015-05-17 13:36:13 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.7.0 with C++ Hook version 0.5.1)
2015-05-17 13:51:47 - Direct3D device created!

2015-05-17 13:51:47 - SEARCHING FOR SCRIPTS...
2015-05-17 13:51:47 - Loading scripts in Assembly 'scripts\LCPDFR Loader.net.dll' ...
2015-05-17 13:51:47 -  ...found script 'LCPDFR_Loader.Loader'!
2015-05-17 13:51:47 -  ...found script 'LCPDFR_Loader.PublicScript'!
2015-05-17 13:51:47 - DONE! 2 valid scripts found!

2015-05-17 13:51:47 - STARTING SCRIPTS...
2015-05-17 13:51:47 - INFO: Phone number checks are not available!
2015-05-17 13:51:47 -  ...successfully started script 'LCPDFR_Loader.PublicScript'!
2015-05-17 13:51:47 -  ...successfully started script 'LCPDFR_Loader.Loader'!
2015-05-17 13:51:49 - Error during Tick in script 'LCPDFR_Loader.Loader':
                      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'AdvancedHook.dll' or one of its dependencies. The specified module could not be found.
                         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()

 

 

 

Lastly, I have uploaded screenshots of my GTA 4 folder. 

1.: 

Screenshot_(8).thumb.png.0050771faa863f9

and 2.:

Screenshot_(9).thumb.png.82628d5d100cdf5

Thanks for your help!!!

Kind regards!

Ernigeek

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