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 Mon, 28 Jul 2008 06:44:02

    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 Fri, 06 Jun 2008 14:37:33

    Changed status from 'Started' to 'Accepted'

  • Avatar of Steil Steil Thu, 05 Jun 2008 22:30:53

    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 Thu, 05 Jun 2008 22:29:27

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

  • Avatar of StrangeWill StrangeWill Thu, 05 Jun 2008 03:31:39

    Changed status from 'New' to 'Started'

  • Avatar of StrangeWill StrangeWill Thu, 05 Jun 2008 03:31:35

    Assign ticket to StrangeWill

  • Avatar of StrangeWill StrangeWill Thu, 05 Jun 2008 03:21:42

    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 Thu, 05 Jun 2008 03:15:01

    Fixed the folder naming issue.

  • Avatar of Steil Steil Wed, 04 Jun 2008 23:23:37

    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 Wed, 04 Jun 2008 23:20:52

    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 on
28 Jul 2008
Reported on
04 Jun 2008
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees