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

    1. Red Dead Redemption 2

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

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

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

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Black Patriot

In-Game Trainer

Recommended Posts

Black Patriot

Hello,

 

As part of my attempts to learn C# programing I've made a trainer for GTA IV. Currently it requires the .Net Script Hook, as well as all the hook's prerequisites.

 

Versions 1.0 through to 1.7 will only work with v0.86 of the .net hook, and thus only with GTA IV versions 1.0.0, 1.0.1 and 1.0.2. To use this trainer with version 1.0.3 and 1.0.4 you'll need Trainer v1.7.1 or later.

 

Any version of the Trainer after v1.7 requires the latest version of the .net hook, which is v0.893 at the moment

 

Current Features:

 

* Spawn any vehicle in the game, via the console. The script will attempt to find a best match to the car you type in.

* Spawn random pedestrians

* Recharge all your health and armor

* Add full ammo to all your weapons

* Remove Police attention

* Make yourself explode

* Weather Changer, cycle through all the weather settings

* Speedometer

* Weather Controller

* Taxi Spawner

* Time Changer

* Max Wanted Level Control

* Weapon Spawner GUI

* Vehicle Spawner GUI

* Invincibility

* Vehicle Color Changer, with GUI

* Helicopter Backup

* Dial-a-Bodyguard

* Command List

* Digital Speedometer and RPM gauge

* Master Control Panel (New in v1.9)

 

 

If you have any problems then let me know. The more detailed a description the better (especially an error log which can be found in the GTA IV root directory as ScriptHookDotNet.log)

 

Credits:

Vetra and Gangsta Killa, for their coding examples.

Costar for his help as a beta tester.

 

Have fun...

 

Whilst waiting for the GTAgarage mods to approve new versions you can grab the latest version here, at the Vallana Vetra forums:

In-Game Trainer

 

Click on the following images for larger versions.

NOTE: The text in the top left corner of the screenshots is not from this mod, its from another mod.

Edited by Black Patriot

Share this post


Link to post
Share on other sites
Dvt-MedShot

I think your title is a bit misleading because Awwu had already an Ingame Trainer...

Share this post


Link to post
Share on other sites
Black Patriot

That's a fair point, although the first thing I mention here is that my trainer is in C#, not C++.

In any case, i can't edit the title, at least not as far as i can tell.

Share this post


Link to post
Share on other sites
Costar

Hey BP, nice to see ya bring it here biggrin.gif

One thing you might want to put in your main post what game versions this does/doesnt work on, since ofcourse wont work on the newest, some ppl will dld thinkin, COOL! and find it wont work since so many ppl has 1.0.3 since they play online or updated ..

Share this post


Link to post
Share on other sites
Black Patriot

New Release, v1.2! (whenever they get around to approving it, in the meantime it can be downloaded here, http://forums.vallanavetra.com/software/vi...hp?f=143&t=443)

Includes Weather changer and greatly improved explosion command.

 

Any issues or suggestions then let me know.

Edited by Black Patriot

Share this post


Link to post
Share on other sites
Black Patriot

New Version!

Version 1.3 has been posted, and will be avaliable soon

 

Added - Weather Controller

Fixed - small bug in vehicle spawner

Share this post


Link to post
Share on other sites
Black Patriot

New Version!

Version 1.4 has been posted, and should be avaliable soon. As always it can be downloaded from the Vallana Vetra forums via the link in the first post.

 

Added - Taxi Spawner, you can now dial for a taxi to appear near you, it will drive to your current location, where you can get in by holding F. After that it works like a regular taxi. I made this function because whenever i wanted a taxi there was never one nearby, and the ones that are spawned when you call roman always take ages to get to you, whereas this one will spawn no more than 45m away, and seems to ignore 1 way streets lol.gif .

Share this post


Link to post
Share on other sites
Black Patriot

New Version!

Version 1.4.1 has been posted and will be avaliable soon, and can be downloaded from Vallana Vetra forums from the first post.

 

-Fixed bug with car spawner preventing the STALION from spawning

-Fixed bug with taxi spawner preventing more than 1 taxi from being called

Share this post


Link to post
Share on other sites
Black Patriot

New Version!

Version 1.5.1 has been posted, and should be avaliable soon. As always, it can be downloaded from the Vallana Vetra Software forums, the link is in the first post.

 

-Added Weapon Spawner

-Added Max Wanted Level Controller

-Improved explode command

-Code fixes to improve efficiency

 

There is also a youtube video of the new explode command:

 

Share this post


Link to post
Share on other sites
Black Patriot

New Version!

Version 1.6 has been posted, and will be available soon.

 

-Added GUI for the Weapon Spawner

-Added GUI for the Vehicle Spawner

(That's right, you don't need to use the console to spawn weapons or vehicles anymore, although the console vehicle spawner is still accessible)

 

If there are any bugs, then please let me know. And please leave a rating, whether you liked or hated the mod, ratings help everyone.

Share this post


Link to post
Share on other sites
Black Patriot

New Version!

Version 1.6.1 has been posted, and should be available soon.

 

-Added Invincibility

 

Special thanks to CoMPMStR for his help.

Share this post


Link to post
Share on other sites
Teo265

This is good trainer, but you should make more features.

I believe that you can make even better InGame Trainer than Awwu. smile.gif

 

PS. I use Awwu's InGame Trainer

Share this post


Link to post
Share on other sites
Black Patriot

I'm working on helicopter delivered backup (bodyguards) as well as a vehicle color changer with an in-game GUI.

 

If you've got any other suggestions then I'd be happy to look at adding them. smile.gif

Share this post


Link to post
Share on other sites
Black Patriot

New Version!

A new version has been posted, and will be available soon.

 

New in version 1.7

-Added Vehicle color changer, with separate controls for the primary and secondary colors. (this includes improvements in the GUI, allowing you to move the selection left and right, as well as up and down)

-Added helicopter backup, you can now call a phone number and have a bunch of goons heli-dropped at your current location.

 

Please leave a rating for this mod, whether you liked or hated it. The rating system only works if people use it wink.gificon14.gif

Share this post


Link to post
Share on other sites
Black Patriot

Because HazardX has released a new version of his .net hook (which adds compatibility for GTA IV version 1.0.3 and 1.0.4) I will be posting a new version of the trainer that is compatible with it soon. The new version will require the new hook, because of the way the functions have changed there is no way to run an old version on the new hook. The new version will be soon, and brings a few small improvements in the general trainer.

 

EDIT:

I've released a BETA version of the trainer that adds compatibility with .net hook v0.88 BETA, but it is only available at the Vallana Vetra forums, the link is in the main post. I will not be releasing the new version here until I have fixed some small problems, at which time it will be released as version 1.7.1. If you don't want to use the beta version then don't install the new .net hook, all previous versions will work with hook version 0.86, but not with the new 0.88 release.

 

EDIT 2:

 

I've released another BETA version, also only at the Vallana Vetra forums on the main post. This one has compatibility with .net hook v0.89, and also fixes some compatibility problems that some features of the trainer was having.

Edited by Black Patriot

Share this post


Link to post
Share on other sites
Drunk Russian 9

Hey BP! I didn't know you were working on this. It looks great! I'll try it out and let you know what you can do to improve it.

Share this post


Link to post
Share on other sites
Black Patriot

Yeah, I've been making this trainer for about 2-3 months now, if not longer. If you've got any suggestions or problems then bring them either here or at the Vallana Vetra forum topic, either way I'll see it.

Have fun biggrin.gif

Share this post


Link to post
Share on other sites
Demon101

nice trainer Black Patriot keep up the good work biggrin.gif

Share this post


Link to post
Share on other sites
Black Patriot

@Demon101

Thanks, glad you're enjoying it

 

New Version!

 

A new version has been posted, and will be available whenever the mods get around to approving it. As always, it can be downloaded from the Vallana Vetra forums. Whilst there I also recommend checking out the GTA IV Overhaul SE, currently only available at the Vallana Vetra forums.

 

Here is everything that has been added since the 1.7 release

 

 

Version 1.7.1 BETA

 

-Added ability to go left and right with the vehicle spawner GUI, if a vehicle has been selected, pressing right again will spawn it, left will go back to the letter selection

-Added compatability with HazardX's .net Script Hook version 0.88 BETA, it is now required for the script to work

-Temporarily removed Helicopter Backup, error with new hook is causing the script to crash, the feature will be enabled again when the problem has been fixed

-Temporarily removed color changer GUI, new hook is causing weird effect with the rectangles, will be restored when fixed

 

Version 1.7.1 BETA 2

 

-Fixed Helicopter Backup mode, it now works as it did before

-Fixed some problems with the Color Changer GUI, however it still has some issues, however it does work

-Fixed small error with the ammo regeneration, which was affecting god mode as well, it no longer forces the game to switch to the molotov every second when god mode is on

-Tweaked a few things

 

Version 1.7.1 BETA 3

 

-Added DirectX forms for the color changer, based on HazardX's example code, release is pending his approval

-Added the ability to type the first letter of a car name when the car spawner GUI is open, it will now go to that letter and show you the possible cars.

 

Version 1.7.1

 

-Permission granted by HazardX for use of his example code in the Trainer, so the new color changer can now be released to the public

-Improved the Helicopter backup behavior, they will now run to the player, instead of walk

 

Once again, if you liked or hated the mod, then leave a rating. If you have any problems then let me know, and I'll do my best to fix them. smile.gif

Share this post


Link to post
Share on other sites
Demon101

LOL!! Black Patriot i think you have to update it again because HazardX released GTAIV .Net Script Hook v0.892 BETA and i dont think it works for me colgate.gif

 

Share this post


Link to post
Share on other sites
Black Patriot

Yeah, I saw that. I was actually the first person to post about it in the .net hook thread after him biggrin.gif . Anyway, I've already got a version ready, but I'm trying to fix a few issues before I release it. If that takes too long then I'll release it as a beta, and just fix the problems later. wink.gif

Share this post


Link to post
Share on other sites
Black Patriot

New version

 

It'll be available soon, but can be downloaded from the Vallana Vetra forum right now if you can't wait.

 

Version 1.8

 

-Added Command Map, shows all current commands and keys

-Added bodyguard, spawns a car nearby to deliver a bodyguard to your location

-Added RPM gauge, a speedometer gauge, and a "digital" speed readout

 

Don't forget to leave a rating at GTA Garage.

Share this post


Link to post
Share on other sites
Black Patriot

New Version

 

I've posted another version, it'll be up soon, hopefully. If you can't wait then grab it from the Vallana Vetra forums.

 

I'll post the change log for both the 1.9 and the 1.9 beta

 

Version 1.9 BETA

 

-Added Master Control Panel, allows the player to toggle or change many of the trainer's settings in-game and on the fly

-Added warning for the helicopter backup command because of a possible issue with certain versions of GTA IV

-Updated the digital number textures, they have been overhauled to increase their quality

 

Version 1.9

 

-Improved Master Control Panel, now allows the player to set the desired weather for the weather controller, and to

instantly change the weather conditions on the fly.

 

Don't forget to leave a rating.

Share this post


Link to post
Share on other sites
kennycoverdell

Should we just create a script folder in "C:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV" or what? would be appreciated.

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.
Note: Your post will require moderator approval before it will be visible.

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.