Adds

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
CrazyGuy
Posts: 63
Joined: Mon Mar 23, 2009 10:41 am

Adds

#1 Post by CrazyGuy » Mon Mar 23, 2009 9:58 pm

Ive got a problem with adds, sometimes ill get an add and the bot will target and kill 2-3 more mobs before it gets around to targeting the mob that is following it. How could it be edited so that once it kills the mob, it just hits esc or whatever it needs to clear the target, then the next hit the mob does, that will be the new focus.

ciraco
Posts: 15
Joined: Mon Mar 23, 2009 1:37 pm

Re: Adds

#2 Post by ciraco » Mon Mar 23, 2009 11:02 pm

I also made a post this morning asking if there were plans to implement an aggro check before it went to go find more mobs to pull.
Have not had any responses yet tho. We can stay hopeful!

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

Re: Adds

#3 Post by Administrator » Mon Mar 23, 2009 11:44 pm

There is a way, but it's not a great solution. Open rom/classes/player.lua in notepad, press CTRL+G. Go to line 389, and you'll see this:

Code: Select all

		if( canTarget == false and os.difftime(os.time(), startTime) > 1 ) then
			canTarget = true;
		end
Change the 1 to another number. Higher numbers mean it spends more time waiting for aggressive monsters to hit before attempting to target another, while lower numbers mean you'll spend less time waiting for them, but also have a lower chance of walking right past some monsters.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 51 guests