Page 1 of 1

Boss focus

Posted: Sat Dec 04, 2010 3:50 am
by dx876234
I've added a list simular to the mobs list to make the bot prioritize specific enemies in a multi enemy fight. This is typically used when farming "eyes" in CL where most mobs can be ignored until the major is down or to handle CL bosses.

In my onload section of a waypoint i do something like:

Code: Select all

<onLoad>
settings.profile.boss = {"Boddosh", "Zurhidion Negotiator", "Gorn", "Ordig", "Masso", "Uguda"}
</onLoad>
When fighting Negotiator this forces the bot to kill the negotiator while ignoring the four mobs until its dead.

Currently I have used just a fixed priority by adding a score to the best enemy calculcations if found in boss table. Alternative ideas would be to check dynamically if its a boss and add to the score or to put priorities in the boss tables as well, like kill order.

Regards
d

Re: Boss focus

Posted: Sat Dec 04, 2010 4:25 am
by rock5
Nice. I don't do instances myself but I can see how this would be useful to those that farm them.

Re: Boss focus

Posted: Sat Dec 04, 2010 11:05 am
by jduartedj
this seems nice! For such situations I used to set the mobs options to the boss only and use AOEs to get rid of the surrounding mobs. I'll try it. Do you think this could be commited, rock5?

Re: Boss focus

Posted: Sat Dec 04, 2010 3:53 pm
by wizzyslo
Nice work

I would rly happy if somebudy can make function to detect what mob cast and if mob cast some special skill do somthing and how to sinhronize bots together. :D

Re: Boss focus

Posted: Sat Dec 04, 2010 6:27 pm
by rock5
jduartedj wrote:this seems nice! For such situations I used to set the mobs options to the boss only and use AOEs to get rid of the surrounding mobs. I'll try it. Do you think this could be commited, rock5?
Because I can't test it I'm reluctant to commit it. I mostly commit my own work anyway. Administrator usually adds things that other users supply.

Re: Boss focus

Posted: Tue Dec 07, 2010 2:14 pm
by squeekthegeek
hmmm, how do i use the diff files in windows?

Re: Boss focus

Posted: Tue Dec 07, 2010 3:32 pm
by Administrator
Assuming you're using TortoiseSVN, right-click the 'rom' folder, go to TortoiseSVN->Apply patch. Select the files and apply the changes.

Re: Boss focus

Posted: Tue Dec 07, 2010 9:20 pm
by squeekthegeek
thanks for the tip.

I had to do it manualy anyways because repo was updated and tortoise would patch different versions.

my other question is, how would you enter Cyclops Lair and farm it if you can't create a waypoint to make you walk through the portal?

once the map changes, ie. after walking inside of instances, doesnt the coordinates in the waypoints file become useless?

Re: Boss focus

Posted: Tue Dec 07, 2010 9:28 pm
by rock5
squeekthegeek wrote:my other question is, how would you enter Cyclops Lair and farm it if you can't create a waypoint to make you walk through the portal?

once the map changes, ie. after walking inside of instances, doesnt the coordinates in the waypoints file become useless?
I've done waypoint files that go through portals. All you have to do is quickly create a waypoint as soon as you enter the portal. It will still register the waypoint that will telleport you. Then at that waypoint use
waitForLoadingScreen() function to wait for it to finish loading.

Re: Boss focus

Posted: Tue Feb 15, 2011 7:05 am
by BaksikPL
When im trying to apply this path im reciving this error

Image

What is wrong ?

Re: Boss focus

Posted: Tue Mar 08, 2011 3:21 am
by dx876234
I'm sorry but I'm not sure what that error message implies. Perhaps someone who knows CVS better than me could explain?

Re: Boss focus

Posted: Fri Mar 18, 2011 1:10 pm
by Alkaiser
I couldn't get it to apply either, so I manually applied the changes with notepad++. Testing in progress...

Re: Boss focus

Posted: Fri Mar 18, 2011 4:55 pm
by Alkaiser
Boddosh is causing some trouble. When his health drops down to around 10000, he says "BODDOSH IS INVINCIBLE!!!" and starts running around demoralized. At this point the bot stops attacking him "fight finished" and will continue running waypoints, periodically stopping because it's "waiting on aggressive enemies"... probably because Boddosh has stopped panicking and returned to his usual aggressive behavior.

Anyone have any idea how to make the bot continue attacking Boddosh during his panic phase?

Re: Boss focus

Posted: Fri Mar 18, 2011 6:28 pm
by Administrator
Alkaiser wrote:Boddosh is causing some trouble. When his health drops down to around 10000, he says "BODDOSH IS INVINCIBLE!!!" and starts running around demoralized. At this point the bot stops attacking him "fight finished" and will continue running waypoints, periodically stopping because it's "waiting on aggressive enemies"... probably because Boddosh has stopped panicking and returned to his usual aggressive behavior.

Anyone have any idea how to make the bot continue attacking Boddosh during his panic phase?
I'm guessing that's because it detects that you aren't doing any damage to him, even though you are attacking. Do you have DEBUGGING turned on?

Re: Boss focus

Posted: Sun Mar 20, 2011 5:57 pm
by Alkaiser
Okay, I set

Code: Select all

<option name="DEBUGGING" value="true" />
.
Didn't see anything out of the ordinary.

When Boddosh panics, the bot says "Fight Finished. Killed 1 Boddosh... etc." Then "waiting for aggressive enemies". This repeats several times, bot reengages after a some seconds, stops, attacks some more, stops, and then finally kills him for real. It takes 5 times longer than it should to finish him off.

So it seems the bot thinks Boddosh is dead when he enters the panic state.

UPDATE:
As a workaround, I did this:

Code: Select all

	<onPreSkillCast>
	local targetPawn = CPawn(player.TargetPtr)
	if( targetPawn.Name == "Boddosh" ) then
		repeat
			player:cast("KNIGHT_HOLY_STRIKE")
			targetPawn:update()
		until 1000 > targetPawn.HP
	end
Boddosh gets slaughtered. Could be bad though if an obstacle ends up between the bot and Boddosh and the bot is unable to attack.

Re: Boss focus

Posted: Sun Apr 17, 2011 10:33 am
by kanta
This doesn't seem to be working for me. Won't stay on Zurhidon Negotiator, keeps targeting the Protectors. I've tried adding them to the friend section and that doesn't help either.