Housemaid pots/food (over)use

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Edamh
Posts: 106
Joined: Tue May 24, 2011 11:56 pm

Housemaid pots/food (over)use

#1 Post by Edamh » Wed Sep 26, 2012 12:29 pm

Anyone else notice that housemaid pots/food are being overused? That is, the bot does not seem to check to see if buff for housemaid food/pots is still present before using same. I ran through a stack of Unbridled Enthusiasm pots in a matter of 30 minutes when I expected them to last 12+hours.

Has there been an update to the useGoodie function? I don't see one in the thread. Granted, I took a break over the summer so I haven't been on recently, but iirc the useGoodie function was working last week before this week's patch.


EDIT: I watched the bot some more, and the Unbridled Enthusiasm buff seems to be cleared at the end of the battle. Here's my end of battle code; I don't see anything that should be clearing that buff.

Code: Select all

	<onLeaveCombat><![CDATA[


		-- Additional Lua code to execute after killing an enemy
		-- if inventory:itemTotalCount(0) > 0 then catchCavy() end	
	
	-- for Tergothen Bay
	if player:findNearestNameOrId("Mysterious Bag") then
	  local filename = getExecutionPath() .. "/logs/giftbag.log";
      local file, err = io.open(filename, "a+");
      if file then
         file:write("Date: "..os.date().." scout")
         file:close();
      end
      player:target_Object("Mysterious Bag")
      yrest(1000)
      player:target_Object("Mysterious Bag")
      yrest(1000)
   end
	
	
	
	useGoodie("giant"); -- Fullness
	useGoodie("speed"); -- Unbridled Enthusiasm
	useGoodie("frog"); -- Princely Look
	useGoodie("casting"); -- Clear Thought
	useGoodie("luck"); --Turn of Luck Powder Dust
	-- useGoodie("riding"); --Galloping Gale
	useGoodie("jump"); --crazy breakout
	useGoodie("defense"); --Scarlet Love
	-- useGoodie("agro");  --Pungent Vileness
	useGoodie("godspeed"); --Godspeed
	-- useGoodie("pdmg"); -- Housekeeper Special Salted Fish with Sauce
	useGoodie("mdmg"); -- Housekeeper Special Smoked Bacon with Herbs
	-- useGoodie("critp"); -- Housekeeper Special Caviar Sandwich
	useGoodie("matt"); -- Housekeeper Special Deluxe Seafood
	useGoodie("patt2"); -- Housekeeper Special Spicy Meatsauce Burrito
	useGoodie("mdmg2"); -- Housekeeper Special Delicious Swamp Mix
	useGoodie("patt3"); -- Housekeeper Special Unimaginable Salad
	useGoodie("matt3"); -- Housekeeper Special Cheese Fishcake
	
	]]>
	
	if player:findNearestNameOrId(102102) then
         local Evelyn = player:findNearestNameOrId(102102)
         player:target(Evelyn)
         player:fight()
	end
	
	</onLeaveCombat>

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Housemaid pots/food (over)use

#2 Post by lisa » Wed Sep 26, 2012 6:53 pm

anything in useGoodie that might clear it?
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Housemaid pots/food (over)use

#3 Post by rock5 » Wed Sep 26, 2012 9:28 pm

Maybe the mob has a skill to remove the buff. Or maybe there is something in the profile.
  • 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

abron1
Posts: 162
Joined: Wed Feb 22, 2012 12:43 am

Re: Housemaid pots/food (over)use

#4 Post by abron1 » Sat Sep 29, 2012 10:11 am

god speed will cancel each other out you can only use those buffs same with the attack foods

miesermetzler
Posts: 46
Joined: Tue Dec 06, 2011 12:17 pm

Re: Housemaid pots/food (over)use

#5 Post by miesermetzler » Mon Oct 01, 2012 4:05 pm

Hello,

i recognized that usegoodie sometimes make trouble using some bufffood. Sometimes my bot will use all the time until its empty. I have all goodies in my onleavecombat section im my profile. For the bufffood that my bot keep eating, ill use the player:updatebuffs function on the 1 wp or when i enter instances. For example:
<!-- # 17 --><waypoint x="4714" z="824" y="679" type="TRAVEL">
changeProfileSkill("MAGE_PURGATORY_FIRE","InBattle", true,"Autouse", true)
changeProfileSkill("MAGE_FLAME","InBattle", false,"Autouse", false)
changeProfileOption("QUICK_TURN", true);
player:updateBuffs()
if not player:hasBuff("Grenzenloser Enthusiasmus") then
inventory:useItem(207200);
end
yrest(500)
player:updateBuffs()
if not player:hasBuff(506687) then
inventory:useItem(207203);
end
yrest(500)
player:updateBuffs()
if not player:hasBuff("Klarer Gedanke") then
inventory:useItem(207202);
end
But sometimes MM wont accept the name and i have to use Id´s. But one of them are always working. There a better Solutions i think, but its not very difficult and its works for me. Perhaps you´ll try it.

Good Luck

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Housemaid pots/food (over)use

#6 Post by rock5 » Tue Oct 02, 2012 1:09 am

As far as I can tell the only way UseGoodie will use up all your food is if the buff id is wrong, which they shouldn't be after all this time, or the actual name of the buffs have changed. Either way, you can always specify the item name and buff yourself overriding the default ones. That way it will only take one line to do it vs the 3 lines you use.

But you are also correct. That code is very simple and functional. In fact that's the way I prefer to do it. Although you don't need to update the buffs as they are updated as part of the 'hasBuff' function.
  • 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: No registered users and 1 guest