Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,031 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. 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

    2. Red Dead Redemption

    3. 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. Forum Support

    2. Site Suggestions

sjaak327

Simple Trainer for GTAV

Recommended Posts

sjaak327

Not a bug in my code, I just spawn bodyguards, they are controllerd by the game. Did you really need to post this twice ?

Share this post


Link to post
Share on other sites
f5544

Not a bug in my code, I just spawn bodyguards, they are controllerd by the game. Did you really need to post this twice ?

was a problem with the site, sorry.

hmm to bad the bodyguards cant shoot from a chopper

Edited by f5544

Share this post


Link to post
Share on other sites
nkjellman

 

 

Ok, new version is ready:

 

Changes from 5.8

-removed 2 second wait when changing characters, The no helmet should now also work, there was a problem with weapons leading to the crash people were reporting, should now be fixed.

-added 19 new Vehicles.

-added one ped (u_m_y_smugmech_01).

-added 2 cutscenes.

-added smugglers teleports in other teleports (the hangar).

-added overlays for mpsmugglers and mpairraces.

 

Now one can use the scripthook.dll included with menyoo, but.. some stuff will not work, due to some natives not working in that hook. Don't report stuff not working,as it is most likely due to that hook. For full support wait for Blade's hook.

 

Now uploaded and released.

Nice work. Also, FYI, I noticed that the change logs on gta5-mods are out of date.

 

Fixed now. By the way radios now not work at all, but this is due to the hook used, I am pretty certain once Blade releases his hook, they will work again, no idea if they will still sound "muted" .

 

Hey man, do the radios work on the new ScriptHook?

 

If they don't, I bet there is something you need to update. Rockstar may be changing things that make your code not operate correctly.

Share this post


Link to post
Share on other sites
sjaak327

 

 

 

Ok, new version is ready:

 

Changes from 5.8

-removed 2 second wait when changing characters, The no helmet should now also work, there was a problem with weapons leading to the crash people were reporting, should now be fixed.

-added 19 new Vehicles.

-added one ped (u_m_y_smugmech_01).

-added 2 cutscenes.

-added smugglers teleports in other teleports (the hangar).

-added overlays for mpsmugglers and mpairraces.

 

Now one can use the scripthook.dll included with menyoo, but.. some stuff will not work, due to some natives not working in that hook. Don't report stuff not working,as it is most likely due to that hook. For full support wait for Blade's hook.

 

Now uploaded and released.

Nice work. Also, FYI, I noticed that the change logs on gta5-mods are out of date.

 

Fixed now. By the way radios now not work at all, but this is due to the hook used, I am pretty certain once Blade releases his hook, they will work again, no idea if they will still sound "muted" .

 

Hey man, do the radios work on the new ScriptHook?

 

If they don't, I bet there is something you need to update. Rockstar may be changing things that make your code not operate correctly.

 

Radio works, but still "muffled". No idea why, not time at the moment to figure it out.

New version:

 

 

Changes from 5.9

-Fixed crash in Hangar teleport menu.

-Fixed (hopefully) crash with all weapons and model changing.

-Ability to change the color scheme of the hangar

-The Hangar Living Quarters can now be enabled and or disabled.

 

No Ini Changes

Share this post


Link to post
Share on other sites
theNGclan

The crashing is fixed. I don't know what you did, but it's all good now! :)

Share this post


Link to post
Share on other sites
sjaak327

The crashing is fixed. I don't know what you did, but it's all good now! :)

Since two updates, I have to set the livery colors of the MK2 weapons, this works IF the component has been set, it was crashing when any of the 6 MK2 weapons was equipped but no livery component. :(

Share this post


Link to post
Share on other sites
Vulgadrop

 

 

 

I loaded the hangar but everything is pink/ green / blue. Are the colors for the hangar controlled via RGB or something? I figured they'd be textures.

I don't know, I would have thought they used interior props, maybe I need to have another look at the scripts How does it supposed to look like ?

 

Well, they have different color schemes, this is one of them:

 

58cc32d6d218f852db9eba23ac25651c9a7b0c9b

 

However, when we load the hangar as of now, it looks like a colorable pallet, since it's bright blue, pink and green.

 

Hmm maybe enabling that shell is the cause, let me try without it for a minute.

 

I'm having the same problem with colours, how did you fix color schemes in version 6.0?

Share this post


Link to post
Share on other sites
sjaak327

 

 

 

 

I loaded the hangar but everything is pink/ green / blue. Are the colors for the hangar controlled via RGB or something? I figured they'd be textures.

I don't know, I would have thought they used interior props, maybe I need to have another look at the scripts How does it supposed to look like ?

 

Well, they have different color schemes, this is one of them:

 

58cc32d6d218f852db9eba23ac25651c9a7b0c9b

 

However, when we load the hangar as of now, it looks like a colorable pallet, since it's bright blue, pink and green.

 

Hmm maybe enabling that shell is the cause, let me try without it for a minute.

 

 

I'm having the same problem with colours, how did you fix color schemes in version 6.0?

 

You mean from a programming perspective ? Look in MP_hangar script (or whatever it is named).

 

in short:

 

 

 	static void _0x31D23FC8CCD18DC3(int p0, const char* p1, int p2) { invoke<Void>(0x31D23FC8CCD18DC3, p0, p1, p2); } 
Call this native to set the color of various interior props (after you have enable the interior prop of course).

 

 

Interior jacco = INTERIOR::GET_INTERIOR_AT_COORDS_WITH_TYPE(-1266.802f, -3014.836f, -49.4895f, "sm_smugdlc_int_01");UNK::_0x31D23FC8CCD18DC3(jacco, "set_tint_shell", hset7);				UNK::_0x31D23FC8CCD18DC3(jacco, hSet03[hset3].prop, hset7);				UNK::_0x31D23FC8CCD18DC3(jacco, hSet06[hset6].prop, hset7);				if (hang1) { UNK::_0x31D23FC8CCD18DC3(jacco, "set_modarea", hset7); }				if (hang4) { UNK::_0x31D23FC8CCD18DC3(jacco, "set_crane_tint", hset7); }				if (hang6) { UNK::_0x31D23FC8CCD18DC3(jacco, "set_lighting_tint_props", hset7); }				if (hang7) { UNK::_0x31D23FC8CCD18DC3(jacco, "set_bedroom_tint", hset7); }
hset7 is int 1-10.

hset3 = set_floor_decal_1 - set_floor_decal_9

hset6 = set_floor_1 - set_floor_2

 

so p0=interior, p1=interior prop name, p2 = int that seems to be ranging from 1 to 10.

Edited by sjaak327

Share this post


Link to post
Share on other sites
Vulgadrop

Thanks a lot so there is a new native... where did you get decompiled scripts? I see people with access to them, and peasants who do not have :(

 

 

Share this post


Link to post
Share on other sites
sjaak327

Thanks a lot so there is a new native... where did you get decompiled scripts? I see people with access to them, and peasants who do not have :(

Maffins sent me the scripts, in fact native is not new, was used in biker clubhouses aa well

Share this post


Link to post
Share on other sites
Gforce

Great work as usual sjaak, I finally found where you hid all the MP interior spawning etc .............. again :lol:

only problem I have is the interior of the Hangar is somewhat Psychedelic

KoQJiKT.jpg

thanks again for updating Trainer, much appreciated.

PS, works perfectly on the latest fully up to date non R* offline version of the game too :whistle:

Share this post


Link to post
Share on other sites
sjaak327

Hi mate, change the color, as you can with the latest version :)

Share this post


Link to post
Share on other sites
Hiddenshadow

There's a minor graphical glitch with the "Smugglers Teleports" menu item:

7xvghr1.png

 

The "Disabled" parameter of the item below it is highlighted, which then affects the items below that as well; However, toggling Apartment Radio for example will still change the "Disabled" next to that to "Enabled" as it should, so it's just visual.

Edited by Hiddenshadow

Share this post


Link to post
Share on other sites
Gforce

Hi mate, change the color, as you can with the latest version :)

Ah gotcha, found it, should have had more of a play about. :^:

Share this post


Link to post
Share on other sites
sjaak327

There's a minor graphical glitch with the "Smugglers Teleports" menu item:

 

7xvghr1.png

 

The "Disabled" parameter of the item below it is highlighted, which then affects the items below that as well; However, toggling Apartment Radio for example will still change the "Disabled" next to that to "Enabled" as it should, so it's just visual.

Fixed in the next version.

Share this post


Link to post
Share on other sites
Gryffin

Hi, I use the Trainer for my RP group, and me and another person are figuring out the animations list, we have the list of animations from the game with us and we try writhing them into "Play Animation by Name" but I can't write underscores where as my friend can, is there any reason why? I just get "-" each time when trying to.

Share this post


Link to post
Share on other sites
nkjellman

 

 

 

 

Ok, new version is ready:

 

Changes from 5.8

-removed 2 second wait when changing characters, The no helmet should now also work, there was a problem with weapons leading to the crash people were reporting, should now be fixed.

-added 19 new Vehicles.

-added one ped (u_m_y_smugmech_01).

-added 2 cutscenes.

-added smugglers teleports in other teleports (the hangar).

-added overlays for mpsmugglers and mpairraces.

 

Now one can use the scripthook.dll included with menyoo, but.. some stuff will not work, due to some natives not working in that hook. Don't report stuff not working,as it is most likely due to that hook. For full support wait for Blade's hook.

 

Now uploaded and released.

Nice work. Also, FYI, I noticed that the change logs on gta5-mods are out of date.

 

Fixed now. By the way radios now not work at all, but this is due to the hook used, I am pretty certain once Blade releases his hook, they will work again, no idea if they will still sound "muted" .

 

Hey man, do the radios work on the new ScriptHook?

 

If they don't, I bet there is something you need to update. Rockstar may be changing things that make your code not operate correctly.

 

Radio works, but still "muffled". No idea why, not time at the moment to figure it out.

New version:

 

 

Changes from 5.9

-Fixed crash in Hangar teleport menu.

-Fixed (hopefully) crash with all weapons and model changing.

-Ability to change the color scheme of the hangar

-The Hangar Living Quarters can now be enabled and or disabled.

 

No Ini Changes

 

Do you have Single Player Apartment installed?

 

I uninstalled it because I discovered it was suddenly tanking my FPS. Guess what? The radio emitters suddenly sound correct.

My theory about the emitters is this. Between Special Vehicle Circuit, and Smugglers Run, the order in which the scripts were loaded was changed due to a change in Script Hook. Even though there were no changes to Single Player Apartment itself.

 

Apparently I'mNotMental is going to update SPA. I'm not sure what this will cause.

 

Edit: They still have that issue where as you encounter new emitters, old ones stop working. Sounds like a First In-First Out issue if you know what I mean.

 

Edit: sh*t they are still muffled. That must have been a rare one time thing. Not 100% sure but it could still be due with the order things are loading in with regards to the following.

-The MP maps

-The emitters themselves

 

I will see if I can try and replicate them working. Single Player Apartment has a lot of threads running so it is possible that has played a role.

 

One thing that I could see f*cking up your radio emitters is if they load before the Online map does. The game could be muffling them because they are loaded in the SP map. Maybe see if adding a delay fixes them.

Edited by nkjellman

Share this post


Link to post
Share on other sites
Alex106

The IPL Loader function in the teleports menu load/unloads the interior props instead


Also, speaking of interior props, i only have the hash values of some of them (the hangar ones)


 




0xB9B5FBB1 - 3115711409 -
0xA4D4D1EF - 2765410799 -
0x48009844 - 1207998532 -
0x5D9AC378 - 1570423672 -
0x7320EE84 - 1931538052 -
0x61124A6B - 1628588651 -
0x76D775F5 - 1993831925 -
0x041F1086 - 69144710 -
0x19F93C3A - 435764282 -
0x8F7E246D - 2407408749 -


 


If i don't bother you asking: could you please tell me they're names?

Edit: i don't need them anymore

Edited by .Alex.

Share this post


Link to post
Share on other sites
nkjellman

It is hard to test the radio emitters. It appears that there is still code running, even when you have them disabled in the ini.

 

If there wasn't code running, the SP safe house emitters would work like they do without the mod.

Share this post


Link to post
Share on other sites
sjaak327

Well I have no other mods, and they sound muffled over here.

Share this post


Link to post
Share on other sites
sjaak327

The IPL Loader function in the teleports menu load/unloads the interior props instead

 

Also, speaking of interior props, i only have the hash values of some of them (the hangar ones)

 

 

 

 

 

0xB9B5FBB1 - 3115711409 - 0xA4D4D1EF - 2765410799 - 0x48009844 - 1207998532 - 0x5D9AC378 - 1570423672 - 0x7320EE84 - 1931538052 - 0x61124A6B - 1628588651 - 0x76D775F5 - 1993831925 - 0x041F1086 - 69144710 - 0x19F93C3A - 435764282 - 0x8F7E246D - 2407408749 - 

 

If i don't bother you asking: could you please tell me they're names?

Edit: i don't need them anymore

 

Re-download, and the IPL loader will work again.

Share this post


Link to post
Share on other sites
nkjellman

Well I have no other mods, and they sound muffled over here.

Yea the one time they didn't sound muffled was just a freak occurrence. I think I know why the Gun Running Update made them muffled. They added more interiors, thus the Online maps take slightly longer to load. When the Online maps are enabled, all the interior names change.

 

So try adding a delay to your code and see if that helps.

 

Also I noticed that when I disabled the Apartment Radio and saved it to the ini, when I start up, I spawn in Michael's house. The radio sounds fine for a split second, then goes muffled. So try the delay and see if that fixes it.

Share this post


Link to post
Share on other sites
sjaak327

Well you COULD test this easily. Disable the radios, start the game, and enable it after a while. Then see if they are still muffled, I am betting they are.

Share this post


Link to post
Share on other sites
nkjellman

Well you COULD test this easily. Disable the radios, start the game, and enable it after a while. Then see if they are still muffled, I am betting they are.

They aren't muffled for a half second. Then something kicks in and screws them up.

 

Your code still affects the radios, even when the option is disabled. However if you start up with the option enabled, they are muffled without that half second of sounding correct.

Edited by nkjellman

Share this post


Link to post
Share on other sites
sjaak327

 

Well you COULD test this easily. Disable the radios, start the game, and enable it after a while. Then see if they are still muffled, I am betting they are.

They aren't muffled for a half second. Then something kicks in and screws them up.

 

Your code still affects the radios, even when the option is disabled. However if you start up with the option enabled, they are muffled without that half second of sounding correct.

 

That does not make sense, if the option is disabled, the code does not run at all.

Share this post


Link to post
Share on other sites
nkjellman

 

 

Well you COULD test this easily. Disable the radios, start the game, and enable it after a while. Then see if they are still muffled, I am betting they are.

They aren't muffled for a half second. Then something kicks in and screws them up.Your code still affects the radios, even when the option is disabled. However if you start up with the option enabled, they are muffled without that half second of sounding correct.
That does not make sense, if the option is disabled, the code does not run at all.I will remove the trainer and test that.

 

I did notice that the highlight for the toggle status is off by one for those options.

Share this post


Link to post
Share on other sites
sjaak327

 

 

 

Well you COULD test this easily. Disable the radios, start the game, and enable it after a while. Then see if they are still muffled, I am betting they are.

They aren't muffled for a half second. Then something kicks in and screws them up.Your code still affects the radios, even when the option is disabled. However if you start up with the option enabled, they are muffled without that half second of sounding correct.

 

That does not make sense, if the option is disabled, the code does not run at all.

 

I will remove the trainer and test that.

 

I did notice that the highlight for the toggle status is off by one for those options.

 

Yes, that was already mentioned above, and will be fixed, but that is just a visual thingy.

Share this post


Link to post
Share on other sites
f5544

Hey Sjaak,

 

When you spawn as animal commonirant (bird) the trainer crashes.

also is there a shortcut key for fix vehicle? with Lspdfr its very handy.

Share this post


Link to post
Share on other sites
nkjellman

 

 

 

 

Well you COULD test this easily. Disable the radios, start the game, and enable it after a while. Then see if they are still muffled, I am betting they are.

They aren't muffled for a half second. Then something kicks in and screws them up.Your code still affects the radios, even when the option is disabled. However if you start up with the option enabled, they are muffled without that half second of sounding correct.

 

That does not make sense, if the option is disabled, the code does not run at all.

 

I will remove the trainer and test that.

 

I did notice that the highlight for the toggle status is off by one for those options.

 

Yes, that was already mentioned above, and will be fixed, but that is just a visual thingy.

 

Sjaak, I finally figured out the radio emitter problem. It wasn't your code at all.

 

It was Unknown_Modder's No Boundary script. He changed something when the Gun Running update came out that caused it.

 

As for the emitters sounding muffled on your end, I think we have had a communication problem. Technically they are supposed to sound muffled. The bug I was having is that they didn't sound like they were coming from the radio itself. They sounded like they were coming from behind a wall. For example, in the Online apartment, it didn't sound like it was coming from the radio, but rather the "asshole neighbors next door" if you know what I mean.

Share this post


Link to post
Share on other sites
sjaak327

 

 

 

 

 

Well you COULD test this easily. Disable the radios, start the game, and enable it after a while. Then see if they are still muffled, I am betting they are.

They aren't muffled for a half second. Then something kicks in and screws them up.Your code still affects the radios, even when the option is disabled. However if you start up with the option enabled, they are muffled without that half second of sounding correct.

 

That does not make sense, if the option is disabled, the code does not run at all.

 

I will remove the trainer and test that.

 

I did notice that the highlight for the toggle status is off by one for those options.

 

Yes, that was already mentioned above, and will be fixed, but that is just a visual thingy.

 

Sjaak, I finally figured out the radio emitter problem. It wasn't your code at all.

 

It was Unknown_Modder's No Boundary script. He changed something when the Gun Running update came out that caused it.

 

As for the emitters sounding muffled on your end, I think we have had a communication problem. Technically they are supposed to sound muffled. The bug I was having is that they didn't sound like they were coming from the radio itself. They sounded like they were coming from behind a wall. For example, in the Online apartment, it didn't sound like it was coming from the radio, but rather the "asshole neighbors next door" if you know what I mean.

 

so the problem does not exist anymore, my, I should have sweared they definitely don't sound the same on my end, regarding the volume, but maybe that is just my imagination !

Share this post


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

×

Important Information

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