Pain
Member
- Feb 20, 2016
- 102
- 17
- 53
i have this erro : http://prntscr.com/dx5jxp
If you are using it on your server, you can change the permissions to bypass this spam protection.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
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 ?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.
I got this :You don't need to, it should automatically get your nickname.
can you fix it ?Well probably client query changed for 3.1+ client versions so there is a need to edit the code.
I have added some code, here is the full Code for 3.1+can you fix it ?
<?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);
?>
cool , work ok but it show my name like "! 9"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
so is there any solution ?That is correct because minimal size of a nickname are 3 characters.
This is the best solution (at least for me). Also I'm currently working on a .NET version of nickname animator so stay tunedso is there any solution ?
ok , awesome.This is the best solution (at least for me). Also I'm currently working on a .NET version of nickname animator so stay tuned
wow , nice work.Here is a link: https://github.com/Najsr/TS3-Client-Nickname-Animator. It should become a resource in a few hours/days (Alli promised that he will do it )
Thank to Nicer now there is a .exe version that you can run it.
https://github.com/Najsr/TS3-Client-Nickname-Animator/releases
https://github.com/Najsr/TS3-Client-Nickname-Animator