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. Los Santos Tuners
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

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

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

      1. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

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

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

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

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. 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. Design Your Own Mission
      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
    1. Announcements

      1. GTANet 20th Anniversary
    2. Support

    3. Suggestions

C++ Script Hook


aru
 Share

Recommended Posts

Unable to load model

Link to post
Share on other sites

Unable to load model

Oh yes, you need to do some work-around I believe, it cannot load models in the latest version, so they need to be loaded by the game, to get around the issue, downgrade to 1.07. :)

Link to post
Share on other sites

 

Unable to load model

Oh yes, you need to do some work-around I believe, it cannot load models in the latest version, so they need to be loaded by the game, to get around the issue, downgrade to 1.07. :)

 

Actually, it's a bit unstable but you can load models by using CREATE_OBJECT and deleting it afterwards.

Link to post
Share on other sites

 

 

Unable to load model

Oh yes, you need to do some work-around I believe, it cannot load models in the latest version, so they need to be loaded by the game, to get around the issue, downgrade to 1.07. :)

 

Actually, it's a bit unstable but you can load models by using CREATE_OBJECT and deleting it afterwards.

 

 

? But to create an object, one needs to also load the model ? And I believed the request_model native does not work ? I have GTAIV + TLAD and TBOGT as DLC on 1.0.7.0 and no way I am going to update that one :)

Link to post
Share on other sites

 

 

 

Unable to load model

Oh yes, you need to do some work-around I believe, it cannot load models in the latest version, so they need to be loaded by the game, to get around the issue, downgrade to 1.07. :)

 

Actually, it's a bit unstable but you can load models by using CREATE_OBJECT and deleting it afterwards.

 

 

? But to create an object, one needs to also load the model ? And I believed the request_model native does not work ? I have GTAIV + TLAD and TBOGT as DLC on 1.0.7.0 and no way I am going to update that one :)

 

About 75% of the time, CREATE_OBJECT loads the model by itself without using REQUEST_MODEL. I have no idea why, but it works. I used it for old .asi versions of my menu.

Edited by Zolika1351
Link to post
Share on other sites

  • 1 month later...

Apparently, someone did fix scripthook completely, but nobody knew about it. A friend got the link from FiveM devs, he then gave it to me to test it, and it spawned all cars and player models without any issues whatsoever. GET IT HERE.

 

Edit: EFLC seems to refuse to start for me with the fixed scripthook and snt at the same time.

Edit 2: Yeah, this only appears to work for IV, but not EFLC.

Edited by B Dawg
  • Like 3
Link to post
Share on other sites

(Japan) GTA Love

Apparently, someone did fix scripthook completely, but nobody knew about it. A friend got the link from FiveM devs, he then gave it to me to test it, and it spawned all cars and player models without any issues whatsoever. GET IT HERE.

 

Edit: EFLC seems to refuse to start for me with the fixed scripthook and snt at the same time.

Edit 2: Yeah, this only appears to work for IV, but not EFLC.

 

Thanks!! !Ihook to Delete (EFLC Work Please)

Edited by (Japan) GTA Love
Link to post
Share on other sites

Edit: EFLC seems to refuse to start for me with the fixed scripthook and snt at the same time.

Edit 2: Yeah, this only appears to work for IV, but not EFLC.

but what if you use the EFLC as DLC mod? :thonkering:

Link to post
Share on other sites

 

Edit: EFLC seems to refuse to start for me with the fixed scripthook and snt at the same time.

Edit 2: Yeah, this only appears to work for IV, but not EFLC.

but what if you use the EFLC as DLC mod? :thonkering:

 

I do that, so it will probably work just fine, will try this out tonight

Link to post
Share on other sites

I have tried it already and can report it works. (although i have to use Windows 7 Compatibility mode on GTA4.EXE when using W10)

Link to post
Share on other sites

^ I think sjaak327 uses his own DLC episodes he bought previously for Patch 7, and not by using this method?

 

 

I have GTAIV + TLAD and TBOGT as DLC on 1.0.7.0 and no way I am going to update that one :)

Edited by Tomas.
Link to post
Share on other sites

^ I think sjaak327 uses his own DLC episodes he bought previously for Patch 7, and not by using this method?

 

I have GTAIV + TLAD and TBOGT as DLC on 1.0.7.0 and no way I am going to update that one :)

 

I am actually using just that, as my DLC's were from GFWL, and that one does not work anymore :)

 

And I can confirm, I just upgraded to patch 8 and that scripthook seems to work fine, I can spawn objects, vehicles and playermodels without issues. Tested all three games, works fine, excellent.

Edited by sjaak327
Link to post
Share on other sites

  • 9 months later...
  • 4 months later...

I keep getting this problem and was wondering if it had been seen by anyone else.

 

I am developing a script and every now and again, everything stops working, my script, Simple Trainer and when I go to the ScriptHook.log, I see the errors shown below. The game isn't that slow to load, so restarting is nothing major but I wondered if there's something I could do to avoid it happening.

 

I am running the game with the -windowed commandline option, because of the fullscreen hangs when you Alt+Tab. I have Cry ENB installed as well but nothing else.

Log start: Wed May 22 12:49:34 2019
-----------------------------------------------
[INFO] GTA IV Script Hook 0.5.1 - (C) 2009, Aru - Initialized
[INFO] Process base address: 0x1270000
[INFO] Auto detecting game version
[INFO] Using game version 1.0.7
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] [SimpleTrainer] Thread started
[INFO] [ScriptHookDotNet] Thread started
[INFO] [ScriptHookDotNet] Thread killed
[INFO] [SimpleTrainer] Thread killed
[INFO] Script Hook - Shutdown

 

Link to post
Share on other sites

  • 8 months later...

I just updated themonthofjune's 1.0.8.0 scripthook patch for EFLC 1.1.3.0 if anyone's interested (it's 2 seperate dlls for each game version, use one)

https://mega.nz/#!vNZi1IKb!ioQ9I3fc5pFnrT3WIFje3KzrZLpLLNKelOKH8BTlAnc

Link to post
Share on other sites

7 hours ago, Zolika1351 said:

I just updated themonthofjune's 1.0.8.0 scripthook patch for EFLC 1.1.3.0 if anyone's interested (it's 2 seperate dlls for each game version, use one)

 

Thank you so much that GTA IV has been removed on Steam awaiting the reissues.

Link to post
Share on other sites

  • 1 month later...
  • 2 weeks later...

Expect it not to be updated for a very long time. Hell, just look and see how long it took for patch 8 to get a proper scripthook. I wouldn't be surprised if it never happens because nobody wants to develop anything for that version.

Link to post
Share on other sites

GTAsa-gamer8922

The download link say Security Error or some sh*t like that for 5.1.0 or whatever.

 

I am using Google Chrome.

Link to post
Share on other sites

  • 2 weeks later...
On 3/23/2020 at 11:58 PM, QuasiMorto said:

Is it possible to update to the complete edition? 

I think, a lot of ppl are interesting in CE version of this fancy tool. Any update guys? ppl will be thankful)))

Link to post
Share on other sites

They said they are not updating it for the complete edition for a list of reasons, but it basically boils down to its difficult to develop and it has no multiplayer. Doesn't make any sense to me but it is what it is.

Link to post
Share on other sites

  • 1 month later...
On 5/11/2020 at 12:55 AM, Sam Lake said:

hook was updated for CE :)

just get: aCompleteEditionHook.asi from:

https://www.lcpdfr.com/downloads/gta4mods/g17media/26726-compatibility-patch-for-gta-iv-complete-edition/

 

rest is not needed.

tested @sjaak327 trainer and it works, invincibility, teleporting, spawning models, objects, cars

(you could reup your trainer, link in here is not working anymore :( )

How do I make them work?

*If you use those 4 files from the link, it doesn't work
*If you add the old one to them dsound.dll and ScriptHook.dll
it starts working, but loading saves doesn't work, just loading AutoSave.

 

Is there any way to fix this? I'm already really confused, there are no normally working files for mods on any site.

Many have started to pass the Complete version and it is surprising that there is nothing for mods.😔

 

Link to post
Share on other sites

Now it's time to go back to previous patches 1.0.7.0 or 8.0 GTA IV and EFLC 1.1.2.0  with downloading cracked version of the game

Link to post
Share on other sites

11 hours ago, TRJVoRoN said:

How do I make them work?

*If you use those 4 files from the link, it doesn't work
*If you add the old one to them dsound.dll and ScriptHook.dll
it starts working, but loading saves doesn't work, just loading AutoSave.

 

Is there any way to fix this? I'm already really confused, there are no normally working files for mods on any site.

Many have started to pass the Complete version and it is surprising that there is nothing for mods.😔

 

you need Ultimate asi loader https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases

place the dinput8.dll into root folder

then scripthook.dll into root folder,  aCompleteEditionHook.asi into plugins folder (you have to create it) or into root folder of game too

Link to post
Share on other sites

  • 2 weeks later...
On 5/14/2020 at 10:32 PM, Sam Lake said:

you need Ultimate asi loader https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases

place the dinput8.dll into root folder

then scripthook.dll into root folder,  aCompleteEditionHook.asi into plugins folder (you have to create it) or into root folder of game too

I dont know if this worked before but as today, May 28, after todays patch (the ones that restores radio stations) It doesnt work.

Link to post
Share on other sites

The update literally just came out and then it was reverted back to the old version, so it works again. For now.

Link to post
Share on other sites

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
 Share

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