This LUA script stopped working suddenly within the last updates. It was working fine before...

I already checked the syntax with luac.exe and disabled everything else but it still stops after "ts3.printMessageToCurrentTab("loading")"

init.lua
Code:
require("ts3init")
ts3.printMessageToCurrentTab("loading")
require("chancreate/channelCreator")
ts3.printMessageToCurrentTab("loading2")


local chancreate = {
    const = {
        MODULE_NAME = "ChanCreator",
        MODULE_FOLDER = "chancreate",
        DEBUG = 0,
        DEBUG_MSG_IN_CHAT = 1,
    },
    var = {},
}


local registeredEvents = {
    onConnectStatusChangeEvent = cc_events.onConnectStatusChangeEvent,
    onNewChannelCreatedEvent = cc_events.onNewChannelCreatedEvent,
    onClientKickFromChannelEvent = cc_events.onClientKickFromChannelEvent
}


ts3.printMessageToCurrentTab("loaded")
ts3RegisterModule("chancreate", registeredEvents)
channelCreator.lua

Name:  d664cd978f1844c961c300397de5925a.png
Views: 413
Size:  4.3 KB