Page 1 of 1
Bot slow to react
Posted: Thu Apr 11, 2013 6:17 pm
by 883Dman
My bot is slow to react to new aggro after it kills its current target. If I am battling a mob and another mob attacks me, it stomps me 3-5 times before my bot reacts to it. I do not have any pause after loot and does not loot in combat. It seems to take a moment to clear target after the target is dead.
Re: Bot slow to react
Posted: Fri Apr 12, 2013 1:21 am
by rock5
Could be anything. Works fine for me. I need more to go on.
Re: Bot slow to react
Posted: Fri Apr 12, 2013 3:20 am
by lisa
my guess would be profile onleavecombat code.
Re: Bot slow to react
Posted: Fri Apr 12, 2013 6:48 pm
by 883Dman
I was also thinking it may be related to the onleavecombat. I have several usegoodie options posted there. I will root around them and see if that changes anything.
<onLeaveCombat><![CDATA[
-- Additional Lua code to execute after killing an enemy
if 1 > inventory:itemTotalCount("Runic Thorn") then
inventory:useItem(212236) -- Use Rune Catapult
yrest(1000)
RoMScript("UseEquipmentItem(10);")
yrest(1000)
inventory:useItem(213030) -- Use assembled parts
yrest(1000)
inventory:useItem(212185) -- Use Arrows
end
useGoodie("speed"); -- Unbridled Enthusiasm
useGoodie("casting"); -- clear thought
useGoodie("luck"); --Turn of Luck Powder Dust
useGoodie("defense"); --Scarlet Love
useGoodie("patt3"); -- Housekeeper Special Unimaginable Salad
useGoodie("matt3"); -- matt4 crispy chicken, matt3 housekeeper
useGoodie("mdmg3"); -- Lettuce Sandwich
--useGoodie("matt3"); -- cheese fishcake
if player:findNearestNameOrId("Mysterious Bag") then
player:target_Object("Mysterious Bag")
yrest(2000) -- If not enough time to pick up bag, increase it.
end
]]></onLeaveCombat>
Re: Bot slow to react
Posted: Fri Apr 12, 2013 7:00 pm
by 883Dman
That's what it was. I did not realize I had dropped my rune xbow in my bank so the bot was taking time to look for it and do an arrow count and such after each kill.