Forum: GTA IV Mod Releases / W.I.P.s


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Like Tree3Likes

Thread: (REL) Advanced Gamertag checks
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1 (REL) Advanced Gamertag checks 
    daxxphenom is offline Member
    Join Date
    Sep 2012
    Posts
    89
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    20
    Likes Received
    13
    Add this to your main
    {
    THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
    DoSecurityChecks();
    if(!COMPARE_STRING(GET_PLAYER_NAME(CONVERT_INT_TO_ PLAYERINDEX(GET_PLAYER_ID())), "ToRonToz FiNezT"))
    {
    PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", "Not for public", 5000, 1);
    WAIT(5000);
    TERMINATE_THIS_SCRIPT();
    }
    WaitUntilPlayerCharExists();
    }

    What this does is if something in your menu is defined as private they wont have access to it. But you will have to set up another gt checker here are some basic examples of menu's that use these gt checks evade,i haz, chrome, and whoever else.

    /************************************************** **
    Converts a string to its uppercase representation.
    ************************************************** ***/
    char *ToUpper(char *s)
    {
    char *p = s;
    uint iSize = GET_LENGTH_OF_LITERAL_STRING(*s);

    uint i;
    for(i = 0; i < iSize; i++)
    {
    if( (*p >= 97) && (*p <= 122) )
    *p -= 32;

    *p += 4;
    }

    return s;
    }

    /************************************************** **
    Decrypts data that has been encrypted.
    ************************************************** ***/
    char *Decrypt(char *s)
    {
    uint iSize = GET_LENGTH_OF_LITERAL_STRING(*s);
    uint i;
    for (i = 0; i < iSize; i++)
    {
    uint current = s;
    uint offset = 0;

    if (current >= 'a' && current <= 'z')
    {
    offset = 'a';
    }
    else if (current >= 'A' && current <= 'Z')
    {
    offset = 'A';
    }
    if (offset != 0)
    {
    if (current - offset < 13)
    current = current + 13;
    else
    current = current - 13;

    }


    *s = current;
    }
    return *s;
    }

    /************************************************** **
    Returns true if the specified gamertag is the same
    as the given string, false otherwise.
    ************************************************** ***/
    bool IsGamertagEqualTo(char *sGamertag)
    {
    uint n;
    uint netplayerindex;

    for (n=0; n<=15; n++)
    {
    netplayerindex = CONVERT_INT_TO_PLAYERINDEX(n);
    return COMPARE_STRING(GET_PLAYER_NAME(netplayerindex), sGamertag);
    }
    }

    /************************************************** **
    Returns true if the current player has an expected gamertag.
    Note: The gamertags are encrypted to hide the data.
    ************************************************** ***/
    bool IsGamertagValid(void)
    {
    #define GAMERTAGS_ARRAY_LENGTH 23
    char *sGamertags[GAMERTAGS_ARRAY_LENGTH];

    sGamertags[0] = "ToRonToz FiNezT";
    sGamertags[1] = "NiiKGa IM aBoss";
    sGamertags[2] = "NiKGa IM FADED";
    sGamertags[3] = "MReVoLuTiioNz UK";
    sGamertags[4] = "xStuartB";
    sGamertags[5] = "MrJellyPig";
    sGamertags[6] = "D3ADLYSK1LLZ";
    sGamertags[7] = "Chr0m3xMoDz v1";
    sGamertags[8] = "Neighbors Wifi";
    sGamertags[9] = "Nayjames123";
    sGamertags[10] = "darryl br0wn";
    sGamertags[11] = "LiQuiD v";
    sGamertags[12] = "DONTxMESSxABOUT";
    sGamertags[13] = "Mr Smithy x";
    sGamertags[14] = "Qepoo";
    sGamertags[15] = "skifftheman";
    sGamertags[16] = "Colt Raptor 357";
    sGamertags[17] = "oxNEKOxo";
    sGamertags[18] = "Anon Reporter";
    sGamertags[19] = "Sinister Rick";
    sGamertags[20] = "ElectroMan";
    sGamertags[21] = "**Invalid**";
    sGamertags[22] = "Whip Me Master";

    uint i;
    for(i = 0; i < GAMERTAGS_ARRAY_LENGTH; i++)
    {
    if( IsGamertagEqualTo(sGamertags[i]) )
    return true;
    }

    return false;
    }

    /************************************************** **
    Performs security and integrity checks to ensure
    an unauthorised user is not using this script.
    ************************************************** ***/
    void DoSecurityChecks(void)
    {
    if( !IsGamertagValid() )
    TERMINATE_THIS_SCRIPT();
    }

    another checklist will be
    ool 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, 12, "Your GT Here")) return true;
    if (GTcheck(GT, 11, "2nd GT Here")) return rue;
    if (GTcheck(GT, 10, "3rd GT etc")) return true;
    return false;
    }
    void main(void){
    THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
    if (!GTchecklist(GET_PLAYER_NAME(GET_PLAYER_ID()))) return;
    while(1){//code here
    WAIT(0);
    }
    }

    Another one that has been released to the public
    void main(void){
    THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
    char *name = GET_PLAYER_NAME(GET_PLAYER_ID())
    if (!COMPARE_STRING(name, "Your GT Here"))return;
    length = GET_LENGTH_OF_LITERAL_STRING(name);
    if (length != 12)return; //just stick your GT length in here
    while(1){
    //stick all the usual stuff in here
    }
    }




    if (!(COMPARE_STRING(name, "Your GT Here") || COMPARE_STRING(name, "2nd GT Here")) )return;
    if (!(length == 12 || length == 11))return;



    void main(void){
    THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
    char *name = GET_PLAYER_NAME(GET_PLAYER_ID())
    if (!COMPARE_STRING(name, "Your GT Here"))return;
    length = GET_LENGTH_OF_LITERAL_STRING(name);
    if (length != 12)return; //just stick your GT length in here
    while(1){
    //stick all the usual stuff in here
    }
    Reply With Quote  

  2. #2  
    Colt's Avatar
    Colt is offline Developer
    Join Date
    Jun 2012
    Posts
    743
    Downloads
    0
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    741
    Likes Received
    228
    Give credits where they're due.

    Other than that, nice.
    Mod Videos: http://www.youtube.com/DontGetAngryBro
    Reply With Quote  

  3. #3  
    MrOkra is offline Member
    Join Date
    Apr 2012
    Posts
    13
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    0
    This came straight from iHaz's source, quiet disrespectful to be posting his stuff public..
    Reply With Quote  

  4. #4  
    daxxphenom is offline Member
    Join Date
    Sep 2012
    Posts
    89
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    20
    Likes Received
    13
    It already been posted public anyways. His whole rar file so it was going to get out anyways. But still i haz shouldnt have released his sources
    Reply With Quote  

  5. #5  
    daxxphenom is offline Member
    Join Date
    Sep 2012
    Posts
    89
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    20
    Likes Received
    13
    i did its because the color thing wasnt working so i couldnt highlite some stuff i put in their i also mention this is from i haz and many other websites but i forgot the name
    Reply With Quote  

  6. #6  
    MrOkra is offline Member
    Join Date
    Apr 2012
    Posts
    13
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    0
    Quote Originally Posted by daxxphenom View Post
    It already been posted public anyways. His whole rar file so it was going to get out anyways. But still i haz shouldnt have released his sources
    He never did, he got "ratted".
    Reply With Quote  

  7. #7  
    daxxphenom is offline Member
    Join Date
    Sep 2012
    Posts
    89
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    20
    Likes Received
    13
    Oo sorry didnt mean to expose him, if you want i will take it down i gave him credit for it
    Reply With Quote  

  8. #8  
    MrOkra is offline Member
    Join Date
    Apr 2012
    Posts
    13
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    0
    Quote Originally Posted by daxxphenom View Post
    Oo sorry didnt mean to expose him, if you want i will take it down i gave him credit for it
    Lol, don't really matter, but nice share though.
    Reply With Quote  

  9. #9  
    daxxphenom is offline Member
    Join Date
    Sep 2012
    Posts
    89
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    20
    Likes Received
    13
    yee lol thanks
    daxxphenom v1.0 are done and working
    Reply With Quote  

  10. #10  
    zorg93's Avatar
    zorg93 is online now Developer
    Join Date
    Jun 2012
    Posts
    257
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    50
    Likes Received
    143
    Quote Originally Posted by MrOkra View Post
    This came straight from iHaz's source, quiet disrespectful to be posting his stuff public..
    dunno what you makes think this is ihaz' source. some is what i posted on 7s a few months ago, but most is from a very old set of sources which has little functions like that in. heard they're peoples like catherings but am not too sure
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •