JABirchall / NimdaTS3

An Advanced Teamspeak 3 Bot with a nice plugin autoloading
GNU Affero General Public License v3.0
28 stars 6 forks source link

Message 'invalid groupID' #34

Closed Baker68 closed 5 years ago

Baker68 commented 5 years ago

After installing TS Server, I connected with TS client , paste the privilege key, then connected the bot, every thing is OK. It says the time every minute , but when I reconnect it crashes :

C:\Users\Admin\Downloads\NimdaTS3-master\NimdaTS3-master>C:\wamp64\bin\php\php5.
6.38\php.exe start.php
[11:10:18]: [WARNING] Running Nimda logged in as serveradmin is dangerous!
[11:10:18]: Start anyway? Y/N: Y
[11:10:19]: Loading plugin [AddWhitelist] by JABirchall | Permissions: groups
             :: Success.
[11:10:19]: Plugin with config file ./config/plugins/AntiProxy.json has not been
 loaded because it has no name.
[11:10:19]: Loading plugin [BadChannelName] by JABirchall
             :: Success.
[11:10:19]: Loading plugin [ChannelGroupNotifications] by JABirchall
             :: Success.
[11:10:19]: Loading plugin [ClientInfo] by JABirchall | Permissions: groups
             :: Success.
[11:10:19]: Loading plugin [DisallowOS] by Nicer
             :: Success.
[11:10:19]: Loading plugin [GlobalBan] by JABirchall | Permissions: groups
             :: Success.
[11:10:19]: Loading plugin [GlobalBanList] by JABirchall
             :: Success.
[11:10:19]: Loading plugin [Jail] by JABirchall | Permissions: groups
             :: Success.
[11:10:19]: Loading plugin [Kick] by JABirchall | Permissions: groups
             :: Success.
[11:10:19]: Loading plugin [MD5] by JABirchall | Permissions: everyone
             :: Success.
[11:10:19]: Loading plugin [Quotes] by JABirchall | Permissions: everyone
             :: Success.
[11:10:19]: Loading plugin [Seen] by JABirchall | Permissions: groups
             :: Success.
[11:10:19]: Loading plugin [WelcomeMsg] by MAJID
             :: Success.
[11:10:19]: Loading Timer [Announcement] by JABirchall
             :: Success.
[11:10:19]: Nimda version 0.14.2-alpha Started in 0.075 seconds, Using 4.68 MB m
emory.

Warning: array_map(): An error occurred while invoking the map callback in C:\Us
ers\Admin\Downloads\NimdaTS3-master\NimdaTS3-master\plugins\GlobalBanList.php on
 line 74

Fatal error: Uncaught exception 'TeamSpeak3\Ts3Exception' with message 'invalid
groupID' in C:\Users\Admin\Downloads\NimdaTS3-master\NimdaTS3-master\vendor\fkub
is\teamspeak-php-framework\TeamSpeak3\Node\Server.php:1158
Stack trace:
#0 [internal function]: TeamSpeak3\Node\Server->serverGroupGetById(12)
#1 C:\Users\Admin\Downloads\NimdaTS3-master\NimdaTS3-master\plugins\GlobalBanLis
t.php(74): array_map(Array, Array)
#2 C:\Users\Admin\Downloads\NimdaTS3-master\NimdaTS3-master\app\Plugin.php(124):
 Plugin\GlobalBanList->isTriggered()
#3 C:\Users\Admin\Downloads\NimdaTS3-master\NimdaTS3-master\app\TeamSpeak3Bot.ph
p(540): App\Plugin->trigger()
#4 [internal function]: App\TeamSpeak3Bot->onEvent(Object(TeamSpeak3\Adapter\Ser
verQuery\Event), Object(TeamSpeak3\Node\Host))
#5 C:\Users\Admin\Downloads\NimdaTS3-master\NimdaTS3-master\vendor\fkubis\teamsp
eak-php-framework\TeamSpeak3\Helper\Signal\Handler.php(79): call_user_func_array
(Array, Array)
#6 C:\Users\Admin\Downloads\NimdaTS3-master\NimdaTS3-master\vendor\fkubis\teamsp
eak-php-fr in C:\Users\Admin\Downloads\NimdaTS3-master\NimdaTS3-master\vendor\fk
ubis\teamspeak-php-framework\TeamSpeak3\Node\Server.php on line 1158

C:\Users\Admin\Downloads\NimdaTS3-master\NimdaTS3-master>
JABirchall commented 5 years ago

@StoicaNicusor you need to edit the /config/plugins/GlobalBanList.json and edit the alert_groups array to group id's on your server.

This error is being thrown because the group id's in the config doesn't exist on your server.