Quantcast

Jump to content

» «
Photo

[V] Script/Native Documentation and Research

1,034 replies to this topic
ins1de
  • ins1de

    Vi Veri Veniversum Vivus Vici

  • Members
  • Joined: 23 Apr 2016
  • Antarctica

#1021

Posted 4 weeks ago Edited by ins1de, 4 weeks ago.

Native research

 

EDIT : Don't read what I wrote yesterday, I've noticed I made some mistakes and I'm working on an new topic.

Spoiler
  • jedijosh920 and The_Creator like this

ikt
  • ikt

    HAAAAAAAAANDS

  • Members
  • Joined: 02 Oct 2006
  • None

#1022

Posted 4 weeks ago Edited by ikt, 4 weeks ago.



Hi all,

 

Has anyone found a native to add torque at position to entity/vehicle? Or to add force at position? I'm trying to implement custom physics and I need, at least, one of these natives.

 

Also, the link to the Multithreaded native bruteforce tool in first post seems to be dead. Can someone reaupload it?

 

Thanks.

 

APPLY_FORCE_TO_ENTITY or APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS?


Rbn3D
  • Rbn3D

    Player Hater

  • Members
  • Joined: 18 Mar 2017
  • Spain

#1023

Posted 4 weeks ago

 



Hi all,

 

Has anyone found a native to add torque at position to entity/vehicle? Or to add force at position? I'm trying to implement custom physics and I need, at least, one of these natives.

 

Also, the link to the Multithreaded native bruteforce tool in first post seems to be dead. Can someone reaupload it?

 

Thanks.

 

APPLY_FORCE_TO_ENTITY or APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS?

 

 

Thanks. I really mean to add torque to an offset postion from entity, which seems like not possible. Torque may be added by the rotation arguments of APPLY_FORCE_TO_ENTITY, (I guess). Would be nice to have more ways to interact with physics (add force/torque at position and so on)


NTAuthority
  • NTAuthority

    hell, no, tunnel, no

  • Feroci
  • Joined: 09 Sep 2008
  • European-Union
  • Best Script or Plugin 2016 [SkyGfx] [Contribution]
    Best Conversion 2014 [ViIV for GTANY]
    Most Knowledgeable [Tech] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Contribution Award [Mods]

#1024

Posted 4 weeks ago

HEAD_DISPLAY stuff -> actually MP_GAMER_TAG

 

example:

SET_MP_GAMER_TAG_VISIBILITY

SET_MP_GAMER_TAG_WANTED_LEVEL

IS_MP_GAMER_TAG_ACTIVE

  • ikt, sasuke78200, Fireboyd78 and 2 others like this

Kryptus
  • Kryptus

    Mod Developer - PS3 / PC

  • Members
  • Joined: 04 Jun 2015
  • United-States

#1025

Posted 2 weeks ago Edited by Kryptus, 2 weeks ago.

"_SET_NOTIFICATION_CLEARING"
I really had no idea what to name this. It prohibits (feed / above minimap) notifications from being shown above the given Y position. i.e. pass 0.5 and it won't allow any notifications to be drawn at or above 0.5. To reset, call it and pass 0. Found it by working out the drawing functions in am_pi_menu and pi_menu.
 
If anyone finds the correct native name please quote me, I'd love to know.

  • Unknown_Modder likes this

Cosmo619
  • Cosmo619

    Developer

  • Members
  • Joined: 17 Nov 2013
  • None

#1026

Posted A week ago Edited by Cosmo619, A week ago.

Anyone know what's going on with Native DB? A lot of names are turning back into their hashes and descriptions are disappearing from a lot.

 

Create Object was:

Object CREATE_OBJECT(Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL p5, BOOL dynamic)

-

And is now:

Any CREATE_OBJECT(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6)

Unknown_Modder
  • Unknown_Modder

    ⭐⭐⭐⭐⭐

  • Members
  • Joined: 07 May 2015
  • Germany

#1027

Posted A week ago

 

Anyone know what's going on with Native DB? A lot of names are turning back into their hashes and descriptions are disappearing from a lot.

 

Create Object was:

Object CREATE_OBJECT(Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL p5, BOOL dynamic)

-

And is now:

Any CREATE_OBJECT(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6)

This happened for like the 5th time. Someone else already made a topic about this: http://gtaforums.com...just-happening/


Kryptus
  • Kryptus

    Mod Developer - PS3 / PC

  • Members
  • Joined: 04 Jun 2015
  • United-States

#1028

Posted A week ago

 

Anyone know what's going on with Native DB? A lot of names are turning back into their hashes and descriptions are disappearing from a lot.

 

Create Object was:

Object CREATE_OBJECT(Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL p5, BOOL dynamic)

-

And is now:

Any CREATE_OBJECT(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6)

People use some sh*t like bots ever so often to wipe sh*t for whatever reason.


Kryptus
  • Kryptus

    Mod Developer - PS3 / PC

  • Members
  • Joined: 04 Jun 2015
  • United-States

#1029

Posted A week ago

DB is f*cked again


sfinktah
  • sfinktah

    Player Hater

  • Members
  • Joined: 03 Jul 2016
  • Australia

#1030

Posted A week ago Edited by sfinktah, A week ago.

So, ... like, I've been trying to work out how to send text chat (I can already read it), and I'm running across some natives that I don't yet know the exact purpose of, but at least know they're to do with text chat.

If anyone else wants to do something with this info, well, whatever. Addresses are from SC b1011 because .. well seriously, b1032 is obfu^2.
 
// Hoping this understand the code tag

// used by HUD____0xF47E567B3630DD12
void __fastcall HUD____0xF47E567B3630DD12_0(scrNativeCallContext *a1)// sub_142F1803F - may vary, thunk target for native
{
  if ( p_textChatObject )
    0xf47e567b3630dd12_2((__int64)p_textChatObject, *(_DWORD *)a1->pArgs != 0, a1->pArgs->a2.INT32);
}

// [TEST] used by HUD____0xF47E567B3630DD12
void __fastcall 0xf47e567b3630dd12_2(textChatStruct *chatty, char a2, int a3) // sub_1401C5780
{
  chatty->field_14C = a2;
  chatty->field_148 = a3;
}
might post some more shortly

p.s. Sudo just pointed out that this native was added in march 2016. so it might be something to do with setting the chat message to the BIKER group or whatever dlc was added then. i don't keep up with these new fangled inventions of r*

GTANAdam
  • GTANAdam

    Mod Developer

  • New Members
  • Joined: 17 Mar 2017
  • Ukraine

#1031

Posted A week ago Edited by GTANAdam, A week ago.

 

 

Anyone know what's going on with Native DB? A lot of names are turning back into their hashes and descriptions are disappearing from a lot.

 

Create Object was:

Object CREATE_OBJECT(Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL p5, BOOL dynamic)

-

And is now:

Any CREATE_OBJECT(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6)

People use some sh*t like bots ever so often to wipe sh*t for whatever reason.

 

 

We've seen this happen several times.. it seems like some folks are just having fun ruining the nativedb for everyone thus forcing us to revert these non sense changes.

gXkDPzB.png


Kryptus
  • Kryptus

    Mod Developer - PS3 / PC

  • Members
  • Joined: 04 Jun 2015
  • United-States

#1032

Posted 2 days ago

Couple questions.

 

1. Is there a general list someone has of natives that have been added with DLC? I saw the one involving boosts which would have been the Imports & Exports DLC but I didn't see any others.

2. Why don't the new natives get added to the native db?


Kryptus
  • Kryptus

    Mod Developer - PS3 / PC

  • Members
  • Joined: 04 Jun 2015
  • United-States

#1033

Posted 7 hours ago

DB Reset Again


DatBrick
  • DatBrick

    Brick

  • Members
  • Joined: 08 Nov 2015
  • United-Kingdom

#1034

Posted 5 hours ago Edited by DatBrick, 5 hours ago.

Couple questions.

 

1. Is there a general list someone has of natives that have been added with DLC? I saw the one involving boosts which would have been the Imports & Exports DLC but I didn't see any others.

 A hash translation such as { 0x0000000000000000, 0x47B595D60664CFFA } means it was added that update.

To find all the natives added in a patch, just find all the natives that were translated from 0x0000000000000000


R3QQ
  • R3QQ

    Den som söker han finner

  • Members
  • Joined: 30 May 2015
  • Sweden

#1035

Posted 5 hours ago

Maybe resets by bots can be prevented by adding captchas. For example, before making changes the user would have to pass one of those. 





5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users