Level 35 gift bag (Sea of Snow Package)

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Level 35 gift bag (Sea of Snow Package)

#61 Post by rock5 » Fri Dec 05, 2014 4:06 am

No. You are treating berhuQuestComplete as a variable but there is no such variable. It's a string. So it has to be

Code: Select all

onLeaveCompleteTag = berhuCompleteTag
or

Code: Select all

onLeaveCompleteTag = "berhuQuestComplete"
Both are the same because berhuCompleteTag equals "berhuQuestComplete".

I don't know why it's not working. Try adding some print messages to the onleavecombat to see what's happening.

Code: Select all

	function settings.profile.events.onLeaveCombat()
		print("Doing onleavecombat")
		if onLeaveQuest then
			print("onLeaveQuest = ".. onLeaveQuest .. " (".. getQuestStatus(onLeaveQuest).. ")")
			print("onLeaveCompleteTag = " (onLeaveCompleteTag or "nil"))
		end
Hm... Are you running this as one of a chain of waypoint files? Are you loading this waypoint file then doing a loadProfile()? Try reversing them. Do the loadProfile first then load the waypoint file.
  • 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

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests