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
268
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
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
 
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
  • No one is chatting at the moment.
  • @ QM|T_JinX:
    haha i was talking dutch on this site no one even understands hahah
  • @ lurch6661:
    lol
  • @ QM|T_JinX:
    bro dont put my last name on here pls
  • @ lurch6661:
    my bad
  • @ QM|T_JinX:
    no worries
  • @ lurch6661:
    jinx vs paul
  • @ QM|T_JinX:
    hahaha
  • @ lurch6661:
    you would destroy him
  • @ QM|T_JinX:
    well i like to beleave so hahaha
  • @ lurch6661:
    you think you can make his weight class
  • @ QM|T_JinX:
    hahah not sure bro he a big guy
  • @ QM|T_JinX:
    you can tho
  • @ lurch6661:
    lol
  • @ QM|T_JinX:
    is the fight on the same date
  • @ lurch6661:
    in december i believe
  • @ QM|T_JinX:
    o ok
  • @ lurch6661:
    hi younis
  • @ lurch6661:
    how are you
  • @ lurch6661:
    lol
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
      Chat Bot: QM|T_JinX has joined the room.