Prat 3.0

86 - Alias module causes a LUA error

What steps will reproduce the problem?
1. Make a macro
2. insert "/c somechannelname test" (somechannelname must be a channel you are in)
3. save macro drag it onto action bar
4. Click action bar with mouse

What is the expected output? What do you see instead?
I expect that "test" is send to somechannelname, instead i get a lua error

What version of the product are you using?
tried release 3.0.1 and aplpha r215

*IMPORTANT* -> Can you reproduce the problem when ONLY Prat is running?
havent tried

Do you play on US or EU. What language do you use?
EU english

Do you have an error log of what happened?
from r215
[2009/02/07 06:43:24-3329-x1]: Interface\FrameXML\ChatFrame.lua:1687 attempt to index local 'editBox' (a nil value):
Prat-3.0-r215 \modules\Alias.lua:1147 in function <Interface\AddOns\Prat-3.0\modules\Alias.lua:1081
(tail call): ?:
Interface\FrameXML\ChatFrame.lua:3199 in function <Interface\FrameXML\ChatFrame.lua:3163
<in C code>: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:2930 in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:2068 in function <Interface\FrameXML\ChatFrame.lua:2061
<in C code>: in function `UseAction'
Interface\FrameXML\SecureTemplates.lua:258 in function `SecureActionButton_OnClick':
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>

User When Change
Medalist Sun, 08 Feb 2009 05:36:42 Changed status from New to Fixed
Xanobia Sat, 07 Feb 2009 05:49:17 Create

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

  • 1 comment
  • Avatar of Medalist Medalist Sun, 08 Feb 2009 00:36:34

    FIXED

    1. Open World of Warcraft\Interface\AddOns\Prat-3.0\modules\Alias.lua

    2. Go to line 1141

    3. find

      local cmdString = getglobal("SLASH_"..index..i);
    
      replace with
    
      local cmdString = getglobal(index..i);
    

    4. Go to line 1154

    5. Find

      cmdString = getglobal("SLASH_"..index..i);
    
      Replace with
    
      cmdString = getglobal(index..i);
    

    6. Save & Exit

    7. /reloadui in game

    That fixed the problem on my side, please test it on yours too and post the result here.

  • 1 comment

Facts

Last updated on
08 Feb 2009
Reported on
07 Feb 2009
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees