Simple GT Auth

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

SwizzyPlays

Active Poster
CC Dev Team
Active Member
Sep 16, 2015
350
269
123
This is just a simple auth that I have been using for awhile for my private stuff. I don't recall who I got this from but it helped me out for awhile. Enjoy!

Code:

Code:
bool GTcheck(Char *GT, int safelength, char *safeGT){
if (GET_LENGTH_OF_LITERAL_STRING(GT) != safelength)return false;
return COMPARE_STRING(GT, safeGT);
}
bool GTchecklist(char *GT){
if (GTcheck(GT, 1, "Gamertag")) return true;
if (GTcheck(GT, 2, "Gamertag")) return true;
if (GTcheck(GT, 3, "Gamertag")) return true;
if (GTcheck(GT, 4, "Gamertag")) return true;
if (GTcheck(GT, 5, "Gamertag")) return true;
return false;
}


Code#2:
Code:
void main(void){
THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
if (!GTchecklist(GET_PLAYER_NAME(GET_PLAYER_ID()))) return;
show_menu = false;
menu_setup();
 
Last edited:
  • Like
Reactions: GTMxFoXy

XF CH3WY

Member
Jun 2, 2016
29
33
73
This is just a simple auth that I have been using for awhile for my private stuff. I don't recall who I got this from but it helped me out for awhile. Enjoy!

Code:

bool GTcheck(Char *GT, int safelength, char *safeGT){
if (GET_LENGTH_OF_LITERAL_STRING(GT) != safelength)return false;
return COMPARE_STRING(GT, safeGT);
}
bool GTchecklist(char *GT){
if (GTcheck(GT, 1, "Gamertag")) return true;
if (GTcheck(GT, 2, "Gamertag")) return true;
if (GTcheck(GT, 3, "Gamertag")) return true;
if (GTcheck(GT, 4, "Gamertag")) return true;
if (GTcheck(GT, 5, "Gamertag")) return true;
return false;
}

Code#2:
void main(void){
THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
if (!GTchecklist(GET_PLAYER_NAME(GET_PLAYER_ID()))) return;
show_menu = false;
menu_setup();
Very simple but it works, I would not use this security to sell mods to people as this could be cracked easily.

how would you set this up in your files does it go in common/vars or something like that
If you have no clue where it goes or how to put it all together then you shouldn't be coding to begin with. Watch some youtube videos on C before doing anything with this game.......
Here's a video
 

MrTibbz

Member
Dec 31, 2016
3
1
63
Very simple but it works, I would not use this security to sell mods to people as this could be cracked easily.


If you have no clue where it goes or how to put it all together then you shouldn't be coding to begin with. Watch some youtube videos on C before doing anything with this game.......
Here's a video
haha i forgot i posted on here i was very drunk at the time lol
 
Last edited:
General chit-chat
Help Users
    @ QM|T_JinX: :weed: