- Thread starter
- #101
Nahh, Global = global, if a user is global banned they are banned from any server running nimda.i thought it was meant to be to all virtual servers nevermind
Nahh, Global = global, if a user is global banned they are banned from any server running nimda.i thought it was meant to be to all virtual servers nevermind
yep, there are 3 modes,So if somebody gets banned with gban on any server, he wont be able to join any other server even without access to gban? That's interesting, glad there's option to turn the plugin off
https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.mdDr.What witch Design you use?
That means you configured the bot wrong, show me your teamspeak.php configPlease help me, i got this error:
root@debian:~/Bots/NimdaTS3-0.11.2# php start.php
[14:34:29]: Error 0: invalid URI supplied
root@debian:~/Bots/NimdaTS3-0.11.2#
That means you configured the bot wrong, show me your teamspeak.php config
excluding the password
<?php
/**
* Created by PhpStorm.
* User: Jake
* Date: 10/08/2016
* Time: 22:44
*/
namespace Config;
class TeamSpeak
{
public static $TS3config = [
'username' => 'login',
'password' => 'passw0rd',
'host' => '185.101.xxx.xx',
'port' => 10011,
'name' => 'BOT',
'serverPort' => 9987,
'timeout' => 1,
'misc' => [
'debug' => true,
'newLineNewMessage' => false,
'ignoreWarnings' => true
]
];
}
I see nothing wrong here, Does the original username, password or botname have any special chars in it?PHP:<?php /** * Created by PhpStorm. * User: Jake * Date: 10/08/2016 * Time: 22:44 */ namespace Config; class TeamSpeak { public static $TS3config = [ 'username' => 'login', 'password' => 'passw0rd', 'host' => '185.101.xxx.xx', 'port' => 10011, 'name' => 'BOT', 'serverPort' => 9987, 'timeout' => 1, 'misc' => [ 'debug' => true, 'newLineNewMessage' => false, 'ignoreWarnings' => true ] ]; }
No :/I see nothing wrong here, Does the original username, password or botname have any special chars in it?
PHP Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in /root/Bots/NimdaTS3-0.11.2/vendor/illuminate/database/Connectors/Connector.php:55
Stack trace:
#0 /root/Bots/NimdaTS3-0.11.2/vendor/illuminate/database/Connectors/Connector.php(55): PDO->__construct('sqlite:/root/Bo...', NULL, NULL, Array)
#1 /root/Bots/NimdaTS3-0.11.2/vendor/illuminate/database/Connectors/SQLiteConnector.php(37): Illuminate\Database\Connectors\Connector->createConnection('sqlite:/root/Bo...', Array, Array)
#2 /root/Bots/NimdaTS3-0.11.2/vendor/illuminate/database/Connectors/ConnectionFactory.php(61): Illuminate\Database\Connectors\SQLiteConnector->connect(Array)
#3 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#4 /root/Bots/NimdaTS3-0.11.2/vendor/illuminate/database/Connection.php(875): call_user_func(Object(Closure))
#5 /root/Bots/NimdaTS3-0.11.2/vendor/illuminate/database/Connection.php(743): Illuminate\Database\Connection->getPdo()
#6 /root/Bots/Nimd in /root/Bots/NimdaTS3-0.11.2/vendor/illuminate/database/Connectors/Connector.php on line 55
root@vps283696:/home/NimdaTS3-0.11.2# php start.php
PHP Fatal error: Uncaught Error: Call to undefined function TeamSpeak3\Helper\utf8_encode() in /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Helper/StringHelper.php:471
Stack trace:
#0 /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Adapter/ServerQuery.php(219): TeamSpeak3\Helper\StringHelper->toUtf8()
#1 /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Node/AbstractNode.php(97): TeamSpeak3\Adapter\ServerQuery->prepare('login', Array)
#2 /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Node/AbstractNode.php(109): TeamSpeak3\Node\AbstractNode->prepare('login', Array)
#3 /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Node/Host.php(831): TeamSpeak3\Node\AbstractNode->execute('login', Array)
#4 /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/TeamSpeak3.php(354): TeamSpeak3\Node\Host->login(Object(TeamSpeak3\Helper\StringHelper), Object(TeamSpeak3\Helper\StringHelper))
#5 /home/NimdaTS3-0.11.2/ in /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Helper/StringHelper.php on line 471
Is looking to hard heyHelp meCode:root@vps283696:/home/NimdaTS3-0.11.2# php start.php PHP Fatal error: Uncaught Error: Call to undefined function TeamSpeak3\Helper\utf8_encode() in /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Helper/StringHelper.php:471 Stack trace: #0 /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Adapter/ServerQuery.php(219): TeamSpeak3\Helper\StringHelper->toUtf8() #1 /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Node/AbstractNode.php(97): TeamSpeak3\Adapter\ServerQuery->prepare('login', Array) #2 /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Node/AbstractNode.php(109): TeamSpeak3\Node\AbstractNode->prepare('login', Array) #3 /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Node/Host.php(831): TeamSpeak3\Node\AbstractNode->execute('login', Array) #4 /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/TeamSpeak3.php(354): TeamSpeak3\Node\Host->login(Object(TeamSpeak3\Helper\StringHelper), Object(TeamSpeak3\Helper\StringHelper)) #5 /home/NimdaTS3-0.11.2/ in /home/NimdaTS3-0.11.2/vendor/fkubis/teamspeak-php-framework/TeamSpeak3/Helper/StringHelper.php on line 471
you dont have php string processing installed
Code:apt-get install php7.0-xml
Thanks - works 100% <3Is looking to hard hey
php version?PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /home/nimda/app/TeamSpeak3Bot.php on line 347
you not using a supported php version (5.6.4) if it cant parse https://github.com/JABirchall/NimdaTS3/blob/master/app/TeamSpeak3Bot.php#L347PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /home/nimda/app/TeamSpeak3Bot.php on line 347