IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Post mod/code requests in the Mod Requests topic

Post mod releases in the Mod Showroom

Read the Modding Rules BEFORE posting!

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 ScriptHookDotNet Crashes

 Need help
 
Exxon  
Posted: Friday, May 27 2011, 15:25
Quote Post


The Obvious Child
Group Icon
Group: Members
Joined: Oct 11, 2010

nl.gif

XXXXX



Hi everyone,

I've got myself a little problem here:
Whenever I put ScriptHookDotNet.asi in the IV directory, the game crashes after showing the name of the last mission you played (LOADING - NO LOVE LOST)
In the ScriptHookDotNet.txt, I get this error
CODE
2011-05-27 17:20:04 - Initializing ScriptHookDotNet v0.893 BETA (GTA IV version 1.0.4.0)
2011-05-27 17:21:38 - Direct3D device created!

2011-05-27 17:21:40 - SEARCHING FOR SCRIPTS...
2011-05-27 17:21:40 - DONE! No DotNet script found!
2011-05-27 17:21:41 - Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
                       at unmanaged.MemoryAccess.GetPhoneNumber()
                       at GTA.NetHook.CheckPhone() at GTA.NetHook.Tick()
                       at StartupThreadC.RunTick(StartupThreadC* )


Any help?

Thanks in advance guys!

Exxon
PMMSNXbox Live
  Top
 

 
icelaglace  
Posted: Friday, May 27 2011, 15:27
Quote Post


See futures in balls
Group Icon
Group: Members
Joined: May 4, 2011

fr.gif

Member Award




QUOTE (Exxon @ May 27 2011, 15:25)
Hi everyone,

I've got myself a little problem here:
Whenever I put ScriptHookDotNet.asi in the IV directory, the game crashes after showing the name of the last mission you played (LOADING - NO LOVE LOST)
In the ScriptHookDotNet.txt, I get this error
CODE
2011-05-27 17:20:04 - Initializing ScriptHookDotNet v0.893 BETA (GTA IV version 1.0.4.0)
2011-05-27 17:21:38 - Direct3D device created!

2011-05-27 17:21:40 - SEARCHING FOR SCRIPTS...
2011-05-27 17:21:40 - DONE! No DotNet script found!
2011-05-27 17:21:41 - Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
                       at unmanaged.MemoryAccess.GetPhoneNumber()
                       at GTA.NetHook.CheckPhone() at GTA.NetHook.Tick()
                       at StartupThreadC.RunTick(StartupThreadC* )


Any help?

Thanks in advance guys!

Exxon

Use Scripthook 0.4.0, if you use the 1.0.4.0
And use the lastest ScripthookDotNet 1.7.1.7 Beta.

Users WebsitePM
  Top
 

 
Exxon  
Posted: Friday, May 27 2011, 15:47
Quote Post


The Obvious Child
Group Icon
Group: Members
Joined: Oct 11, 2010

nl.gif

XXXXX



Oke, thanks! I'll give it a try.

By the way, I already use 0.4.0.0 so I gues I'll be searching for the ScripthookDotNet 1.7.1.7 Beta.
Do you know where to get it (link please)?
PMMSNXbox Live
  Top
 

 
icelaglace  
Posted: Friday, May 27 2011, 15:53
Quote Post


See futures in balls
Group Icon
Group: Members
Joined: May 4, 2011

fr.gif

Member Award




Users WebsitePM
  Top
 

 
Exxon  
Posted: Friday, May 27 2011, 15:56
Quote Post


The Obvious Child
Group Icon
Group: Members
Joined: Oct 11, 2010

nl.gif

XXXXX



Yes, I already found it. I googled it and found that page biggrin.gif
And ... it works! Thanks for the help man!
Let's see how I can get EPM to work wink.gif
PMMSNXbox Live
  Top
 

 
Exxon  
Posted: Friday, May 27 2011, 16:14
Quote Post


The Obvious Child
Group Icon
Group: Members
Joined: Oct 11, 2010

nl.gif

XXXXX



When I put EPM in it, I get this error:
CODE
2011-05-27 18:16:41 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.4.0 with C++ Hook version 0.4.0)
2011-05-27 18:17:49 - Direct3D device created!

2011-05-27 18:17:50 - SEARCHING FOR SCRIPTS...
2011-05-27 18:17:50 - Loading scripts in Assembly 'scripts\moveDoors.net.dll' ...
2011-05-27 18:17:50 -  ...found script 'Test.EPM0'!
2011-05-27 18:17:50 -  ...found script 'Test.ButtonTest'!
2011-05-27 18:17:50 -  ...found script 'Test.EPM5'!
2011-05-27 18:17:50 -  ...found script 'Test.EPM4'!
2011-05-27 18:17:50 -  ...found script 'Test.EPM3'!
2011-05-27 18:17:50 -  ...found script 'Test.EPM2'!
2011-05-27 18:17:50 -  ...found script 'Test.EPM1'!
2011-05-27 18:17:50 - DONE! 7 valid scripts found!

2011-05-27 18:17:50 - STARTING SCRIPTS...
2011-05-27 18:17:50 - INFO: Phone number checks are not available!
2011-05-27 18:17:50 -  ...successfully started script 'Test.EPM1'!
2011-05-27 18:17:50 -  ...successfully started script 'Test.EPM2'!
2011-05-27 18:17:50 -  ...successfully started script 'Test.EPM3'!
2011-05-27 18:17:50 -  ...successfully started script 'Test.EPM4'!
2011-05-27 18:17:50 -  ...successfully started script 'Test.EPM5'!
2011-05-27 18:17:50 -  ...successfully started script 'Test.ButtonTest'!
2011-05-27 18:17:50 -  ...successfully started script 'Test.EPM0'!
2011-05-27 18:18:13 - Error during Tick in script 'Test.EPM1':
                      System.IndexOutOfRangeException: Index was outside the bounds of the array.
                         at Test.EPM1.GetLightsOnOff_Tick(Object sender, EventArgs e)
                         at System.EventHandler.Invoke(Object sender, EventArgs e)
                         at GTA.Script.TryTick()
                         at GTA.Script.DoTick()
                         at GTA.ScriptThread.OnTick()
2011-05-27 18:18:13 - Error during Tick in script 'Test.EPM2':
                      System.IndexOutOfRangeException: Index was outside the bounds of the array.
                         at Test.EPM2.GetLightsOnOff_Tick(Object sender, EventArgs e)
                         at System.EventHandler.Invoke(Object sender, EventArgs e)
                         at GTA.Script.TryTick()
                         at GTA.Script.DoTick()
                         at GTA.ScriptThread.OnTick()
2011-05-27 18:18:13 - Error during Tick in script 'Test.EPM3':
                      System.IndexOutOfRangeException: Index was outside the bounds of the array.
                         at Test.EPM3.GetLightsOnOff_Tick(Object sender, EventArgs e)
                         at System.EventHandler.Invoke(Object sender, EventArgs e)
                         at GTA.Script.TryTick()
                         at GTA.Script.DoTick()
                         at GTA.ScriptThread.OnTick()
2011-05-27 18:18:13 - Error during Tick in script 'Test.EPM4':
                      System.IndexOutOfRangeException: Index was outside the bounds of the array.
                         at Test.EPM4.GetLightsOnOff_Tick(Object sender, EventArgs e)
                         at System.EventHandler.Invoke(Object sender, EventArgs e)
                         at GTA.Script.TryTick()
                         at GTA.Script.DoTick()
                         at GTA.ScriptThread.OnTick()
2011-05-27 18:18:13 - Error during Tick in script 'Test.EPM5':
                      System.IndexOutOfRangeException: Index was outside the bounds of the array.
                         at Test.EPM5.GetLightsOnOff_Tick(Object sender, EventArgs e)
                         at System.EventHandler.Invoke(Object sender, EventArgs e)
                         at GTA.Script.TryTick()
                         at GTA.Script.DoTick()
                         at GTA.ScriptThread.OnTick()
2011-05-27 18:18:13 - Error during Tick in script 'Test.EPM0':
                      System.IndexOutOfRangeException: Index was outside the bounds of the array.
                         at Test.EPM0.GetLightsOnOff_Tick(Object sender, EventArgs e)
                         at System.EventHandler.Invoke(Object sender, EventArgs e)
                         at GTA.Script.TryTick()
                         at GTA.Script.DoTick()
                         at GTA.ScriptThread.OnTick()

???
PMMSNXbox Live
  Top
 

 
ericericeric888  
Posted: Sunday, Mar 25 2012, 09:10
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 16, 2011

XXXXX



Hi, I have the same problem with Exxon (game crash after loading into the game), I am also using game version 1.0.4.0 and Scripthook 0.4.0. I followed the instructions above , however, when I use ScripthookDotNet 1.7.1.7 Beta instead of the older version ScripthookDotNet, the game crashes immediately after I start the gta IV.exe............ cryani.gif Does anyone know what is my problem?
PM
  Top
 

 
lamar_mustapha  
Posted: Monday, Mar 26 2012, 16:52
Quote Post


Player Hater
Group Icon
Group: BUSTED!
Joined: Mar 17, 2012

XXXXX



CODE
Index was outside the bounds of the array.


the code is written poorly

This post has been edited by lamar_mustapha on Monday, Mar 26 2012, 16:56
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG