Forum

Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    April 2010
    Location
    Germany
    Posts
    2

    Plugin [minGW32] crashes on message in Channel Chat

    Hello,

    My plugin compiled with minGW32(gcc3.4.5) on WinXP crashes when a text message is sent in the Channel Chat.

    To verify that not my changes made that, I've compiled the plugin.c from last client sdk 3.0.0-beta18. The only change I made is the name of plugin.

    **** Rebuild of configuration Debug for project testplugin ****

    **** Internal Builder is used for build ****
    gcc -O0 -g3 -Wall -c -fmessage-length=0 -osrc\plugin.o ..\src\plugin.c
    gcc -shared -olibtestplugin.dll src\plugin.o
    Build complete for project testplugin
    Time consumed: 516 ms.
    The libtestplugin.dll loads fine under Settings->Plugins in client 3.0.0-beta18 [build 10609],
    but crashes on first message in Channel Chat.

    Any idea to solve that problem?
    Last edited by TSPlugin; April 2nd, 2010 at 04:39 PM.

  2. #2
    Join Date
    April 2010
    Location
    Germany
    Posts
    2
    After disable the printf in ts3plugin_onTextMessageEvent from example plugin.c text messages can be sent while my plugin is loaded.

    int ts3plugin_onTextMessageEvent(uint64 serverConnectionHandlerID, anyID targetMode, anyID toID, anyID fromID, const char* fromName, const char* fromUniqueIdentifier, const char* message, int ffIgnored)
    {

    // printf("PLUGIN: onTextMessageEvent %llu %d %d %s %s %d\n", (long long unsigned int) serverConnectionHandlerID, targetMode, fromID, fromName, message, ffIgnored);

    .....

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Catching blocked (by permission) message in chat or blocking message manually.
    By GwynBleidD in forum Client Plugins / Lua Scripts
    Replies: 1
    Last Post: August 10th, 2015, 03:03 PM
  2. Replies: 3
    Last Post: June 21st, 2014, 08:20 PM
  3. [Question] Is there any plugin to clear the channel chat?
    By ArtKillzZ in forum Client Plugins / Lua Scripts
    Replies: 2
    Last Post: January 23rd, 2014, 08:03 PM
  4. Cannot send channel chat message as SA
    By Swordeh in forum Windows
    Replies: 7
    Last Post: July 27th, 2012, 09:33 PM
  5. Crashes when opening channel chat
    By Memma_95 in forum Windows
    Replies: 1
    Last Post: November 7th, 2011, 09:09 AM

Posting Permissions

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