-
Mushroomstamp
- Posts: 210
- Joined: Wed Oct 27, 2010 11:34 am
#1
Post
by Mushroomstamp » Thu Aug 25, 2011 10:44 pm
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" />
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#2
Post
by lisa » Thu Aug 25, 2011 10:50 pm
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
-
Mushroomstamp
- Posts: 210
- Joined: Wed Oct 27, 2010 11:34 am
#3
Post
by Mushroomstamp » Fri Aug 26, 2011 7:48 am
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?
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#4
Post
by lisa » Fri Aug 26, 2011 8:39 am
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.
-
Mushroomstamp
- Posts: 210
- Joined: Wed Oct 27, 2010 11:34 am
#5
Post
by Mushroomstamp » Fri Aug 26, 2011 1:02 pm
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.
-
Administrator
- Site Admin
- Posts: 5329
- Joined: Sat Jan 05, 2008 4:21 pm
#6
Post
by Administrator » Fri Aug 26, 2011 1:27 pm
On line 1514 of classes/player.lua, you'll see this:
Directly below that line, add this:
Does that help?
-
Mushroomstamp
- Posts: 210
- Joined: Wed Oct 27, 2010 11:34 am
#7
Post
by Mushroomstamp » Fri Aug 26, 2011 3:32 pm
Administrator wrote:Does that help?
That actually made it a little worse.

-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#8
Post
by lisa » Fri Aug 26, 2011 7:25 pm
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?
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest