Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      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. Grand Theft Auto Series

      1. Bugs*
      2. 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. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. 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. Red Dead Redemption 2

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

    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

    2. Support

    3. Suggestions

Happy Holidays from the GTANet team!

Remove the hardwired speed limit on the Hydra


op9080
 Share

Recommended Posts

Address 0x86E104 - float constant, square of the maximum speed of the Hydra (actually, all planes)

Unit: 2500 meters^2/sec^2

Value: 2.25 (gives a maximum speed of 75 m/s)

 

Code that checks the limit:

 

 006DADDD: D8 1D 04 E1 86 00  fcomp       dword ptr ds:[0086E104h] 006DADE3: DF E0              fnstsw      ax 006DADE5: F6 C4 41           test        ah,41h 006DADE8: 75 60              jne         006DAE4A

 

 

How to remove:

Change byte at 0x6DADE8 from 0x75 to 0xEB to change it to an unconditional jmp and ignore the test.

 

If you have GTA hoodlum, you can patch it with a hex editor at file address 0x2DA1E8.

 

These numbers hold for both US & EU exes.

 

The Hydra's speed is also limited by the drag physics so if you want to make it go faster, reduce the default drag factor of 20 in handling.cfg. I used a drag of 2, and it maxed out spookie's speedometer at 999 KPH in about 10 seconds.

Edited by op9080
Link to comment
Share on other sites

you are such a star op inlove.gif

your great to this commnunity with all your work

 

btw if i edit the exe quite alot and rename it are we allowed to release it on the web?

Edited by demonj0e
Link to comment
Share on other sites

Thanks. I like to do my reverse engineering in the wee hours of the night. Stayed up 'til 4AM for that one colgate.gif

 

I've got some other constants I found that change the acceleration of all cars, but I'm not done REing that part. I'm not sure which ones are safe to change. Unfortunately, compilers and linkers try to eliminate duplicate constants, so almost every constant in the exe that's used for vehicle physics is also used for something else. You get side effects if you change them. For instance, the Hydra constant above is used in four other places, only two of which seem to have something to do with speed limits. I'll post some acceleration constants when I'm done sorting them out.

 

What will really make me happy is to find out how to set unlimited height on the jetpack and on aircraft so they can be used in Liberty City.

Link to comment
Share on other sites

btw if i edit the exe quite alot and rename it are we allowed to release it on the web?

No, exe distributing is not allowed.

Link to comment
Share on other sites

 

btw if i edit the exe quite alot and rename it are we allowed to release it on the web?

 

make a loader or injected dll to edit the exe while its starting to load

 

 

from an injected dll changing 0x6DADE8 to 0xEB is simple, just use this code

 

 

	DWORD dwVP3, dwVP4;VirtualProtect((PVOID)0x6DADE8,1,PAGE_EXECUTE_READWRITE,&dwVP3);memcpy((PVOID)0x6DADE8,0xEB,1);VirtualProtect((PVOID)0x6DADE8,1,dwVP3,&dwVP4);

 

 

 

this only works inprocess, im pretty sure WriteProcessMemory will do this from outprocess (without the VituralProtect necessary), ill make a loader if i have time

 

EDIT:

 

http://tony-b.net/Loader.exe - havent got around to testing it, but it should work, just place in in gtasa directory and run the loader.

Edited by TonyB.
Link to comment
Share on other sites

ok knock me out

dont have a clue bout all that he he

better start learning this stuff

ill try this soon thanks

 

EDIT

hey op btw ive gone miles above highlimit with my jetpack before i went to the top of chilliad on a jetpack and jus flew up i went miles high tounge.gif

Edited by demonj0e
Link to comment
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.