Prat 3.0

634 - Smartgroup error

What steps will reproduce the problem?
1. Writing in group chat

What is the expected output? What do you see instead?
I expected an output in the group channel

What version of the product are you using?
3.5.1

Can you reproduce the problem when ONLY Prat is running?
Yes

Do you play on US or EU. What language do you use?
EU - using English

Do you have an error log of what happened?
when it first accured I got
Channelsticky.lua 475: attempt to call global 'GetNumRaidMembers' (a nil value)

[14:43:33] SendChatMessage(): Unknown chat type
[C]: ?
[C]: ?
[C]: in function `SendChatMessage'
Interface\FrameXML\ChatFrame.lua:4079 in function <Interface\FrameXML\ChatFrame.lua:4051
[C]: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4091 in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

now when I try to use the smartgroup I don't get an errorlog

User When Change
Dario04 Oct 07, 2012 at 16:12 UTC Changed description:
  What version of the product are you using?
  3.5.1

- *IMPORTANT* -> Can you reproduce the problem when ONLY Prat is running?
+ Can you reproduce the problem when ONLY Prat is running?
  Yes
  Do you play on US or EU. What language do you use?
Dario04 Oct 07, 2012 at 16:11 UTC Create

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

  • 1 comment
  • Avatar of DavidTheMachine DavidTheMachine Nov 23, 2012 at 02:50 UTC - 0 likes
    I haven't tested this yet, but the culprit was a remaining pre-5.0.4 API call.
    
    --- ChannelSticky.lua   Thu Nov 22 18:42:14 2012
    +++ d:\users\Public\Games\World of Warcraft\Interface\AddOns\Prat-3.0\modules\ChannelSticky.lua Thu Nov 22 18:39:33 2012
    @@ -468,13 +468,13 @@
    
    
     function module:SmartGroupChatType()
    -     local _,pvp = IsInInstance()
    +     local inInstance,pvp = IsInInstance()
    
          if pvp == "pvp" then
             return "BATTLEGROUND"
    -     elseif GetNumRaidMembers() > 0 then
    +     elseif IsInRaid() > 0 then
              return "RAID"
    -     elseif GetNumPartyMembers() > 0 then
    +     else
              return "PARTY"
          end
    
  • 1 comment

Facts

Last updated
Oct 07, 2012
Reported
Oct 07, 2012
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0
Component
Specific Module

Reported by

Possible assignees