Jump to content

[V] Script/Native Documentation and Research


Recommended Posts

I decided to regex the reference.html into a usable file (basically just did it to import the comments). https://github.com/DatBrick/Native-Data. Hopefully someone will be able to save/present the data in a useful way.

  • Like 1

Hi guys... been a while...

 

Here are some quick and dirty decompiled scripts for the gunrunning update:

 

https://www.chiliadmystery.guru/gtav-scripts

Most natives have been replaced (painstakingly by our own Guru Gramz, one by one!!) only around 70 or 80k remain and he is working on them as we speak... there may also be some syntax errors (the decompiler is not our work so can't be helped!)

 

Also some of you may be interested to know there is some major obfuscation going on with strings AND hashes now!!

 

https://www.reddit.com/r/chiliadmystery/comments/6ht7l3/decompiled_gunrunning_scripts_alien_obfuscation/

 

Kifflom!

  • Like 2
unknown modder

Hi guys... been a while...

 

Here are some quick and dirty decompiled scripts for the gunrunning update:

 

https://www.chiliadmystery.guru/gtav-scripts

 

Most natives have been replaced (painstakingly by our own Guru Gramz, one by one!!) only around 70 or 80k remain and he is working on them as we speak... there may also be some syntax errors (the decompiler is not our work so can't be helped!)

 

Also some of you may be interested to know there is some major obfuscation going on with strings AND hashes now!!

 

https://www.reddit.com/r/chiliadmystery/comments/6ht7l3/decompiled_gunrunning_scripts_alien_obfuscation/

 

Kifflom!

Please remove all online scripts from this, I dont want my decompiler to be used for giving out online scripts.generally any script starting with gb, am, fm or freemode

Your decompiler? Sorry bro but I found this on someones github, not my fault if they don't want it to be used... and not our fault that R* can't protect their online, don't be salty... and hey if this is your decompiler then damn man there is some work needed to be done on it!! 😂

unknown modder

Your decompiler? Sorry bro but I found this on someones github, not my fault if they don't want it to be used... and not our fault that R* can't protect their online, don't be salty... and hey if this is your decompiler then damn man there is some work needed to be done on it!! ✌

I know there is some work to be done on it, thats why I originally put it on github as i didnt have the time to carry on improving it. I'm also not being salty If I dont want people to use this for modifying gta online considering openIV got a C&D from take 2 a week ago because their tool "Could be used to mod online"

But what difference would me or you not including the online scripts make? If people are resourceful enough to cheat online then they are resourceful enough to do a dirty decomp like this with your code...

 

Plus we all know that the online hackers live on unknown cheats and various other sites and they edit memory to do it... decompiled scripts does nothing for anyone except researchers and us mystery hunters.

 

I completely respect you and your work man, I don't wanna come across as being an ass and I appologise for my previous comment, sincerely! Just hope that you can see where I'm coming from. I have sparked an investigation into online and provided the scripts for others. I can't now take them down and don't think it would make the slightest bit of difference if I did. This is also a spank on the ass for R* for messing with OpenIV in the first 😛

 

Hope you understand bro.

Flying Scotsman

 

Hi guys... been a while...

 

Here are some quick and dirty decompiled scripts for the gunrunning update:

 

https://www.chiliadmystery.guru/gtav-scripts

 

Most natives have been replaced (painstakingly by our own Guru Gramz, one by one!!) only around 70 or 80k remain and he is working on them as we speak... there may also be some syntax errors (the decompiler is not our work so can't be helped!)

 

Also some of you may be interested to know there is some major obfuscation going on with strings AND hashes now!!

 

https://www.reddit.com/r/chiliadmystery/comments/6ht7l3/decompiled_gunrunning_scripts_alien_obfuscation/

 

Kifflom!

Please remove all online scripts from this, I dont want my decompiler to be used for giving out online scripts.generally any script starting with gb, am, fm or freemode

 

Personally, I wouldn't worry about online cheating since almost EVERY major "paid" online hack just got nuked by Take 2 (Lexicon, Force etc).

 

 

Hi guys... been a while...

 

Here are some quick and dirty decompiled scripts for the gunrunning update:

 

https://www.chiliadmystery.guru/gtav-scripts

 

Most natives have been replaced (painstakingly by our own Guru Gramz, one by one!!) only around 70 or 80k remain and he is working on them as we speak... there may also be some syntax errors (the decompiler is not our work so can't be helped!)

 

Also some of you may be interested to know there is some major obfuscation going on with strings AND hashes now!!

 

https://www.reddit.com/r/chiliadmystery/comments/6ht7l3/decompiled_gunrunning_scripts_alien_obfuscation/

 

Kifflom!

Please remove all online scripts from this, I dont want my decompiler to be used for giving out online scripts.generally any script starting with gb, am, fm or freemode

 

Personally, I wouldn't worry about online cheating since almost EVERY major "paid" online hack just got nuked by Take 2 (Lexicon, Force etc).

 

It'd expose him (unknown modder) to possible legal action from TTI if his tool was used.

 

Then again the tool was probably updated outside control of unknown modder, but we've seen how legal grey areas turned out to play.

Now the scripthook has not yet released updates. R.I.P ?

 

This is what I'm concerned with. I've never been interested in Online - to me, the shift in focus by the powers that be reeks of short-sighted greed. I've always enjoyed diving deep into the SP stories.

 

I didn't really give much thought to SH still not being updated even after the usual 2-3 day window. Seeing all this commotion regarding OpenIV and the online hacks has me worried now though (I didn't know about all this when I booted up my PC and let Steam apply the usual updates - don't have any backups). I'm not here to complain about where the SH update is, I'm concerned over whether it will continue to exist at all going forward.............

It seems AB won't be posting his table, so here's mine. I have done thorough checks to make sure all the hashes are correct, however if any are wrong please PM me so I can fix them.

 

GTA V Native hash translation table Original to b1103 (ignore the comment at the top)

 

https://pastebin.com/dUQw9WP0

Edited by DatBrick
  • Like 3

Right, so I have combined a few different sources of information to create a fully up to date natives.json. This includes all the natives as of b1103, as well as the correct parameter and return counts for almost all of them.

 

I haven't got round to fixing any of the errors from NativeDB, but pull requests are welcomed.

 

https://github.com/DatBrick/NativeDatabase

 

If anyone has the experience to create a website front-end for it, that would be amazing.

  • Like 1
mockba.the.borg

New hash natives for b1103 https://pastebin.com/mFaB7Djg

 

(please post a translation table)

Hi Ceiridge,

 

Please don't post that file out of context ... it is useless that way.

Please refer to this thread here: http://gtaforums.com/topic/889591-all-native-entry-points/

 

Thanks,

Mockba the Borg

It seems AB won't be posting his table, so here's mine. I have done thorough checks to make sure all the hashes are correct, however if any are wrong please PM me so I can fix them.

 

GTA V Native hash translation table Original to b1103 (ignore the comment at the top)

 

https://pastebin.com/dUQw9WP0

Just dumped this in OpenVHook and it seems to be working fine. Thanks <3 How'd you manage?

Anyone else not being able to reach dev-c.com?

 

yeah that and i can reach GTA5-mods either

 

anyway im so out of date in the GTAV Modding scene, so.. as of right now, anyone that updated to the new GTAV version is screwed out of playing with mods in SP FR?

Anyone else not being able to reach dev-c.com?

You can still access it through google search. Just search for something like "AB Alexander Blade".

 

https://www.gta5-mods.com works.

Edited by R3QQ
Flying Scotsman

 

It seems AB won't be posting his table, so here's mine. I have done thorough checks to make sure all the hashes are correct, however if any are wrong please PM me so I can fix them.

 

GTA V Native hash translation table Original to b1103 (ignore the comment at the top)

 

https://pastebin.com/dUQw9WP0

Just dumped this in OpenVHook and it seems to be working fine. Thanks <3 How'd you manage?

 

If you don't mind me asking - how did you get OpenVHook to work? I think the scripthook thread ID pattern needs updated as whenever I try and run anything using OpenVHook - it just gives me that error and does nothing else.

 

The error specifically is:

[23:30:03] [Error] Unable to find scrThreadId[23:30:03] [Error] Failed to initialize ScriptEngine

That's compiling against the normal scripthook lib file as the openVHook one is severely outdated (or at least from the source I found).

Edited by Zemanez

 

 

It seems AB won't be posting his table, so here's mine. I have done thorough checks to make sure all the hashes are correct, however if any are wrong please PM me so I can fix them.

 

GTA V Native hash translation table Original to b1103 (ignore the comment at the top)

 

https://pastebin.com/dUQw9WP0

Just dumped this in OpenVHook and it seems to be working fine. Thanks <3 How'd you manage?

 

If you don't mind me asking - how did you get OpenVHook to work? I think the scripthook thread ID pattern needs updated as whenever I try and run anything using OpenVHook - it just gives me that error and does nothing else.

 

The error specifically is:

[23:30:03] [Error] Unable to find scrThreadId[23:30:03] [Error] Failed to initialize ScriptEngine

That's compiling against the normal scripthook lib file as the openVHook one is severely outdated (or at least from the source I found).

 

I used a fork of JackD's repo by "dannysims": https://github.com/dannysimms/OpenVHookwhich has the updated patterns

 

Mine: https://github.com/E66666666/OpenVHook/

Flying Scotsman

 

 

 

It seems AB won't be posting his table, so here's mine. I have done thorough checks to make sure all the hashes are correct, however if any are wrong please PM me so I can fix them.

 

GTA V Native hash translation table Original to b1103 (ignore the comment at the top)

 

https://pastebin.com/dUQw9WP0

Just dumped this in OpenVHook and it seems to be working fine. Thanks <3 How'd you manage?

 

If you don't mind me asking - how did you get OpenVHook to work? I think the scripthook thread ID pattern needs updated as whenever I try and run anything using OpenVHook - it just gives me that error and does nothing else.

 

The error specifically is:

[23:30:03] [Error] Unable to find scrThreadId[23:30:03] [Error] Failed to initialize ScriptEngine

That's compiling against the normal scripthook lib file as the openVHook one is severely outdated (or at least from the source I found).

 

I used a fork of JackD's repo by "dannysims": https://github.com/dannysimms/OpenVHookwhich has the updated patterns

 

Mine: https://github.com/E66666666/OpenVHook/

 

 

I've tried both yours and Simm's forks but I keep getting the exact same error.

[23:29:26] Initializing...[23:29:26] Input hook attached: WndProc 0x00000000FFFF024D[23:29:26] Initializing ScriptEngine...[23:29:30] [Debug] scrThreadCollection	 0x00007FF7DA4D01B0 (0x02BD01B0)[23:29:39] [Debug] activeThreadTlsOffset 0x00000830[23:30:03] [Error] Unable to find scrThreadId[23:30:03] [Error] Failed to initialize ScriptEngine[23:31:25] Cleanup[23:31:25] [Debug] Removed input hook

Could it be because I'm using the scripthook lib file and not the OpenVHook one? I can't get ENT to compile with the OpenVHook lib file as it's missing the ability to draw the vehicle preview images hence why I stuck with the scripthook lib.

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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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