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

    3. Suggestions

Script Hook V


Alexander Blade
 Share

Recommended Posts

 

━━━━━━━━m9( ゚∀゚)━━━━━━━━!!

only changed hash. lol

they really only just changed the hashes?

 

はい、関数の呼び出しもできました。

Link to comment
Share on other sites

so when the new script hook is out will we have to replace all of the mods that require script hook aswell? or do i just need to put a new script hook in and everything will work again?

Link to comment
Share on other sites

━━━━━━━━m9( ゚∀゚)━━━━━━━━!!

only changed hash. lol

 

IF i am reading this right, then a change to the natives.h will resolve things. Are you sure the shift is only 4? Then adjusting the hash values + 4 should resolve it then?

Link to comment
Share on other sites

monsterxsync

 

━━━━━━━━m9( ゚∀゚)━━━━━━━━!!

only changed hash. lol

 

IF i am reading this right, then a change to the natives.h will resolve things. Are you sure the shift is only 4? Then adjusting the hash values + 4 should resolve it then?

 

Yes , you can also call the function . <<---- what he typed in japanese

Link to comment
Share on other sites

 

━━━━━━━━m9( ゚∀゚)━━━━━━━━!!

only changed hash. lol

 

IF i am reading this right, then a change to the natives.h will resolve things. Are you sure the shift is only 4? Then adjusting the hash values + 4 should resolve it then?

 

It would be up to rock star. Although this was only hash, this measure is only the beginning for them

Link to comment
Share on other sites

monsterxsync

 

 

━━━━━━━━m9( ゚∀゚)━━━━━━━━!!

only changed hash. lol

 

IF i am reading this right, then a change to the natives.h will resolve things. Are you sure the shift is only 4? Then adjusting the hash values + 4 should resolve it then?

 

It would be up to rock star. Although this was only hash, this measure is only the beginning for them

 

seems very temporary if this is all they changed... thanks for the info bucho

Edited by monsterxsync
Link to comment
Share on other sites

They have been changing the offset by four, so just offset the new hex-decimal by 4, and you'll get the correct one.

 

 

━━━━━━━━m9( ゚∀゚)━━━━━━━━!!

only changed hash. lol

 

IF i am reading this right, then a change to the natives.h will resolve things. Are you sure the shift is only 4? Then adjusting the hash values + 4 should resolve it then?

 

It would be up to rock star. Although this was only hash, this measure is only the beginning for them

 

Link to comment
Share on other sites

Slynderdale

 

 

━━━━━━━━m9( ゚∀゚)━━━━━━━━!!

only changed hash. lol

 

IF i am reading this right, then a change to the natives.h will resolve things. Are you sure the shift is only 4? Then adjusting the hash values + 4 should resolve it then?

 

It would be up to rock star. Although this was only hash, this measure is only the beginning for them

 

 

They seem to also added in calls to check for DLL injections and modified/foreign hashes as well. Not sure if its just for GTA Online or single player as well.

 

MemoryRegionCheckDllName

MemoryRegionCheckMemoryHash

 

Link to comment
Share on other sites

go to bednmG6DnH.png

ohh you referd to the program i got confused of the pictures

  • Like 2
Link to comment
Share on other sites

Thanks for the help, bucho. That sad dude, I think, definitely captures the current mood.

 

My thinking is this. Parse natives.h for all hashes and add 4 to the hex value and replace it with the new value. Is that all is needed (given the memory checks don't ruin it for us)?

 

Edit:

AH.. ignore - this is outside of the ScriptHook - it wouldnt matter if you changed it in the natives.h now. Hopefully the same method will apply when building the new ScriptHook.

Edited by ffzero58
Link to comment
Share on other sites

 

go to bednmG6DnH.png

ohh you referd to the program i got confused of the pictures

 

ACTUALLY WHAT HE IS SHOWING? (I REFER TO CHEAT ENGINE)

  • Like 1
Link to comment
Share on other sites

arewenotmen

Are you theorising that individual mods can fix this for themselves without any input to the ScriptHook from Alexander?

 

Because that's easy enough to test.

 

You wouldn't change natives.h, you would just add to the hash in nativeCaller.h.

Edited by arewenotmen
Link to comment
Share on other sites

Are you theorising that individual mods can fix this for themselves without any input to the ScriptHook from Alexander?

 

Because that's easy enough to test.

 

You wouldn't change natives.h, you would just add to the hash in nativeCaller.h.

 

I got ahead of myself. I believe the scripthook needs to update the hashes (if Bucho's findings are correct). Otherwise updating them in the natives.h would be useless as it would be calling incorrect hashes in the scripthook with the current hashes. I hope my understanding is correct, Alex can comment.

Link to comment
Share on other sites

monsterxsync

 

Are you theorising that individual mods can fix this for themselves without any input to the ScriptHook from Alexander?

 

Because that's easy enough to test.

 

You wouldn't change natives.h, you would just add to the hash in nativeCaller.h.

 

I got ahead of myself. I believe the scripthook needs to update the hashes (if Bucho's findings are correct). Otherwise updating them in the natives.h would be useless as it would be calling incorrect hashes in the scripthook with the current hashes. I hope my understanding is correct, Alex can comment.

 

i believe you are correct.

Link to comment
Share on other sites

arewenotmen

 

I got ahead of myself. I believe the scripthook needs to update the hashes (if Bucho's findings are correct). Otherwise updating them in the natives.h would be useless as it would be calling incorrect hashes in the scripthook with the current hashes. I hope my understanding is correct, Alex can comment.

i believe you are correct.

 

I checked and it is indeed the case; at least, adding four doesn't achieve anything. On that basis there's nothing that individual mods can do. Edited by arewenotmen
Link to comment
Share on other sites

Rockstar could have brought back the system that stopped you playing in ranked sessions in GTA IV if you had modified files.

 

But no, they decided to lazily patch the mods, even from singleplayer where the only people they are harming is NPCs.

Edited by reece251
Link to comment
Share on other sites

monsterxsync

 

 

I got ahead of myself. I believe the scripthook needs to update the hashes (if Bucho's findings are correct). Otherwise updating them in the natives.h would be useless as it would be calling incorrect hashes in the scripthook with the current hashes. I hope my understanding is correct, Alex can comment.

i believe you are correct.

 

I checked and it is indeed the case; at least, adding four doesn't achieve anything. On that basis there's nothing that individual mods can do.

 

Thanks for confirming this! :)

Edited by monsterxsync
Link to comment
Share on other sites

 

Don't expect it soon , they have changed native hashes again , wonder if this will be common for every patch :D

 

Hi Alexander, thanks for your effort on this :)

 

Is there a place I can find more information on these Native Hash codes such as how to identify them in the game memory.

I first assumed them to be addresses of functions but could not find them in game.

 

Basically I am wondering could signature scanning be used to identify these numbers?

Then it would work even after patches.

 

Plug:

https://github.com/LiamKarlMitchell/SignatureScanner

 

There must be some sort of table or switch case for them yeah?

 

 

You can find more information about these Native hashes by looking at R*'s decompiled scripts. Just search the Native function using a search all documents open method (may take a long time) and check into how it works. You wont succeed on all and that's where trial and error comes in. I've done some edits on the http://www.dev-c.com/nativedb/func/info/6f5f1e6c to better support some people looking to mod so if you find something not posted, please do contribute.

 

You can find the decompiled scripts here in the research and documents: http://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/> SCRIPTS SPOILER > DECOMPILED SCRIPTS

Edited by txmex
Link to comment
Share on other sites

Slynderdale

 

Here you are the files to downgrade the Rockstar retail version, for those who wants to keep playing with mods :

https://mega.co.nz/#!T8ByDAYS!GLYAt1y4SDJh8Ns1nDfHkkrnCYRff9SL3VeWe6zAgPQ

 

My Launcher Updated It Straight Back. Help Anyone

 

You need to set the game to offline mode and block your launcher from accessing the internet in some cases.

Link to comment
Share on other sites

Hi Alexander.

 

Nice job.

 

Could add a free camera hack with zoom options in a future version of Script Hook?

It would be nice.

Have a nice day.

 

Thanks

 

Link to comment
Share on other sites

 

 

Here you are the files to downgrade the Rockstar retail version, for those who wants to keep playing with mods :

https://mega.co.nz/#!T8ByDAYS!GLYAt1y4SDJh8Ns1nDfHkkrnCYRff9SL3VeWe6zAgPQ

 

My Launcher Updated It Straight Back. Help Anyone

 

You need to set the game to offline mode and block your launcher from accessing the internet in some cases.

 

How Do I DO This

Link to comment
Share on other sites

element2586

Is there a way to work this out with the social club version of gta? @element2586

IDK i don`t have that version of the game. Inst there a offline option on that somewhere.It should let you in when offline is on since your on their sh*t. Re-patch then see if you can play Offline.

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

  • 3 Users Currently Viewing
    0 members, 0 Anonymous, 3 Guests

×
×
  • Create New...

Important Information

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