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!
Ignoring target
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Ignoring target
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.
Re: Ignoring target
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.
=)
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.
=)
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Ignoring target
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:
Change to:
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;
Code: Select all
self.Battling = false;
Re: Ignoring target
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.
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.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Ignoring target
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.
Who is online
Users browsing this forum: Ahrefs [Bot] and 6 guests