Jump to content

Error in script


Recommended Posts

-Using a legit steam bought copy of GTA IV

-Game is patched to 1.0.7.0

-I run the game as Admin

-Root folder and every subdrirectory is NOT set to read only.

-ScriptHook.dll, ScriptHookDotNet.asi and Dsound.dll ARE in the root folder.

-There IS a LCPDFR folder in the root folder

-I checked that all above files are exist

-LCPDFR version is 1.0c

-I have both .Net Framework 4.5, Microsoft Visual C++ Redist 2012

 

I took a screenshot of the error i recieve here      http://steamcommunity.com/sharedfiles/filedetails/?id=286350714

 

AdvancedHook.log

 

AdvancedHookInit.log

 

LCPDFR.log

 

ScriptHookDotNet.log

 

Any help would be very much apreciated. I've looked at several other topics with the same issue and none of the solutions helped.

Link to comment
Share on other sites

-Using a legit steam bought copy of GTA IV

-Game is patched to 1.0.7.0

-I run the game as Admin

-Root folder and every subdrirectory is NOT set to read only.

-ScriptHook.dll, ScriptHookDotNet.asi and Dsound.dll ARE in the root folder.

-There IS a LCPDFR folder in the root folder

-I checked that all above files are exist

-LCPDFR version is 1.0c

-I have both .Net Framework 4.5, Microsoft Visual C++ Redist 2012

 

I took a screenshot of the error i recieve here      http://steamcommunity.com/sharedfiles/filedetails/?id=286350714

 

attachicon.gifAdvancedHook.log

 

attachicon.gifAdvancedHookInit.log

 

attachicon.gifLCPDFR.log

 

attachicon.gifScriptHookDotNet.log

 

Any help would be very much apreciated. I've looked at several other topics with the same issue and none of the solutions helped.

 

Can you please post a screenshot of your GTA IV directory?

 

Also, your LCPDFR log has the following error:

 
[ERROR - 3:04:29 PM] [] System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
 
This means a needed prerequisite is missing and so it could not load AdvancedHook.dll.
The prerequisite needed to be installed here is the .net Framework 4.5. however if you run the LCPDFR diagnostics tool it will check to see what is missing, from what you said you forget to get the 2010 version of the Visual C++.
 
More information on needed files can be found >here

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Link to comment
Share on other sites

 

Can you please post a screenshot of your GTA IV directory?

 

Also, your LCPDFR log has the following error:

 
[ERROR - 3:04:29 PM] [] System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
 
This means a needed prerequisite is missing and so it could not load AdvancedHook.dll.
The prerequisite needed to be installed here is the .net Framework 4.5. however if you run the LCPDFR diagnostics tool it will check to see what is missing, from what you said you forget to get the 2010 version of the Visual C++.
 
More information on needed files can be found >here

 

 

 

 

Thank you for the quick reply. Unfortunately when I try to run the diagnostics tool I recieve an error (see attached file)

 

 

 

 

 

EDIT:

 

I was able to run the diagnostics tool.

 

When i clicked on view log, the tool crashed and this is the error.

                                                                                                      

Link to comment
Share on other sites

 

 

EDIT:

 

I was able to run the diagnostics tool. attachicon.gifdiag.png

 

When i clicked on view log, the tool crashed and this is the error. attachicon.giferror1.png

                                                                                                       attachicon.giferror2.png

 

 

Try running it in Advanced Mode and navigating to your GTA IV install yourself and see what it says.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Link to comment
Share on other sites

Try running it in Advanced Mode and navigating to your GTA IV install yourself and see what it says.

 

When I navigate to my folder regularly I see all this

 

However, when I double click diagnostics tool>advanced mode>Configure LCPD first response, this is all it shows in my root folder

Link to comment
Share on other sites

When I navigate to my folder regularly I see all this attachicon.gif1.png

 

However, when I double click diagnostics tool>advanced mode>Configure LCPD first response, this is all it shows in my root folder attachicon.gifUntitled.png

It's looking for your LCPDFR.ini file that's located in the LCPDFR folder.

Link to comment
Share on other sites

It's looking for your LCPDFR.ini file that's located in the LCPDFR folder.

 

This is the only thing I see in my LCPDFR folder. I went through all of the folders; no LCPDFR.ini. Is this why my game isn't working?

Link to comment
Share on other sites

This is the only thing I see in my LCPDFR folder. attachicon.gifUntitled.png I went through all of the folders; no LCPDFR.ini. Is this why my game isn't working?

When you click on "Configure LCPD First Response" you have to navigate to your LCPDFR folder and click on the LCPDFR file, then you can edit the file.

When you click "Check your installation" you have to navigate to your main root folder and click on GTA.exe and it will bring up something like this: http://www.lcpdfr.com/uploads/monthly_07_2014/post-148590-0-10123700-1405626861.png 

Link to comment
Share on other sites

When you click on "Configure LCPD First Response" you have to navigate to your LCPDFR folder and click on the LCPDFR file, then you can edit the file.

When you click "Check your installation" you have to navigate to your main root folder and click on GTA.exe and it will bring up something like this: attachicon.gifScreenshot (3).png

Ok, I did all that. Was able to edit the file and when I checked the installation it was a success; however, I still get the "Error in script 'LCPDFR_Loader.Loader'!" I don't know if this will help, but here's a screenshot I took when I hit the tilda key.

http://cloud-4.steampowered.com/ugc/589161283257561109/D0640BAF5C73306E90D89F2FAB238CF7F4FCE1B0/

Also, it should be noted that I recieve this error when I exit my game.

I thought at first that it was my GTA that was corrupt and so I did a fresh install of the game and re-installed the mod and still got the same error. I then uninstalled the mod, ran GTA, played for a few minutes, then exited the game and the same error didn't show up. I did this several times. The error poped up every time with the mod installed and the error never showed up with the mod uninstalled. I am completly lost as to why this is happening. I've looked high and low around the forums for people with similar problems, but everytime someone else has the "Error in script 'LCPDFR_Loader.Loader'!" problem their's is solved because they were simply missing a file. I have all the files that were required for install; at least I hope I do. I did the automatic install and the manual install. Both have same results.

Hello...? Anybody...? I really do want to play this fantastic mod. Instead I just sit here and watch YouTube videos about it. Can ANYBODY help, or do I have one of those errors that is just unfixable? I've tried to post as much and as many pictures as I can.

Use the edit button to add more information to your post. -Staff

Edited by ineseri
Link to comment
Share on other sites

Hello...? Anybody...? I really do want to play this fantastic mod. Instead I just sit here and watch YouTube videos about it. Can ANYBODY help, or do I have one of those errors that is just unfixable? I've tried to post as much and as many pictures as I can.

 

Can you post your most recent LCPDFR log with that error please. Just taking a screenshot of half of it in the console isn't much help.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

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