ga526321 / prat

Automatically exported from code.google.com/p/prat
GNU General Public License v3.0
0 stars 0 forks source link

Interference with targeting #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of Prat are you using?
Version: 1.0. Revision: 13965 
Do you use embedded libraries or standalones?
Embedded
What language/realm type?
EU-EN RP
What steps will reproduce the problem?
1.Use any /target <name> or macro that uses a targeting function like /cast
[target=mouseover] Spell
2.
3.

What is the expected output? What do you see instead?
Not allowing to target; reports an error "Prat has been blocked from an
action only available to the Blizzard UI". Prat seems to be interfering
with targeting functions

Please provide any additional information below.

Interestingly enough, if Bartender3 is enabled the game tells Bartender3 is
the problem; however, with Prat disabled the targeting works just fine with
Bartender3.

Not certain if this is any help; the error happens both when there are no
other addons enabled or not:

Error occured in: AddOn: Prat
Count: 1
Message: Error: AddOn Prat attempted to call a forbidden function
(TargetUnit()) from a tainted execution path.
Debug:
   [C]: TargetUnit()
   ..\FrameXML\ChatFrame.lua:1287: value()
   ..\FrameXML\ChatFrame.lua:3079:
      ..\FrameXML\ChatFrame.lua:3043
   (tail call): ?
   Prat\modules\TellTarget.lua:98:
      Prat\modules\TellTarget.lua:97
   (tail call): ?
   ..\FrameXML\ChatFrame.lua:2821: ChatEdit_SendText()
   ..\FrameXML\ChatFrame.lua:2842: ChatEdit_OnEnterPressed()
   [string "ChatFrameEditBox:OnEnterPressed"]:2:
      [string "ChatFrameEditBox:OnEnterPressed"]:1

--------

Error occured in: AddOn: Prat
Count: 1
Message: Error: AddOn Prat attempted to call a forbidden function
(CastSpellByName()) from a tainted execution path.
Debug:
   [C]: CastSpellByName()
   ..\FrameXML\ChatFrame.lua:1172: value()
   ..\FrameXML\ChatFrame.lua:3079:
      ..\FrameXML\ChatFrame.lua:3043
   (tail call): ?
   Prat\modules\TellTarget.lua:98:
      Prat\modules\TellTarget.lua:97
   (tail call): ?
   ..\FrameXML\ChatFrame.lua:2821: ChatEdit_SendText()
   ..\FrameXML\ChatFrame.lua:2077:
      ..\FrameXML\ChatFrame.lua:2071
   [C]: UseAction()
   ..\FrameXML\SecureTemplates.lua:223: SecureActionButton_OnClick()
   ..\FrameXML\ActionButton.lua:36: ActionButtonUp()
   [string "ACTIONBUTTON11"]:5:
      [string "ACTIONBUTTON11"]:1

Original issue reported on code.google.com by TigerZ...@gmail.com on 26 Apr 2007 at 12:09

GoogleCodeExporter commented 9 years ago
Prat 1.0 is no longer supported. 

I suggest upgrading to Prat 2.0

Original comment by sylvan...@gmail.com on 2 May 2007 at 9:12