Quantcast

Jump to content

» «
Photo

[GTAIV|REL|ALPHA] Simple native trainer

691 replies to this topic
dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#1

Posted 27 December 2008 - 08:41 AM Edited by dualCore, 09 February 2009 - 02:06 PM.

GTA IV SIMPLE NATIVE TRAINER

Current version is 1.0 BETA.

This is my first contribution to the GTA community, so please if you find any bugs - let me know. Also i'll appreciate any ideas for making this tool more efficient and funny smile.gif

What is it?
This is a small asi loader plugin, which allows you to use some funny functions via GUI.

How it works?
This tool hooks game via Alexander's Blade asi loader and calls game's native functions only. No memory addresses, no need for xlive wrapper.

How to get it work?
Just unpack files into GTA root directory and... thats all. All you need next is launch the game, load your save and when you see Niko on the screen - ALT+TAB and set all you want to. Setting values before Niko appears is leading to the game crashes.

What will I get?

1) Time of day settings: here you can set desired time of day - so dont need to carry about mission timeouts and also you can get directly to the dusk/dawn time to watch game's sunrises.

2) Weather settings: simply select the weather you like and set it! No more rain or any othe FPS and mood killer! Let it be sunshine!

3) Player coordinates: this shows your Niko's current position. I'm hardly working on this now and soon I hope you will get more interesting options here.

4) Give weapons: press this button to give Niko some weapons. Note that not all of them will appear in Niko's hands cause some of them are using the same slots. To get the specific weapon use Give weapon dropdown option described below.

5) Give ammo: refulls the ammo for all Niko's weapons.

6) Wanted level: this option is on test. Dont set any level if you doesnt have any already. You need at least one police star to use this option. WIP.

7) Set money: sets Niko's money.

8) Set health (Alt + Numeric 6) : set Niko's health. Refulls current health and sets it to the specified limit.

9) Repair car (Alt + Numeric 7) : instantly repairs Niko's car in all ways: visual, physical, no scrathes etc.

10) Flip car (Alt + Numeric 8) : instantly flips Niko's car upside down if it is ON ROOF. Using this option in normal state leads to funny effects smile.gif

11) Super stamina (Alt + Numeric 0) : this is the toogle option. Niko never gets tired when enabled.

12) Invincible (Alt + Numeric 1) : Niko is invincible when enabled.

13) Stupid police (Alt + Numeric 2) : look at this option ingame

14) Never wanted (Alt + Numeric 3) : toogle/untoogle to set Niko never wanted by police.

15) Tank mode (Alt + Numeric 4) : toogle/untoogle to set Niko's car be never damaged and Niko cannot be dragged out of his vehicle.

16) No gravity (Alt + Numeric 5) : toogle/untoogle to switch global gravity.

17) Limit health (Alt+F2) : limits Niko's health to be not more then it set in Health edit box. Can be turned ON/OFF. Blocks normal set health option.

18) Freeze health (Alt+F3) : freezes Niko's health to be not less then it set in Health edit box. Can be turned ON/OFF. Blocks normal set health option and limit health option. Note: recommended value is 400-450. Setting this value too low allows Niko to die in explosions.

19) Give weapon: select the specific weapon from the list and press Give weapon button. Niko will receive a weapon gift.

20) Set car color: select the specific color from the list and press Body color. This option sets Niko's body car color.

21) Set car specular color: select the specific color from the list and press Specular color. This option sets Niko's specular car color.


PS: You can set options 11-18 ON/OFF on your desire.

PPS:
Hotkey Alt+F1 forces Invincible mode for Niko do not lose it after cutscenes. maybe it can eat CPU so use it on your own decision instead of normal Invincible option.
Hotkey TAB allows you to save anywhere if Niko is on foot.
Hotkey CTRL+SPACE toogles/untoogles special Bullet mode.
Hotkey F1 toogles Ingame menu.
Hotkey F2 toogles additional info.
Hotkey F3 toogles speedometer.
Hotkey Num0 instantly boosts your car up to value InstantSpeedupVal from snt.ini section Misc.

IMPORTANT: tested only on the patched GTA IV and only in singleplayer game. I dont know whether this tool works for non-pathed game and MP, its on your own risk.

Download

Old version


Special thanks to Alexander Blade ,listener and Reconsider for their asi loader and help. Thanks impossiblex for using his premium rapidshare account and aliast for his nice testing support smile.gif

Changelog starts from 29.12.2008:

29.12.2008
Added:
- specular car color selector
- option and hotkey to set upper health limit (requested before). Note that the minimum value is 100.
- option and hotkey to instantly repair car in all ways
- option and hotkey to flip car that is on the roof. Note; do not use it on wheels smile.gif
- hotkey to set health


30.12.2008
Added:
- lock car doors for the Tank mode
- option and hotkey to set lower health limit (requested before). Note that the recommended value is 400-450.
- option and hotkey to save game anywhere (Niko has to be on foot, not in car etc)
- option and hotkey toogle special Bullet time mode
- all tooglable options are now have in-game text confirmations
Knowm issues: TRY AVOID USING HOTKEYS WHILE THE GAME IS MINIMIZED!!!

6.01.2009
Added:
- all ingame text now goes through D3D. That fixes lots of crashes and improves stability.
- added ingame menu (F1) . You can navigate and set values. It is synced to hotkeys. Menu navigation is PageUP/PageDOWN +Enter.
- added snt.ini file
- added possibility to reconfigure all hotkeys via snt.ini tweaking (see section [Hotkeys] for detailed info)
- added digital speedometer (F3)
- added simple debug output (F2) which displays player coordinates and health.
- added possibility to dump coordinates to the ini file (SHIFT+SPACE)
- added Instant speed-up function (NUM0) . This spee ups your car to the value InstantSpeedupVal set in snt.ini section [Misc]
- minor trainer improvements
TODO: time speed control, menu improvements (adding color/weapon selectors etc).

10.01.2009
Tagged as ver. 1.0 BETA.
Added:
- you can increase/decrease vehicle speed by value using Num+/Num- buttons. Reconfigure it in the snt.ini section [Misc] value InstantSpeedupVal.
- added ingame weapon menu (F2) .
- added ingame time control menu (F5) . Allows you to control ( speedup/slowdown/freeze/sync to real time ) ingame time without affecting global game speed.
- all ingame menus are intercepting keyboard now and are using UP/DOWN/LEFT/RIGHT arrows for navigation. This doesnt affect any ingame operations. Reconfigurable.
- speedometer can be configured for MPH/KPH via snt.ini section [Misc] value SpeedometerMetrics.
- minor trainer improvements
TODO for pre-release:
- episodic weapons
- car control menu
- no peds/cops/cars selector
- maybe teleport menu and car spawner, but people have already released a couple of them lol.gif lol.gif lol.gif

7.02.2009
Added:
Support for the new 1.0.2 patch

FunGt
  • FunGt

    GTA-Modding.com

  • Members
  • Joined: 10 Jun 2005
  • Italy

#2

Posted 27 December 2008 - 09:14 AM

Nice job, I just tested it with Alice files (binkhooked.dll 190kb, binkw32.dll 90kb) and it works good. Thanks for it. icon14.gif

carx0x
  • carx0x

    Crackhead

  • Members
  • Joined: 02 Jan 2008

#3

Posted 27 December 2008 - 09:49 AM

QUOTE
This file is neither allocated to a Premium Account, or a Collector's Account, and can therefore only be downloaded 10 times.

This limit is reached.

To download this file, the uploader either needs to transfer this file into his/her Collector's Account, or upload the file again. The file can later be moved to a Collector's Account. The uploader just needs to click the delete link of the file to get further information.


Can you upload it again?

dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#4

Posted 27 December 2008 - 10:01 AM

Oh sorry wait a minute smile.gif

wesley123
  • wesley123

    Prankster

  • Members
  • Joined: 23 Mar 2008

#5

Posted 27 December 2008 - 10:01 AM

i hope r* finds something for the cash hacking. By this you can have the million after 1 minute playing.

Although i like trainers i think this takes cheating too far, people now can take prices i think because you can get a million after only 1 minute of playing.

impossiblex
  • impossiblex

    Player Hater

  • Members
  • Joined: 27 Dec 2008

#6

Posted 27 December 2008 - 10:01 AM

hey i've got a rapidshare premium account, send me the file and i'll upload it to premium so it's unlimited downloads? (rather than the 10 non-premium)

dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#7

Posted 27 December 2008 - 10:03 AM

Link fixed. Enjoy smile.gif

carx0x
  • carx0x

    Crackhead

  • Members
  • Joined: 02 Jan 2008

#8

Posted 27 December 2008 - 10:04 AM

QUOTE (wesley123 @ Dec 27 2008, 10:01)
i hope r* finds something for the cash hacking. By this you can have the million after 1 minute playing.

Although i like trainers i think this takes cheating too far, people now can take prices i think because you can get a million after only 1 minute of playing.



Last time I checked...no one was making you download this.

carx0x
  • carx0x

    Crackhead

  • Members
  • Joined: 02 Jan 2008

#9

Posted 27 December 2008 - 10:29 AM

The trainer works great so far...although I have a slight problem:

I enabled never wanted and then went to the airport and started driving around. The HUD just flickered for awhile, and then it stopped., and GTAIV crashed to my desktop.

BUT I loved the stupid cops option.

dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#10

Posted 27 December 2008 - 10:35 AM

QUOTE (carx0x @ Dec 27 2008, 10:29)
The trainer works great so far...although I have a slight problem:

I enabled never wanted and then went to the airport and started driving around. The HUD just flickered for awhile, and then it stopped., and GTAIV crashed to my desktop.

BUT I loved the stupid cops option.

Yeah stupid cops is sweet wink.gif Think this option is more funny then simple never wanted. And thanks for your bug report, I'll check this out.

sjaak327
  • sjaak327

    Big Homie

  • Feroci
  • Joined: 01 Dec 2008
  • None

#11

Posted 27 December 2008 - 11:37 AM

Thanks for this, unfortunately, I cannot use this, as alt-tab out of my game, will mess up the graphics. One question, what native and parms did you use to set money, as I'm not having any luck trying to use add_score or set_char_money.


dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#12

Posted 27 December 2008 - 11:58 AM

QUOTE (sjaak327 @ Dec 27 2008, 11:37)
Thanks for this, unfortunately, I cannot use this, as alt-tab out of my game, will mess up the graphics. One question, what native and parms did you use to set money, as I'm not having any luck trying to use add_score or set_char_money.

Hm, I will add custom hotkey configuration for this purposes soon. Thanks.
Money (c++ code):
SetPlayerMoney(int playerId,int money), here i'm calling ADD_SCORE.

sjaak327
  • sjaak327

    Big Homie

  • Feroci
  • Joined: 01 Dec 2008
  • None

#13

Posted 27 December 2008 - 12:12 PM

QUOTE (dualCore @ Dec 27 2008, 11:58)
QUOTE (sjaak327 @ Dec 27 2008, 11:37)
Thanks for this, unfortunately, I cannot use this, as alt-tab out of my game, will mess up the graphics. One question, what native and parms did you use to set money, as I'm not having any luck trying to use add_score or set_char_money.

Hm, I will add custom hotkey configuration for this purposes soon. Thanks.
Money (c++ code):
SetPlayerMoney(int playerId,int money), here i'm calling ADD_SCORE.

Thanks, I was trying add_score as well, but I pushed the wrong parm, used player_char instead of player_id, now it works smile.gif

Don't know why I didn't think of this myself, must be sleeping.


Marshall300
  • Marshall300

    Player Hater

  • Members
  • Joined: 17 May 2006

#14

Posted 27 December 2008 - 12:12 PM

Can it freeze the time of day? Or slow it down? Anyways nice job, man!

dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#15

Posted 27 December 2008 - 12:15 PM

QUOTE (Marshall300 @ Dec 27 2008, 12:12)
Can it freeze the time of day? Or slow it down? Anyways nice job, man!

Thnx!
No, it can't. Nice stuff, i will add it as soon as possible smile.gif

SaintJimmy
  • SaintJimmy

    On a drug called Martin Sheen

  • $outh $ide Hoodz
  • Joined: 13 Sep 2006

#16

Posted 27 December 2008 - 02:22 PM

When Invincibility is toggled, does Niko get affected by explosions?

dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#17

Posted 27 December 2008 - 02:38 PM

QUOTE (SaintJimmy @ Dec 27 2008, 14:22)
When Invincibility is toggled, does Niko get affected by explosions?

When it is enabled i can stay on the roof of the car and when it is exploded, Niko is still on the roof staying in fire, like Terminator smile.gif No damage is given.

SaintJimmy
  • SaintJimmy

    On a drug called Martin Sheen

  • $outh $ide Hoodz
  • Joined: 13 Sep 2006

#18

Posted 27 December 2008 - 02:50 PM

QUOTE (dualCore @ Dec 28 2008, 00:38)
QUOTE (SaintJimmy @ Dec 27 2008, 14:22)
When Invincibility is toggled, does Niko get affected by explosions?

When it is enabled i can stay on the roof of the car and when it is exploded, Niko is still on the roof staying in fire, like Terminator smile.gif No damage is given.

Ahk, well that's not what i was hoping for sad.gif Could you make it possible so that Explosions don't give off damage, but still affect Niko? So, eg. I can go flying from the explosion but not die.

dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#19

Posted 27 December 2008 - 02:58 PM

QUOTE (SaintJimmy @ Dec 27 2008, 14:50)
QUOTE (dualCore @ Dec 28 2008, 00:38)
QUOTE (SaintJimmy @ Dec 27 2008, 14:22)
When Invincibility is toggled, does Niko get affected by explosions?

When it is enabled i can stay on the roof of the car and when it is exploded, Niko is still on the roof staying in fire, like Terminator smile.gif No damage is given.

Ahk, well that's not what i was hoping for sad.gif Could you make it possible so that Explosions don't give off damage, but still affect Niko? So, eg. I can go flying from the explosion but not die.

You can do it by youselves smile.gif just turn invincible OFF and set Niko's health up to 10 000 or 15 000. Then give him rocket launcher and test smile.gif

impossiblex
  • impossiblex

    Player Hater

  • Members
  • Joined: 27 Dec 2008

#20

Posted 27 December 2008 - 04:47 PM

trainer is great, everythings works fine on patched version

on un-patched only health/invincibilty doesn't work, everything else is working as intended.

new version of trainer re-upped to rapidshare, new link PM'd. biggrin.gif

dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#21

Posted 27 December 2008 - 05:49 PM

Ok, the updated version is now available, added option 'Tank mode'. When Niko enters the car it becomes invincible physically and visually. Like a tank smile.gif
This option works for any car in game, hopefully for bykes too. Enjoy smile.gif

Nokia555
  • Nokia555

    Player Hater

  • Members
  • Joined: 07 Dec 2008

#22

Posted 27 December 2008 - 06:59 PM

Can you make the gravity option to?

dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#23

Posted 27 December 2008 - 07:06 PM

QUOTE (Nokia555 @ Dec 27 2008, 18:59)
Can you make the gravity option to?

Global gravity ON/OFF or just Niko's one?

Codey
  • Codey

    Ottae's bitch.

  • Members
  • Joined: 15 Aug 2007

#24

Posted 27 December 2008 - 07:10 PM

QUOTE (dualCore @ Dec 27 2008, 20:06)
QUOTE (Nokia555 @ Dec 27 2008, 18:59)
Can you make the gravity option to?

Global gravity ON/OFF or just Niko's one?

You could do both. biggrin.gif

Nokia555
  • Nokia555

    Player Hater

  • Members
  • Joined: 07 Dec 2008

#25

Posted 27 December 2008 - 08:59 PM

QUOTE (dualCore @ Dec 27 2008, 19:06)
QUOTE (Nokia555 @ Dec 27 2008, 18:59)
Can you make the gravity option to?

Global gravity ON/OFF or just Niko's one?

Yes both will be cool,

Is there anyway to make pedestrains attack me? or they attack each others, it would be cool.

dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#26

Posted 27 December 2008 - 09:20 PM

Updated:
-added No gravity option
-fixed Tank mode
-improved Give ammo mode
think thats all for today, tomorrow i'll try to implement your requests.
Enjoy!

johnma
  • johnma

    Player Hater

  • Members
  • Joined: 18 Dec 2006

#27

Posted 28 December 2008 - 12:41 AM

thank you for the extraordinary MOD that by now more function and more user friendly then Control Center.

However, I experiencing some issues.
Whenever I took Taxi to other places, the invincible doesn't work anymore. other toggle options such as tank and no wanted still works perfectly.

I did not load any other asi along with your snt.asi , so i believe there's no interference issues. since I have completed 100%, I cannot test if cut scene also vanish the invincibility.

Anyway, thx


sjaak327
  • sjaak327

    Big Homie

  • Feroci
  • Joined: 01 Dec 2008
  • None

#28

Posted 28 December 2008 - 12:43 AM

I think this is due to the togability of the invincible option. Everytime there is a cutscene for instance it will be turned off, it might actually be permanent if enabled in superman.lua.


johnma
  • johnma

    Player Hater

  • Members
  • Joined: 18 Dec 2006

#29

Posted 28 December 2008 - 01:01 AM

QUOTE (sjaak327 @ Dec 28 2008, 00:43)
I think this is due to the togability of the invincible option. Everytime there is a cutscene for instance it will be turned off, it might actually be permanent if enabled in superman.lua.

Maybe it is,
but my option still shows ON after scene with out the actual function on, so I can't tell weather is due to togability or other reason.

The superman MOD does work for me, but it also blood sucking my ram that it crashes after 1 or 2 hour of playing.


Flaii
  • Flaii

    Player Hater

  • Members
  • Joined: 21 Dec 2008

#30

Posted 28 December 2008 - 01:25 AM

QUOTE (dualCore @ Dec 27 2008, 21:20)
Updated:
-added No gravity option
-fixed Tank mode
-improved Give ammo mode
think thats all for today, tomorrow i'll try to implement your requests.
Enjoy!

Wow, I'll just say awesome work inlove.gif inlove.gif

Keep on doing the good stuff! Everything works perfect!!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users