Resource icon

Teamspeak Name Animator_ 2.0

No permission to download

Internet

Member
Joined
Apr 24, 2016
Messages
4
Points
36
I found another one that was posted on YT (full files) that works but the problem with it is that TeamSpeak has spam protection for name changes so it won't allow you to Animate :(
 

Qraktzyl

Retired Staff
Joined
Nov 2, 2015
Messages
979
Points
161
Age
29
I found another one that was posted on YT (full files) that works but the problem with it is that TeamSpeak has spam protection for name changes so it won't allow you to Animate :(
If you are using it on your server, you can change the permissions to bypass this spam protection.
 

babak2010

New Member
Joined
Jul 16, 2017
Messages
22
Points
13
Age
34
ok I did everything ok , but not work maybe I need change something in name.php file ?
1. I change "localhost" to my teamspeak address
2. and $clientquery_port = "25639"; to $clientquery_port = "10011";
not work !!!!
3. so I uncomment // $name = "Bluscream ♥ Blubb"; to my nickname in teamspeak server
not work too !!!
whats the problem ?
 
Last edited:

Najsr

Moderator
Developer
Joined
Apr 23, 2016
Messages
422
Points
107
Location
void
The problem is that you are trying to use it as a serverquery although It is a client query 'plugin'. You need to enable ClientQuery plugin in TS3 Client's plugin settings (may be different for 3.1+ client versions). Keep the IP address and port as they were because they are set right and try it once again.
 

babak2010

New Member
Joined
Jul 16, 2017
Messages
22
Points
13
Age
34
The problem is that you are trying to use it as a serverquery although It is a client query 'plugin'. You need to enable ClientQuery plugin in TS3 Client's plugin settings (may be different for 3.1+ client versions). Keep the IP address and port as they were because they are set right and try it once again.
ok I changed it back to "$clientquery_port = "25639";" and "localhost" , so were is the ClientQuery I must enable it ? I cant find it and what about // $name = "Bluscream ♥ Blubb"; ? I must change it to my nickname ? an uncomment it ?
 
Last edited:

Najsr

Moderator
Developer
Joined
Apr 23, 2016
Messages
422
Points
107
Location
void
Well probably client query changed for 3.1+ client versions so there is a need to edit the code.
 

MarineHya

Member
Joined
Aug 27, 2017
Messages
27
Points
30
can you fix it ?
I have added some code, here is the full Code for 3.1+
The PHP files are old here is a new one:
http://windows.php.net/downloads/releases/php-7.1.9-nts-Win32-VC14-x86.zip
http://windows.php.net/download#php-7.1
Code:
<?php
$GLOBALS["debug"] = false;
$GLOBALS["replace_empty_space"] = false;

$clientquery_port = "25639";
$max = 28;
$time = 150000;//100000
$maxtime = 5;
$mintime = 3;
$fp = fsockopen("localhost", $clientquery_port);
echo fgets($fp);
echo fgets($fp);
echo fgets($fp);
$n = 0;

//-------------------------------------------------------------------------------
$apikey = "YOUR CLIENTQUERY APIKEY HERE"; //apikey code
fputs($fp,"auth apikey=".$apikey."\n"); //sending the apikey to the clientquery
//--------------------------------------------------------------------------------

$name = getName($fp);
function getName($fp) {
        // $name = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras egestas sem dolor, id convallis felis euismod vel. Mauris feugiat lacus neque, eget rutrum felis fermentum non. Nunc iaculis metus at elementum viverra. Maecenas lacinia velit id velit malesuada scelerisque. Cras a nibh eu tellus cursus lacinia non at erat. Curabitur ac eros imperdiet, sollicitudin justo ut, posuere mauris. Sed elementum non magna ac scelerisque.";
        // $name = "Bluscream ♥ Blubb";
        // $name = file_get_contents("files\name.txt");
        $name = getNameFromTS($fp);
        $name = str_replace("\n", " ", $name);
        return $name;
}

function getNameFromTS($fp) {
    
        fputs($fp,"whoami\n");
        $str001 = fgets($fp);
        echo fgets($fp);
        scriptlog($str001."\n");
        $clid = explode("=",explode(" ",$str001)[0])[1];
        scriptlog($clid."\n");
        fputs($fp, "clientvariable clid=".$clid." client_nickname\n");
        $str002 = fgets($fp);
        echo fgets($fp);
        scriptlog($str002."\n");
        $name = teamspeak_unescape(explode("=",explode(" ",$str002)[1])[1]);
        scriptlog($name."\n");
        return $name;
}


function laufjungeback($name,$i,$max){
 $hidden_space = strlen($name);
 scriptlog($i."\n");
 $asci = " ";
 $after_ascis = $max-$i+strlen($name);
 $before_ascis = $i;
 $full_length = $after_ascis+$before_ascis;
 if($i > $full_length){
  $i = $i-(explode(".",$i/$full_length."")[0]*$full_length)-1;
  scriptlog("ni: ".$i."\n");
 }
if($i < 0){
  $i = $i-(explode(".",$i/$full_length."")[0]*$full_length)+$full_length-1;
  scriptlog("ni: ".$i."\n"); 
 }

 $after_ascis = $max-$i+strlen($name);
 $before_ascis = $i;
 if($GLOBALS["replace_empty_space"]){
  $name = str_replace(" ", $asci, $name);
 }
 scriptlog($after_ascis+$before_ascis+strlen($name)."\n");

 for ($n=0; $n <= $after_ascis; $n++) {
  $name .= $asci;
 }

 for ($n=0; $n <= $before_ascis; $n++) {
  $name = $asci.$name;
 }
 return substr($name, $hidden_space, $max);
}
/*function laufjunge2($name,$i){
    $max = 30;
    $asci = "█";
    $name = str_replace(" ", $asci, $name);
    $name = str_pad($name, $i+strlen($name), $asci,STR_PAD_LEFT);
    $name = str_pad($name, $max-$i, $asci, STR_PAD_BOTH);
    return $name;
}*/
function teamspeak_escape($str){
    return str_replace(" ", "\\s",str_replace("\n", "", $str));
}
function teamspeak_unescape($str){
    return str_replace("\\s", " ",str_replace("\n", "", $str));
}
function scriptlog($msg){
    if($GLOBALS["debug"]) {
        echo $msg;
    }
}
while(1){
    //$time = rand($mintime,$maxtime);
    $nam = laufjungeback($name,$n,$max);
    // fputs($fp,"clientupdate client_nickname=!\s".teamspeak_escape($nam)."\s!\n");
    fputs($fp,"clientupdate client_nickname=!\s".teamspeak_escape($nam)."\n");
    scriptlog($nam."\n");
    //echo fgets($fp);
    $n--;
    usleep($time);
    //sleep($time+5);
}
fclose($fp);
?>
 
Last edited:

Najsr

Moderator
Developer
Joined
Apr 23, 2016
Messages
422
Points
107
Location
void
That is correct because minimal size of a nickname are 3 characters.
 

Top