Forum

Results 1 to 2 of 2
  1. #1
    Join Date
    August 2013
    Location
    Germany
    Posts
    540

    Question [LUA] Plugin stopped working

    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: 368
Size:  4.3 KB

  2. #2
    Join Date
    October 2012
    Location
    Germany
    Posts
    553
    Just for the lulz, tried going all lowercase on your file path / names?
    (It's a good habit anyways).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •