Ignoring target

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
muffins89
Posts: 5
Joined: Thu Mar 04, 2010 6:53 pm

Ignoring target

#1 Post by muffins89 » Sat Mar 06, 2010 7:26 pm

Anyone know where the settings for ignoring mob after a couple of tries attacking a mob?

I would like to change it to 2 seconds...

its now on 10.
Couldnt find it on the files. =)

Appricate the help!

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

Re: Ignoring target

#2 Post by Administrator » Sat Mar 06, 2010 9:02 pm

The MAX_FIGHT_TIME profile option will make you drop the target if you're unable to hit him within the given time in seconds.

muffins89
Posts: 5
Joined: Thu Mar 04, 2010 6:53 pm

Re: Ignoring target

#3 Post by muffins89 » Sat Mar 06, 2010 9:30 pm

Thanks for reply.

I understand that part.

Just want the ignoring part after that to be shortend to 2 secounds.

Else its a big possiblity that he walks by mobs and my party memeber gets aggro.

=)

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

Re: Ignoring target

#4 Post by Administrator » Sat Mar 06, 2010 11:45 pm

That's a problem due to aggro detection. It's a problem with how the game was made (not sure why you enter combat just because someone in your party attacked or was attacked by something). You could turn off aggro detection, but then you'd have all sorts of other problems.

Open rom/classes/player.lua, search for this:

Code: Select all

	self.Battling = debugAssert(memoryReadBytePtr(getProc(), addresses.staticbase_char,
	addresses.charBattle_offset), language[41]) == 1;
Change to:

Code: Select all

self.Battling = false;

muffins89
Posts: 5
Joined: Thu Mar 04, 2010 6:53 pm

Re: Ignoring target

#5 Post by muffins89 » Sun Mar 07, 2010 8:43 am

What i mean is,

Sometimes when u do ranged, it cant see target. Then it waits.

Thats okay its 15 sec normal there.


But after that it goes into ingoring mode for 10 secounds.

So even if it sees a mob it ignores it untill the mob fights back.

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

Re: Ignoring target

#6 Post by Administrator » Sun Mar 07, 2010 9:16 am

Just keep track of the time you left combat (store os.time() into a variable at the end of CPlayer:fight()), and check if it's been at least x seconds since the last fight before entering combat again.

Post Reply

Who is online

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