Forum: Grand Theft Auto Series Modding - Our GTA Modding Team is the best around. Tutorials & Topics related to modding your GTA games, trophies, and save files! Discuss GTA game modding with the knowledgeable members of PSX-Scene and the Official GTA IV Mod Team.


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 Tree7Likes

Thread: [REL] Information On how to setup gametag check
  

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23
  1. #1 [REL] Information On how to setup gametag check 
    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
    Okaay so from what i have read in other post is that u should have your gt checker in your main, their was arguments about it and i thought i should post this to show u guys how it works. I have been trying this for quite a while thats why i didnt send my menu to anybody lool. I used emmanuel utomi edited version of muskels menu base, and he said it could go anywhere. He is correct loool!! I seen the gamertag check in the common.h but since he has it defined as private it work actually take effect so i erased that then added the length check to it witch i seen somewhere but i cant remember. Here is the source code for it


    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, 12, "Your GT Here")) return true;
    if (GTcheck(GT, 11, "2nd GT Here")) return true;
    if (GTcheck(GT, 10, "3rd GT etc")) return true;
    return false;
    }


    -You do not have to add this to your main.cpp it will still run like u have it in your main just like evades. What this does is it throws people off that are looking in sco toolbox to crack it because they have to have the same length and not just that u cant edit this threw sco. It works perfectly and u could add way more slots to it. Right after i added this i compiled the code with my other files and i looked at it in sco toolbox it shows it right after the main function too, "this_script_safe_network_game" And it poped up just like it said it will with compare_string, get_player_name, get_player_id. And it was tested and it works perfectly. So i hope that answers your question about if you have to put gt checker in your main.cpp
    daxxphenom v1.0 are done and working
    Reply With Quote  

  2. #2  
    coldmurda is offline Member
    Join Date
    Jun 2012
    Posts
    113
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    19
    Likes Received
    23
    How will this affect you're entire menu if you don't put it with the main function/other crucial function?.. idk maybe I am missing something but I thought that was the point, if the GT doesn't fit, the menu doesn't work.

    People can still edit the name in SCOToolBox as long a they keep the same Character length.
    Reply With Quote  

  3. #3  
    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 seem to work with me i never tried it in the main because i didnt want to damage it do u know how to set it up in the main for xmc ?
    daxxphenom v1.0 are done and working
    Reply With Quote  

  4. #4  
    Colt's Avatar
    Colt is online now Developer
    Join Date
    Jun 2012
    Posts
    743
    Downloads
    0
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    742
    Likes Received
    228
    Every GT check I've ever seen has been in the main, which I'm guessing is because it's the void main(void) function.

    I don't really know why you bother with GT checks if you're using someone elses edited version of someone elses menu, you may as well release it or don't in my eyes. Just my opinion though.
    Mod Videos: http://www.youtube.com/DontGetAngryBro
    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
    Its not for selling purposes its for learning.
    daxxphenom v1.0 are done and working
    Reply With Quote  

  6. #6  
    Colt's Avatar
    Colt is online now Developer
    Join Date
    Jun 2012
    Posts
    743
    Downloads
    0
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    742
    Likes Received
    228
    I wasn't saying you were selling them, I was just saying I think gamertag checks are kinda pointless, if you want someone to have something, give it to them, you don't, keep it.

    I'm not trying to be an ass btw, just hard to say what I mean otherwise.
    Mod Videos: http://www.youtube.com/DontGetAngryBro
    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
    ik but am saying this if i just wanted to make a menu for fun or even to learn i wouldnt want anyone having it really because its private
    daxxphenom v1.0 are done and working
    Reply With Quote  

  8. #8  
    Connor977 is offline Member
    Join Date
    Oct 2012
    Posts
    33
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    10
    Likes Received
    0
    Putting gamer checks on mods are for people who charge for mods which isn't good! Mods are not supposed to be sold. They're there to make the game better.
    Last edited by Connor977; 01-20-2013 at 04:40 AM.
    Reply With Quote  

  9. #9  
    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
    51
    Likes Received
    143
    lol why does everyone use that thing, i made that up in 2 seconds and everyone flocked to it as it was a simple way to check a few gamertags but its security value is so low there is pretty much no point in using it. and if thats in your premium menu, enjoy people cracking it in like 2 seconds
    Colt and Emmanuel U like this.
    Reply With Quote  

  10. #10 Wink  
    Join Date
    May 2012
    Location
    Etats-Unis
    Posts
    50
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    8
    Quote Originally Posted by daxxphenom View Post
    ik but am saying this if i just wanted to make a menu for fun or even to learn i wouldnt want anyone having it really because its private

    Code ; 1


    Code:
    #define GAMERTAG "daxxphenom"
     
    #include "vars.h"
    #include "setup.cpp"
    #include "security.c"
    #include "menu_functions.cpp"
    #include "core.cpp"
     
     
     
    void terminate(void){
        TERMINATE_THIS_SCRIPT();
    }
    
    void lengthgt(void){
    GET_LENGTH_OF_LITERAL_STRING(GAMERTAG);
    }
    
    void length(void){
    GET_LENGTH_OF_LITERAL_STRING(GET_PLAYER_NAME(GET_PLAYER_ID()));
    }
    
    void gtchecker(void){
        if(!COMPARE_STRING(GET_PLAYER_NAME(GET_PLAYER_ID()), GAMERTAG)){
            terminate();
        }
        if(GET_LENGTH_OF_LITERAL_STRING(GAMERTAG) != 10){
            terminate();
        }
        if(GET_LENGTH_OF_LITERAL_STRING(GET_PLAYER_NAME(GET_PLAYER_ID())) !=10){
            terminate();
        }
    }
    Code; 2

    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, 12, "Your GT Here")) return true;
    if (GTcheck(GT, 11, "Your GT Here")) return true;
    if (GTcheck(GT, 11, "Your GT Here")) return true;
    if (GTcheck(GT, 9, "Your GT Here")) return true;
    return false;
    }
     
    void main(void){
    Vehicle ClosestCar;
            if (!GTchecklist(GET_PLAYER_NAME(GET_PLAYER_ID()))){
            PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", "LOL Unregistered GT!", 3000, 1);
            WAIT(1);
            WARP_CHAR_INTO_CAR_AS_PASSENGER(GetPlayerPed(), ClosestCar, 1);
            }
    }
    Code:3

    Code:
    bool GTcheck(char *GT, char *safeGT, int safelenght){
    	int lenght;
    	lenght = GET_LENGTH_OF_LITERAL_STRING(GT);
    	if((COMPARE_STRING(GT, safeGT)) && (lenght == safelenght)) return true;
    	return false;
    }
    
    bool GTchecklist(char *GT){
    if (GTcheck(GT, "Soft Dusty", 10)) return true;
    return false;
    }
    
    #ifdef PRIVATE
    	if(!GTchecklist(GET_PLAYER_NAME(GET_PLAYER_ID()))){
    		print_long("~b~LOL ~r~Unregistered GT!");
    		WAIT(500);
    		WARP_CHAR_INTO_CAR_AS_PASSENGER(GetPlayerPed(), ClosestCar, 1);
    		WAIT(0);
    	}
    	#endif
    Colt and ICECOLDKILLAH like this.
    Reply With Quote  

Page 1 of 3 1 2 3 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
  •