Page 1 of 1
How can I decrease MM CPU usage when looting?
Posted: Thu Aug 25, 2011 10:44 pm
by Mushroomstamp
MM CPU usage hits above 90 when looting a mob, which slows things WAY down. Is there anything I can do to lower the CPU usage when looting? I have quoted out everything I had in onLeaveCombat to be sure there wasn't an issue there, and my loot options are as follows;
Code: Select all
<option name="LOOT" value="true" />
<option name="LOOT_ALL" value="true" />
<option name="LOOT_IN_COMBAT" value="false" />
<option name="LOOT_DISTANCE" value="200" />
<option name="LOOT_PAUSE_AFTER" value="0" /> <!-- probability in % for a short rest -->
<option name="DEBUG_LOOT" value="false" />
<option name="LOOT_IGNORE_LIST_SIZE" value="3" />
Re: How can I decrease MM CPU usage when looting?
Posted: Thu Aug 25, 2011 10:50 pm
by lisa
If you change to just loot and not lootall, and do in combat to make sure you loot everything then it won't check for dead bodies. So you won't have that scan all objects and then check if lootable.
Should help
Re: How can I decrease MM CPU usage when looting?
Posted: Fri Aug 26, 2011 7:48 am
by Mushroomstamp
It helped a little, but not as much as I had hoped. It had been hitting 98, now it's more like 92. Anything else I could try?
Re: How can I decrease MM CPU usage when looting?
Posted: Fri Aug 26, 2011 8:39 am
by lisa
have you tested what your cpu does without using bot and just looting manually?
Might be other issues, like addons or just a game issue.
Re: How can I decrease MM CPU usage when looting?
Posted: Fri Aug 26, 2011 1:02 pm
by Mushroomstamp
Manual game play is at least 4 times faster, and looting is done in the blink of an eye. Game client spikes above 50 CPU usage at it's highest.
Re: How can I decrease MM CPU usage when looting?
Posted: Fri Aug 26, 2011 1:27 pm
by Administrator
On line 1514 of classes/player.lua, you'll see this:
Directly below that line, add this:
Does that help?
Re: How can I decrease MM CPU usage when looting?
Posted: Fri Aug 26, 2011 3:32 pm
by Mushroomstamp
Administrator wrote:Does that help?
That actually made it a little worse.

Re: How can I decrease MM CPU usage when looting?
Posted: Fri Aug 26, 2011 7:25 pm
by lisa
After looking at the code I am wondering why it updates inventory when looting. Inventory is updated pretty much any time any inventory items are used, so is it just checking for space? or is there something else?