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.

"Object does not match target type" Question

Featured Replies

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

Solved by Matosh

  • Author

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

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

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.