Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Diamond Casino Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA 6

      1. St Andrews Cathedral
    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

arinc9

[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

arinc9

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
ScriptHookHook Fix for EFLC
  • Like 9

Share this post


Link to post
Share on other sites
Kubigz

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

  • Like 1

Share this post


Link to post
Share on other sites
arinc9
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

Share this post


Link to post
Share on other sites
Kubigz
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

Share this post


Link to post
Share on other sites
arinc9
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 1

Share this post


Link to post
Share on other sites
JoeVK78

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

Share this post


Link to post
Share on other sites
Kubigz

I'm pretty sure game version doesn't matter in case of rain bug. It's just the sciripthookdotnet thing,

  • Like 1

Share this post


Link to post
Share on other sites
Kubigz

@arinc9 any news on that bug?

  • Like 1

Share this post


Link to post
Share on other sites
arinc9
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.

Share this post


Link to post
Share on other sites
Sgautam

Any one help me in scripting

Share this post


Link to post
Share on other sites
m7md22

will be there a new update to support the new version (GTA IV COMPLETE EDITION) ?

  • Like 1

Share this post


Link to post
Share on other sites
arinc9

ScriptHookHook needs to be updated before we can work on .Net ScriptHook. I'll see what I can do with @Zolika1351.

Share this post


Link to post
Share on other sites
arinc9
Posted (edited)

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

Edited by arinc9

Share this post


Link to post
Share on other sites
zanesix

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

  • Like 11

Share this post


Link to post
Share on other sites
arinc9
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
zanesix

honestly I just want my native trainer man. thats all I ask. .NET was buggy anyways so I don't really care about it.

Share this post


Link to post
Share on other sites
Ragutheone

I also think that not updating the IV scripthook is a disservice to the modding community as a whole. At this rate, we might have to resort to pirated copies, which is never a good sign.

Share this post


Link to post
Share on other sites
zanesix

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

Share this post


Link to post
Share on other sites
X80_

game doesn't start up as soon as the files enter my directory

Share this post


Link to post
Share on other sites
Quinn_flower

aw no update....l just got into modding for gtaiv  

  • Like 1

Share this post


Link to post
Share on other sites
zanesix

^ this is exactly my point. It's actively discouraging people from getting involved in the modding community.

Share this post


Link to post
Share on other sites
r34ld34l

This indeed should be updated.

  • Like 1

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
zanesix

Wow, its almost like what I said nearly a month ago ended up being 100% accurate. I must have a crystal ball or something, wild...

  • Like 2

Share this post


Link to post
Share on other sites
Ternet18

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.

Share this post


Link to post
Share on other sites
Torchwood2007
Posted (edited)
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

Share this post


Link to post
Share on other sites
zanesix

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

Share this post


Link to post
Share on other sites
Wild-Dog

Yes please. I was really hoping to try the first person mod after a long time.

Share this post


Link to post
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.


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