Compilation failed: nothing to repeat at offset 195
Closed this issue · 1 comments
teracube commented
PocketMine-MP version 1.7dev-1079 "[REDACTED]" (API 3.0.0-ALPHA12)
AntiSpamPro_dev-28.phar
2018-06-15 [10:54:13] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerLoginEvent' to 'AntiSpamPro v1.4.0-6': preg_match(): Compilation failed: nothing to repeat at offset 195 on awzaw\antispampro\AntiSpamPro
2018-06-15 [10:54:13] [Server thread/CRITICAL]: ErrorException: "preg_match(): Compilation failed: nothing to repeat at offset 195" (EXCEPTION) in "AntiSpamPro_dev-28.phar/src/awzaw/antispampro/ProfanityFilter" at line 228
2018-06-15 [10:54:13] [Server thread/DEBUG]: #0 (): pocketmine\error_handler(integer 2, string preg_match(): Compilation failed: nothing to repeat at offset 195, string phar:///home/g3.hmserv.eu-19144/plugins/AntiSpamPro_dev-28.phar/src/awzaw/antispampro/ProfanityFilter.php, integer 228, array Array())
2018-06-15 [10:54:13] [Server thread/DEBUG]: #1 AntiSpamPro_dev-28.phar/src/awzaw/antispampro/ProfanityFilter(228): preg_match(string /[c.................\<\(\{..]+?[\s@#%&_;'",~`\|\!\$\^\*\(\)\-\+\=\{\}\[\]\:\<\>\?\.\/]*? [o0............................................]+?[\s@#%&_;'",~`\|\!\$\^\*\(\)\-\+\=\{\}\[\]\:\<\>\?\.\/]*?*[n..............]+?[\s@#%&_;'",~`\|\!\$\^\*\(\)\-\+\=\{\}\[\]\:\<\>\?\.\/]*?/i, string SaXTaX6259)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #2 AntiSpamPro_dev-28.phar/src/awzaw/antispampro/ProfanityFilter(179): awzaw\antispampro\ProfanityFilter->stringHasProfanity(string SaXTaX6259, string /[c.................\<\(\{..]+?[\s@#%&_;'",~`\|\!\$\^\*\(\)\-\+\=\{\}\[\]\:\<\>\?\.\/]*? [o0............................................]+?[\s@#%&_;'",~`\|\!\$\^\*\(\)\-\+\=\{\}\[\]\:\<\>\?\.\/]*?*[n..............]+?[\s@#%&_;'",~`\|\!\$\^\*\(\)\-\+\=\{\}\[\]\:\<\>\?\.\/]*?/i)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #3 AntiSpamPro_dev-28.phar/src/awzaw/antispampro/AntiSpamPro(218): awzaw\antispampro\ProfanityFilter->hasProfanity(string SaXTaX6259)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #4 src/pocketmine/plugin/MethodEventExecutor(38): awzaw\antispampro\AntiSpamPro->onLogin(pocketmine\event\player\PlayerLoginEvent object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #5 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(awzaw\antispampro\AntiSpamPro object, pocketmine\event\player\PlayerLoginEvent object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #6 src/pocketmine/plugin/PluginManager(701): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerLoginEvent object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #7 src/pocketmine/Player(2080): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerLoginEvent object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #8 src/pocketmine/Player(2065): pocketmine\Player->completeLoginSequence()
2018-06-15 [10:54:13] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\Player->handleResourcePackClientResponse(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/ResourcePackClientResponsePacket(61): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleResourcePackClientResponse(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #14 src/pocketmine/Player(3033): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(158): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #16 vendor/pocketmine/raklib/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 90.XXX.0.97 54122, raklib\protocol\EncapsulatedPacket object, integer 0)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket()
2018-06-15 [10:54:13] [Server thread/DEBUG]: #18 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
2018-06-15 [10:54:13] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2018-06-15 [10:54:13] [Server thread/DEBUG]: #21 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
2018-06-15 [10:54:13] [Server thread/DEBUG]: #22 src/pocketmine/Server(2279): pocketmine\snooze\SleeperHandler->sleepUntil(double 1529052853.5156)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #23 src/pocketmine/Server(2150): pocketmine\Server->tickProcessor()
2018-06-15 [10:54:13] [Server thread/DEBUG]: #24 src/pocketmine/Server(1733): pocketmine\Server->start()
2018-06-15 [10:54:13] [Server thread/DEBUG]: #25 src/pocketmine/PocketMine(290): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/g3.hmserv.eu-19144/, string /home/g3.hmserv.eu-19144/plugins/)
2018-06-15 [10:54:13] [Server thread/DEBUG]: #26 /home/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
teracube commented
solved
my config file was corrupted