Jump to content

Help with Error during NetHook.Tick related crash!


113Alex

Recommended Posts

Hi evrybody! I was playing with lcpdfr and when i called an air support (Alt+V) the game crashed to desktop.

 

I have installed: 

  • 2 Nypd Cars (CVPI & Chev Impala)
  • The lastes version of LCPD:FR
  • Policing Script 
  • Traffic Flow script
  • vdH Police Helper
  • vdH Medical Examiner
  • Enb 
  • Els v7

 

I also use an xlive.dll for the savegames.

 

This is the G17 Diagnostic Tool Dump:

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

BEGIN *SIGNED* LCPD First Response Issue Report
Diagnostics Tool Version: 0.4.3
Operating system: Windows7 Ultimate (6.1.1.0 Build: 7601) Service Pack:Service Pack 1
System RAM (GB): 7,97
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: True
GTA IV - Asi loader: XLiveLess
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-12-21 22:01:59 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)
2013-12-21 22:02:56 - Direct3D device created!
 
2013-12-21 22:02:56 - SEARCHING FOR SCRIPTS...
2013-12-21 22:02:56 - Loading scripts in Assembly 'scriptsFirstResponse.net.dll' ...
2013-12-21 22:02:56 -  ...found script 'FirstResponse.Main.EmergencyLights'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.Main.Start'!
2013-12-21 22:02:56 -  ...found script 'CSharp.Engine.Core'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.Debugging'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.DeletionList'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.Hardcore'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.TextDraw'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCMD.Main'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCMD.Functions'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.Carboot'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.Disarm'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.Frisk'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.PullOver'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.Actions'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.Debug'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.Flashlight'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.Functions'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.Partner'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.inputSimulator'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.Start'!
2013-12-21 22:02:56 -  ...found script 'FirstResponse.LCPD.Various'!
2013-12-21 22:02:56 - Loading scripts in Assembly 'scriptsPolicing.net.dll' ...
2013-12-21 22:02:56 -  ...found script 'Policing.Policing'!
2013-12-21 22:02:56 -  ...found script 'Policing_Breathalyser.Policing_Breathalyser'!
2013-12-21 22:02:56 -  ...found script 'Policing_Resist.Policing_Resist'!
2013-12-21 22:02:56 - Loading scripts in Assembly 'scriptsTrafficFlow.net.dll' ...
2013-12-21 22:02:56 -  ...found script 'TrafficFlow.Taxi'!
2013-12-21 22:02:56 - Loading scripts in Assembly 'scriptsvdH_MedicalExaminer.net.dll' ...
2013-12-21 22:02:56 -  ...found script 'vdH.MedicalExaminer'!
2013-12-21 22:02:56 - Loading scripts in Assembly 'scriptsvdH_PoliceHelper.net.dll' ...
2013-12-21 22:02:56 -  ...found script 'vdH.PHelper'!
2013-12-21 22:02:56 - DONE! 27 valid scripts found!
 
2013-12-21 22:02:56 - STARTING SCRIPTS...
2013-12-21 22:02:56 - 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-12-21 22:03:12 -  ...successfully started script 'vdH.PHelper'!
2013-12-21 22:03:12 -  ...successfully started script 'vdH.MedicalExaminer'!
2013-12-21 22:03:12 -  ...successfully started script 'TrafficFlow.Taxi'!
2013-12-21 22:03:12 -  ...successfully started script 'Policing_Resist.Policing_Resist'!
2013-12-21 22:03:12 -  ...successfully started script 'Policing_Breathalyser.Policing_Breathalyser'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.Various'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.Start'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.inputSimulator'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.Partner'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.Functions'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.Flashlight'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.Debug'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.Actions'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.PullOver'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.Frisk'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.Disarm'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCPD.Carboot'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCMD.Functions'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.LCMD.Main'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.TextDraw'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.Hardcore'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.DeletionList'!
2013-12-21 22:03:12 -  ...successfully started script 'FirstResponse.Debugging'!
2013-12-21 22:03:13 -  ...successfully started script 'CSharp.Engine.Core'!
2013-12-21 22:03:13 -  ...successfully started script 'FirstResponse.Main.Start'!
2013-12-21 22:03:13 -  ...successfully started script 'FirstResponse.Main.EmergencyLights'!
2013-12-21 22:03:15 -  ...successfully started script 'Policing.Policing'!
2013-12-21 22:15:38 - Error during NetHook.Tick:
                      System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
                         at unmanaged.NativeContext3.Invoke(Int32 nameptr, Byte[] args, Int32 argnum, NativeContext3* cxt)
                         at GTA.ScriptDomain.RemoteEvent(RemoteEventArgs ev)
                         at GTA.ScriptDomain.ProcessRemoteEvents()
                         at GTA.ScriptDomain.Tick()
                         at GTA.NetHook.Tick()
 
===============END .NET SCRIPTHOOK LOG===============
End of *SIGNED* LCPD First Response Issue Report
Digital signature: z8cGaLC0RfwvMUT9zJcakA==
 
Thanks to evrybody for the help!  :thumbsup:
 

 

Edited by 113Alex
Link to comment
Share on other sites

  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

It's a little buggy that function, best to avoid it on some systems. Legal copy of the game? 

Thanks for the fast reply! 

Yep it's the retail version.

In which kind of systems is best to avoid?

Oh I was forgetting: I was not in pursuit.

Link to comment
Share on other sites

If you spend some time on here, you'll learn I am everywhere in an instant :p

Good btw :) 

 

That script is causing issues on some system since it's in beta (I believe). Are you running the game as administrator? 

 

 

Invenio, Investigatio, Imperium

Link to comment
Share on other sites

If you spend some time on here, you'll learn I am everywhere in an instant :p

Good btw :) 

 

That script is causing issues on some system since it's in beta (I believe). Are you running the game as administrator? 

 

Ahahahah!

Btw yes i run the game as admin and i've disabled the uac.

Link to comment
Share on other sites

Does it crash immediatly when using that kind of backup? 

 

Yes instantly to desktop. Really i never use this backup but i have perfomed a mistake configuring the .ini of the policing script, i have assigned Alt+V to a function of this script...

Link to comment
Share on other sites

Then that may be your issue. Did you make backups? If so, revert the changes to default. If no: Redownload and reinstall LCPDFR

Yep all backups are maked! I'll revert every changes! Thank a lot man!! 

This post can be closed.

Link to comment
Share on other sites

Not so fast, we want to make sure it works before a closure is proper ;) 

 

I've tried a while and seems work but i get a problem.:) But when i recive callouts like shots fired or gang activities there arent police car on scene, i only see cop coming from the sky.. What happened?! 

Link to comment
Share on other sites

It could be that your game doesn't load the world models fast enough. Could you try creating a file called "commandline.txt" in your GTA IV directory and enter the following lines:

-novblank -norestrictions -percentvidmem 100 -novsync -frameLimit 0 -nomemrestrict
If that doesn't work, use this instead (replace all contents with this). 

-renderquality 0 -shadowdensity 0 -texturequality 0 -viewdistance 0 -detailquality 0 -novblank -norestrictions -percentvidmem 100 -minspecaudio -novsync -renderquality 0 -frameLimit 0 -nomemrestrict
Edited by ineseri

Invenio, Investigatio, Imperium

Link to comment
Share on other sites

It could be that your game doesn't load the world models fast enough. Could you try creating a file called "commandline.txt" in your GTA IV directory and enter the following lines:

-novblank -norestrictions -percentvidmem 100 -novsync -frameLimit 0 -nomemrestrict
If that doesn't work, use this instead (replace all contents with this). 

-renderquality 0 -shadowdensity 0 -texturequality 0 -viewdistance 0 -detailquality 0 -novblank -norestrictions -percentvidmem 100 -minspecaudio -novsync -renderquality 0 -frameLimit 0 -nomemrestrict

 

This is my commandline.txt 

 

-availablevidmem 2.0
-norestrictions
-nomemrestrict
-novblank
-frameLimit 0 

I've tried your second commandline only and seems to resolve the problem. But it looks very bad.

Can you help me to configure a commandline for my pc?

 

CPU: Amd fx 8120 8cores

GPU: Amd Radeon HD 7970 3gb

Ram 8Gb 

 HDD: 1 Tb WD Caviar Black

Link to comment
Share on other sites

It's the point of the last one, it forces the game to minimum settings. I would suggest removing your ENB and see if the issue still persists. If yes: Remove the added cars and replace them with less-polygon heavy models.

 

I use already low-poly models, i see the problems only in the callout for a shotout in south-bohan. I've tried various shotout's call in the map and they work fine. Ex In westdyke. 

Link to comment
Share on other sites

I would suggest reinstalling LCPDFR, or if that does not work: Reinstall GTA IV and try the mods one by one (starting the game with just LCPDFR, check, install another mod, check and so on...).

Because of christmas I won't be able to reply for a while, good luck and merry christmas to you :)

Invenio, Investigatio, Imperium

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