TriviaBot

6 - Chat error.

What steps will reproduce the problem?
1. rename the unzipped file by deleting just the version numbers.
2. Type /trivia setting channel *****
3. Type /trivia start

What is the expected output? What do you see instead?
Expected for it to start. Instead got an error in bugsack and nothing in the channel.

What version of the product are you using? 2.4.3

Do you have an error log of what happened?
Yes

[2008/06/04 19:06:58-1251-x1]: SendChatMessage(): Unknown chat type:
<in C code>: ?
<in C code>: ?
<in C code>: in function `_GEM_COM_oldSendChatMessage'
GuildEventManager2-2.30\GEM_comm.lua:135 in function <Interface\AddOns\GuildEventManager2\GEM_comm.lua:126
Identity-20300\Identity.lua:140 in function `SendChatMessage'
TriviaBot-2.4.3\TriviaBot.lua:808 in function `TriviaBot_Send'
TriviaBot-2.4.3\TriviaBot.lua:847 in function `TriviaBot_Start'
TriviaBot-2.4.3\TriviaBot.lua:267 in function `?'
Interface\FrameXML\ChatFrame.lua:3003 in function <Interface\FrameXML\ChatFrame.lua:2965
<in C code>: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:2732 in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:1883 in function <Interface\FrameXML\ChatFrame.lua:1876
<in C code>: ?
<in C code>: ?
<in C code>: in function `UseAction'
Interface\FrameXML\SecureTemplates.lua:266 in function `SecureActionButton_OnClick':
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>
(tail call): ?:
<in C code>: in function `securecall'
Interface\FrameXML\SecureStateHeader.lua:1052 in function <Interface\FrameXML\SecureStateHeader.lua:1033

Please provide any additional information below.

I believe this error is caused by the mod not actually making or joining the new channel. After the error I joined the channel the mod was supposed to be broadcasting to. Will update w/ results of what happens if you are in the channel before /trivia start.

User When Change

You must login to post a comment. Don't have an account? Register to get one!

  • 10 comments
  • Avatar of StrangeWill StrangeWill Jul 28, 2008 at 06:44 UTC - 0 likes

    Fixed in 2.4.4, one of the few snippets of code I used from 2.3.x was incorrectly using channel communication function.

    Changed status from 'Accepted' to 'Fixed'

  • Avatar of Ziz Ziz Jun 06, 2008 at 14:37 UTC - 0 likes

    Changed status from 'Started' to 'Accepted'

    Triviabot project manager.

  • Avatar of Steil Steil Jun 05, 2008 at 22:30 UTC - 0 likes

    I've only tried guild. and due to the issues w/ scores I don't think it can be appropriately checked.

    This ticket was started by mod behavior using a custom channel not any of the one's you have listed.

  • Avatar of Steil Steil Jun 05, 2008 at 22:29 UTC - 0 likes

    See new ticket. This ticket and the new one are different issues so used a new ticket.

  • Avatar of StrangeWill StrangeWill Jun 05, 2008 at 03:31 UTC - 0 likes

    Changed status from 'New' to 'Started'

  • Avatar of StrangeWill StrangeWill Jun 05, 2008 at 03:31 UTC - 0 likes

    Assign ticket to StrangeWill

  • Avatar of StrangeWill StrangeWill Jun 05, 2008 at 03:21 UTC - 0 likes

    Does it work on channels that you've created? I've only tested it in the default channels (guild, yell, stay, party, etc.). At first chance I get I'll be adding channel-checking code for valid channels as to prevent errors from being thrown.

    As far as cross-mod support, I'm going to have to debate that one, being as what you've posted hints at an our of date addon conflict, and I can't exactly support every combination of current date and out of date addons. Though I will make sure the code complies 100% with WoW and LUA standards.


    For now can you try to see if the custom channel bug is based on GEM by disabling it, or if there is an actual problem in channel broadcasting.

    Edit: Seems that SendChatMessage() has a few extra variables I should be dealing with for more complex channel handling that older TriviaBots skimmed around. I'll look into adding this along with invalid channel handling once I get my desktop back. I've already rewritten this section to properly support all channels, however without my PC it remains untested. I blame ASUS heavily for the lack of ability to test right now.

  • Avatar of StrangeWill StrangeWill Jun 05, 2008 at 03:15 UTC - 0 likes

    Fixed the folder naming issue.

  • Avatar of Steil Steil Jun 04, 2008 at 23:23 UTC - 0 likes

    Second note. It works fine if you stick w/ the default guild channel. Using custom channels atm is broken though looks like it's a compatibility issue w/ guild event manager(GEM) and identity. You can find Identity on Curse. And the latest update for GEM at http://christophe.calmejane.free.fr/wow/gem/ if you want to glance through their lua's to see what it is that is interfering.

  • Avatar of Steil Steil Jun 04, 2008 at 23:20 UTC - 0 likes

    First note to make is that when you zip the file only title the zip file w/ the version number. you will get ppl saying nothing is happening cause the folder and the .lua file are not functioning from different names.

    You get no errors. But you get nothing at all from the mod either.

  • 10 comments

Facts

Last updated
Jul 28, 2008
Reported
Jun 04, 2008
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees