Jump to content

Script Errors Go Into What Log?


Lanzfeld

Recommended Posts

While I test play LCPDFR 95RC every now and again I get a script error. It will say in the upper left corner of the screen what script failed like "pullover script" or whatever. I can never write it down fast enough but is there a file it dumps this info to so I can paste it here to maybe get some help troubleshooting? There is a real strange one: "Object ref not set to an instant" or something that baffels me.

Anyway...what log do you guys like to see to troubleshoot?

Link to comment
Share on other sites

Okay here is my scripthookdotnet.log:

2011-11-23 16:13:31 - STARTING SCRIPTS...

2011-11-23 16:13:31 - 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()

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.Various'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.Start'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.inputSimulator'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.Partner'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.Functions'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.Flashlight'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.Debug'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.Actions'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.PullOver'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.Frisk'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.Disarm'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCPD.Carboot'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCMD.Functions'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.LCMD.Main'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.TextDraw'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.Hardcore'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.DeletionList'!

2011-11-23 16:13:31 - ...successfully started script 'FirstResponse.Debugging'!

2011-11-23 16:13:31 - ...successfully started script 'CSharp.Engine.Core'!

2011-11-23 16:13:32 - ...successfully started script 'FirstResponse.Main.Start'!

2011-11-23 16:13:32 - ...successfully started script 'FirstResponse.Main.EmergencyLights'!

2011-11-23 16:52:17 - Error during Tick in script 'FirstResponse.LCPD.PullOver':

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at Scripting.?A0xf88de8d2.GetOffsetFromCharInWorldCoords(Int32 , Single , Single , Single , Single* , Single* , Single* )

at FirstResponse.LCPD.PullOver.eval_LCPDFR-0(Object A_0, EventArgs A_1)

at GTA.Script.TryTick()

at GTA.Script.DoTick()

at GTA.ScriptThread.OnTick()

2011-11-23 16:52:17 - 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()

2011-11-23 16:54:51 - SCRIPTS TERMINATED!

I am getting this pullover fail. Any ideas?

Link to comment
Share on other sites

  • Community Team

Its saying that possibly your memory is corrupt, Did you run the mod installer as admin?

Help us, help you!

  • Report Rule Breakers and other issues you see!

-JAM, Community Team Moderator.

Link to comment
Share on other sites

You need to run the installer and the GTA IV launcher exe (launchGTAIV.exe) as an admin. Right click --> properties --> compatibility --> always run as admin. Would be wise to do this for gtaIV.exe as well.

Edited by Iconography

de816a4fa5.png

Link to comment
Share on other sites

2011-11-26 20:49:21 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)

2011-11-26 20:51:55 - Direct3D device created!

2011-11-26 20:51:55 - SEARCHING FOR SCRIPTS...

2011-11-26 20:51:56 - Loading scripts in Assembly 'scriptsFirstResponse.net.dll' ...

2011-11-26 20:51:56 - ...found script 'FirstResponse.Main.EmergencyLights'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.Main.Start'!

2011-11-26 20:51:56 - ...found script 'CSharp.Engine.Core'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.Debugging'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.DeletionList'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.Hardcore'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.TextDraw'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCMD.Main'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCMD.Functions'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.Carboot'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.Disarm'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.Frisk'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.PullOver'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.Actions'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.Debug'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.Flashlight'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.Functions'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.Partner'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.inputSimulator'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.Start'!

2011-11-26 20:51:56 - ...found script 'FirstResponse.LCPD.Various'!

2011-11-26 20:51:56 - Loading scripts in Assembly 'scriptsindicator.net.dll' ...

2011-11-26 20:51:56 - ...found script 'indicatorClass'!

2011-11-26 20:51:56 - DONE! 22 valid scripts found!

2011-11-26 20:51:56 - STARTING SCRIPTS...

2011-11-26 20:51: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()

2011-11-26 20:51:56 - ...successfully started script 'indicatorClass'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.Various'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.Start'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.inputSimulator'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.Partner'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.Functions'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.Flashlight'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.Debug'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.Actions'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.PullOver'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.Frisk'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.Disarm'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCPD.Carboot'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCMD.Functions'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.LCMD.Main'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.TextDraw'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.Hardcore'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.DeletionList'!

2011-11-26 20:51:56 - ...successfully started script 'FirstResponse.Debugging'!

2011-11-26 20:51:56 - ...successfully started script 'CSharp.Engine.Core'!

2011-11-26 20:51:57 - ...successfully started script 'FirstResponse.Main.Start'!

2011-11-26 20:51:57 - ...successfully started script 'FirstResponse.Main.EmergencyLights'!

2011-11-26 20:58:59 - Error during Tick in script 'FirstResponse.LCPD.PullOver':

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at AdvancedHookManaged.AVehicle.SetHeliSearchlightTargetPed(APed ped)

at CSharp.LCPDFR.Scripts.Pursuit.StartChase(Ped suspect1, Ped suspect2, Vehicle suspectVehicle, Vector3 startPos, Boolean noSecondSuspect, Boolean isWorldEvent)

at FirstResponse.LCPD.PullOver.eval_LCPDFR-0(Object A_0, EventArgs A_1)

at GTA.Script.TryTick()

at GTA.Script.DoTick()

at GTA.ScriptThread.OnTick()

2011-11-26 20:58:59 - 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()

2011-11-26 20:59:54 - Direct3D device lost!

2011-11-26 20:59:54 - SCRIPTS TERMINATED!

Link to comment
Share on other sites

I re-installed as admin, and ran gta as admin, at the first car i pulled over i got an error, something with main start or so

here's the log file:

2011-11-26 21:15:00 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)

2011-11-26 21:16:00 - Direct3D device created!

2011-11-26 21:16:00 - SEARCHING FOR SCRIPTS...

2011-11-26 21:16:00 - Loading scripts in Assembly 'scripts\FirstResponse.net.dll' ...

2011-11-26 21:16:00 - ...found script 'FirstResponse.Main.EmergencyLights'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.Main.Start'!

2011-11-26 21:16:00 - ...found script 'CSharp.Engine.Core'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.Debugging'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.DeletionList'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.Hardcore'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.TextDraw'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCMD.Main'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCMD.Functions'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCPD.Carboot'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCPD.Disarm'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCPD.Frisk'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCPD.PullOver'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCPD.Actions'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCPD.Debug'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCPD.Flashlight'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCPD.Functions'!

2011-11-26 21:16:00 - ...found script 'FirstResponse.LCPD.Partner'!

2011-11-26 21:16:01 - ...found script 'FirstResponse.LCPD.inputSimulator'!

2011-11-26 21:16:01 - ...found script 'FirstResponse.LCPD.Start'!

2011-11-26 21:16:01 - ...found script 'FirstResponse.LCPD.Various'!

2011-11-26 21:16:01 - Loading scripts in Assembly 'scripts\indicator.net.dll' ...

2011-11-26 21:16:01 - ...found script 'indicatorClass'!

2011-11-26 21:16:01 - DONE! 22 valid scripts found!

2011-11-26 21:16:01 - STARTING SCRIPTS...

2011-11-26 21:16:01 - 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()

2011-11-26 21:16:01 - ...successfully started script 'indicatorClass'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.Various'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.Start'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.inputSimulator'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.Partner'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.Functions'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.Flashlight'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.Debug'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.Actions'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.PullOver'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.Frisk'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.Disarm'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCPD.Carboot'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCMD.Functions'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.LCMD.Main'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.TextDraw'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.Hardcore'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.DeletionList'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.Debugging'!

2011-11-26 21:16:01 - ...successfully started script 'CSharp.Engine.Core'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.Main.Start'!

2011-11-26 21:16:01 - ...successfully started script 'FirstResponse.Main.EmergencyLights'!

2011-11-26 21:18:51 - Error during Tick in script 'FirstResponse.Main.Start':

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at AdvancedHookManaged.AVehicle.SetHeliSearchlightTargetPed(APed ped)

at CSharp.LCPDFR.Scripts.Pursuit.StartChase(Ped suspect1, Ped suspect2, Vehicle suspectVehicle, Vector3 startPos, Boolean noSecondSuspect, Boolean isWorldEvent)

at FirstResponse.LCPD.PullOver.Pull()

at GTA.Script.ProcessBoundKey(Keys Key)

at GTA.Script.ProcessEvents()

at GTA.Script.DoTick()

at GTA.ScriptThread.OnTick()

2011-11-26 21:18:51 - 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()

2011-11-26 21:20:53 - Direct3D device lost!

2011-11-26 21:20:54 - SCRIPTS TERMINATED!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...