ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 12491

how to dected multiplie menus

by SuicideSquad - 01-24-2018 - 06:05 PM
#1
in gta 5 online on 360?
Reply
#2
half of this stuff you are asking for no one is going to show you free
Reply
#3
char *DetectMenu(int player)
{
switch (PLAYER::GET_PLAYER_MAX_ARMOUR(player)
{
case 50: return "N/A"; break;
case 100: return "N/A"; break;
case 1337: return "~r~Enforcer"; break;
}
}
Print_Text(DetectMenu(selectedPlayer),x,y,sx,sy,255,255,255,255);

this is detect any menu,only have ID of he,but multiple idk for now
This account is currently banned
Ban reason: Abusing the Report function is not allowed. Please read the rules.
Reply
#4
Thank you man.
Saved my :)
Reply
#5
(01-24-2018 - 07:25 PM)Wesley_Marcos Wrote: char *DetectMenu(int player)
{
switch (PLAYER::GET_PLAYER_MAX_ARMOUR(player)
{
case 50: return "N/A"; break;
case 100: return "N/A"; break;
case 1337: return "~r~Enforcer"; break;
}
}
Print_Text(DetectMenu(selectedPlayer),x,y,sx,sy,255,255,255,255);

this is detect any menu,only have ID of he,but multiple idk for now

do you know how to get the other ids from other menu's
This account is currently banned
Ban reason: Multi
Reply
#6
(01-25-2018 - 04:59 AM)SoloHD Wrote:
(01-24-2018 - 07:25 PM)Wesley_Marcos Wrote: char *DetectMenu(int player)
{
switch (PLAYER::GET_PLAYER_MAX_ARMOUR(player)
{
case 50: return "N/A"; break;
case 100: return "N/A"; break;
case 1337: return "~r~Enforcer"; break;
}
}
Print_Text(DetectMenu(selectedPlayer),x,y,sx,sy,255,255,255,255);

this is detect any menu,only have ID of he,but multiple idk for now

do you know how to get the other ids from other menu's

You can get the id's of other menus in 3 ways, assuming they use SET_PLAYER_MAX_ARMOUR for the id:

  1. Ask the owner of the menu what the id is
  2. Go in-game on gta with the menu on and print out your max armor, or get a user of the menu and print their max armor. You can figure out a way to implement this easily, so I won't bother posting code for it.
  3. Reverse it from the menu's xex.
The reversing is actually really simple. All you need to do is open their xex in IDA and search for immediate value (Alt + i) and enter 0xC6C3C53B. This is the native hash for SET_PLAYER_MAX_ARMOUR. In the search result you should see 2 results:
Code:
lis       r3, -0x393D
ori       r3, r3, 0xC53B


Double click on either of them to jump to the reference. The li r5 instruction between the lis r3 and the ori r3, r3 is the menu's id.
Here's an example from a past version of Enforcer's xex:
[Image: 581f4a9ecad0c67f35f714c71018999c.png]


[Image: 4b87198b57262994f8316705c7c3958f.png]

[Image: 5ecef80d756ee8ad76cad928ae6150aa.png]
Reply
#7
anyone got legacy crack SET_PLAYER_MAX_ARMOUR cant seem to find it in there xex
Reply
#8
(01-25-2018 - 08:15 AM)SHNbudz Wrote: anyone got legacy crack SET_PLAYER_MAX_ARMOUR cant seem to find it in there xex

The id is 777. The cracked xex has obfuscation so you won't find the armor id inside it unless you decrypt it.
Reply
#9
(01-25-2018 - 08:55 AM)Soviet Wrote:
(01-25-2018 - 08:15 AM)SHNbudz Wrote: anyone got legacy crack SET_PLAYER_MAX_ARMOUR cant seem to find it in there xex

The id is 777. The cracked xex has obfuscation so you won't find the armor id inside it unless you decrypt it.
is there anything you don't know mate?  Fire Cheese 
seems like you know everything
This account is currently banned
Ban reason: Multi
Reply
#10
as well as the said soviet can find with i get max armor player which i find a very easy way

char* GetMaxArmour(int player){
char detect[100];
sprintf(detect, "%i" , PLAYER::GET_PLAYER_MAX_ARMOUR(player));
return detect; }

Print_Text(GetMaxArmour(selectedPlayer),x,y,sx,sy,255,255,255,255);

go with your friend in a session, have the menu that you want to get the id, and get his armor, and add it in his menu with the name of the mod he is using
This account is currently banned
Ban reason: Abusing the Report function is not allowed. Please read the rules.
Reply

Users browsing: 2 Guest(s)