What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Pressing the Complete Quest button

crazyperson

Member
Joined
Jan 15, 2010
Messages
38
Reaction score
0
Is there a way in the API to press the "Complete Quest" button?

Lua.DoString("CompleteQuest()"); either isn't working the way I think it should or I am using it wrong.

Thank you for any help.
 
yes there is i will post a quick fix for this when i get home. im at work currently. btw it wont pick rewards my fix that is.
 
GetQuestReward(REWARDINDEX); if the quest has a reward to choose.
</pre>
 
While you mouse over to a button in WoW type /run print(GetMouseFocus():GetName())

It will print the button name to chat window.

In HB use Lua.DoString("buttonName:Click()"); to make it click that button.
 
Thank you so very much for the help.

While you mouse over to a button in WoW type /run print(GetMouseFocus():GetName())

It will print the button name to chat window.

In HB use Lua.DoString("buttonName:Click()"); to make it click that button.

That really boosted me in the right direction and got my plugin working.

A lua error box appears in wow now but that doesn't stop the plugin from going through its loop and doing what it is intended to do. I'm going to paste the lua error into this response to see if maybe you can point me in the right direction again.

----------------------------------------------------------------------------------------------------------
Message: [string "Hax.lua"]:1: attempt to index global 'QuestFrameCompleteQuest' (a nil value)
Time: ##/##/## ##:##:##
Count: ##
Stack: [string "Hax.lua"]:1: in main chunk

Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'QuestFrameCompleteQuest' (a nil value)"
----------------------------------------------------------------------------------------------------------

The above lua error doesn't cause the plugin to fail or not work. It would just be nice for it not to appear.
The quest I am turning in has no reward to choose from you just turn it in over and over.

Thanks again,
 
I believe there's a way to disable Lua errors from appearing in the WOW interface options.
 
If your making a plugin to make the bot complete quests while using the 1.9.5.5 Quest Order profiles i REALLY need it because my profile works all the way up until it has to turn in the quest. It will run to the turnin point but won't turn it in O.o
 
If your making a plugin to make the bot complete quests while using the 1.9.5.5 Quest Order profiles i REALLY need it because my profile works all the way up until it has to turn in the quest. It will run to the turnin point but won't turn it in O.o

Probably isnt turning them in because by sounds of it you are using outdated profiles. Just a guess.
 
I created my own yesterday using newest outline (1.9.5.5 Quest Order)
 
I downloaded the RC version and it still won't turn in the quests. Also with the profile creator thing that searches quests and makes the profile itsself, can you organize which quests to get first before it actually creates the profile? Because it makes the profile in order as it searches the quests off wowhead so when it makes the profile it has PickUp quests first that are not available because you haven't started the chain to be able to get it.
 
Back
Top