Write the last channel ID !Dear friends, I still can't find channel order
help me please
go to index.php and check line 46 there is something worrng thereIt Gives me this error :/ i don't get it
I'm probably doing something wrongNotice: Undefined variable: lang in C:\xampp\htdocs\channelcreator\index.php on line 46
.
if (!$FLAG){
echo "<p><b>".$lang['f_connectts'].".</b></p><br/>"; <-- line 46
header("refresh: 10; url = ./");
die;
}
It Gives me this error :/ i don't get it
I'm probably doing something wrongNotice: Undefined variable: lang in C:\xampp\htdocs\channelcreator\index.php on line 46
.
<?php
if(!isset($_SESSION['ts3_last_query']))
$_SESSION['ts3_last_query'] = microtime(true);
if($_SESSION['ts3_last_query'] >= microtime(true))
die('Tens de esperar 10 segundos para criar outro canal!');
$_SESSION['ts3_last_query'] = microtime(true)+10.0;
date_default_timezone_set('Portugal'); //Change Here!
require_once("libraries/TeamSpeak3/TeamSpeak3.php");
include 'data/config.php';
function getClientIp() {
if (!empty($_SERVER['HTTP_CLIENT_IP']))
return $_SERVER['HTTP_CLIENT_IP'];
else if(!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
return $_SERVER['HTTP_X_FORWARDED_FOR'];
else if(!empty($_SERVER['HTTP_X_FORWARDED']))
return $_SERVER['HTTP_X_FORWARDED'];
else if(!empty($_SERVER['HTTP_FORWARDED_FOR']))
return $_SERVER['HTTP_FORWARDED_FOR'];
else if(!empty($_SERVER['HTTP_FORWARDED']))
return $_SERVER['HTTP_FORWARDED'];
else if(!empty($_SERVER['REMOTE_ADDR']))
return $_SERVER['REMOTE_ADDR'];
else
return false;
}
$connect = "serverquery://".$USER_QUERY.":".$PASS_QUERY."@".$HOST_QUERY.":".$PORT_QUERY."/?server_port=".$SERVER_PORT."";
$ts3 = TeamSpeak3::factory($connect);
$ts3->execute("clientupdate", array("client_nickname" => $NICK_QUERY));
$FLAG = false;
foreach ($ts3->clientList(array('client_type' => '0', 'connection_client_ip' => getClientIp())) as $client) {
$clientuid = $client->client_unique_identifier;
$client_nickname = $client->client_nickname;
$client_clid = $client->clid;
$FLAG = true;
break;
}
if (!$FLAG){
echo "<p><b>".$lang['f_connectts'].".</b></p><br/>";
header("refresh: 10; url = ./");
die;
}
if (isset($_POST["create"])) {
$channelname = $_POST['channelname'];
$subchannelname = $_POST['subchannelname'];
$password = $_POST['password'];
$unixTime = time();
$realTime = date('[Y-m-d]-[H:i]',$unixTime);
$channel_admin_group = 5;
try
{
$cid1 = $ts3->channelCreate(array(
"channel_name" => "$channelname",
"channel_password" => "$password",
"channel_flag_permanent" => "1",
"channel_description" => '[center][b][u]'.$channelname.'[/u][/b][/center][hr][b][list][*]Data: '.$realTime.'[*]Dono da sala: ' . $client_nickname . '[/list][/b]',
"cpid" => $cid,
"channel_order" => "$order"
));
$sub_cid = $ts3->channelCreate(array(
"channel_name" => "$subchannelname",
"channel_password" => "$password",
"channel_flag_permanent" => TRUE,
"cpid" => $cid1,
));
$ts3->clientGetByUid($clientuid)->setChannelGroup($cid1, $channel_admin_group);
$ts3->clientMove($client_clid, $cid1);
}
catch(Exception $e)
{
echo "Error (ID " . $e->getCode() . ") <b>" . $e->getMessage() . "</b>";
}
}
?>
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<title>NEW-SENSE</title>
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/animate-custom.css" />
</head>
<body>
<div class="container">
<header>
<h1>Cria a tua sala<span> Permanente</span></h1>
</header>
<section>
<div id="container_demo" >
<div id="wrapper">
<div id="login" class="animate form">
<form method="post" autocomplete="on">
<h1>Settings</h1>
<p>
<label class="uname" data-icon="u" > Ola, <?php echo $client_nickname; ?></label>
<input readonly type="text" value="<?php echo $clientuid; ?>"/>
</p>
<p>
<label class="uname" data-icon="u" > Nome do Canal </label>
<input name="channelname" required="required" type="text" placeholder="My Super Channel."/>
</p>
<p>
<label class="uname" data-icon="u" > Nome do Sub-Canal </label>
<input name="subchannelname" required="required" type="text" placeholder="My sub Super Channel."/>
</p>
<p>
<label class="youpasswd" data-icon="p"> Passwords dos canais</label>
<input name="password" required="required" type="text" placeholder="eg. X8df!90EO" />
</p>
<p class="login button">
<input type="submit" name="create" value="Criar Canais!" />
</p>
</form>
<?php echo $client_clid; ?></br>
</div>
</div>
</div>
</section>
</div>
</body>
</html>
hi , i have this :I would like to have a random [*spacerRANDOM]▃ i did the subchannel but i cant do the random spacer Help plsCode:<?php if(!isset($_SESSION['ts3_last_query'])) $_SESSION['ts3_last_query'] = microtime(true); if($_SESSION['ts3_last_query'] >= microtime(true)) die('Tens de esperar 10 segundos para criar outro canal!'); $_SESSION['ts3_last_query'] = microtime(true)+10.0; date_default_timezone_set('Portugal'); //Change Here! require_once("libraries/TeamSpeak3/TeamSpeak3.php"); include 'data/config.php'; function getClientIp() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) return $_SERVER['HTTP_CLIENT_IP']; else if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) return $_SERVER['HTTP_X_FORWARDED_FOR']; else if(!empty($_SERVER['HTTP_X_FORWARDED'])) return $_SERVER['HTTP_X_FORWARDED']; else if(!empty($_SERVER['HTTP_FORWARDED_FOR'])) return $_SERVER['HTTP_FORWARDED_FOR']; else if(!empty($_SERVER['HTTP_FORWARDED'])) return $_SERVER['HTTP_FORWARDED']; else if(!empty($_SERVER['REMOTE_ADDR'])) return $_SERVER['REMOTE_ADDR']; else return false; } $connect = "serverquery://".$USER_QUERY.":".$PASS_QUERY."@".$HOST_QUERY.":".$PORT_QUERY."/?server_port=".$SERVER_PORT.""; $ts3 = TeamSpeak3::factory($connect); $ts3->execute("clientupdate", array("client_nickname" => $NICK_QUERY)); $FLAG = false; foreach ($ts3->clientList(array('client_type' => '0', 'connection_client_ip' => getClientIp())) as $client) { $clientuid = $client->client_unique_identifier; $client_nickname = $client->client_nickname; $client_clid = $client->clid; $FLAG = true; break; } if (!$FLAG){ echo "<p><b>".$lang['f_connectts'].".</b></p><br/>"; header("refresh: 10; url = ./"); die; } if (isset($_POST["create"])) { $channelname = $_POST['channelname']; $subchannelname = $_POST['subchannelname']; $password = $_POST['password']; $unixTime = time(); $realTime = date('[Y-m-d]-[H:i]',$unixTime); $channel_admin_group = 5; try { $cid1 = $ts3->channelCreate(array( "channel_name" => "$channelname", "channel_password" => "$password", "channel_flag_permanent" => "1", "channel_description" => '[center][b][u]'.$channelname.'[/u][/b][/center][hr][b][list][*]Data: '.$realTime.'[*]Dono da sala: ' . $client_nickname . '[/list][/b]', "cpid" => $cid, "channel_order" => "$order" )); $sub_cid = $ts3->channelCreate(array( "channel_name" => "$subchannelname", "channel_password" => "$password", "channel_flag_permanent" => TRUE, "cpid" => $cid1, )); $ts3->clientGetByUid($clientuid)->setChannelGroup($cid1, $channel_admin_group); $ts3->clientMove($client_clid, $cid1); } catch(Exception $e) { echo "Error (ID " . $e->getCode() . ") <b>" . $e->getMessage() . "</b>"; } } ?> <!DOCTYPE html> <html lang="en" class="no-js"> <head> <meta charset="UTF-8" /> <title>NEW-SENSE</title> <link rel="stylesheet" type="text/css" href="css/demo.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <link rel="stylesheet" type="text/css" href="css/animate-custom.css" /> </head> <body> <div class="container"> <header> <h1>Cria a tua sala<span> Permanente</span></h1> </header> <section> <div id="container_demo" > <div id="wrapper"> <div id="login" class="animate form"> <form method="post" autocomplete="on"> <h1>Settings</h1> <p> <label class="uname" data-icon="u" > Ola, <?php echo $client_nickname; ?></label> <input readonly type="text" value="<?php echo $clientuid; ?>"/> </p> <p> <label class="uname" data-icon="u" > Nome do Canal </label> <input name="channelname" required="required" type="text" placeholder="My Super Channel."/> </p> <p> <label class="uname" data-icon="u" > Nome do Sub-Canal </label> <input name="subchannelname" required="required" type="text" placeholder="My sub Super Channel."/> </p> <p> <label class="youpasswd" data-icon="p"> Passwords dos canais</label> <input name="password" required="required" type="text" placeholder="eg. X8df!90EO" /> </p> <p class="login button"> <input type="submit" name="create" value="Criar Canais!" /> </p> </form> <?php echo $client_clid; ?></br> </div> </div> </div> </section> </div> </body> </html>
Code:try { $cid = $ts3->channelCreate(array( "channel_name" => "[*spacer$randomnumbers]▃", "channel_password" => "$password", "channel_flag_permanent" => "1", "channel_order" => "$order" ));
$cid1 = $ts3->channelCreate(array(
"channel_name" => "$channelname",
"channel_password" => "$password",
"channel_flag_permanent" => "1",
"channel_description" => '[center][b][u]'.$channelname.'[/u][/b][/center][hr][b][list][*]Data: '.$realTime.'[*]Dono da sala: ' . $client_nickname . '[/list][/b]',
"channel_order" => "$order"
));
$sub_cid = $ts3->channelCreate(array(
"channel_name" => "$subchannelname",
"channel_password" => "$password",
"channel_flag_permanent" => TRUE,
"cpid" => $cid1,
));
$random = mt_rand(0,10000)
$sub_cid = $ts3->channelCreate(array(
"channel_name" => [*spacer$random]*,
"channel_password" => "$password",
"channel_flag_permanent" => TRUE,
"cpid" => $cid1,
));
That would be good asswellgreetings, series possible to make a counter for example from 1 to 1000 when they are created channels
Guys.. I hope its okay to say this... if u want a other PHP Version of this, i can give u these, its from Bluescream, edited: Kelaze, und re-edit from me.
There are 2, Download Options for you:
1. Download, only the php script for channel create.
Online for 90 Days, when 90 Days are over, than i reupload it!
Password: R4P3
DL-Link: https://workupload.com/file/P3schX7
- Channel_create_ts3_php_script.rar
Virustotal: https://www.virustotal.com/de/file/...63f34fa28be55abcbf060230f6d16771be6/analysis/
or
2. Download my Teamspeak 3 Plugins / lua Plugins Packet.
Online for 90 Days, when 90 Days are over, than i Reupload it!
Password: R4P3
DL-Link: http://workupload.com/file/CHJv8XV
- Teamspeak_Trolllz.rar
Virustotal: https://www.virustotal.com/de/file/...ac5c6ce80859f160d1ead11824e7d7cc50b/analysis/
"Teamspeak 3 Plugins / lua Plugins Packet": -*Content*-
- Teamspeak_Trollz:
Love Plugin (For following People into Channels, its not working if there is a Password)
- libtslove.dll - 32 Bit Version
- libtslove_x86.dll - 64 Bit Version
Linux:
- libtslove.so - 32 Bit Version
- libtslove_x86.so - 64 Bit Version
Last Channel Plugin (If u activate it, then u wont be KICKED from the Channel, (Again)
- last_channel_win32.dl - 32 Bit Version
- last_channel_win64.dll - 64 Bit Version
Linux:
- last_channel_linux-x86.so - 32 Bit Version
- last_channel_linux-amd64.so - 64 Bit Version
- liblastchannel.dylib - 32 & 64 Bit Version
Crosstalk (for some Audio Features in Teamspeak, right click on Channel, then click, "Crosstalk")
- crosstalk_win32.dl - 32 Bit Version
- crosstalk_win64.dll - 64 Bit Version
sk64.dll - (When u get poked, u can set up that u KICK or BAN him automatically) - 32 & 64Bit Bit Version
Lua Plugins:
advancedmasscontrolmodule - (for Mass Kick, Ban, Poke, Message, etc...) - 32 & 64Bit Bit Version
insulted - (Tipe: !insult <name>, then he is insulting him, in the "Normal Chat" - 32 & 64Bit Bit Version
NoX - (Anti "Channel-Ban") - 32 & 64Bit Bit Version
spam-poke - ( Cmon.. Its a Poke SPAMMER :3) - 32 & 64Bit Bit Version
Installation: Steps 1 - 3
1. After u Downloaded the .rar extract it to the Folder u want.
2. Cope the Content to /Teamspeak 3 Client/plugins/lua_plugins
3. Restart ur Teamspeak 3 Client, or go to Options - Plugins - click on Lua Plugin - click on Options - & Activate the Lua Plugin which u want to use. [x]
4. Go to your channel_create Folder and open the channel_create.php with php.exe
Windows: Right click on channel_create.php Open with... / Öffnen mit.... press / drücken.
Select the Folder where ur php.exe is, and open it.
Now its opening all .php script with the php.exe.
Dont move the Folder, or u have to do this again: "Right click on channel_create.php Open with... / Öffnen mit.... press / drücken.
Select the Folder where ur php.exe is, and open it."
- Simple - Easy - Welcome to Teamspeak Trollz :3 -
- For more Details, write me a PN :3 - greetings defraqq! -