Version 0.97 is up now.
I could not test the check for full questbook though.
Maybe someone can test it and report any problems.
QuestByName
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: QuestByName
No, anything that is not 'false' or 'nil' is considered true.
It looks like haveTarget checks the hp of the target. Obviously the board must not have hp so haveTarget returns false. Oh well, your way works as well. I just liked the idea that haveTarget freshly checks to see if you actually have a target.
Your way you might have to do a player:update() to make sure your targetPtr is up to date.
It looks like haveTarget checks the hp of the target. Obviously the board must not have hp so haveTarget returns false. Oh well, your way works as well. I just liked the idea that haveTarget freshly checks to see if you actually have a target.
Your way you might have to do a player:update() to make sure your targetPtr is up to date.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: QuestByName
The full quest book works fine but just 1 small thing, you need to break or return once it's full. So,JackBlonder wrote:Version 0.97 is up now.
I could not test the check for full questbook though.
Maybe someone can test it and report any problems.
Code: Select all
else
print("Maxim number of quests in questbook!")
break
end
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
-
- Posts: 99
- Joined: Sat Dec 18, 2010 6:55 am
Re: QuestByName
I think it should work without the break but it will do the complete loop (i=1 to availableQuests) so I'll add the break at the next version.
Who is online
Users browsing this forum: No registered users and 3 guests