Jump to content

LCPDFR has encountered an error,


Recommended Posts

So i have encountered a issue with LCPDFR. I have not had these issues before and don't know how to fix the issue. the log tracked the following:

 

[ERROR - 11:53:39 PM] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.
[ERROR - 11:53:39 PM] [] System.TypeInitializationException: The type initializer for  threw an exception. --- System.IO.DirectoryNotFoundException: Could not find a part of the path C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto IV\GTAIV\lcpdfr\Audio.
   at System.IO.__Error.WinIOError(Int32 errorCode String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator1.CommonInit()
   at System.IO.FileSystemEnumerableIterator1..ctor(String path String originalUserPath String searchPattern SearchOption searchOption SearchResultHandler1 resultHandler Boolean checkHost)
   at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern SearchOption searchOption)
   at System.IO.DirectoryInfo.GetFiles(String searchPattern SearchOption searchOption)
   at ..ctor(String path) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\AudioDatabase.cs:line 41
   at ..cctor() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\AudioHelper.cs:line 58
   --- End of inner exception stack trace ---
   at .(String  Vector3 )
   at LCPD_First_Response.LCPDFR.Scripts.Scenarios.ScenarioRandomPursuit.InitializeAmbient( officer) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\Scripts\Scenarios\ScenarioRandomPursuit.cs:line 122
   at LCPD_First_Response.LCPDFR.Scripts.Scenarios.ScenarioRandomPursuit.c__DisplayClass4..ctorb__1(Object param0) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\Scripts\Scenarios\ScenarioRandomPursuit.cs:line 88
   at LCPD_First_Response.Engine.Timers.DelayedCaller.Process() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Timers\DelayedCaller.cs:line 150
   at LCPD_First_Response.Engine.Main.() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 266
[ERROR - 11:53:39 PM] [ExceptionHandler]  ‏‮‌‏‏‪‮‪‪‏‎‎‫‌‌‎‫‭‪‭‫‍‪‮.‌‮‍‍‌‮‬‏‪‏‌‏‌‎‭‭‌‭‮‮‫‫‮(String , Vector3 ) L_ffffffff 
 LCPD_First_Response.LCPDFR.Scripts.Scenarios.ScenarioRandomPursuit.InitializeAmbient(‎‪‍‭‎‮‎‪‮‎‪‮‭‍‎‌‪‭‮‮ officer) L_017b 
 LCPD_First_Response.LCPDFR.Scripts.Scenarios.ScenarioRandomPursuit+<>c__DisplayClass4.<.ctor>b__1(Object[] param0) L_0000 
 LCPD_First_Response.Engine.Timers.DelayedCaller.Process() L_0000 
 LCPD_First_Response.Engine.Main.‭‎‬‏‪‬‎‪‏‬‌‏‮‫‍‎‮‏‎‪‮‮() L_009f 
Error hash: 11B26C17FE98FDA9989D50CAC12D9DA9E3AF899B
[ERROR - 11:53:44 PM] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.
[ERROR - 11:53:44 PM] [] System.TypeInitializationException: The type initializer for  threw an exception. --- System.IO.DirectoryNotFoundException: Could not find a part of the path C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto IV\GTAIV\lcpdfr\Audio.
   at System.IO.__Error.WinIOError(Int32 errorCode String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator1.CommonInit()
   at System.IO.FileSystemEnumerableIterator1..ctor(String path String originalUserPath String searchPattern SearchOption searchOption SearchResultHandler1 resultHandler Boolean checkHost)
   at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern SearchOption searchOption)
   at System.IO.DirectoryInfo.GetFiles(String searchPattern SearchOption searchOption)
   at ..ctor(String path) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\AudioDatabase.cs:line 41
   at ..cctor() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\AudioHelper.cs:line 58
   --- End of inner exception stack trace ---
   at .(String  Vector3 )
   at LCPD_First_Response.LCPDFR.Scripts.Scenarios.ScenarioRandomPursuit.InitializeAmbient( officer) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\Scripts\Scenarios\ScenarioRandomPursuit.cs:line 125
   at LCPD_First_Response.LCPDFR.Scripts.Scenarios.ScenarioRandomPursuit.c__DisplayClass4..ctorb__1(Object param0) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\Scripts\Scenarios\ScenarioRandomPursuit.cs:line 88
   at LCPD_First_Response.Engine.Timers.DelayedCaller.Process() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Timers\DelayedCaller.cs:line 150
   at LCPD_First_Response.Engine.Main.() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 266
[ERROR - 11:53:44 PM] [ExceptionHandler]  ‏‮‌‏‏‪‮‪‪‏‎‎‫‌‌‎‫‭‪‭‫‍‪‮.‌‮‍‍‌‮‬‏‪‏‌‏‌‎‭‭‌‭‮‮‫‫‮(String , Vector3 ) L_ffffffff 
 LCPD_First_Response.LCPDFR.Scripts.Scenarios.ScenarioRandomPursuit.InitializeAmbient(‎‪‍‭‎‮‎‪‮‎‪‮‭‍‎‌‪‭‮‮ officer) L_00da 
 LCPD_First_Response.LCPDFR.Scripts.Scenarios.ScenarioRandomPursuit+<>c__DisplayClass4.<.ctor>b__1(Object[] param0) L_0000 
 LCPD_First_Response.Engine.Timers.DelayedCaller.Process() L_0000 
 LCPD_First_Response.Engine.Main.‭‎‬‏‪‬‎‪‏‬‌‏‮‫‍‎‮‏‎‪‮‮() L_009f 
Error hash: 337D4EFC3F325471184854090D43C0CA738C0C65

 

 

 

I need help to fix this. I am running a few extra scripts as well as vehicle mods but never had a issue. please help.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...