Quantcast WoWInterface - View Single Post - Right Click Solve Archaeology Function
View Single Post
11-22-15, 04:33 PM   #9
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,059
Originally Posted by Phanx View Post
That is incorrect. I call SolveArtifact() directly in Better Archaeology UI (along with socketing keystones) with no secure templates of any kind.
The error message they posted literally says the call to SolveArtifact was blocked, so if you can call it directly it must have some conditions that aren't being met.

Originally Posted by sirann View Post
When I looked at your code, your "solve button" utilized a blizzard_archaeology template, which I believe is a secure button. Quite literally, if I take out the secure template in my button creation, it'll taint when I try to solve. Setting the secure template back in and reloading fixes the taint.
"ArchaeologyRaceTemplate" is not a secure template, it's a fairly standard button. I don't know what the difference is between that and what you were doing before.

The only thing I can think of is you are somehow attempting to call the function without requiring a hardware event, but the code you've posted thusfar has always included a hardware event.
  Reply With Quote