Automatic System scRipt

Discussion in 'Web scripts' started by DDoSBoy, Aug 17, 2016.

  1. Special

    Special Contributing Member

    I'll do a new update , i'll do a support more groups , and i'll make that very easy , with config :)
    Coming soon :)
     
    Umar and AAaaLLi1 like this.
  2. Special

    Special Contributing Member

    New Update 1.1 Automatic system script
    Whats the news?
    Add more groups , make it with config :) very easy to edit them

    Note : If you want a new update Just type what do you want for the next update
    Config Here :
    Just change the Numbers i type And make it as you need :)
    PHP:
    <?php
    #   ____             __ _     
    #  / ___|___  _ __  / _(_) __ _
    # | |   / _ \| '_ \| |_| |/ _` |
    # | |__| (_) | | | |  _| | (_| |
    #  \____\___/|_| |_|_| |_|\__, |
    #                         |___/
    // Info
    $YATQA_username '';
    $YATQA_password '';
    $YATQA_queryport '';
    $server_ip '';
    $server_port '';
    $botname '[R4P3]Automatic-System%20Bot%20['mt_rand(099).']';
    #Settings
    $firstGroup '6';
    //Here type the ids For group's you want to add them it
    $firstGroup1 '9';
    $firstGroup2 '10';
    $firstGroup3 '11';
    //To Group
    $toGroup '12';
    //Here type the ids For group's you want to add them it
    $toGroup1 '13';
    $toGroup2 '14';
    $toGroup3 '15';
    //Three Group
    $threeGroup '16';
    //Here type the ids For group's you want to add them it
    $threeGroup1 '17';
    $threeGroup2 '18';
    $threeGroup3 '109';
    // If you want to make more groups just do same i do


    ?>
    Here Original PHP File Auto.php
    dont do anything or edit them just edit in config.php
    PHP:
    <?php
    #  ____                  _       _   
    # / ___| _ __   ___  ___(_) __ _| | 
    # \___ \| '_ \ / _ \/ __| |/ _` | | 
    #  ___) | |_) |  __/ (__| | (_| | |___
    # |____/| .__/ \___|\___|_|\__,_|_____|
    #       |_|             
    #  __  __      _____                      ____
    # |  \/  | __ |___  | __ ___   ___  _   _|  _ \
    # | |\/| |/ _` | / / '_ ` _ \ / _ \| | | | | | |
    # | |  | | (_| |/ /| | | | | | (_) | |_| | |_| |
    # |_|  |_|\__,_/_/ |_| |_| |_|\___/ \__,_|____/

    # Information                                 
    # Youtube Channel : SpeciaL Programmer
    # Forum : R4P3.NET
    # Author : SpeciaL @Special , Ma7mouD @DDosBoy
    require_once("libraries/TeamSpeak3/TeamSpeak3.php");
    include_once(
    "config.php");
    $ts3_VirutalServer TeamSpeak3::factory("serverquery://".$YATQA_username.":".$YATQA_password."@".$server_ip.":".$YATQA_queryport."/?server_port=".$server_port."&nickname=".$botname."");
        
    $ClientList $ts3_VirutalServer->clientlist();
            foreach(
    $ClientList as $Client)
    {
                
    $_SESSION ['ggids'] = explode(","$Client["client_servergroups"]);
                if(
    in_array($firstGroup,$_SESSION['ggids']))
                {
                if(!
    in_array($firstGroup1,$_SESSION['ggids']))
                if(!
    in_array($firstGroup2,$_SESSION['ggids']))
                if(!
    in_array($firstGroup3,$_SESSION['ggids']))
                {
                    
    $Client->addservergroup($firstGroup1);
                    
    $Client->addservergroup($firstGroup2);
                    
    $Client->addservergroup($firstGroup3);
                }
    }
                
    $_SESSION ['ggids'] = explode(","$Client["client_servergroups"]);
                if(
    in_array($toGroup,$_SESSION['ggids']))
                {
                if(!
    in_array($toGroup1,$_SESSION['ggids']))
                if(!
    in_array($toGroup2,$_SESSION['ggids']))
                if(!
    in_array($toGroup3,$_SESSION['ggids']))
                {
                    
    $Client->addservergroup($toGroup1);
                    
    $Client->addservergroup($toGroup2);
                    
    $Client->addservergroup($toGroup3);
        }
    }
                
    $_SESSION ['ggids'] = explode(","$Client["client_servergroups"]);
                if(
    in_array($threeGroup,$_SESSION['ggids']))
                {
                if(!
    in_array($threeGroup1,$_SESSION['ggids']))
                if(!
    in_array($threeGroup2,$_SESSION['ggids']))
                if(!
    in_array($threeGroup3,$_SESSION['ggids']))
                {
                    
    $Client->addservergroup($threeGroup1);
                    
    $Client->addservergroup($threeGroup2);
                    
    $Client->addservergroup($threeGroup3);
                }
    }
    }
    #   ____ _               _           
    #  / ___| |__   ___  ___| | _____ _ __
    # | |   | '_ \ / _ \/ __| |/ / _ \ '__|
    # | |___| | | |  __/ (__|   <  __/ | 
    #  \____|_| |_|\___|\___|_|\_\___|_|
     
    // Thats checker For remove server groups                               
            
    $ClientList $ts3_VirutalServer->clientlist();
    foreach(
    $ClientList as $Client)
    {
      
        
    $_SESSION ['ggids'] = explode(","$Client["client_servergroups"]);
        if(!
    in_array($firstGroup,$_SESSION['ggids']))
        {
            if(
    in_array($firstGroup1,$_SESSION['ggids']))
            if(
    in_array($firstGroup2,$_SESSION['ggids']))
            if(
    in_array($firstGroup3,$_SESSION['ggids']))
        {
            
    $Client->remservergroup($firstGroup1);
            
    $Client->remservergroup($firstGroup2);
            
    $Client->remservergroup($firstGroup3);
        }
        }
        
    $_SESSION ['ggids'] = explode(","$Client["client_servergroups"]);
        if(!
    in_array($toGroup,$_SESSION['ggids']))
        {
            if(
    in_array($toGroup1,$_SESSION['ggids']))
            if(
    in_array($toGroup2,$_SESSION['ggids']))
            if(
    in_array($toGroup3,$_SESSION['ggids']))
       {
            
    $Client->remservergroup($toGroup1);
            
    $Client->remservergroup($toGroup2);
            
    $Client->remservergroup($toGroup3);
            }
    }
        
    $_SESSION ['ggids'] = explode(","$Client["client_servergroups"]);
        if(!
    in_array($threeGroup,$_SESSION['ggids']))
        {
            if(
    in_array($threeGroup1,$_SESSION['ggids']))
            if(
    in_array($threeGroup2,$_SESSION['ggids']))
            if(
    in_array($threeGroup3,$_SESSION['ggids']))
       {
            
    $Client->remservergroup($threeGroup1);
            
    $Client->remservergroup($threeGroup2);
            
    $Client->remservergroup($threeGroup3);
            }
    }



    }
    ?>
    DL : https://mega.nz/#!gN8x2DbT!FZYLjsPm8dXmel1lHL5UMwmibKcZypNuhi3cMyUaq_I
    Virustotal : https://www.virustotal.com/en/file/...68c3ef453b4109a123989f3f/analysis/1479337404/
     
    Last edited: Nov 16, 2016
    Umar and DDoSBoy like this.
  3. Special

    Special Contributing Member

    @mogrem999
    @fahad
    i make a new update it's really simple and easy :)
    if you have a error tell me what the error and i'll fix that. thank you
     
    Umar likes this.
  4. Special

    Special Contributing Member

    @AAaaLLi1 You can add
    header("Refresh:0");
    And start a page in your web
    IP/auto.php
    But if you close the website it's doesnt connect ;3
    or you can do with crontab :)
     
    Umar likes this.
  5. DDoSBoy

    DDoSBoy Member

    New Update 1.1 Automatic system script :)
    :)
     
    Special likes this.
  6. Special

    Special Contributing Member

    Last edited: Nov 17, 2016
    Umar and DDoSBoy like this.
  7. Devrim

    Devrim New Member

    Help ! ( ! ) Parse error: syntax error, unexpected '10011.' (T_DNUMBER), expecting variable (T_VARIABLE) or '$' in C:\wamp\www\autobot\auto.php on line 20
     
    Special likes this.
  8. Special

    Special Contributing Member

    @Devrim It's work for me and people i think there a problem with wamp , just try install xampp.
     
    Umar likes this.
  9. Devrim

    Devrim New Member

    Okay thanks
     
  10. R3SPEC3T

    R3SPEC3T New Member

    nice update, ilovethe bot
     
  11. AAaaLLi1

    AAaaLLi1 New Member

    for the next update u can add if i give the server group move it to special room
     
  12. Mr_omar

    Mr_omar Active Member

    You can do that with JTS3ServerMod ;)
     
    juli112 likes this.
  13. AAaaLLi1

    AAaaLLi1 New Member

    i'll but JTS3ServerMod need the client connet to move i need the user on my room if i give them server group will move it
     
  14. Special

    Special Contributing Member

    @AAaaLLi1 Just add this after the addservergroup code:
    PHP:
    // Note 44 Is the room ID
    $Client->move(44);
     
    Umar likes this.
  15. AAaaLLi1

    AAaaLLi1 New Member

    i'll try it thx
     
  16. AAaaLLi1

    AAaaLLi1 New Member

    Code:
    <?php
    #   ____             __ _       
    #  / ___|___  _ __  / _(_) __ _
    # | |   / _ \| '_ \| |_| |/ _` |
    # | |__| (_) | | | |  _| | (_| |
    #  \____\___/|_| |_|_| |_|\__, |
    #                         |___/
    // Info
    $YATQA_username = 'serveradmin';
    $YATQA_password = '';
    $YATQA_queryport = '10011';
    $server_ip = '127.0.0.1';
    $server_port = '9987';
    $botname = '[R4P3]Automatic-Bot%20['. mt_rand(0, 99).']';
    #Settings
    $firstGroup = '9';
    $Client->move(44);
    //Here type the ids For group's you want to add them it
    $firstGroup1 = '10';
    $firstGroup2 = '11';
    $firstGroup3 = '12';
    //To Group
    $toGroup = '13';
    $Client->move(44);
    //Here type the ids For group's you want to add them it
    $toGroup1 = '14';
    $toGroup2 = '15';
    $toGroup3 = '16';
    //Three Group
    $threeGroup = '17';
    $Client->move(44);
    //Here type the ids For group's you want to add them it
    $threeGroup1 = '18';
    $threeGroup2 = '19';
    $threeGroup3 = '20';
    // If you want to make more groups just do same i do
    
    
    ?>
    did u mean that ?
     
  17. Mr_omar

    Mr_omar Active Member

    No he mean that >
     
    juli112 likes this.
  18. AAaaLLi1

    AAaaLLi1 New Member

    will done :* thx
     
  19. Special

    Special Contributing Member

    ;R @AAaaLLi1 When you like this bot -> don't forget the like button ;)
     
    juli112 likes this.
  20. Mr_omar

    Mr_omar Active Member

    You are welcome:D
     
    juli112 likes this.

Share This Page