Jump to content

Any activity in LCPD:FR 1.0 makes the game crashed


LtFlash
Go to solution Solved by LMS,

Recommended Posts

Basic info

 

System: Windows 7 Ultimate, DEP turned on only for services and essential programs

Game: GTA IV Box (Complete Edition) 1.0.7v without ped mods (only a couple of modded cars)

 

Libraries:

VC++ 2012 x86

VC++ 2010 x86

VC++ 2010 x64

VC++ 2008 x86

VC++ 2005

 

.NET 4.5.1

.NET 3.5.1 (Windows 7 pre-installed feature)

 

Games For Windows Live 3.5.88.0

 

DirectX Runtimes advised in other topics

 

DLL's needed by AdvancedHook.dll, checked with D.W.

 

Description

 

What DOES work:

 - forceduty,

 - callouts,

 - ambient events,

 - opening MDC,

 - backup menu (CAPS_LOCK)

 

What makes the game crashed:

 - entering a police station,

 - pressing SHIFT (performing a traffic stop),

 - interacting with peds (pressing E),

 - enabling ALPR in MDC.

 

 

All the events that are generated by the script itself work fine but every time I press E/SHIFT the game crashes with the standard message:

 

Grand Theft Auto IV has stopped working.
Problem signature:
  Problem Event Name: CLR20r3     //and some numbers with no type of the error given

LCPDFR.log

[INFO - 10:17:13 PM] [Log] Started
[INFO - 10:17:13 PM] [Main] Main: Initializing...
[INFO - 10:17:13 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 10:17:13 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[INFO - 10:17:14 PM] [PluginManager] Initialize: Loading custom plugins
[WARNING - 10:17:14 PM] [Settings] ReadSettings: Invalid entry 
[INFO - 10:17:14 PM] [Settings] ReadSettings: Suspect transporter POLICE
[INFO - 10:17:14 PM] [Settings] ReadSettings: Suspect transporter POLICE2
[INFO - 10:17:14 PM] [Settings] ReadSettings: Suspect transporter PSTOCKADE
[WARNING - 10:17:14 PM] [Settings] ReadSettings: Invalid entry 
[WARNING - 10:17:14 PM] [SettingsFile] GetValue: Value not found: UsingPoliceStationMod (Main)
[INFO - 10:17:14 PM] [Main] Main: Initializing done
[ERROR - 22:17:14] [Stats] CollectSystemInformation: Failed to upload stats: Padding is invalid and cannot be removed.
[INFO - 22:17:15] [ServerCommunication] InitializeConnection: Internet connection available
[INFO - 22:17:19] [ServerCommunication] InitializeConnection: Public IP Address is: 109.207.61.135
[WARNING - 22:17:19] [ServerCommunication] InitializeConnection: Couldn't reach server
[WARNING - 22:17:19] [ServerCommunication] InitializeConnection: Failed to connect to the LCPDFR server. Multiplayer is deactivated
[INFO - 22:17:19] [NetworkManager] NetworkManager: In network session: False Is host: False
[INFO - 22:17:19] [Authentication] Authentication: Server not available, trying to authenticate offline
[ERROR - 22:17:19] [Authentication] Authentication: Authentication failed. Couldn't reach server or no valid lease available
[INFO - 22:17:19] [Authentication] Authentication: User is in offline mode
[ERROR - 10:17:47 PM] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.
[ERROR - 10:17:47 PM] [] System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
   at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
   at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
   at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
   at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at freval_261.fr0(Byte[] A_0, String A_1)
   at freval_214.eval_fr0(EStatType A_0, Int32 A_1)
   at freval_214.eval_fr1(EStatType A_0, Int32 A_1, Vector3 A_2)
   at freval_214.eval_fr1(EStatType A_0, Int32 A_1)
   at freval_53.eval_2.eval_fr0()
   at freval_53.eval_2.eval_fr0(Object[] A_0)
   at LCPD_First_Response.Engine.Timers.DelayedCaller.fr0()
   at LCPD_First_Response.Engine.Main.fr2()

ScriptHookDotNet.log

2013-12-29 22:16:26 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.7.0 with C++ Hook version 0.5.1)
2013-12-29 22:17:12 - Direct3D device created!


2013-12-29 22:17:12 - SEARCHING FOR SCRIPTS...
2013-12-29 22:17:12 - Loading scripts in Assembly 'scriptsLCPDFR Loader.net.dll' ...
2013-12-29 22:17:12 -  ...found script 'LCPDFR_Loader.Loader'!
2013-12-29 22:17:12 -  ...found script 'LCPDFR_Loader.PublicScript'!
2013-12-29 22:17:12 - Loading scripts in Assembly 'scriptsTrafficFlow.net.dll' ...
2013-12-29 22:17:12 -  ...found script 'TrafficFlow.Taxi'!
2013-12-29 22:17:12 - Loading scripts in Assembly 'scriptsvdH_MedicalExaminer.net.dll' ...
2013-12-29 22:17:12 -  ...found script 'vdH.MedicalExaminer'!
2013-12-29 22:17:12 - Loading scripts in Assembly 'scriptsvdH_towService.net.dll' ...
2013-12-29 22:17:12 -  ...found script 'vdH.TowService'!
2013-12-29 22:17:12 - Loading dynamic scriptfile 'scriptsVehicular Injury.CS' ...
2013-12-29 22:17:13 -  ...found script 'Vehicular_Injury.Vehicular_Injury'!
2013-12-29 22:17:13 - DONE! 6 valid scripts found!


2013-12-29 22:17:13 - STARTING SCRIPTS...
2013-12-29 22:17:13 - INFO: Phone number checks are not available!
2013-12-29 22:17:13 -  ...successfully started script 'vdH.TowService'!
2013-12-29 22:17:13 -  ...successfully started script 'vdH.MedicalExaminer'!
2013-12-29 22:17:13 -  ...successfully started script 'TrafficFlow.Taxi'!
2013-12-29 22:17:13 -  ...successfully started script 'LCPDFR_Loader.PublicScript'!
2013-12-29 22:17:13 -  ...successfully started script 'LCPDFR_Loader.Loader'!
2013-12-29 22:17:13 -  ...successfully started script 'Vehicular_Injury.Vehicular_Injury'!
2013-12-29 22:17:47 - Unhandled Exception: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
                         at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
                         at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
                         at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
                         at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
                         at System.IO.Stream.Close()
                         at freval_261.fr0(Byte[] A_0, String A_1)
                         at freval_214.eval_fr0(EStatType A_0, Int32 A_1)
                         at freval_214.eval_fr1(EStatType A_0, Int32 A_1, Vector3 A_2)
                         at freval_214.eval_fr1(EStatType A_0, Int32 A_1)
                         at freval_53.eval_2.eval_fr0()
                         at freval_53.eval_2.eval_fr0(Object[] A_0)
                         at LCPD_First_Response.Engine.Timers.DelayedCaller.fr0()
                         at LCPD_First_Response.Engine.Main.fr2()
                         at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
                         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
                         at System.Threading.ThreadHelper.ThreadStart()
2013-12-29 22:17:47 - CRASH!
2013-12-29 22:17:47 - Unhandled Exception: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
                         at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
                         at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
                         at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
                         at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
                         at System.IO.Stream.Close()
                         at freval_261.fr0(Byte[] A_0, String A_1)
                         at freval_214.eval_fr0(EStatType A_0, Int32 A_1)
                         at freval_214.eval_fr1(EStatType A_0, Int32 A_1, Vector3 A_2)
                         at freval_214.eval_fr1(EStatType A_0, Int32 A_1)
                         at freval_53.eval_2.eval_fr0()
                         at freval_53.eval_2.eval_fr0(Object[] A_0)
                         at LCPD_First_Response.Engine.Timers.DelayedCaller.fr0()
                         at LCPD_First_Response.Engine.Main.fr2()
                         at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
                         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
                         at System.Threading.ThreadHelper.ThreadStart()
2013-12-29 22:17:47 - CRASH!

 

AdvancedHook.log

Log started on: 22:17:14 12-29-2013
------------------------
[INFO - 22:17:14] Gameversion - 1.0.7.0
[INFO - 22:17:14] Data unprotected
[INFO - 22:17:14] Game patched
[INFO - 22:17:14] Xlive protections disabled
[INFO - 22:17:14] AdvancedHook 0.28 (C) 2010-2013 LMS - Initialized
[INFO - 22:17:14] Permission granted for LCPDFR only
[INFO - 22:17:14] Thanks to listener, aru and #iv-modding
[INFO - 22:17:14] Attaching exception handler...
[INFO - 22:17:14] Exception handler attached
[INFO - 22:17:14] Patching game functions...
[INFO - 22:17:47] An exception occured
[INFO - 22:17:47] 
Process: 950000 


Address: 756CC41F (üR)


Code: E0434352


Registerdump - EAX: 7071E950 EBP: 7071E9A0 EBX: 5 ECX: 5 EDI: 1 EDX: 0 EIP: 756CC41F ESI: 7071EA10 ESP: 7071E950
 

ScriptHook.log

Log start: Sun Dec 29 22:16:26 2013
-----------------------------------------------
[INFO] GTA IV Script Hook 0.5.1 - (C) 2009, Aru - Initialized
[INFO] Process base address: 0xd50000
[INFO] Auto detecting game version
[INFO] Using game version 1.0.7
[INFO] Initiating: Luxart Dash Light Mod (DLM) by Lt.Caine
[INFO] (DLM) Script started: DLM V2.3-R050911
[INFO] (DLM) File - information retrieved.
[INFO] (DLM) File - CMID 13, CABBY active - dlm_cmid 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 13, X1 offset is 0.28.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 13, Y1 offset is 1.10.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 13, Z1 offset is -0.32.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 13, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 13, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 13, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 13, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 13, B rotation is type 1.
[INFO] (DLM) File - CMID 14, CAVALCADE active - dlm_cmid 2.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 14, X1 offset is 0.24.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 14, Y1 offset is 0.78.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 14, Z1 offset is -0.15.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 14, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 14, X3 offset is -0.40.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 14, Y3 offset is -2.22.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 14, Z3 offset is -0.17.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 14, B rotation is type 1.
[INFO] (DLM) File - CMID 17, COMET active - dlm_cmid 3.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 17, X1 offset is 0.20.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 17, Y1 offset is 0.58.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 17, Z1 offset is -0.43.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 17, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 17, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 17, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 17, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 17, B rotation is type 1.
[INFO] (DLM) File - CMID 20, DILETTANTE active - dlm_cmid 4.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 20, X1 offset is 0.20.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 20, Y1 offset is 0.71.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 20, Z1 offset is -0.25.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 20, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 20, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 20, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 20, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 20, B rotation is type 1.
[INFO] (DLM) File - CMID 23, EMPEROR active - dlm_cmid 5.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 23, X1 offset is 0.23.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 23, Y1 offset is 0.67.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 23, Z1 offset is -0.31.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 23, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 23, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 23, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 23, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 23, B rotation is type 1.
[INFO] (DLM) File - CMID 25, ESPERANTO active - dlm_cmid 6.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 25, X1 offset is 0.23.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 25, Y1 offset is 0.63.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 25, Z1 offset is -0.37.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 25, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 25, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 25, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 25, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 25, B rotation is type 1.
[INFO] (DLM) File - CMID 43, LANDSTALKER active - dlm_cmid 7.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 43, X1 offset is 0.24.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 43, Y1 offset is 0.93.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 43, Z1 offset is 0.09.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 43, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 43, X3 offset is -0.40.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 43, Y3 offset is -2.22.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 43, Z3 offset is 0.08.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 43, B rotation is type 1.
[INFO] (DLM) File - CMID 46, MARBELLA active - dlm_cmid 8.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 46, X1 offset is 0.23.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 46, Y1 offset is 0.58.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 46, Z1 offset is -0.31.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 46, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 46, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 46, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 46, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 46, B rotation is type 1.
[INFO] (DLM) File - CMID 47, MERIT active - dlm_cmid 9.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 47, X1 offset is 0.20.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 47, Y1 offset is 0.81.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 47, Z1 offset is -0.43.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 47, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 47, X3 offset is -0.30.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 47, Y3 offset is -0.90.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 47, Z3 offset is 0.50.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 47, B rotation is type 1.
[INFO] (DLM) File - CMID 48, MINIVAN active - dlm_cmid 10.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 48, X1 offset is 0.28.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 48, Y1 offset is 1.10.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 48, Z1 offset is -0.32.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 48, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 48, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 48, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 48, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 48, B rotation is type 1.
[INFO] (DLM) File - CMID 54, ORACLE active - dlm_cmid 11.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 54, X1 offset is 0.27.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 54, Y1 offset is 0.73.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 54, Z1 offset is -0.50.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 54, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 54, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 54, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 54, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 54, B rotation is type 1.
[INFO] (DLM) File - CMID 63, POLICE active - dlm_cmid 12.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 63, X1 offset is 0.20.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 63, Y1 offset is 0.65.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 63, Z1 offset is -0.38.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 63, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 63, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 63, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 63, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 63, B rotation is type 1.
[INFO] (DLM) File - CMID 64, POLICE2 active - dlm_cmid 13.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 64, X1 offset is 0.20.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 64, Y1 offset is 0.81.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 64, Z1 offset is -0.43.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 64, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 64, X3 offset is -0.30.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 64, Y3 offset is -0.90.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 64, Z3 offset is 0.50.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 64, B rotation is type 1.
[INFO] (DLM) File - CMID 67, PREMIER active - dlm_cmid 14.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 67, X1 offset is 0.20.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 67, Y1 offset is 0.73.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 67, Z1 offset is -0.29.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 67, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 67, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 67, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 67, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 67, B rotation is type 1.
[INFO] (DLM) File - CMID 71, RANCHER active - dlm_cmid 15.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 71, X1 offset is 0.20.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 71, Y1 offset is 0.69.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 71, Z1 offset is -0.06.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 71, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 71, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 71, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 71, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 71, B rotation is type 1.
[INFO] (DLM) File - CMID 91, TAXI active - dlm_cmid 16.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 91, X1 offset is 0.20.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 91, Y1 offset is 0.22.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 91, Z1 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 91, A rotation is type 2.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 91, X3 offset is -0.45.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 91, Y3 offset is -1.58.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 91, Z3 offset is -0.30.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 91, B rotation is type 1.
[INFO] (DLM) File - CMID 92, TAXI2 active - dlm_cmid 17.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 92, X1 offset is 0.20.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 92, Y1 offset is 0.81.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 92, Z1 offset is -0.43.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 92, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 92, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 92, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 92, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 92, B rotation is type 1.
[INFO] (DLM) File - CMID 101, WASHINGTON active - dlm_cmid 18.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 101, X1 offset is 0.23.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 101, Y1 offset is 0.67.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 101, Z1 offset is -0.31.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 101, A rotation is type 1.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 101, X3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 101, Y3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 101, Z3 offset is 0.00.
[INFO] (DLM) GetModelPropertiesFromFile - CMID 101, B rotation is type 1.
[INFO] (DLM) File - vehicle properties retrieved.
[INFO] Initiating: Luxart Emergency Lighting System (ELS) by Lt.Caine
[INFO] (ELS) Script started: ELS V7.0-R130506
[INFO] (ELS) Files - General information retrieved.
[INFO] (ELS) Files - CMID [027] 'FBI'.
[INFO]       <ACTIVE> Using data from file: 'fbi'.
[INFO]       wrn_type: halo
[INFO]       pri_type: leds
[INFO]       sec_type: drct
[INFO] (ELS) Files - CMID [052] 'NOOSE'.
[INFO]       <ACTIVE> Using data from file: 'noose'.
[INFO]       wrn_type: strb
[INFO]       pri_type: leds
[INFO]       sec_type: drct
[INFO] (ELS) Files - CMID [065] 'POLPATRIOT'.
[INFO]       <ACTIVE> Using data from file: 'polpatriot'.
[INFO]       wrn_type: halo
[INFO]       pri_type: rota
[INFO]       sec_type: drct
[INFO] (ELS) Files - CMID [070] 'PSTOCKADE'.
[INFO]       <ACTIVE> Using data from file: 'pstockade'.
[INFO]       wrn_type: halo
[INFO]       pri_type: leds
[INFO]       sec_type: leds
[INFO] (ELS) Files - CMID [133] 'POLICE3'.
[INFO]       <ACTIVE> Using data from file: 'default_config'.
[INFO]       wrn_type: halo
[INFO]       pri_type: leds
[INFO]       sec_type: leds
[INFO] (ELS) Files - Vehicle information retrieved. Detected [5] ELS-enabled models.
[INFO] [DashLightMod] Thread started
[INFO] [EmergencyLightingSystem] Thread started
[INFO] [FirstPerson] Thread started
[INFO] [CustomFiberThread] Thread started
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] [AdvScriptThread] Thread started

I checked the entries in LCPDFR.log and figured out that many of them refers to .NET framework.

http://msdn.microsoft.com/pl-pl/library/system.security.cryptography.cryptostream.flushfinalblock(v=vs.110).aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1

 

 

Error number CLR20r3 is described as caused by .NET or VC++ Redist packages. I reinstalled 4.5.1 a couple of times but it didn't help. Did the same with VC++, GFWL, LCPDFR. I'm out of ideas now, need some fresh look.

Edited by AdamP
Link to comment
Share on other sites

  • Management Team

Can you extract the file below to your root and see if it helps?

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

Link to comment
Share on other sites

It still crashes but check the logs since they changed:

 

LCPDFR.log

[INFO - 11:35:23 PM] [Log] Started
[INFO - 11:35:23 PM] [Main] Main: Initializing...
[INFO - 11:35:23 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 11:35:23 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[INFO - 11:35:23 PM] [PluginManager] Initialize: Loading custom plugins
[WARNING - 11:35:23 PM] [Settings] ReadSettings: Invalid entry 
[INFO - 11:35:23 PM] [Settings] ReadSettings: Suspect transporter POLICE
[INFO - 11:35:23 PM] [Settings] ReadSettings: Suspect transporter POLICE2
[INFO - 11:35:23 PM] [Settings] ReadSettings: Suspect transporter PSTOCKADE
[WARNING - 11:35:23 PM] [Settings] ReadSettings: Invalid entry 
[WARNING - 11:35:23 PM] [SettingsFile] GetValue: Value not found: UsingPoliceStationMod (Main)
[INFO - 11:35:23 PM] [Main] Main: Initializing done
[ERROR - 23:35:23] [Stats] CollectSystemInformation: Failed to upload stats: Specified cast is not valid.
[INFO - 23:35:24] [ServerCommunication] InitializeConnection: Internet connection available
[INFO - 23:35:28] [ServerCommunication] InitializeConnection: Public IP Address is: 109.207.61.135
[WARNING - 23:35:28] [ServerCommunication] InitializeConnection: Couldn't reach server
[WARNING - 23:35:28] [ServerCommunication] InitializeConnection: Failed to connect to the LCPDFR server. Multiplayer is deactivated
[INFO - 11:35:28 PM] [NetworkManager] NetworkManager: In network session: False Is host: False
[INFO - 23:35:28] [Authentication] Authentication: Server not available, trying to authenticate offline
[ERROR - 23:35:28] [Authentication] Authentication: Authentication failed. Couldn't reach server or no valid lease available
[INFO - 23:35:28] [Authentication] Authentication: User is in offline mode
[ERROR - 11:35:49 PM] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.
[ERROR - 11:35:49 PM] [] System.InvalidCastException: Specified cast is not valid.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementScope.InitializeGuts(Object o)
   at System.Management.ManagementScope.Initialize()
   at System.Management.ManagementObjectSearcher.Initialize()
   at System.Management.ManagementObjectSearcher.Get()
   at freval_214.eval_fr0()
   at freval_214.eval_fr0(EStatType A_0, Int32 A_1)
   at freval_214.eval_fr1(EStatType A_0, Int32 A_1, Vector3 A_2)
   at freval_214.eval_fr1(EStatType A_0, Int32 A_1)
   at freval_53.eval_2.eval_fr0()
   at freval_53.eval_2.eval_fr0(Object[] A_0)
   at LCPD_First_Response.Engine.Timers.DelayedCaller.fr0()
   at LCPD_First_Response.Engine.Main.fr2()

ScriptHookDotNet.log

2013-12-29 23:34:30 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.7.0 with C++ Hook version 0.5.1)
2013-12-29 23:35:21 - Direct3D device created!


2013-12-29 23:35:21 - SEARCHING FOR SCRIPTS...
2013-12-29 23:35:21 - Loading scripts in Assembly 'scriptsLCPDFR Loader.net.dll' ...
2013-12-29 23:35:21 -  ...found script 'LCPDFR_Loader.Loader'!
2013-12-29 23:35:21 -  ...found script 'LCPDFR_Loader.PublicScript'!
2013-12-29 23:35:21 - Loading scripts in Assembly 'scriptsTrafficFlow.net.dll' ...
2013-12-29 23:35:21 -  ...found script 'TrafficFlow.Taxi'!
2013-12-29 23:35:21 - Loading scripts in Assembly 'scriptsvdH_MedicalExaminer.net.dll' ...
2013-12-29 23:35:21 -  ...found script 'vdH.MedicalExaminer'!
2013-12-29 23:35:21 - Loading scripts in Assembly 'scriptsvdH_towService.net.dll' ...
2013-12-29 23:35:21 -  ...found script 'vdH.TowService'!
2013-12-29 23:35:21 - Loading dynamic scriptfile 'scriptsVehicular Injury.CS' ...
2013-12-29 23:35:22 -  ...found script 'Vehicular_Injury.Vehicular_Injury'!
2013-12-29 23:35:22 - DONE! 6 valid scripts found!


2013-12-29 23:35:22 - STARTING SCRIPTS...
2013-12-29 23:35:22 - INFO: Phone number checks are not available!
2013-12-29 23:35:22 -  ...successfully started script 'vdH.TowService'!
2013-12-29 23:35:22 -  ...successfully started script 'vdH.MedicalExaminer'!
2013-12-29 23:35:22 -  ...successfully started script 'TrafficFlow.Taxi'!
2013-12-29 23:35:22 -  ...successfully started script 'LCPDFR_Loader.PublicScript'!
2013-12-29 23:35:22 -  ...successfully started script 'LCPDFR_Loader.Loader'!
2013-12-29 23:35:23 -  ...successfully started script 'Vehicular_Injury.Vehicular_Injury'!
2013-12-29 23:35:49 - Unhandled Exception: System.InvalidCastException: Specified cast is not valid.
                         at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
                         at System.Management.ManagementScope.InitializeGuts(Object o)
                         at System.Management.ManagementScope.Initialize()
                         at System.Management.ManagementObjectSearcher.Initialize()
                         at System.Management.ManagementObjectSearcher.Get()
                         at freval_214.eval_fr0()
                         at freval_214.eval_fr0(EStatType A_0, Int32 A_1)
                         at freval_214.eval_fr1(EStatType A_0, Int32 A_1, Vector3 A_2)
                         at freval_214.eval_fr1(EStatType A_0, Int32 A_1)
                         at freval_53.eval_2.eval_fr0()
                         at freval_53.eval_2.eval_fr0(Object[] A_0)
                         at LCPD_First_Response.Engine.Timers.DelayedCaller.fr0()
                         at LCPD_First_Response.Engine.Main.fr2()
                         at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
                         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
                         at System.Threading.ThreadHelper.ThreadStart()
2013-12-29 23:35:49 - CRASH!
2013-12-29 23:35:49 - Unhandled Exception: System.InvalidCastException: Specified cast is not valid.
                         at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
                         at System.Management.ManagementScope.InitializeGuts(Object o)
                         at System.Management.ManagementScope.Initialize()
                         at System.Management.ManagementObjectSearcher.Initialize()
                         at System.Management.ManagementObjectSearcher.Get()
                         at freval_214.eval_fr0()
                         at freval_214.eval_fr0(EStatType A_0, Int32 A_1)
                         at freval_214.eval_fr1(EStatType A_0, Int32 A_1, Vector3 A_2)
                         at freval_214.eval_fr1(EStatType A_0, Int32 A_1)
                         at freval_53.eval_2.eval_fr0()
                         at freval_53.eval_2.eval_fr0(Object[] A_0)
                         at LCPD_First_Response.Engine.Timers.DelayedCaller.fr0()
                         at LCPD_First_Response.Engine.Main.fr2()
                         at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
                         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
                         at System.Threading.ThreadHelper.ThreadStart()
2013-12-29 23:35:49 - CRASH!

 

Link to comment
Share on other sites

  • Management Team

Okay for your knowledge, it fails when accessing name of your OS, like Vista, 7 or 8. Can you run it as admin?

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

Link to comment
Share on other sites

Everything runs with Admin's privileges: the launcher, the main *.exe, gta4Browser.exe and gtaEncoder.exe. My account has an admin status either. 

 

Also, after one execution of a backup menu I wasn't able to call it again:

 

LCPDFR.log

[INFO - 11:54:22 PM] [Log] Started
[INFO - 11:54:22 PM] [Main] Main: Initializing...
[INFO - 11:54:22 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 11:54:22 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[INFO - 11:54:22 PM] [PluginManager] Initialize: Loading custom plugins
[WARNING - 11:54:23 PM] [Settings] ReadSettings: Invalid entry 
[INFO - 11:54:23 PM] [Settings] ReadSettings: Suspect transporter POLICE
[INFO - 11:54:23 PM] [Settings] ReadSettings: Suspect transporter POLICE2
[INFO - 11:54:23 PM] [Settings] ReadSettings: Suspect transporter PSTOCKADE
[WARNING - 11:54:23 PM] [Settings] ReadSettings: Invalid entry 
[WARNING - 11:54:23 PM] [SettingsFile] GetValue: Value not found: UsingPoliceStationMod (Main)
[INFO - 11:54:23 PM] [Main] Main: Initializing done
[ERROR - 23:54:23] [Stats] CollectSystemInformation: Failed to upload stats: Specified cast is not valid.
[INFO - 23:54:23] [ServerCommunication] InitializeConnection: Internet connection available
[INFO - 23:54:28] [ServerCommunication] InitializeConnection: Public IP Address is: 109.207.61.135
[WARNING - 23:54:28] [ServerCommunication] InitializeConnection: Couldn't reach server
[WARNING - 23:54:28] [ServerCommunication] InitializeConnection: Failed to connect to the LCPDFR server. Multiplayer is deactivated
[INFO - 11:54:28 PM] [NetworkManager] NetworkManager: In network session: False Is host: False
[INFO - 23:54:28] [Authentication] Authentication: Server not available, trying to authenticate offline
[ERROR - 23:54:28] [Authentication] Authentication: Authentication failed. Couldn't reach server or no valid lease available
[INFO - 23:54:28] [Authentication] Authentication: User is in offline mode
[ERROR - 11:54:47 PM] [] Error while processing script: QuickActionMenu: Specified cast is not valid.   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementScope.InitializeGuts(Object o)
   at System.Management.ManagementScope.Initialize()
   at System.Management.ManagementObjectSearcher.Initialize()
   at System.Management.ManagementObjectSearcher.Get()
   at freval_214.eval_fr0()
   at freval_214.eval_fr0(EStatType A_0, Int32 A_1)
   at freval_214.eval_fr1(EStatType A_0, Int32 A_1, Vector3 A_2)
   at freval_214.eval_fr1(EStatType A_0, Int32 A_1)
   at freval_299.Process()
   at LCPD_First_Response.Engine.Scripting.Plugins.ScriptManager.Process()
[ERROR - 11:55:22 PM] [] Error while processing script: FastWalk: Specified cast is not valid.   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementScope.InitializeGuts(Object o)
   at System.Management.ManagementScope.Initialize()
   at System.Management.ManagementObjectSearcher.Initialize()
   at System.Management.ManagementObjectSearcher.Get()
   at freval_214.eval_fr0()
   at freval_214.eval_fr0(EStatType A_0, Int32 A_1)
   at freval_214.eval_fr1(EStatType A_0, Int32 A_1, Vector3 A_2)
   at freval_214.eval_fr1(EStatType A_0, Int32 A_1)
   at freval_28.Process()
   at LCPD_First_Response.Engine.Scripting.Plugins.ScriptManager.Process()
[ERROR - 11:55:28 PM] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.
[ERROR - 11:55:28 PM] [] System.InvalidCastException: Specified cast is not valid.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementScope.InitializeGuts(Object o)
   at System.Management.ManagementScope.Initialize()
   at System.Management.ManagementObjectSearcher.Initialize()
   at System.Management.ManagementObjectSearcher.Get()
   at freval_214.eval_fr0()
   at freval_214.eval_fr0(EStatType A_0, Int32 A_1)
   at freval_214.eval_fr1(EStatType A_0, Int32 A_1, Vector3 A_2)
   at freval_214.eval_fr1(EStatType A_0, Int32 A_1)
   at freval_53.eval_2.eval_fr0()
   at freval_53.eval_2.eval_fr0(Object[] A_0)
   at LCPD_First_Response.Engine.Timers.DelayedCaller.fr0()
   at LCPD_First_Response.Engine.Main.fr2()

 

Edited by AdamP
Link to comment
Share on other sites

  • Management Team
  • Solution

Yeah, it tries to update the stats and wants to read your OS name, but fails. This will happen for almost any action. We will fix that.

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

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