Jump to content

[RELEASE] GTAIV .Net ScriptHook v1.7.1.8 - Support for GTA IV 1.0.8.0 and EFLC 1.1.3.0 - by arinc9 & Zolika1351


Recommended Posts

by Hazard, arinc9 and Zolika1351
based on the GTAIV C++ Script Hook from Aru
Classes Vector2, Vector3, Vector4, Quaternion and Matrix based on sourcecode from SlimDX

 

Thanks to Zolika1351 for fixing ScriptHookHook for EFLC and providing offsets for the latest version of GTA IV and EFLC.
All credits go to Hazard ([email protected] / twitter.com/HazardX) as author of the original GTAIV .Net Script Hook.

 

 

- DOWNLOAD the GTAIV .Net Script Hook for GTA IV

 

- DOWNLOAD the GTAIV .Net Script Hook for EFLC

 

Here's the full C++/CLI sourcecode of the GTAIV .Net Script Hook with the latest changes.

 

 

Max. supported game versions
GTA IV 1.0.8.0
EFLC 1.1.3.0

 

 

Description


This ASI plugin allows you to run ingame GTAIV scripts written in any .Net language. Those languages are easy to learn and use, while they are still extremely powerful.

One noteable aspect of this hook is, that the scripting functions are organized in a .Net-typical class structure, which makes finding functions intuitive and easy.

And since you are able to develop scripts with Visual Studio, you'll get all benefits like code highlighting and IntelliSense.

 

You need an AsiLoader to use this plugin in GTAIV. See the Requirements section below for more info.

 

Special thanks to Aru for his help and for his C++ Script Hook. This plugin wouldn't be possible without it.

 


Changelog


Version 1.7.1.8 BETA:
- Added support for GTA IV version 1.0.8.0 and EFLC version 1.1.3.0

 

 

Compiling and Developing ScriptHookDotNet


For developers who'd like to work on ScriptHookDotNet, you can follow these steps below to create your own virtual developing environment.


- Install Windows 7 on VirtualBox
- Get DirectX March 2008 SDK
- Get Visual Studio 2010 Professional (You need to login to download the web installer.)
- Get Microsoft Windows SDK for Windows 7 and .NET Framework 4
- Set up a system variable in virtual machine named "DXSDK_2008-03" containing the full path to the installation folder of the SDK. Make sure to include a final backslash ( \ ) at the end of the path.

 

Edited by arinc9
Update download links
30 minutes ago, Kubigz said:

Great! Unfortunately, ScriptHookDotNet is causing that stupid interior rain bug, You think you could fix that?

Does it still happen on the latest patch? Could you give more details about the bug, how and when does it happen?

Edited by arinc9
1 hour ago, arinc9 said:

Does it still happen on the latest patch? Could you give more details about the bug, how and when does it happen?

No, I'm using 1.0.7.0. I was thinking that your SciptHook might have fixed that.

What does it look like? Set Rainy weather, go to any interior (best to see is Middle Park safehouse). You will notice rain still dropping inside. Other than that, rain splashes on the surfaces (cars, streets) are missing. It's happening everytime it's raining in the game.

And never, when ScriptHookDotNet is absent.

Edited by Kubigz
  • Like 1
4 hours ago, Kubigz said:

No, I'm using 1.0.7.0. I was thinking that your SciptHook might have fixed that.

What does it look like? Set Rainy weather, go to any interior (best to see is Middle Park safehouse). You will notice rain still dropping inside. Other than that, rain splashes on the surfaces (cars, streets) are missing. It's happening everytime it's raining in the game.

And never, when ScriptHookDotNet is absent.

I've only updated the project to work with the latest game version. I'll see if I can reproduce the issue on the latest version.

  • Like 2

The rain bug is annoying AF to me, which is why I stopped using it. It's really a minor thing, I know, but it aggravated my OCD enough that I removed it and every mod that used it.
I don't remember it happening on other patches, as I've never used the .net scripthook on any other patch. But it is just like Kubigz said. The raindrop splashes when they hit cars and other objects (street, buildings, props, etc) disappeared, and raindrops falling appeared everywhere, indoors or out (even in subway tunnels).

  • Like 2
  • 3 weeks later...
On 2/18/2020 at 8:25 PM, Kubigz said:

@arinc9 any news on that bug?

I have lost my interest over the issue. Mainly because I don’t know .NET and coding in general. You’ll have to get help from someone who actually knows a thing or two about .NET.

  • 2 weeks later...

We don't plan on updating ScriptHookHook nor .Net ScriptHook for Complete Edition for the reasons below:

- No MP

- DRM

- No commandline options, have to use launch options to set stuff

- Have to launch through steam

- d3d reset error for the tiniest things

- The code is completely different, can barely find the same function

These notes are from Zolika themselves.

Edited by arinc9
Remove the annoying last part
  • Like 1

@arinc9 This is a bad decision. The newest patch should always be supported in some capacity, especially when there is no reliable way to downgrade as of now while still having access to the complete edition. Assuming Rockstar actually does follow through in adding back the EFLC exclusive radio stations, it will be the ONLY truly complete version. Not supporting the latest version of the game will only further hurt the modding community in the long run. Look at GTA V. Have they released garbage updates? Of course, some even worse than this GTA IV update. But do people still support it? Of course, and the modding community is still active because of that. Forcing everyone to downgrade is not ideal, and for some people is IMPOSSIBLE now because Rockstar blocked off access to the old EFLC on Steam.

 

Please reconsider. You'll be doing a great service. I'm sure there would be people willing to donate for this to happen including myself.

13 hours ago, zanesix said:

@arinc9 This is a bad decision. The newest patch should always be supported in some capacity, especially when there is no reliable way to downgrade as of now while still having access to the complete edition. Assuming Rockstar actually does follow through in adding back the EFLC exclusive radio stations, it will be the ONLY truly complete version. Not supporting the latest version of the game will only further hurt the modding community in the long run. Look at GTA V. Have they released garbage updates? Of course, some even worse than this GTA IV update. But do people still support it? Of course, and the modding community is still active because of that. Forcing everyone to downgrade is not ideal, and for some people is IMPOSSIBLE now because Rockstar blocked off access to the old EFLC on Steam.

 

Please reconsider. You'll be doing a great service. I'm sure there would be people willing to donate for this to happen including myself.

TBH, I agree with you. I’m ready to do my part in the first place. However, it’s @Zolika1351 who finds the offsets for the game. They’re the one who needs convincing. I’ll ask them one more time with your thoughts.

  • Like 3
N3CR0M4NC3R

+1 for a return to support if possible,
For now seen as my steam version has updated to that "completer" version i've had to resort back to a disc copy of 4 standalone (no eflc) i bought years ago at launch to be able to do anything remotely with the game,

 

I'd also happily donate towards a potential fix or script that just allows the basics back into this version

One thing they also could do instead because the CE edition is buggier is just create a universal downgrader. Just like that radio downgrader except it downgrades the entire game to patch 8 w/ dlc

  • Like 3
Marcus101RR
On 3/29/2020 at 8:02 AM, arinc9 said:

We don't plan on updating ScriptHookHook nor .Net ScriptHook for Complete Edition for the reasons below:

- No MP

- DRM

- No commandline options, have to use launch options to set stuff

- Have to launch through steam

- d3d reset error for the tiniest things

- The code is completely different, can barely find the same function

These notes are from Zolika themselves.

 

We're sorry.

- Tony Hayward

 

- No MP? Bloodyhell, the people over at GTA5 are updating theirs and its online MP. What an excuse!

- DRM? Again GTA5 has DRM, LEL

- Since when did this game ever need a god damn commandline? This isn't an FPS game.

- Don't buy the steam copy? Literally GTA5 again.

- ???

- Then let someone else do it, if you don't have the skills just admit it. Don't make excuses kek.

 

So in laymans terms. GTA4 is dead forever, as it should be anyway, Rockstar killed the game long before script hook died in its hole. The removal of the songs and everything else made the game meh. No scripthook? No reason for me to play.

 

Back to GTA5 and RDR2.

  • Like 2

Come on, just make it work enough to run a trainer or smt, people who mod seriously will know how to downgrade and people who are just getting into it will be drawn away if it stays like this. :(

And if someone else with at least some experience could make it work then go for it, there is a bunch that would appreciate such effort.

Torchwood2007
On 4/21/2020 at 8:41 PM, Marcus101RR said:

 

- No MP? Bloodyhell, the people over at GTA5 are updating theirs and its online MP. What an excuse!

- DRM? Again GTA5 has DRM, LEL

- Since when did this game ever need a god damn commandline? This isn't an FPS game.

- Don't buy the steam copy? Literally GTA5 again.

- ???

- Then let someone else do it, if you don't have the skills just admit it. Don't make excuses kek.

 

So in laymans terms. GTA4 is dead forever, as it should be anyway, Rockstar killed the game long before script hook died in its hole. The removal of the songs and everything else made the game meh. No scripthook? No reason for me to play.

 

Back to GTA5 and RDR2.

Except GTA%5 no longer works because of its recent update. looks like the GTA modding community is 100%F*CKED

Edited by Torchwood2007

@Torchwood2007 You're reading old news then. The GTA 5 scripthook is currently updated to work with the newest version, and if not it takes a week and a half at most for it to be updated.

  • 2 weeks later...
  • 5 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.