How can I decrease MM CPU usage when looting?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

How can I decrease MM CPU usage when looting?

#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" />

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

Re: How can I decrease MM CPU usage when looting?

#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
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

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: How can I decrease MM CPU usage when looting?

#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?

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

Re: How can I decrease MM CPU usage when looting?

#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.
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

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: How can I decrease MM CPU usage when looting?

#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.

User avatar
Administrator
Site Admin
Posts: 5329
Joined: Sat Jan 05, 2008 4:21 pm

Re: How can I decrease MM CPU usage when looting?

#6 Post by Administrator » Fri Aug 26, 2011 1:27 pm

On line 1514 of classes/player.lua, you'll see this:

Code: Select all

			target:update()
Directly below that line, add this:

Code: Select all

yrest(1)

Does that help?

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: How can I decrease MM CPU usage when looting?

#7 Post by Mushroomstamp » Fri Aug 26, 2011 3:32 pm

Administrator wrote:Does that help?
That actually made it a little worse. :?

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

Re: How can I decrease MM CPU usage when looting?

#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?
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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest