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.

Unknown Error with Advanced Script.

Featured Replies

Hey guys, this is my first post here, so sorry for sound like a nub. Recently ive decided to back up my orignal 1.0.4.0 and patch the main game to 1.0.7.0 just for the sole reason of using this mod. Currently when i press ALT + P ingame, nothing seems to be happening other than a slight change in the enb settings. The following "spoiler" is the diagnostic i have received after attempting to play, if anyone knows a solution, it would be very helpfull. Thanks

Please report this at www.lcpdfr.com

[ERROR - 5:31:18 PM] [LCPD] LCPD_Tick: Critical error

[ERROR - 5:31:18 PM] An unhandled exception occured in LCPDFR. Details: A procedure imported by 'AdvancedHook.dll' could not be loaded.

at eval_0.eval_0.LCPDFR-eval_3.LCPDFR-0(String A_0, Boolean A_1, Boolean A_2)

at CSharp.Engine.Core.HandleException(Exception ex, String additionalInfos)

at CSharp.Engine.Core.HandleException(BaseScript script, Exception ex, String additionalInfos)

at CSharp.Engine.TimerManager.1()

at CSharp.Engine.TimerManager.GTick()

at CSharp.Engine.Core.LCPDFR-0(Object A_0, EventArgs A_1)

Hey guys, this is my first post here, so sorry for sound like a nub. Recently ive decided to back up my orignal 1.0.4.0 and patch the main game to 1.0.7.0 just for the sole reason of using this mod. Currently when i press ALT + P ingame, nothing seems to be happening other than a slight change in the enb settings. The following "spoiler" is the diagnostic i have received after attempting to play, if anyone knows a solution, it would be very helpfull. Thanks

Please report this at www.lcpdfr.com

[ERROR - 5:31:18 PM] [LCPD] LCPD_Tick: Critical error

[ERROR - 5:31:18 PM] An unhandled exception occured in LCPDFR. Details: A procedure imported by 'AdvancedHook.dll' could not be loaded.

at eval_0.eval_0.LCPDFR-eval_3.LCPDFR-0(String A_0, Boolean A_1, Boolean A_2)

at CSharp.Engine.Core.HandleException(Exception ex, String additionalInfos)

at CSharp.Engine.Core.HandleException(BaseScript script, Exception ex, String additionalInfos)

at CSharp.Engine.TimerManager.1()

at CSharp.Engine.TimerManager.GTick()

at CSharp.Engine.Core.LCPDFR-0(Object A_0, EventArgs A_1)

Hi there! Please run the diagnostic tool and post the entire diagnostic log, as it is missing in your post here. I only see an error with loading AdvancedHook.dll, which could mean that you don't have that file (i.e. you incorrectly/unsuccessfully installed LCPD:FR). The entire log may shed some light as to what you are really missing, if any.

[size=4][font=comic sans ms,cursive]Why are people so self-conscious about needing others to press the [color=#00FF00]green [img]http://www.lcpdfr.com/public/style_images/overlayblue/rep_up.png[/img] arrow[/color]? If I helped you out, I don't care if you press it or not. The internal feeling of having helped others is good enough for me. Enjoy modding, and have fun![/font][/size] [size=4][font=comic sans ms,cursive][size=4][font=comic sans ms,cursive]Also, feel free to [url="http://www.lcpdfr.com/gallery/album/388-raggios-gta-iv-mods-and-gameplay-screenshots/"]check out my gallery for my latest screenshots[/url]! I'm playing with my custom SFPD, CHP, and FOXHOUND texture mods, plus iCEnhancer 2.0 and LCPD:FR 0.95 Beta 1![/font][/size][/font][/size] [size=5][color=#999999]Rʏᴜᴋᴏ Rᴀɢɢɪᴏ, Rᴀɢɢɪᴏᴍᴇᴅɪᴀ Pʀᴏᴅᴜᴄᴛɪᴏɴs[/color][/size]

  • Author

Hi there! Please run the diagnostic tool and post the entire diagnostic log, as it is missing in your post here. I only see an error with loading AdvancedHook.dll, which could mean that you don't have that file (i.e. you incorrectly/unsuccessfully installed LCPD:FR). The entire log may shed some light as to what you are really missing, if any.

website is currently offline..? have another link?

website is currently offline..? have another link?

Hmm, that link is still having problems.

[size=4][font=comic sans ms,cursive]Why are people so self-conscious about needing others to press the [color=#00FF00]green [img]http://www.lcpdfr.com/public/style_images/overlayblue/rep_up.png[/img] arrow[/color]? If I helped you out, I don't care if you press it or not. The internal feeling of having helped others is good enough for me. Enjoy modding, and have fun![/font][/size] [size=4][font=comic sans ms,cursive][size=4][font=comic sans ms,cursive]Also, feel free to [url="http://www.lcpdfr.com/gallery/album/388-raggios-gta-iv-mods-and-gameplay-screenshots/"]check out my gallery for my latest screenshots[/url]! I'm playing with my custom SFPD, CHP, and FOXHOUND texture mods, plus iCEnhancer 2.0 and LCPD:FR 0.95 Beta 1![/font][/size][/font][/size] [size=5][color=#999999]Rʏᴜᴋᴏ Rᴀɢɢɪᴏ, Rᴀɢɢɪᴏᴍᴇᴅɪᴀ Pʀᴏᴅᴜᴄᴛɪᴏɴs[/color][/size]

  • Author

Okay well here is the end result.

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

CPU cores: 8

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: False

GTA IV - Asi loader:

GTA IV - Asi loader valid: False

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

2012-05-29 18:47:03 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)

2012-05-29 18:47:40 - Direct3D device created!

2012-05-29 18:47:40 - SEARCHING FOR SCRIPTS...

2012-05-29 18:47:40 - Loading scripts in Assembly 'scriptsFirstResponse.net.dll' ...

2012-05-29 18:47:40 - ...found script 'FirstResponse.Main.EmergencyLights'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.Main.Start'!

2012-05-29 18:47:40 - ...found script 'CSharp.Engine.Core'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.Debugging'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.DeletionList'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.Hardcore'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.TextDraw'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCMD.Main'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCMD.Functions'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.Carboot'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.Disarm'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.Frisk'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.PullOver'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.Actions'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.Debug'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.Flashlight'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.Functions'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.Partner'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.inputSimulator'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.Start'!

2012-05-29 18:47:40 - ...found script 'FirstResponse.LCPD.Various'!

2012-05-29 18:47:40 - Loading scripts in Assembly 'scriptsindicator.net.dll' ...

2012-05-29 18:47:40 - ...found script 'indicatorClass'!

2012-05-29 18:47:40 - DONE! 22 valid scripts found!

2012-05-29 18:47:40 - STARTING SCRIPTS...

2012-05-29 18:47:40 - 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()

2012-05-29 18:47:40 - ...successfully started script 'indicatorClass'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.Various'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.Start'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.inputSimulator'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.Partner'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.Functions'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.Flashlight'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.Debug'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.Actions'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.PullOver'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.Frisk'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.Disarm'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCPD.Carboot'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCMD.Functions'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.LCMD.Main'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.TextDraw'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.Hardcore'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.DeletionList'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.Debugging'!

2012-05-29 18:47:40 - ...successfully started script 'CSharp.Engine.Core'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.Main.Start'!

2012-05-29 18:47:40 - ...successfully started script 'FirstResponse.Main.EmergencyLights'!

2012-05-29 18:47:41 - Error during Tick in script 'CSharp.Engine.Core':

System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.

File name: 'AdvancedHook.dll'

at eval_0.eval_0.LCPDFR-eval_3.LCPDFR-0(String A_0, Boolean A_1, Boolean A_2)

at CSharp.Engine.Core.HandleException(Exception ex, String additionalInfos)

at CSharp.Engine.Core.LCPDFR-0(Object A_0, EventArgs A_1)

at GTA.Script.TryTick()

at GTA.Script.DoTick()

at GTA.ScriptThread.OnTick()

2012-05-29 18:47:41 - Error in Thread.Abort:

System.Threading.ThreadAbortException: Thread was being aborted.

at System.Threading.Thread.AbortInternal()

at System.Threading.Thread.Abort()

at GTA.NetThread.Abort()

2012-05-29 18:48:00 - Error during Tick in script 'indicatorClass':

System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.

File name: 'AdvancedHook.dll'

at indicatorClass.eval_0()

at GTA.Script.ProcessBoundKey(Keys Key)

at GTA.Script.ProcessEvents()

at GTA.Script.DoTick()

at GTA.ScriptThread.OnTick()

2012-05-29 18:48:00 - Error in Thread.Abort:

System.Threading.ThreadAbortException: Thread was being aborted.

at System.Threading.Thread.AbortInternal()

at System.Threading.Thread.Abort()

at GTA.NetThread.Abort()

===============END .NET SCRIPTHOOK LOG===============

End of *SIGNED* LCPD First Response Issue Report

Digital signature: 110hx3dJBJrWlVq1XMjJSg==

GTA IV - Asi loader installed: False

GTA IV - Asi loader:

GTA IV - Asi loader valid: False

Your report indicates that you have no ASI loader installed. An ASI loader is required to run LCPD:FR, and is supposed to be installed with it if you used the installer. Make sure that either dsound.dll, xlive.dll, or both (Yes, contrary to what people tell you, having both works even better than just one, although people complain about it. I actually have my mods working great with both of them.) are in your game's root directory folder.

[size=4][font=comic sans ms,cursive]Why are people so self-conscious about needing others to press the [color=#00FF00]green [img]http://www.lcpdfr.com/public/style_images/overlayblue/rep_up.png[/img] arrow[/color]? If I helped you out, I don't care if you press it or not. The internal feeling of having helped others is good enough for me. Enjoy modding, and have fun![/font][/size] [size=4][font=comic sans ms,cursive][size=4][font=comic sans ms,cursive]Also, feel free to [url="http://www.lcpdfr.com/gallery/album/388-raggios-gta-iv-mods-and-gameplay-screenshots/"]check out my gallery for my latest screenshots[/url]! I'm playing with my custom SFPD, CHP, and FOXHOUND texture mods, plus iCEnhancer 2.0 and LCPD:FR 0.95 Beta 1![/font][/size][/font][/size] [size=5][color=#999999]Rʏᴜᴋᴏ Rᴀɢɢɪᴏ, Rᴀɢɢɪᴏᴍᴇᴅɪᴀ Pʀᴏᴅᴜᴄᴛɪᴏɴs[/color][/size]

  • Author

Your report indicates that you have no ASI loader installed. An ASI loader is required to run LCPD:FR, and is supposed to be installed with it if you used the installer. Make sure that either dsound.dll, xlive.dll, or both (Yes, contrary to what people tell you, having both works even better than just one, although people complain about it. I actually have my mods working great with both of them.) are in your game's root directory folder.

UPDATE: i have fixed the asi loader problem yet the advanced hook problem is still occuring.. any idea?

Edited by hamzahk

UPDATE: i have fixed the asi loader problem yet the advanced hook problem is still occuring.. any idea?

Just to make sure (since this is not displayed in the diagnostics log), you do have the file "AdvancedHook.dll" in your folder as well, correct? The error says that the mod is attempting to execute a code from it, but it either cannot find it or cannot execute it because a dependent file/tool may also be missing. If all else fails, you can try to reinstall the mod and then install ScriptHook.dll and ScriptHookDotNet.asi separately, as AdvancedHook.dll depends on those script hook files to work.

[size=4][font=comic sans ms,cursive]Why are people so self-conscious about needing others to press the [color=#00FF00]green [img]http://www.lcpdfr.com/public/style_images/overlayblue/rep_up.png[/img] arrow[/color]? If I helped you out, I don't care if you press it or not. The internal feeling of having helped others is good enough for me. Enjoy modding, and have fun![/font][/size] [size=4][font=comic sans ms,cursive][size=4][font=comic sans ms,cursive]Also, feel free to [url="http://www.lcpdfr.com/gallery/album/388-raggios-gta-iv-mods-and-gameplay-screenshots/"]check out my gallery for my latest screenshots[/url]! I'm playing with my custom SFPD, CHP, and FOXHOUND texture mods, plus iCEnhancer 2.0 and LCPD:FR 0.95 Beta 1![/font][/size][/font][/size] [size=5][color=#999999]Rʏᴜᴋᴏ Rᴀɢɢɪᴏ, Rᴀɢɢɪᴏᴍᴇᴅɪᴀ Pʀᴏᴅᴜᴄᴛɪᴏɴs[/color][/size]

  • Author

Just to make sure (since this is not displayed in the diagnostics log), you do have the file "AdvancedHook.dll" in your folder as well, correct? The error says that the mod is attempting to execute a code from it, but it either cannot find it or cannot execute it because a dependent file/tool may also be missing. If all else fails, you can try to reinstall the mod and then install ScriptHook.dll and ScriptHookDotNet.asi separately, as AdvancedHook.dll depends on those script hook files to work.

ive tried at least 4 times to install and reinstall but nothing seems to be working.. il try to delete every script file i have and see how things go .

ive tried at least 4 times to install and reinstall but nothing seems to be working.. il try to delete every script file i have and see how things go .

Alright, update us with your situation whenever you can.

You can also try to reinstall Microsoft .NET 4.0 and Microsoft Visual C++ as well, although I'm not sure if they'll help in your case. Usually, people who's error log contains a missing "web service" file needs these and they usually do the trick, but you don't have the same error. Still, it doesn't hurt to try to make sure that they are up-to-date (Windows Update isn't always reliable).

Edited by Raggio

[size=4][font=comic sans ms,cursive]Why are people so self-conscious about needing others to press the [color=#00FF00]green [img]http://www.lcpdfr.com/public/style_images/overlayblue/rep_up.png[/img] arrow[/color]? If I helped you out, I don't care if you press it or not. The internal feeling of having helped others is good enough for me. Enjoy modding, and have fun![/font][/size] [size=4][font=comic sans ms,cursive][size=4][font=comic sans ms,cursive]Also, feel free to [url="http://www.lcpdfr.com/gallery/album/388-raggios-gta-iv-mods-and-gameplay-screenshots/"]check out my gallery for my latest screenshots[/url]! I'm playing with my custom SFPD, CHP, and FOXHOUND texture mods, plus iCEnhancer 2.0 and LCPD:FR 0.95 Beta 1![/font][/size][/font][/size] [size=5][color=#999999]Rʏᴜᴋᴏ Rᴀɢɢɪᴏ, Rᴀɢɢɪᴏᴍᴇᴅɪᴀ Pʀᴏᴅᴜᴄᴛɪᴏɴs[/color][/size]

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