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.

LCPDFRv1.0a Crashing

Featured Replies

Hello all, 

 

Basically, I've been having consistent problems with crashing very early on in the game, like 5 minutes due to what I think is LCPDFR

 

I've uninstalled the game and been playing with just a trainer, ELSV7, vehicles.img + uniforms + weapon mods, and LCPDFR. Nothing else.

 

From what I've seen, the LCPDFR seems to be constantly missing a street name, and that's what causes the crash. There's only 2 entries in the LCPDFR log because I had to clear it out since my last reinstall, but the errors remained consistent. 

 

Hopefully somebody can see something I cannot see, I'm stuck.

 

Thanks.

-Mr.Quiggles

  • Author

Hello, can you post a screenshot of your GTA IV directory please? I think I know a fix though. 

 

Here you go, sorry if it's a little low-res. 

 

1424318_737827259561124_1015313270_n.jpg

Edited by Mr.Quiggles

-Mr.Quiggles

What was the most recent change you made to the game? Also, I see you have the freval error. The freval error was fixed for some users by doing this: Open up your LCPDFR.ini, look under "Main", it should look something like this by default:

[Main]
AdditionalCopCarModels= 
SuspectTransporterModels=POLICE;POLICE2;PSTOCKADE; 
VehicleTrunkWeapons=Shotgun_Baretta; 
AllTextMode=False 
AmbientScenariosMaximum=2 
AmbientScenariosMultiplier=250 
DepartmentName=Liberty City Police Department
DepartmentShortName=LCPD
FirstStart=True
UsingPoliceStationMod=False

Now, add to the bottom of that part

PreloadAllModels=True
The "Main" part should now look like this:

[Main]
AdditionalCopCarModels= 
SuspectTransporterModels=POLICE;POLICE2;PSTOCKADE; 
VehicleTrunkWeapons=Shotgun_Baretta; 
AllTextMode=False 
AmbientScenariosMaximum=2 
AmbientScenariosMultiplier=250 
DepartmentName=Liberty City Police Department
DepartmentShortName=LCPD
FirstStart=True
UsingPoliceStationMod=False
PreloadAllModels=True

Invenio, Investigatio, Imperium

  • Author

Hmm, I actually did have the PreloadAllModels added to true and continues to crash. I set it to false and played the game with the limited mods, still crashing.

 

This time the error was:

 

[WARNING - 1:03:14 PM] [AudioDatabase] GetAudioFileForAction: No file found for: OBSIDIAN_ST
[WARNING - 1:03:22 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist
[WARNING - 1:03:22 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist
[WARNING - 1:03:22 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist
[WARNING - 1:03:22 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist
[WARNING - 1:03:22 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist
[WARNING - 1:03:22 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist
[WARNING - 1:03:22 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist
[WARNING - 1:03:22 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist
[WARNING - 1:03:22 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist
 
It seems it can't find an audio file, and crashes because of it. Weird. 

Well I completely reinstalled the game, updated to 1070, added ELSV7, LCPDFR, brought over old configs for those files. Then added trainer, vehicles.img + handling.dat and vehicles.ide and updated componentpeds and pedprops + Peds.ide and pedpersonality. 

 

That's about it at this point. Very clean refresh. 

-Mr.Quiggles

  • Management Team

Hello,

 

don't worry about the audio, for some streets/areas there simply is none. As for the log, as long as there is no error/exception logged, your crash is not caused by LCPDFR. Maybe just another random IV crash, who knows.

 

LMS

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

  • Author

Hello,

 

don't worry about the audio, for some streets/areas there simply is none. As for the log, as long as there is no error/exception logged, your crash is not caused by LCPDFR. Maybe just another random IV crash, who knows.

 

LMS

 

Ok, thanks. I'm going to do some more definitive testing with and without the LCPDFR mod installed to see if it is the mod, as I feel it pretty much is that would cause it. There's nothing really else. 

-Mr.Quiggles

  • Management Team

Well, LCPDFR might put your system under more load given that is does claim more resources, so IV is more likely to crash. But the crash doesn't originate from a bug in LCPDFR, the logs would have revealed that. IV itself is not really stable on some systems, so I suspect that it just can't keep up after some times and crashes. Good luck with testing!

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

  • Author

Well, LCPDFR might put your system under more load given that is does claim more resources, so IV is more likely to crash. But the crash doesn't originate from a bug in LCPDFR, the logs would have revealed that. IV itself is not really stable on some systems, so I suspect that it just can't keep up after some times and crashes. Good luck with testing!

 

I did a full test of my entire GTAIV system, and crashing really only occurs when the LCPDFR mod is active and does something. Usually shortly before or after arriving at a call the game crashes.

 

LCPDFR Log

------------------------

[iNFO - 9:02:41 PM] [Log] Started

[iNFO - 9:02:41 PM] [Main] Main: Initializing...

[iNFO - 9:02:41 PM] [Main] Main: LCPDFR Engine © 2011-2013 LMS

[iNFO - 9:02:41 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.

[iNFO - 9:02:41 PM] [PluginManager] Initialize: Loading custom plugins

[WARNING - 9:02:41 PM] [settings] ReadSettings: Invalid entry 

[iNFO - 9:02:41 PM] [settings] ReadSettings: Suspect transporter POLICE

[iNFO - 9:02:41 PM] [settings] ReadSettings: Suspect transporter POLICE2

[WARNING - 9:02:41 PM] [settings] ReadSettings: Invalid entry 

[WARNING - 9:02:41 PM] [settingsFile] GetValue: Value not found: ClientPort (Networking)

[iNFO - 9:02:41 PM] [Main] Main: Initializing done

[iNFO - 9:02:41 PM] [serverCommunication] InitializeConnection: Internet connection available

[ERROR - 9:02:41 PM] [serverCommunication] GetPublicIP: Error when using local internet gateway as UPnP device: An existing connection was forcibly closed by the remote host

[iNFO - 9:02:41 PM] [stats] CollectSystemInformation: Server stats updated

[iNFO - 9:02:45 PM] [serverCommunication] InitializeConnection: Public IP Address is: 71.192.206.14

[iNFO - 9:02:46 PM] [serverCommunication] InitializeConnection: Connected to the LCPDFR server

[iNFO - 9:02:46 PM] [NetworkManager] NetworkManager: In network session: False Is host: False

[iNFO - 9:02:46 PM] [Authentication] Authentication: Server available, using online authentication

[iNFO - 9:02:46 PM] [Authentication] PerformOnlineAuthentication: Lease renewed

[iNFO - 9:02:46 PM] [Authentication] Authentication: Authentication successful

[iNFO - 9:02:46 PM] [Authentication] Authentication: Logged in as "Mr.Quiggles"

[WARNING - 9:04:21 PM] [CPlayer] Ped.Get: Local handle is not player handle. Did someone change the model from remote?

[iNFO - 9:04:21 PM] [] CPed.Get: New ped is valid

[WARNING - 9:04:51 PM] [CPlayer] Ped.Get: Local handle is not player handle. Did someone change the model from remote?

[iNFO - 9:04:51 PM] [] CPed.Get: New ped is valid

 

(About 500 of these HasVehicle Errors Later)

[WARNING - 9:07:29 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist

[WARNING - 9:07:29 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist

[WARNING - 9:07:29 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist

[WARNING - 9:07:29 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist

[WARNING - 9:07:29 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist

[WARNING - 9:07:29 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist

[WARNING - 9:07:29 PM] [TaskBeingBusted] Process: HasVehicle is true but vehicle doesn't exist

[ERROR - 9:07:29 PM] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.

[ERROR - 9:07:29 PM] [] GTA.NonExistingObjectException: Invalid call to an object that doesn't exist anymore!

   at GTA.Ped.isInVehicle()

   at freval_211.eval_fr74()

   at freval_211.fr0()

   at freval_202.fr0()

   at freval_78.eval_0.eval_fr0(Object[] A_0)

   at LCPD_First_Response.Engine.Timers.DelayedCaller.fr0()

 

 

Scripthookdotnet log

2014-02-08 21:02:39 - STARTING SCRIPTS...
2014-02-08 21:02:39 - INFO: Phone number checks are not available!
2014-02-08 21:02:40 -  ...successfully started script 'vdH.TowService'!
2014-02-08 21:02:40 -  ...successfully started script 'vdH.PHelper'!
2014-02-08 21:02:40 -  ...successfully started script 'vdH.MedicalExaminer'!
2014-02-08 21:02:40 -  ...successfully started script 'TrafficFlow.Taxi'!
2014-02-08 21:02:40 -  ...successfully started script 'LawEnforcement.WindowExapleScript'!
2014-02-08 21:02:40 -  ...successfully started script 'LawEnforcement.spotlight'!
2014-02-08 21:02:40 -  ...successfully started script 'Policing_Resist.Policing_Resist'!
2014-02-08 21:02:40 -  ...successfully started script 'Policing_Breathalyser.Policing_Breathalyser'!
2014-02-08 21:02:41 -  ...successfully started script 'trafficruleCS.lessovertake'!
2014-02-08 21:02:41 -  ...successfully started script 'LCPDFR_Loader.PublicScript'!
2014-02-08 21:02:41 -  ...successfully started script 'LCPDFR_Loader.Loader'!
2014-02-08 21:02:41 -  ...successfully started script 'indicatorClass'!
2014-02-08 21:02:41 -  ...successfully started script 'Auto_Wash.AutoWash'!
2014-02-08 21:02:41 -  ...successfully started script 'Alpr.Alpr'!
2014-02-08 21:02:44 -  ...successfully started script 'Policing.Policing'!
2014-02-08 21:07:29 - Unhandled Exception: GTA.NonExistingObjectException: Invalid call to an object that doesn't exist anymore!
                         at GTA.Ped.isInVehicle()
                         at freval_211.eval_fr74()
                         at freval_211.fr0()
                         at freval_202.fr0()
                         at freval_78.eval_0.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()
2014-02-08 21:07:29 - CRASH!
2014-02-08 21:07:29 - Unhandled Exception: System.Runtime.Serialization.SerializationException: Type 'GTA.NonExistingObjectException' in Assembly 'ScriptHookDotNet, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
                         at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
                         at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
                         at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
                         at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
                         at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm)
                         at System.AppDomain.Serialize(Object o)
                         at System.AppDomain.MarshalObject(Object o)
                      
2014-02-08 21:07:29 - CRASH!

 

I'm just so stuck on what it could be. Everything is updated, it worked well before, nothing should be interfering. 

 

Additionally, after I uninstall LCPDFR v1.0 and reinstall LCPDFR v0.95 RC2 the game functions perfectly. However, after a crash (2-5 minutes in) using v1.0 there is often no error message in the LCPDFR log. So I'm starting to think it might be an ASI script loader issue or something related. 

Edited by Mr.Quiggles

-Mr.Quiggles

  • Author

Something new I have discovered, is when I highlight the folder properties, "read-only" is set to on. But when I uncheck it and it turns the files off for read only, it doesn't work because when I check the properties again, it's still checked. 

-Mr.Quiggles

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

Similar Content

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.