After doing an install the previous night I thought I did it all correct the game suddenly crashed. I put it down for the night and reterned to it the next morning (yesterday), I by which point the game wouldn't load at all. I 'Repaired' using the LCPDFR installer. To which the game didn't like: Just before it was due to off the initial loading screen it shourd crash.
I hadn't taken any backups (silly I know) and so I deleted all the files and redownloaded GTAIV from steam. I reinstalled all of my mods and booted up the game. It worked. However the game crashes approximately 10 minutes after the game has been booted. This things I have been doing exactly as the game crashes are:
Pressing: Getting out of car
Pressing: Getting in car
Pressing: Switch sirens (ELS)
Pressing: sirens on/off
Running after a suspect just as he gets hit by a car
AdvancedHook.log
Log started on: 1:25:55 1-18-2014
------------------------
[INFO - 1:25:55] Gameversion - 1.0.7.0
[INFO - 1:25:55] Data unprotected
[INFO - 1:25:55] Game patched
[INFO - 1:25:55] Xlive protections disabled
[INFO - 1:25:55] AdvancedHook 0.28 (C) 2010-2013 LMS - Initialized
[INFO - 1:25:55] Permission granted for LCPDFR only
[INFO - 1:25:55] Thanks to listener, aru and #iv-modding
[INFO - 1:25:55] Attaching exception handler...
[INFO - 1:25:55] Exception handler attached
[INFO - 1:25:55] Patching game functions...
[INFO - 1:33:16] An exception occured
[INFO - 1:33:16]
Process: E60000
Address: 1A61FFC (p])
Code: C0000005
Registerdump - EAX: 80F3600 EBP: 6558EEB0 EBX: 4DEF2F0 ECX: 0 EDI: 94 EDX: 4A EIP: 1A61FFC ESI: D240 ESP: 6558E8EC
AdvancedHookInit.log
Log started on: 1:25:19 1-18-2014
------------------------
[INFO - 1:25:19] Gameversion - 1.0.7.0
[INFO - 1:25:19] AdvancedHookInit 0.3 (C) 2013 LMS - Initialized
[INFO - 1:25:19] Attaching hooks...
[INFO - 1:25:19] CPools::InstallHooks: Hooking CPool__Initialize
[INFO - 1:25:19] CPools::InstallHooks: Hooking CPedFactory
[INFO - 1:25:19] Data unprotected
[INFO - 1:25:19] Game patched
[INFO - 1:25:19] Xlive protections disabled
[INFO - 1:25:19] Disabling network connection check
[INFO - 1:25:19] Spawning patcher thread
[INFO - 1:25:19] Patching files
[INFO - 1:25:32] Disabling loading screens
[INFO - 1:25:33] Increasing size of "PtrNode Single" pool from 8 to 10
[INFO - 1:25:33] Increasing size of "PtrNode Double" pool from 16 to 20
[INFO - 1:25:33] Increasing size of "Building" pool from 112 to 132
[INFO - 1:25:33] CPool__Initialize: Size: 132 - Name: Building - EntrySize: 32000
ScriptHookDotNet.log
2014-01-18 01:25:19 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.7.0 with C++ Hook version 0.5.1)
2014-01-18 01:25:54 - Direct3D device created!
2014-01-18 01:25:54 - SEARCHING FOR SCRIPTS...
2014-01-18 01:25:54 - Loading scripts in Assembly 'scriptsLCPDFR Loader.net.dll' ...
2014-01-18 01:25:54 - ...found script 'LCPDFR_Loader.Loader'!
2014-01-18 01:25:54 - ...found script 'LCPDFR_Loader.PublicScript'!
2014-01-18 01:25:54 - DONE! 2 valid scripts found!
2014-01-18 01:25:54 - STARTING SCRIPTS...
2014-01-18 01:25:54 - INFO: Phone number checks are not available!
2014-01-18 01:25:54 - ...successfully started script 'LCPDFR_Loader.PublicScript'!
2014-01-18 01:25:54 - ...successfully started script 'LCPDFR_Loader.Loader'!
2014-01-18 01:32:54 - Error during NetHook.Tick:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Scripting.NativeContext2.Invoke(SByte* name, NativeContext2* cxt)
at GTA.Native.Function.BaseCall(String Name, Parameter[] Arguments)
at GTA.Native.Function.Call(String Name, Parameter[] Arguments)
at GTA.Native.Template.Invoke()
at GTA.ScriptDomain.RemoteEvent(RemoteEventArgs ev)
at GTA.ScriptDomain.ProcessRemoteEvents()
at GTA.ScriptDomain.Tick()
at GTA.NetHook.Tick()
LCPDFR.log
[INFO - 1:25:55 AM] [Log] Started
[INFO - 1:25:55 AM] [Main] Main: Initializing...
[INFO - 1:25:55 AM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 1:25:55 AM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[INFO - 1:25:55 AM] [PluginManager] Initialize: Loading custom plugins
[WARNING - 1:25:55 AM] [Settings] ReadSettings: Invalid entry
[INFO - 1:25:55 AM] [Settings] ReadSettings: Suspect transporter POLICE
[INFO - 1:25:55 AM] [Settings] ReadSettings: Suspect transporter POLICE2
[INFO - 1:25:55 AM] [Settings] ReadSettings: Suspect transporter PSTOCKADE
[WARNING - 1:25:55 AM] [Settings] ReadSettings: Invalid entry
[WARNING - 1:25:55 AM] [SettingsFile] GetValue: Value not found: UsingPoliceStationMod (Main)
[INFO - 1:25:55 AM] [Main] Main: Initializing done
[INFO - 01:25:55] [ServerCommunication] InitializeConnection: Internet connection available
[ERROR - 01:25:56] [Stats] CollectSystemInformation: Failed to upload stats: The remote server returned an error: (404) Not Found.
[INFO - 01:26:10] [ServerCommunication] InitializeConnection: Public IP Address is: 92.18.36.22
[INFO - 01:26:10] [ServerCommunication] InitializeConnection: Connected to the LCPDFR server
[INFO - 1:26:10 AM] [NetworkManager] NetworkManager: In network session: False Is host: False
[INFO - 01:26:10] [Authentication] Authentication: Server available, using online authentication
[ERROR - 01:26:12] [Authentication] Authentication: Error 0x320
[ERROR - 01:26:12] [Authentication] Authentication: Authentication failed
[INFO - 01:26:12] [Authentication] Authentication: Failed to authenticate
[WARNING - 1:30:04 AM] [AudioHelper] Failed to find area name at X:2523.38 Y:705.38 Z:4.83
[WARNING - 1:30:14 AM] [AudioHelper] formattedStreet Algonquin_-_Dukes_Expressway
[WARNING - 1:30:14 AM] [AudioHelper] audioFilePath C:Program Files (x86)SteamsteamappscommonGrand Theft Auto IVGTAIVlcpdfrAudioPoliceScannerStreetsALGONQUIN_-_DUKES_EXPRESSWAY.wav
[WARNING - 1:30:14 AM] [AudioHelper] streetName Algonquin_-_Dukes_Expressway
[WARNING - 1:30:30 AM] [AudioHelper] formattedStreet Algonquin_-_Dukes_Expressway
[WARNING - 1:30:30 AM] [AudioHelper] audioFilePath C:Program Files (x86)SteamsteamappscommonGrand Theft Auto IVGTAIVlcpdfrAudioPoliceScannerStreetsALGONQUIN_-_DUKES_EXPRESSWAY.wav
[WARNING - 1:30:30 AM] [AudioHelper] streetName Algonquin_-_Dukes_Expressway