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 loader loader - ScriptHookDotNet error

Featured Replies

hey guys, Ive been trying to install LCPDFR 1.1 for GTA IV (1.0.7.0) recently, and every time i get an error as soon as the game loads up, saying "LCPDFR loader.loader error" or something like that, so naturally alt+P yields no visible result. The diagnostic tool said everything was fine exept for the log file, which was marked orange and prompted me to click on the log file. some kind of error with scripthookdotnet file it seems...ive read a lot of posts on this issue with different solutions, none of them seems to be working. I have already tried automatic install, manual, and also tried installing the previous version of LCPDFR (1.0) with the same result.

also, side note: my game will not start with dsound.dill when modded, it says it needs xlive or whatever to load. 

heres my log file: (i bolded the important section near the bottom)

[Asi loader] Using xliveless
[ScriptHookDotNet] Found
[ScriptHookDotNet] Valid
[System dependencies] Verifying dependencies integrity
[System dependencies] Checking MSVCR110.DLL
[System dependencies] Checking dependencies (32-bit required: True)
[System dependencies] Resolved KERNEL32.dll to C:\Windows\SysWOW64\KERNEL32.dll
[System dependencies] Check passed
[System dependencies] Checking MSVCP110.DLL
[System dependencies] Checking dependencies (32-bit required: True)
[System dependencies] Resolved MSVCR110.dll to C:\Windows\SysWOW64\MSVCR110.dll
[System dependencies] Resolved KERNEL32.dll to C:\Windows\SysWOW64\KERNEL32.dll
[System dependencies] Check passed
[System dependencies] Checking MSCOREE.DLL
[System dependencies] Checking dependencies (32-bit required: True)
[System dependencies] Resolved KERNEL32.dll to C:\Windows\SysWOW64\KERNEL32.dll
[System dependencies] Check passed
[System dependencies] Checking SCRIPTHOOK.DLL
[System dependencies] Checking dependencies (32-bit required: True)
[System dependencies] Resolved KERNEL32.dll to C:\Windows\SysWOW64\KERNEL32.dll
[System dependencies] Resolved USER32.dll to C:\Windows\SysWOW64\USER32.dll
[System dependencies] Check passed
[System dependencies] Checking MSVCR100.DLL
[System dependencies] Checking dependencies (32-bit required: True)
[System dependencies] Resolved KERNEL32.dll to C:\Windows\SysWOW64\KERNEL32.dll
[System dependencies] Check passed
[System dependencies] Checking D3DX9_43.DLL
[System dependencies] Checking dependencies (32-bit required: True)
[System dependencies] Resolved msvcrt.dll to C:\Windows\SysWOW64\msvcrt.dll
[System dependencies] Resolved GDI32.dll to C:\Windows\SysWOW64\GDI32.dll
[System dependencies] Resolved KERNEL32.dll to C:\Windows\SysWOW64\KERNEL32.dll
[System dependencies] Resolved ADVAPI32.dll to C:\Windows\SysWOW64\ADVAPI32.dll
[System dependencies] Check passed
[System dependencies] Checking ScriptHookDotNet.asi
[System dependencies] Checking dependencies (32-bit required: True)
[System dependencies] Resolved KERNEL32.dll to C:\Windows\SysWOW64\KERNEL32.dll
[System dependencies] Resolved ScriptHook.dll to C:\Games\GTA IV\Grand Theft Auto IV\ScriptHook.dll
[System dependencies] Resolved MSVCR100.dll to C:\Windows\SysWOW64\MSVCR100.dll
[System dependencies] Resolved USER32.dll to C:\Windows\SysWOW64\USER32.dll
[System dependencies] Resolved d3dx9_43.dll to C:\Windows\SysWOW64\d3dx9_43.dll
[System dependencies] Resolved mscoree.dll to C:\Windows\SysWOW64\mscoree.dll
[System dependencies] Check passed
[System dependencies] v2.0.50727  2.0.50727.5420  SP2
v3.0  3.0.30729.5420  SP2
v3.5  3.5.30729.5420  SP1
v4  
  Client  4.5.50709
  Full  4.5.50709
v4.0  
  Client  4.0.0.0
[System dependencies] The .NET Framework version 4.5 is installed
[System dependencies] Checking ADVANCEDHOOK.DLL
[System dependencies] Checking dependencies (32-bit required: True)
[System dependencies] Resolved ScriptHook.dll to C:\Games\GTA IV\Grand Theft Auto IV\ScriptHook.dll
[System dependencies] Resolved VERSION.dll to C:\Windows\SysWOW64\VERSION.dll
[System dependencies] Resolved PSAPI.DLL to C:\Windows\SysWOW64\PSAPI.DLL
[System dependencies] Resolved dbghelp.dll to C:\Windows\SysWOW64\dbghelp.dll
[System dependencies] Resolved KERNEL32.dll to C:\Windows\SysWOW64\KERNEL32.dll
[System dependencies] Resolved USER32.dll to C:\Windows\SysWOW64\USER32.dll
[System dependencies] Resolved SHELL32.dll to C:\Windows\SysWOW64\SHELL32.dll
[System dependencies] Resolved MSVCR110.dll to C:\Windows\SysWOW64\MSVCR110.dll
[System dependencies] Resolved MSVCP110.dll to C:\Windows\SysWOW64\MSVCP110.dll
[System dependencies] Resolved mscoree.dll to C:\Windows\SysWOW64\mscoree.dll
[System dependencies] Check passed
[System dependencies] Checking ADVANCEDHOOKINIT.ASI
[System dependencies] Checking dependencies (32-bit required: True)
[System dependencies] Resolved VERSION.dll to C:\Windows\SysWOW64\VERSION.dll
[System dependencies] Resolved KERNEL32.dll to C:\Windows\SysWOW64\KERNEL32.dll
[System dependencies] Resolved USER32.dll to C:\Windows\SysWOW64\USER32.dll
[System dependencies] Resolved MSVCR110.dll to C:\Windows\SysWOW64\MSVCR110.dll
[System dependencies] Resolved MSVCP110.dll to C:\Windows\SysWOW64\MSVCP110.dll
[System dependencies] Check passed
[System dependencies] Checking SLIMDX.DLL
[System dependencies] Checking dependencies (32-bit required: True)
[System dependencies] Resolved MSVCR100.dll to C:\Windows\SysWOW64\MSVCR100.dll
[System dependencies] Resolved KERNEL32.dll to C:\Windows\SysWOW64\KERNEL32.dll
[System dependencies] Resolved ole32.dll to C:\Windows\SysWOW64\ole32.dll
[System dependencies] Resolved USER32.dll to C:\Windows\SysWOW64\USER32.dll
[System dependencies] Resolved GDI32.dll to C:\Windows\SysWOW64\GDI32.dll
[System dependencies] Resolved WINMM.dll to C:\Windows\SysWOW64\WINMM.dll
[System dependencies] Resolved ADVAPI32.dll to C:\Windows\SysWOW64\ADVAPI32.dll
[System dependencies] Resolved MSVCP100.dll to C:\Windows\SysWOW64\MSVCP100.dll
[System dependencies] Resolved mscoree.dll to C:\Windows\SysWOW64\mscoree.dll
[System dependencies] Check passed
[System dependencies] No problems found
[LCPD First Response] Checking LCPDFR installation
[LCPD First Response] No problems found
[Log Check] Checking log files
[Log Check] asilog.txt seems okay
[Log Check] ScriptHookDotNet.log lists one or more errors
[Log Check] 2016-07-06 23:28:05 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.7.0 with C++ Hook version 0.5.1)
2016-07-06 23:29:21 - Direct3D device created!

2016-07-06 23:29:22 - SEARCHING FOR SCRIPTS...
2016-07-06 23:29:22 - Loading scripts in Assembly 'scripts\LCPDFR Loader.net.dll' ...
2016-07-06 23:29:22 -  ...found script 'LCPDFR_Loader.Loader'!
2016-07-06 23:29:22 -  ...found script 'LCPDFR_Loader.PublicScript'!
2016-07-06 23:29:22 - DONE! 2 valid scripts found!

2016-07-06 23:29:22 - STARTING SCRIPTS...
2016-07-06 23:29:22 - INFO: Phone number checks are not available!
2016-07-06 23:29:22 -  ...successfully started script 'LCPDFR_Loader.PublicScript'!
2016-07-06 23:29:22 -  ...successfully started script 'LCPDFR_Loader.Loader'!
2016-07-06 23:29:23 - Error during Tick in script 'LCPDFR_Loader.Loader':
                      System.InvalidCastException: [A]LCPDFR_Loader.Test cannot be cast to LCPDFR_Loader.Test. Type A originates from 'LCPDFR Loader.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'C:\Games\GTA IV\Grand Theft Auto IV\LCPDFR Loader.net.dll'. Type B originates from 'LCPDFR Loader.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'LoadNeither' in a byte array.
                         at LCPDFR_Loader.Loader.Load()
                         at LCPDFR_Loader.Loader.Loader_Tick(Object sender, EventArgs e)
                         at GTA.Script.TryTick()
                         at GTA.Script.DoTick()
                         at GTA.ScriptThread.OnTick()

[Log Check] ScriptHook.log doesn't start AdvancedHook thread
[Log Check] Log start: Wed Jul 06 23:28:05 2016
-----------------------------------------------
[INFO] GTA IV Script Hook 0.5.1 - (C) 2009, Aru - Initialized
[INFO] Process base address: 0xe0000
[INFO] Auto detecting game version
[INFO] Using game version 1.0.7
[INFO] [ScriptHookDotNet] Thread started

 

Hello there -- welcome to LCPDFR.com and thanks for trying out LCPDFR!

Please do the following: 

  • Make sure you aren't using a crack - We don't support cracks or people using pirated software
  • Update GTA IV to 1.0.7.0 (the latest version of the game, or 1.1.2.0 for EFLC) - These patches are needed.  
  • Make sure that you run the game as an administrator.
  • Make sure that your GTA IV root folder (and every subdirectory) is not set to "read-only"
  • Ensure that AdvancedHook.dll, ScriptHook.dll, ScriptHookDotNet.asi and Dsound.dll OR Xlive.dll are in the GTA IV ROOT folder
  • Ensure that there is a folder titled 'LCPDFR' in the ROOT GTA IV folder.
  • Check that all the above files exist, if they do not, reinstall LCPDFR with the MANUAL installation.
  • Ensure that you are using up to date versions of every LCPDFR dependency and LCPDFR itself.
  • Install these: https://www.microsoft.com/en-us/download/details.aspx?id=30653 , https://www.microsoft.com/en-us/download/details.aspx?id=30679 

In some cases, your issue is resolved after following the above steps. If it did help, please let everyone know in the topic that your issue is resolved. If you do have to post a topic, do the following;  

  • Give a clear, detailed description of the problem.
  • Explain any circumstances surrounding the problem.
  • State what solutions you have tried.
  • Post ALL relevant logs (LCPDFR.log, Scripthook.log, ScriptHookDotNet.log, AdvancedHook.log).
  • Include as much information as possible.
  • Post your system specifications.
  • Post what other mods you are using. This includes car and script mods.
  • Post a screenshot of your GTA IV or EFLC game directory. 

Please note that failure to follow these instructions may cause this thread to be closed.

Invenio, Investigatio, Imperium

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