Check buff status before rebuffing when master is found

International

Moderator: Moderators

Message
Author
tetrabyte
Noob
Noob
Posts: 13
Joined: 12 Jul 2017, 06:00
Noob?: No

Check buff status before rebuffing when master is found

#1 Post by tetrabyte »

Hi all, is there a way to disabled or change the priority of the automatic rebuffing when the slave bot found the master?
iRO is quite laggy which is causing the slave bot to 'lose' the master quite frequently. This causes constant rebuffing of skills which drains sp.

So far I tried tweaking the code below with various numbers but none of if had any impact.

Code: Select all

followDistanceMax
followDistanceMin
followLostStep
Ideally, it should check the buff status before applying the buff when it has found the master again.

User avatar
SkylorD
Moderators
Moderators
Posts: 1166
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:

Re: Check buff status before rebuffing when master is found

#2 Post by SkylorD »

Target whenStatusActive
Target whenStatusInactive

http://openkore.com/index.php/Category:Player_Condition
Learn rules

tetrabyte
Noob
Noob
Posts: 13
Joined: 12 Jul 2017, 06:00
Noob?: No

Re: Check buff status before rebuffing when master is found

#3 Post by tetrabyte »

Thanks, I do have those on the party skill blocks but it keeps on buffing after finding the master regardless.
Could lag be the problem ?

hakore
Super Moderators
Super Moderators
Posts: 200
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: Check buff status before rebuffing when master is found

#4 Post by hakore »

apparently, the server doesn't notify you of certain player buffs whenever players reappear on screen, especially when the buff doesn't have visual effect. this includes blessing and agi.

assumptio status would always be shown since it has visual effect.

so when a fully buffed player leaves your screen and comes back, you would only see the assumptio status (plus the quicken skills, ruwach, and others that have visual effect)

using target_timeout is the logical solution

if that doesn't work (as some people note) AND if the slave is supporting only one player, use the foolproof "timeout" set to the buff duration minus a few seconds.
Whatever...

tetrabyte
Noob
Noob
Posts: 13
Joined: 12 Jul 2017, 06:00
Noob?: No

Re: Check buff status before rebuffing when master is found

#5 Post by tetrabyte »

Does that mean in the slave priest point of view when the master reappears onscreen
the attributes target_whenStatusActive and target_whenStatusInactive will always be ignored due to server settings?

I will try out the target_timeout solution and from what you said it should work correctly.
Just have to make sure the master does not die while target_timeout is active.

Thanks for the suggestion

tetrabyte
Noob
Noob
Posts: 13
Joined: 12 Jul 2017, 06:00
Noob?: No

Re: Check buff status before rebuffing when master is found

#6 Post by tetrabyte »

Bringing this up again. I noticed something while controlling the master and have the bot slave assist me.

The slave bot still does all party skills regardless of having timeout after finding the master.

I doubled checked this and walked slower to avoid losing the bot slave and I noticed that the bot can track buff statuses.
I am getting constant Impositio Manus right after the buff expires.

Any other suggestions?

Code: Select all

partySkill AL_BLESSING {
	lvl 10
	sp > 40%
	whenStatusInactive EFST_POSTDELAY
	notInTown 1
	target_whenStatusInactive EFST_BLESSING
	timeout 220
}

partySkill AL_INCAGI {
	lvl 10
	sp > 30%
	target_whenStatusInactive Increase AGI
	#whenStatusInactive EFST_POSTDELAY
	timeout 220
}
partySkill PR_IMPOSITIO {
	lvl 5
	sp > 70%
	target_whenStatusInactive EFST_IMPOSITIO
	whenStatusInactive EFST_POSTDELAY
	notInTown 1
	#timeout 1
}

hakore
Super Moderators
Super Moderators
Posts: 200
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: Check buff status before rebuffing when master is found

#7 Post by hakore »

As long as you don't leave the bot's sight, it can surely track your statuses.

You should do more experiment using "pl <num>" command regularly checking the other player's statuses while he stays in sight and when he disappears and reappears on screen.
Whatever...

tetrabyte
Noob
Noob
Posts: 13
Joined: 12 Jul 2017, 06:00
Noob?: No

Re: Check buff status before rebuffing when master is found

#8 Post by tetrabyte »

Thanks! That was really helpful in understanding what's happening.

Did a quick test and found that moving off screen away from the bot essentially clears the statuses.

After buffing, pl 0 returns all correct buffs.
Moving away off screen and pl 0 results to no statuses. Its like all status has been cleared/refreshed.

Question. How does openkore track status buffs?

1. Status are tracked locally in the system AI after being applied ?
2. Polls the server and reads whatever it returns?
3. Something else?

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: Check buff status before rebuffing when master is found

#9 Post by kali »

It depends on the server to send the statuses.

If the server doesn't send statuses, then it won't know that the actor has the status.
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

tetrabyte
Noob
Noob
Posts: 13
Joined: 12 Jul 2017, 06:00
Noob?: No

Re: Check buff status before rebuffing when master is found

#10 Post by tetrabyte »

Got any resources to read regarding RO servers and actor status?
The wiki does not delve into detail regarding server and actor status.

Post Reply