Introducing LSPDFR.

Check out www.lspdfr.com for a first look at the sequel to LCPDFR.

"Object does not match target type" Question

7 posts in this topic

Posted

Hi Everyone,

 

First off, great mod! I've been using it error free for about a year now, but last week tried to install the bait car mod. When it didnt work, I uninstalled it, but now I get an error message after I select my player uniform. After selecting the uniform for my Officer to wear, in the top left corner I get, "An unhandled exception has occured within the LCPDFR. Please see the logfile for more details (Object does not match target type.) I was wondering what the fix is for this? I'm running the DVD copy of GTAIV and it is a legit copy. I tried uninstalling and reinstalling scripthooks and LCPDFR as well. Thanks for the help!

 

BEGIN *SIGNED* LCPD First Response Issue Report
Diagnostics Tool Version: 0.4.3
Operating system: Windows7 HomePremium (6.1.1.0 Build: 7601) Service Pack:Service Pack 1
System RAM (GB): 7.9
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)Rockstar GamesGrand Theft Auto IV
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===============
2013-08-05 10:49:27 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.7.0 with C++ Hook version 0.5.1)
2013-08-05 10:49:27 - 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()
2013-08-05 10:49:27 - Direct3D device created!

2013-08-05 10:49:27 - SEARCHING FOR SCRIPTS...
2013-08-05 10:49:27 - Loading scripts in Assembly 'scriptsFirstResponse.net.dll' ...
2013-08-05 10:49:27 -  ...found script 'FirstResponse.Main.EmergencyLights'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.Main.Start'!
2013-08-05 10:49:27 -  ...found script 'CSharp.Engine.Core'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.Debugging'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.DeletionList'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.Hardcore'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.TextDraw'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCMD.Main'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCMD.Functions'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.Carboot'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.Disarm'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.Frisk'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.PullOver'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.Actions'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.Debug'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.Flashlight'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.Functions'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.Partner'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.inputSimulator'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.Start'!
2013-08-05 10:49:27 -  ...found script 'FirstResponse.LCPD.Various'!
2013-08-05 10:49:27 - Loading scripts in Assembly 'scriptsTrafficFlow.net.dll' ...
2013-08-05 10:49:27 -  ...found script 'TrafficFlow.Taxi'!
2013-08-05 10:49:27 - DONE! 22 valid scripts found!

2013-08-05 10:49:27 - STARTING SCRIPTS...
2013-08-05 10:49:27 - INFO: Phone number checks are not available!
2013-08-05 10:49:27 -  ...successfully started script 'TrafficFlow.Taxi'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.Various'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.Start'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.inputSimulator'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.Partner'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.Functions'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.Flashlight'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.Debug'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.Actions'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.PullOver'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.Frisk'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.Disarm'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCPD.Carboot'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCMD.Functions'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.LCMD.Main'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.TextDraw'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.Hardcore'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.DeletionList'!
2013-08-05 10:49:27 -  ...successfully started script 'FirstResponse.Debugging'!
2013-08-05 10:49:28 -  ...successfully started script 'CSharp.Engine.Core'!
2013-08-05 10:49:28 -  ...successfully started script 'FirstResponse.Main.Start'!
2013-08-05 10:49:28 -  ...successfully started script 'FirstResponse.Main.EmergencyLights'!

===============END .NET SCRIPTHOOK LOG===============
End of *SIGNED* LCPD First Response Issue Report
Digital signature: BLYrbMretfNXeId2sbxRCA==
 

Share this post


Link to post
Share on other sites

Posted (edited)

You can try to download then extract ScriptHook.dll and ScriptHookDotNet.asi to your GTA IV folder and click replace if you are asked to do it.

 

http://www.hazardx.com/details.php?file=83

Edited by Matosh

Share this post


Link to post
Share on other sites

Posted

You can try to download then extract ScriptHook.dll and ScriptHookDotNet.asi to your GTA IV folder and click replace if you are asked to do it.

 

http://www.hazardx.com/details.php?file=83

 

Thanks for the reply, I stil get the error message though. I also noticed I have all of these in my directory. Seems like an awful lot of the same thing?

 

ScriptHook.dll

ScriptHook

ScriptHookDotNet.asi

ScriptHookDotNet.dll

ScriptHookDotNet

Share this post


Link to post
Share on other sites

Posted (edited)

Delete those and extract scripthook files as I said in my previous post.

Edited by Matosh

Share this post


Link to post
Share on other sites

Posted

Perfect! All fixed! Thanks for your help Matosh!

Share this post


Link to post
Share on other sites

Posted

No problem, enjoy! :smile:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now