Page 1 of 1

A working Mounted Combat grind setup

Posted: Wed Oct 23, 2013 4:23 am
by Fano
I solved working with Mounted Combat. Keep in mind that the behavior still operates like a regular on foot bot.

Here is the XML, with an explanation following:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<actions
xmlns="http://lotro.pwnagebot.com/Class/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://lotro.pwnagebot.com/Class/v2.0 Class.xsd">

	<!-- Credit: Fano from syphi.net -->

	<mindist>4</mindist>



	<!-- Combat actions -->

	<action name="Health-Pot" cooldown="120000" quickbarindex="0" ranged="true" melee="true" >
		<condition type="Health" max="30" />
	</action>

	<action name="Measered Attack" cooldown="4000" skillid="0x7002fcdf" ranged="true" melee="true">
		<condition type="Distance" min="0" max="4.2"/>
	</action>
	
	<action name="Cry Havok" cooldown="10000" skillid="0x7002fce2" ranged="true" melee="true">
		<condition type="Distance" min="0" max="40"/>
	</action>

	<action name="Cry Wrath" cooldown="16000" skillid="0x7002fcd1" ranged="true" melee="true">
		<condition type="Distance" min="0" max="40"/>
	</action>

	<action name="Oppressive Blow" cooldown="4000" skillid="0x7002fcdd" ranged="true" melee="true">
		<condition type="Distance" min="0" max="4.2"/>
	</action>

	<action name="Rally the Riders" cooldown="12000" skillid="0x7002fcd2" ranged="true" melee="true">
		<condition type="Distance" min="0" max="4.2"/>
	</action>

	<action name="Rider and Steed" cooldown="18000" skillid="0x7002fcd5" ranged="true" melee="true">
	</action>




	<!-- Out of combat buffs -->


	<action name="Call To Arms: Archer" cooldown="0" skillid="0x7000fc78" outofcombatbuff="true" casted="true" delay="1000"><condition type="Cast Once"/></action>

	<action name="Tactic: Relentless Attack" cooldown="120000" skillid="0x70003e55" outofcombatbuff="true" delay="1000"/>

	<action name="Motivating Speech" cooldown="120000" skillid="0x70003e52" outofcombatbuff="true" delay="1000"/>

	<action name="Mount" quickbarindex="46" outofcombatbuff="true" cooldown="6000" delay="4000">
	</action>

</actions>

<!--

60 61 62 63 64 65 66 67 68 69 70 71
48 49 50 51 52 53 54 55 56 57 58 59 
36 37 38 39 40 41 42 43 44 45 46 47 (shift)
24 25 26 27 28 29 30 31 32 33 34 35 (alt)
12 13 14 15 16 17 18 19 20 21 22 23 (ctrl)
 0  1  2  3  4  5  6  7  8  9 10 11

-->
The skill bar change does some strange things to the program, so here are the work arounds. Put ALL your mounted combat skills on either skill bar 4 or 5. This is necessary to allow them to execute using the skillid. You can also use the quickbarindex method but it is less elegant. The only skill that has to use the quickbar index is the mount skill, which I placed in spot 46 on my on foot skill bar, and I placed on spot 45 on my mounted tool bar.

The reason for this is that upon the skillbar change over the bot gets confused and tries to re-execute the skill causing it to loop over and over mounting and unmounting the horse.

Another thing to avoid it using the casted="true" flag on the mount skill as it will then stop working when mounted. I'm not sure the reason for this at all, but after combat when it tries the mounted buff, is instead sits in a "rest" state.

The last thing you have to do before running the bot, is that you need to set the horse speed to cap at either walk trot or canter, but not gallop. The slower the better for the purposes over movement, because the bot will constantly run past the path point and try to return and never make it. I personally use the Trot as the Cap, because I have a good connection, but anything else just gets wonky.

The logic of my bot is that the captain calls the archer, does buff then mounts up and grinds. If dismounted it will auto attack until combat is over (or death) and the remount and start all over.

If you have any questions let me know.

Re: A working Mounted Combat grind setup

Posted: Mon Dec 16, 2013 4:51 pm
by pirata589
Hello everyone, when I do "DUMP SLOT" on the horse, the horse with the skill note, I did not download the file already "ID of SKILL." As you have done to have the codes of the attacks?
Thank you.

Re: A working Mounted Combat grind setup

Posted: Tue Dec 24, 2013 10:12 am
by jumangi
I find if you "quickbarslot" a /follow command as a pull or precombat it keeps you in pace with the mob.