Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8418243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:16:08+00:00 2026-06-10T02:16:08+00:00

I have a WoW/LUA script that I am attempting to start, but it seems

  • 0

I have a WoW/LUA script that I am attempting to start, but it seems to conflict with the Stubby addon, which is a part of the Auctioneer addon, I believe. Here is the message I receive:

Error occured in: Stubby Count: 1 Message: Error: Original call failed
after running hooks for: ChatFrame_OnEvent Usage:
SendChatMessage(text [,type] [,language] [,targetPlayer]) Debug:
(tail call): ? [string “:OnEvent”]:1:
[string “
:OnEvent”]:1

Now, the only thing that’s happening in the conflicting addon is:

ChatFrame_AddMessageEventFilter("CHAT_MSG_PARTY", partyMsg)

The code within partyMsg is very simple as well:

local function partyMsg(msg,author,language,lineID,senderGUID)
  if (store ~= msg) then
    SendChatMessage(msg,"SAY",nil,nil);
  end
  store = msg;
end

Is this error due to two addons both trying to filter the chat frame? If so, how can this be done? It seems odd to me that Blizzard would have such a simple and yet important concept limited to one addon.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T02:16:10+00:00Added an answer on June 10, 2026 at 2:16 am

    I think I see what happened here.

    The reference you were using, Events/Communication, shows only the specific parameters for a particular event, regardless of context.

    The context is usually an OnEvent handler.

    The ChatFrame_AddMessageEventFilter function lets you use the chat frame’s OnEvent handler instead of your own for chat frame events, and has well defined parameters for filters you add.

    An OnEvent handler might look like:

    function Foo_OnEvent(self, event, ...)
    

    A ‘ChatFrame’ filter must look like this, for the first two parameters:

    function Foo_ChatFrameFilter(self, event, msg, ...)
    

    The ChatFrame filter is specific. For OnEvent however, you can make a Lua ‘handler’ that doesnt care about what frame it came from:

    <OnEvent>
        MyEventHandler(event, ...)
    </OnEvent>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It's really simple, I just want one screen. Wow, that [shiny thing] must have
Wow, what a stupid question you might say. But is it possible? I have
WOW! That's a weird title, but I'm happy you're looking, cause I couldn't find
I have seen that some programs which were written by me and assembled for
Hey guys. So, I have a Python script. Let's call it Pythonfile.py (Wow, I
This is a WoW (World of Warcraft) lua script question. Not many of these
I have a game server (WoW). I want my players to download my custom
Wow, I'm having a bit of a headache with Access 2007. I have two
have written this little class, which generates a UUID every time an object of
Have a procedure which looks like Procedure TestProc(TVar1, TVar2 : variant); Begin TVar1 :=

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.