OMG quit jumping mid-cast

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Dsanchez
Posts: 77
Joined: Thu Aug 04, 2011 11:20 pm

OMG quit jumping mid-cast

#1 Post by Dsanchez »

so I'm trying out a few caster classes and the bot is always jumping mid-cast while in combat and breaking the cast. so annoying. is there a way to stop this? it's not every cast, but usually the first cast. specifically it's on my warden right now when he casts charged chop.


thanks


edit: seems to do it only when my pet is active. but now it's dead.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: OMG quit jumping mid-cast

#2 Post by rock5 »

The purpose of jumping is to interrupt the cast.

The way it works is, if the bot detects aggro as it's casting the first skill, it jumps to stop casting so it can fight the mob that has aggro.

I'm not sure how your pet comes into it unless it's the pet that's causing the aggro, while your casting.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
Dsanchez
Posts: 77
Joined: Thu Aug 04, 2011 11:20 pm

Re: OMG quit jumping mid-cast

#3 Post by Dsanchez »

yes, it looks like after i pull my pet then takes aggro and i jump when it does and interrupt my cast. why would i want to interrupt my cast when my pet pulls aggro?
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: OMG quit jumping mid-cast

#4 Post by rock5 »

The bot thinks you are being attacked. So it stops to change target. Well that's the idea anyway. To tell you the truth, the bot was never well written for wardens and probably never will be. I'd be interrested in tips or tricks other wardens use to make it run smoothly.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
Dsanchez
Posts: 77
Joined: Thu Aug 04, 2011 11:20 pm

Re: OMG quit jumping mid-cast

#5 Post by Dsanchez »

kk, but it's interrupting the cast when i lose aggro instead of when i take aggro. i'll get used to it i guess, but it's annoying lol.


thanks
Dsanchez
Posts: 77
Joined: Thu Aug 04, 2011 11:20 pm

Re: OMG quit jumping mid-cast

#6 Post by Dsanchez »

lol so i'm in a party now with two of my chars and they both jump when the warden's pet gets aggro. this is silly. i really don't see a need for this.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: OMG quit jumping mid-cast

#7 Post by lisa »

first of all which version of bot are you using?
second what are your profile settings?

I run a warden and it never has this issue, pet will always pull agro and will always be the one getting attacked, that's what they are designed to do.

If you just want it to not jump and not worry about why it is jumping then just set anti_ks in your profile to false but you really shouldn't need to.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Dsanchez
Posts: 77
Joined: Thu Aug 04, 2011 11:20 pm

Re: OMG quit jumping mid-cast

#8 Post by Dsanchez »

i'm using the newest version of the bot

even with anti_ks set to false the chars are still jump cancelling casts and my mage that is in the party with my warden stops attacking.
both chars anti_ks set to false

Code: Select all

Fight finished. Killed 1 Valley Marauder. (fight #1 / runtime 2 minutes)
Clearing target.
Use MACRO: Executing RoMScript "SetRaidTarget("target", 1);".
Engaging enemy [Valley Scavenger] in combat.
Use MACRO: MAGE_PLASMA_ARROW   =>   Valley Scavenger (962/962)
Use MACRO: MAGE_ELECTRIC_BOLT  =>   Valley Scavenger (755/962)
Use MACRO: MAGE_FLAME          =>   Valley Scavenger (627/962)
Use MACRO: MAGE_FLAME          =>   Valley Scavenger (431/962)
Use MACRO: MAGE_PLASMA_ARROW   =>   * Failed to cast *
Fight finished. Killed 1 Valley Scavenger. (fight #2 / runtime 3 minutes)
Clearing target.
Use MACRO: Executing RoMScript "SetRaidTarget("target", 1);".
Engaging enemy [Valley Scavenger] in combat.
Use MACRO: MAGE_PLASMA_ARROW   =>   Valley Scavenger (950/962)
Aggro during first strike/cast, abort that cast/target: Valley Scavenger
Clearing target.
Select new target Valley Scavenger in distance 32
Valley Scavenger is not attacking us, we clear that target.
Clearing target.
=>   * aborted *
Use MACRO: MAGE_ELECTRIC_BOLT  =>   * Failed to cast *
Fight finished. Killed 2 Valley Scavenger. (fight #3 / runtime 3 minutes)
Use MACRO: Executing RoMScript "SetRaidTarget("target", 1);".
Engaging enemy [Scaly Anteater] in combat.
Use MACRO: MAGE_PLASMA_ARROW   Select new target Scaly Anteater in distance 58
Scaly Anteater is not attacking us, we clear that target.
Clearing target.
=>   * aborted *
Fight finished. Killed 1 Scaly Anteater. (fight #4 / runtime 3 minutes)
Use MACRO: Executing RoMScript "SetRaidTarget("target", 1);".
Engaging enemy [Valley Marauder] in combat.
Use MACRO: MAGE_PLASMA_ARROW   =>   * Failed to cast *
Use MACRO: MAGE_ELECTRIC_BOLT  Aggro during first strike/cast, abort that cast/t
arget: Valley Marauder
Clearing target.
Select new target Valley Scavenger in distance 93
Valley Scavenger is not attacking us, we clear that target.
Clearing target.
=>   * aborted *
Fight finished. Killed 2 Valley Marauder. (fight #5 / runtime 3 minutes)
Use MACRO: Executing RoMScript "SetRaidTarget("target", 1);".
Engaging enemy [Valley Scavenger] in combat.
Use MACRO: MAGE_PLASMA_ARROW   Aggro during first strike/cast, abort that cast/t
arget: Valley Scavenger
Clearing target.
Select new target Valley Scavenger in distance 15
Valley Scavenger is not attacking us, we clear that target.
Clearing target.
=>   * aborted *
Fight finished. Killed 3 Valley Scavenger. (fight #6 / runtime 4 minutes)
Use MACRO: Executing RoMScript "SetRaidTarget("target", 1);".
Engaging enemy [Scaly Anteater] in combat.
Use MACRO: MAGE_PLASMA_ARROW   =>   Scaly Anteater (1502/1509)
Aggro during first strike/cast, abort that cast/target: Scaly Anteater
Clearing target.
Select new target Scaly Anteater in distance 45
Scaly Anteater is not attacking us, we clear that target.
Clearing target.
=>   * aborted *
Use MACRO: MAGE_ELECTRIC_BOLT  =>   <UNKNOWN> (1000/1000)
Fight finished. Killed 2 Scaly Anteater. (fight #7 / runtime 4 minutes)
Use MACRO: Executing RoMScript "SetRaidTarget("target", 1);".
Engaging enemy [Scaly Anteater] in combat.
Use MACRO: MAGE_PLASMA_ARROW   =>   Scaly Anteater (1500/1509)
Use MACRO: MAGE_ELECTRIC_BOLT  =>   Scaly Anteater (1492/1509)
Use MACRO: MAGE_FLAME          =>   Scaly Anteater (1088/1509)
Use MACRO: MAGE_FLAME          =>   Scaly Anteater (965/1509)
Use MACRO: MAGE_PLASMA_ARROW   =>   Scaly Anteater (527/1509)
Use MACRO: MAGE_FLAME          =>   * Failed to cast *
Fight finished. Killed 3 Scaly Anteater. (fight #8 / runtime 5 minutes)
Use MACRO: Looting target in distance 33.
Clearing target.
Use MACRO: Executing RoMScript "SetRaidTarget("target", 1);".
Engaging enemy [Green Spotted Fungus] in combat.
No more (usable) hp potions available at bagslot 1 to 240
Use MACRO: MAGE_PLASMA_ARROW   =>   Green Spotted Fungus (1587/1591)
Aggro during first strike/cast, abort that cast/target: Green Spotted Fungus
Clearing target.
Select new target Green Spotted Fungus in distance 38
Green Spotted Fungus is not attacking us, we clear that target.
Clearing target.
=>   * aborted *
Use MACRO: MAGE_ELECTRIC_BOLT  =>   * Failed to cast *
Fight finished. Killed 1 Green Spotted Fungus. (fight #9 / runtime 5 minutes)

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
	<options>

		<!-- GM detection options -->
		<option name="GMDETECT"         	value="true" /> -- enables the GM detection userfunction
		<option name="GMnearbylogout" 		value="true" /> -- If a GM is close to the character it will log out.
		<option name="PAUSEONGM"   		value="300" />  -- Pauses when GM whispers for value in seconds. ie 300 = 5 minutes
		<option name="RECALL"      		value="true" /> -- if in combat while pausing it will use recall and whisper/logout

		<!-- Try the bot with a new char mage                   -->
		<!-- At the pioneer village. Use demo.xml waypoint file -->
		<option name="HP_LOW"			value="90" />
		<option name="HP_LOW_POTION"		value="75" />
		<option name="MP_LOW_POTION"		value="75" />
		<option name="USE_HP_POTION"		value="best" />			<!-- potion select strategy: best|minstack -->
		<option name="USE_MANA_POTION"		value="best" />			<!-- potion select strategy: best|minstack -->
		<option name="USE_PHIRIUS_POTION"	value="false" /> 		<!-- false | true if you want to use the Phirus Potions -->
		<option name="PHIRIUS_MP_LOW"		value="25" />
		<option name="PHIRIUS_HP_LOW"		value="25" />

		<!-- Rest if HP or Mana is below that level -->
		<option name="HP_REST" 			value="25" />
		<option name="MP_REST" 			value="25" />

		<!-- Shopping options, how many of what do you want to keep in your inventory -->
		<option name="HEALING_POTION" 		value="0" />
		<option name="MANA_POTION" 		value="0" />			<!-- set to "0" if not required to buy -->
		<option name="ARROW_QUIVER" 		value="0" /> 			<!-- set to "0" if not required to buy -->
		<option name="THROWN_BAG" 		value="0" />			<!-- set to "0" if not required to buy -->
		<option name="POISON" 			value="0" />			<!-- set to "0" if not required to buy -->

		<!-- either false or arrow or thrown -->
		<option name="RELOAD_AMMUNITION" 	value="arrow" />		<!-- false|arrow|thrown -->

		<!-- Combat options -->
		<option name="AUTO_TARGET"		value="true" />
		<option name="COMBAT_TYPE"        	value="" />			<!-- leave empty or choose ranged/melee if not using class default -->
		<option name="COMBAT_RANGED_PULL" 	value="true" /> 		<!-- only important for melees -->
		<option name="COMBAT_DISTANCE"    	value="225" />
		<option name="MAX_FIGHT_TIME"     	value="15" />			<!-- Max time without damage before break -->
		<option name="DOT_PERCENT"        	value="0" />
		<option name="ANTI_KS"            	value="false" />
		<option name="MAX_TARGET_DIST"    	value="225" />
		<option name="USE_SLEEP_AFTER_RESUME"	value="false" />

		<!-- Attack monsters 3 levels above or 10 below your level -->
		<option name="TARGET_LEVELDIF_ABOVE" 	value="5" />
		<option name="TARGET_LEVELDIF_BELOW" 	value="10" />

		<!-- Waypoint and movement settings -->
		<option name="WAYPOINTS"		value="" />  			<!-- leave empty to show a list -->
		<option name="RETURNPATH"		value="" />
		<option name="PATH_TYPE"		value="waypoints" />		<!-- waypoints | wander -->
		<option name="WANDER_RADIUS"		value="500" />
		<option name="WAYPOINT_DEVIATION"	value="0" />
		<option name="QUICK_TURN" 		value="true" />

		<!-- Loot settings -->
		<option name="LOOT"               	value="true" />
		<option name="LOOT_ALL"			value="false" />  		<!-- Loot all nearby dead mobs after combat -->
		<option name="LOOT_IN_COMBAT"     	value="true" />
		<option name="LOOT_DISTANCE"      	value="100" />
		<option name="LOOT_PAUSE_AFTER"   	value="0" />			<!-- probability in % for a short rest -->

		<!-- Auto selling options when used with player:merchant -->
		<option name="INV_AUTOSELL_ENABLE"	value="false" />		<!-- true | false -->
		<option name="INV_AUTOSELL_FROMSLOT" 	value="1" /> 			<!-- 1 = bag 1 slot 1 -->
		<option name="INV_AUTOSELL_TOSLOT"	value="60" /> 			<!-- 30 = last slot bag 1 -->
		<option name="INV_AUTOSELL_QUALITY"	value="white,green" /> 		<!-- white,green,blue,purple  -->

		<!-- Harvest options -->
		<option name="HARVEST_DISTANCE"		value="120" />
		<option name="HARVEST_WOOD"		value="true" /> 		<!-- Choose which types to harvest. -->
		<option name="HARVEST_HERB"		value="true" /> 		<!-- "true" = harvest, "false" = do not harvest -->
		<option name="HARVEST_ORE"		value="true" />

		<!-- Eggpet options -->
		<option name="EGGPET_ENABLE_CRAFT"	value="false" />		<!-- If using same slot for assist and craft, only 1 can be enabled. -->
		<option name="EGGPET_CRAFT_SLOT"	value="1" />
		<option name="EGGPET_ENABLE_ASSIST"	value="false" />
		<option name="EGGPET_ASSIST_SLOT"	value="1" />
		<option name="EGGPET_CRAFT_RATIO"	value="1:1:2" /> 		<!-- mining:woodworking:herbalism ratio to produce. -->
		<option name="EGGPET_CRAFT_INDEXES"	value="" /> 	 		<!-- override auto craft index for mining,woodworking,herbalism eg. "2,,"-->


		<!-- Log out and resurrect settings -->
		<option name="LOGOUT_TIME" 		value="0" />			<!-- in minutes, 0 = timer disabled -->
		<option name="LOGOUT_SHUTDOWN"		value="false" />
		<option name="LOGOUT_WHEN_STUCK"	value="true" />
		<option name="CLOSE_WHEN_STUCK"		value="true" />
		<option name="RES_AFTER_DEATH" 		value="true" />
		<option name="MAX_DEATHS" 		value="10" /> 			<!-- Log out after this many deaths -->

		<!-- Party Bot options  -->
		<option name="PARTY"		value="true" />
		<option name="PARTY_ICONS"		value="true" />
		<option name="PARTY_INSTANCE"	value="true" />

		<!-- Healing options -->
		<option name="HEAL_PARTY"		value="true" /> 	<!-- Not implemented yet, coming soon -->



		<!-- For more options and documentation see the RoM Bot Wiki:  -->
		<!-- http://www.solarstrike.net/wiki/index.php5?title=RoM_Bot  -->

	</options>

	<friends>
		<!-- names of friends we help fighting or enemys we don't want to attack -->
		<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer         -->
		<friend name="MyOtherCharacter1" />
		<friend name="MyOtherCharacter2" />
		<friend name="Yuri" />
		<friend name="Elite_Mob_Name2" />
	</friends>

	<mobs>
		<!-- names of mobs we want to attack 				-->
		<!-- if no names defined we will attack all mobs	-->
		<mob name="" />
		<mob name="" />
		<mob name="" />
	</mobs>

	<hotkeys>
    	<!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
		<hotkey name="MACRO"          key="VK_0" />
	</hotkeys>

	<!-- define your skills depending from your actual primary class -->
	<!-- see the example for a priest/mage                           -->
	<!-- delete skills you don't have or don't want to use.          -->
	<!-- For more skills to use see /database/skills.xml             -->
	<!-- demo skills for LvL 1 character for all classes             -->
	<!-- to use a specific key instead of MACRO then use hotkey="VK_1" this example is for hotkey 1 -->
	<skills_scout>
		<skill name="SCOUT_VAMPIRE_ARROWS" 		hotkey="MACRO" priority="110" />
		<skill name="SCOUT_AUTOSHOT"      		hotkey="MACRO" priority="110" />
		<skill name="SCOUT_SHOT"          		hotkey="MACRO" priority="100" />
		<skill name="SCOUT_WIND_ARROWS"   		hotkey="MACRO" priority="90" />
		<skill name="ROGUE_SHADOWSTAB"   	 	hotkey="MACRO" priority="80" />
		<skill name="SCOUT_WRIST_ATTACK"    		hotkey="MACRO" priority="70" />
		<skill name="ROGUE_BLIND_STAB"    		hotkey="MACRO" priority="60" />
		<skill name="SCOUT_ARROW_OF_ESSENCE"  		hotkey="MACRO" priority="1" maxhpper="40" inbattle="true"/>
		<skill name="SCOUT_FROST_ARROW"  		hotkey="MACRO" priority="1" nobuffname="Frost Arrow" nobufftarget="player" />
	</skills_scout>

	<skills_rogue>
		<skill name="SCOUT_VAMPIRE_ARROWS" 		hotkey="MACRO" priority="110" />
		<skill name="SCOUT_SHOT"          		hotkey="MACRO" priority="100" />
		<skill name="ROGUE_SHADOWSTAB"   	 	hotkey="MACRO" priority="90" nobuffname="Bleed" nobufftarget="target" />
		<skill name="ROGUE_LOW_BLOW"     	 	hotkey="MACRO" priority="80" reqbuffname="Bleed" reqbufftarget="target" nobuffname="Grievous Wound" nobufftarget="target" />
		<skill name="ROGUE_WOUND_ATTACK"    		hotkey="MACRO" priority="70" reqbuffname="Grievous Wound" reqbufftarget="target" />
		<skill name="SCOUT_WRIST_ATTACK"    		hotkey="MACRO" priority="60" />
		<skill name="ROGUE_BLIND_STAB"    		hotkey="MACRO" priority="50" />
		<skill name="ROGUE_INFORMER"    		hotkey="MACRO" priority="40" />
		<skill name="ROGUE_ASSASSINS_RAGE"  	  	hotkey="MACRO" priority="30" />
		<skill name="ROGUE_HIDE"    			hotkey="MACRO" priority="1" autouse="false" />
		<skill name="ROGUE_POISON"	    		hotkey="MACRO" priority="1" />
	</skills_rogue>

	<skills_mage>
		<skill name="MAGE_ELECTROSTATIC_CHARGE" 	hotkey="MACRO" priority="200" hpper="75" inbattle="true" />
		<skill name="MAGE_PLASMA_ARROW"    	        hotkey="MACRO" priority="110" nobuffname="Charged" nobufftarget="player" />
		<skill name="MAGE_ELECTRIC_BOLT"    	        hotkey="MACRO" priority="100" nobuffname="Electric Flow" nobufftarget="target" />
		<skill name="MAGE_FIREBALL"       	   	hotkey="MACRO" priority="100" autouse="false" />
		<skill name="MAGE_LIGHTNING"        	 	hotkey="MACRO" priority="90" />
		<skill name="MAGE_FLAME"         		hotkey="MACRO" priority="80" />
		<skill name="MAGE_ENERGY_INFLUX" 		hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ELEMENTAL_CATALYST"		hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ENERGY_WELL" 			hotkey="MACRO" priority="30" inbattle="true" />
	</skills_mage>

	<onLoad><![CDATA[
		-- Additional Lua code to execute after loading the profile
		-- and before the bot starts. e.g. You could overwrite profile settings here
		-- like: changeProfileOption("HP_REST", 60);
		startGMDetect()
	]]></onLoad>

	<onDeath><![CDATA[
		-- Additional Lua code to execute on death
		-- pauseOnDeath(); -- Stop the script
		-- player:logout();	-- logout
	]]></onDeath>

	<onLeaveCombat><![CDATA[
		-- Additional Lua code to execute after killing an enemy
	useGoodie("Roasted Fish","Roasted Fish");
		-- catchCavy("Magic Cavy")

	]]></onLeaveCombat>

	<onLevelup><![CDATA[
		-- Additional Lua code to execute after having a levelup
		-- and levelup the skills for a new character (mage or priest recommended)
		-- e.g. sendMacro("SetSpellPoint(_tabnr, _skillnr);"); would levelup a skill
	]]></onLevelup>

	<onPreSkillCast>
		if player.Class1 == CLASS_ROGUE then
			if arg1.Name == "ROGUE_POISON" and inventory:itemTotalCount("Poison Bottle") == 0 then
			return false
			end
		end
		return true
	</onPreSkillCast>

	<onSkillCast><![CDATA[
		-- Additional Lua code to execute when casting a skill
		-- Note: arg1 contains the skill being used.
		-- i.e. arg1.Name will be the name of the skill being cast
		-- e.g.:

		if player.Class1 == CLASS_MAGE then
			local target = player:getTarget();
			if( 20 > target.HP/target.MaxHP*100 ) then
				player:cast("MAGE_FIREBALL");
			end;
		end

	]]></onSkillCast>

	<onHarvest><![CDATA[
		-- Additional Lua code to execute directly before the actual harvesting takes place.
		-- Note: arg1 contains the object to be harvested.
		-- i.e. arg1.Name will be the name of the node you are about to harvest
		-- If this snippet returns 'false', the node will *not* be harvested.
		-- All other return values result in the player attempting to harvest the node.
		-- Note that returning 'false' here breaks out of harvesting completely;
		-- You will not attempt to harvest other nearby nodes instead.
	]]></onHarvest>

	<onUnstickFailure><![CDATA[
		-- Lua code to execute when MAX_UNSTICK_TRIALS is reached.
	]]></onUnstickFailure>
</profile>

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
	<options>
		<!-- Try the bot with a new char mage                   -->
		<!-- At the pioneer village. Use demo.xml waypoint file -->
		<option name="HP_LOW"				value="85" />
		<option name="MP_LOW_POTION"		value="50" />
		<option name="HP_LOW_POTION"		value="50" />
		<option name="USE_HP_POTION"		value="best" />			<!-- potion select strategy: best|minstack -->
		<option name="USE_MANA_POTION"		value="best" />			<!-- potion select strategy: best|minstack -->
		<option name="USE_PHIRIUS_POTION"	value="false" /> 		<!-- false | true if you want to use the Phirus Potions -->
		<option name="PHIRIUS_MP_LOW"		value="40" />
		<option name="PHIRIUS_HP_LOW"		value="40" />

		<!-- Rest if HP or Mana is below that level -->
		<option name="HP_REST" 				value="15" />
		<option name="MP_REST" 				value="15" />

		<!-- Shopping options, how many of what do you want to keep in your inventory -->
		<option name="HEALING_POTION" 		value="99" />
		<option name="MANA_POTION" 			value="99" />			<!-- set to "0" if not required to buy -->
		<option name="ARROW_QUIVER" 		value="2" /> 			<!-- set to "0" if not required to buy -->
		<option name="THROWN_BAG" 			value="2" />			<!-- set to "0" if not required to buy -->
		<option name="POISON" 				value="30" />			<!-- set to "0" if not required to buy -->

		<!-- either false or arrow or thrown -->
		<option name="RELOAD_AMMUNITION" 	value="false" />		<!-- false|arrow|thrown -->

		<!-- Combat options -->
		<option name="COMBAT_TYPE"        	value="" />				<!-- leave empty or choose ranged/melee if not using class default -->
		<option name="COMBAT_RANGED_PULL" 	value="false" /> 		<!-- only important for melees -->
		<option name="COMBAT_DISTANCE"    	value="200" />
		<option name="MAX_FIGHT_TIME"     	value="15" />			<!-- Max time without damage before break -->
		<option name="DOT_PERCENT"        	value="0" />
		<option name="ANTI_KS"            	value="false" />
		<option name="MAX_TARGET_DIST"    	value="225" />

		<!-- Attack monsters 3 levels above or 10 below your level -->
		<option name="TARGET_LEVELDIF_ABOVE" value="3" />
		<option name="TARGET_LEVELDIF_BELOW" value="10" />

		<!-- Waypoint and movement settings -->
		<option name="WAYPOINTS"			value="" />  			<!-- leave empty to show a list -->
		<option name="RETURNPATH"			value="" />
		<option name="PATH_TYPE"			value="waypoints" />	<!-- waypoints | wander -->
		<option name="WANDER_RADIUS"		value="500" />
		<option name="WAYPOINT_DEVIATION"	value="0" />
		<option name="QUICK_TURN" 			value="true" />

		<!-- Loot settings -->
		<option name="LOOT"               	value="true" />
		<option name="LOOT_ALL"			  	value="false" />  		<!-- Loot all nearby dead mobs after combat -->
		<option name="LOOT_IN_COMBAT"     	value="true" />
		<option name="LOOT_DISTANCE"      	value="100" />
		<option name="LOOT_PAUSE_AFTER"   	value="0" />			<!-- probability in % for a short rest -->

		<!-- Auto selling options when used with player:merchant -->
		<option name="INV_AUTOSELL_ENABLE"	value="false" />		<!-- true | false -->
		<option name="INV_AUTOSELL_FROMSLOT" value="1" /> 			<!-- 1 = bag 1 slot 1 -->
		<option name="INV_AUTOSELL_TOSLOT"	value="60" /> 			<!-- 30 = last slot bag 1 -->
		<option name="INV_AUTOSELL_QUALITY"	value="white,green" /> 	<!-- white,green,blue,purple  -->

		<!-- Harvest options -->
		<option name="HARVEST_DISTANCE"		value="120" />
		<option name="HARVEST_WOOD"			value="true" /> 		<!-- Choose which types to harvest. -->
		<option name="HARVEST_HERB"			value="true" /> 		<!-- "true" = harvest, "false" = do not harvest -->
		<option name="HARVEST_ORE"			value="true" />

		<!-- Eggpet options -->
		<option name="EGGPET_ENABLE_CRAFT"	value="false" />		<!-- If using same slot for assist and craft, onlt 1 can be enabled. -->
		<option name="EGGPET_CRAFT_SLOT"	value="1" />
		<option name="EGGPET_ENABLE_ASSIST"	value="false" />
		<option name="EGGPET_ASSIST_SLOT"	value="1" />
		<option name="EGGPET_CRAFT_RATIO"	value="1:1:1" /> 		<!-- mining:woodworking:herbalism ratio to produce. -->
		<option name="EGGPET_CRAFT_INDEXES"	value="" /> 	 		<!-- override auto craft index for mining,woodworking,herbalism eg. "2,,"-->


		<!-- Log out and resurrect settings -->
		<option name="LOGOUT_TIME" 			value="0" />			<!-- in minutes, 0 = timer disabled -->
		<option name="LOGOUT_SHUTDOWN"		value="false" />
		<option name="LOGOUT_WHEN_STUCK"	value="true" />
		<option name="CLOSE_WHEN_STUCK"		value="true" />
		<option name="RES_AFTER_DEATH" 		value="true" />
		<option name="MAX_DEATHS" 			value="10" /> 			<!-- Log out after this many deaths -->

		<!-- Party Bot options  -->
		<option name="PARTY"			value="true" />
		<option name="PARTY_ICONS"		value="true" />
		<option name="PARTY_INSTANCE"	value="true" />

		<!-- Healing options -->
		<option name="HEAL_PARTY"		value="true" /> 	<!-- Not implemented yet, coming soon -->


		<!-- For more options and documentation see the RoM Bot Wiki:  -->
		<!-- http://www.solarstrike.net/wiki/index.php5?title=RoM_Bot  -->

	</options>

	<friends>
		<!-- names of friends we help fighting or enemys we don't want to attack -->
		<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer         -->
		<friend name="MyOtherCharacter1" />
		<friend name="MyOtherCharacter2" />
		<friend name="Yuri" />
		<friend name="Elite_Mob_Name2" />
	</friends>

	<mobs>
		<!-- names of mobs we want to attack 				-->
		<!-- if no names defined we will attack all mobs	-->
		<mob name="" />
		<mob name="" />
		<mob name="" />
	</mobs>

	<hotkeys>
    	<!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
		<hotkey name="MACRO"          key="VK_0" />
	</hotkeys>

	<!-- define your skills depending from your actual primary class -->
	<!-- see the example for a priest/mage                           -->
	<!-- delete skills you don't have or don't want to use.          -->
	<!-- For more skills to use see /database/skills.xml             -->
	<!-- demo skills for LvL 1 character for all classes             -->
	<!-- to use a specific key instead of MACRO then use hotkey="VK_1" this example is for hotkey 1 -->

	<skills_warden>
		<skill name="DRUID_RECOVER"			hotkey="MACRO" priority="200" hpper="75" />
		<skill name="WARDEN_MOVEMENT_RESTRICTION"	hotkey="MACRO" priority="110" />
		<skill name="WARDEN_THORNY_VINE"	  	hotkey="MACRO" priority="100" />
		<skill name="WARDEN_CHARGED_CHOP"	  	hotkey="MACRO" priority="90" />
		<skill name="WARDEN_POWER_OF_THE_WOOD_SPIRIT"  	hotkey="MACRO" priority="80" />
		<skill name="WARDEN_ENERGY_ABSORB"		hotkey="MACRO" priority="70" inbattle="true" hpper="25" />
		<skill name="WARDEN_BRIAR_SHIELD"	  	hotkey="MACRO" priority="1" inbattle="false" />
		<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK"  	hotkey="MACRO" priority="1" />
		<skill name="WARDEN_ELVEN_PRAYER"	  	hotkey="MACRO" priority="1" />

		<skill name="DRUID_SAVAGE_BLESSING"	  	hotkey="MACRO" priority="80" />
	</skills_warden>

	<skills_druid>
		<skill name="DRUID_UNITY_WITH_MOTHER_EARTH"       	hotkey="MACRO" priority="90" hpper="25" />
		<skill name="DRUID_RESTORE_LIFE"       	hotkey="MACRO" priority="90" hpper="50" />
		<skill name="DRUID_RECOVER"          	hotkey="MACRO" priority="90" hpper="75" />
		<skill name="DRUID_BLOSSOMING_LIFE"    	hotkey="MACRO" priority="90" hpper="90" />

		<skill name="DRUID_WEAKENING_SEED"  	hotkey="MACRO" priority="80" />
		<skill name="DRUID_EARTH_PULSE"  	hotkey="MACRO" priority="80" />
		<skill name="DRUID_ROCKSLIDE"  	hotkey="MACRO" priority="80" />
		<skill name="DRUID_BRIAR_ENTWINEMENT"  	hotkey="MACRO" priority="80" />

		<skill name="DRUID_EARTH_ARROW"      	hotkey="MACRO" priority="70" reqbuffname="Briar Entwinement" reqbufftarget="target" />

		<skill name="DRUID_SAVAGE_BLESSING"  	hotkey="MACRO" priority="10" />
		<skill name="WARDEN_BRIAR_SHIELD"	  	hotkey="MACRO" priority="1" inbattle="false" />
	</skills_druid>

	<onLoad><![CDATA[
		-- Additional Lua code to execute after loading the profile
		-- and before the bot starts. e.g. You could overwrite profile settings here
		-- like: changeProfileOption("HP_REST", 60);
	]]></onLoad>

	<onDeath><![CDATA[
		-- Additional Lua code to execute on death
		-- pauseOnDeath(); -- Stop the script
		-- player:logout();	-- logout
	]]></onDeath>

	<onLeaveCombat><![CDATA[
		-- Additional Lua code to execute after killing an enemy
	]]></onLeaveCombat>

	<onLevelup><![CDATA[
		-- Additional Lua code to execute after having a levelup
		-- and levelup the skills for a new character (mage or priest recommended)
		-- e.g. sendMacro("SetSpellPoint(_tabnr, _skillnr);"); would levelup a skill
	]]></onLevelup>

	<onSkillCast><![CDATA[
		-- Additional Lua code to execute when casting a skill
		-- Note: arg1 contains the skill being used.
		-- i.e. arg1.Name will be the name of the skill being cast
		-- e.g.:
		--if( 15 > player.HP/player.MaxHP*100 ) then
		--    player:cast("PRIEST_SOUL_SOURCE");
		--elseif( 25 > player.HP/player.MaxHP*100 ) then
		--    player:cast("PRIEST_HOLY_AURA");
		--    player:cast("PRIEST_URGENT_HEAL");
		--    player:cast("PRIEST_URGENT_HEAL");
	]]></onSkillCast>

	<onHarvest><![CDATA[
		-- Additional Lua code to execute directly before the actual harvesting takes place.
		-- Note: arg1 contains the object to be harvested.
		-- i.e. arg1.Name will be the name of the node you are about to harvest
		-- If this snippet returns 'false', the node will *not* be harvested.
		-- All other return values result in the player attempting to harvest the node.
		-- Note that returning 'false' here breaks out of harvesting completely;
		-- You will not attempt to harvest other nearby nodes instead.
	]]></onHarvest>

	<onUnstickFailure><![CDATA[
		-- Lua code to execute when MAX_UNSTICK_TRIALS is reached.
	]]></onUnstickFailure>
</profile>
Dsanchez
Posts: 77
Joined: Thu Aug 04, 2011 11:20 pm

Re: OMG quit jumping mid-cast

#9 Post by Dsanchez »

even adding "Spirit of the Oak" and "Spirit_of_the_Oak" to my friends list in the profiles doesn't seem to help any.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: OMG quit jumping mid-cast

#10 Post by lisa »

Something I never allowed for in the bot was a party members pet taking agro.
The warden shouldn't be jumping, if he is then maybe your not at current version, as in some files may have been conflicted when updating, do any of the files have yellow or red icons?

If for some reason you keep getting it and it annoys you then just do this.

near the top of player.lua find this
JUMP_TRUE = true
and change to false
JUMP_TRUE = false
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Dsanchez
Posts: 77
Joined: Thu Aug 04, 2011 11:20 pm

Re: OMG quit jumping mid-cast

#11 Post by Dsanchez »

it's not only the jumping that is annoying but all other party members stop attacking once the warden's pet takes aggro. all of my files are current. it seems that the warden's pet isn't considered a party member or something. even tho i have it set to ks, and i have the pet added for assisting... why do the other party members stop attacking? and yes, even the warden jumps.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: OMG quit jumping mid-cast

#12 Post by lisa »

Because you would need to add any warden pets to the list of objects to check for target, So it would mean a rewrite of the agro checking code just for you. I say that not to be mean but because you are probably the only person who uses party and warden with an oak to tank the mobs.

Ok I may have a bandaid solution just for you.

player.lua line 272 has this

Code: Select all

(( (pawn.TargetPtr == self.Address or (pawn.TargetPtr == self.PetPtr and self.PetPtr ~= 0) or (_target.Name == GetPartyMemberName(1) )  or (_target.Name == GetPartyMemberName(2) ) or (_target.Name == GetPartyMemberName(3) ) or (_target.Name == GetPartyMemberName(4) ) or (_target.Name == GetPartyMemberName(5) ) ) and
replace with this

Code: Select all

(( (pawn.TargetPtr == self.Address or (pawn.TargetPtr == self.PetPtr and self.PetPtr ~= 0) or (_target.Name == GetPartyMemberName(1) )  or (_target.Name == GetPartyMemberName(2) ) or (_target.Name == GetPartyMemberName(3) ) or (_target.Name == GetPartyMemberName(4) ) or (_target.Name == GetPartyMemberName(5) ) or _target.Name == "Spirit of the Oak" ) and
This won't affect any jumping but it will make ur party members kill the mob if it is attacking the warden pet, assuming it is Spirit of the Oak.

This isn't ideal as if a mob is attacking another players oak then they will still kill it, which can cause issues of other players getting upset and then deciding you are botting and reporting you.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: OMG quit jumping mid-cast

#13 Post by lisa »

I do agree though the warden class isn't fully utilized by the bot, I think it was originally put into the to hard basket for just 1 class that doesn't have a reason for must have.
The class itself is really bad past lvl 40, end game raids it isn't even invited because as a dps class it is below a good tanks dps =(

I recall frogster saying they were going to boost wardens but I don't remember seeing much of an improvement after last patch.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Blyad
Posts: 49
Joined: Fri Oct 07, 2011 3:16 am

Re: OMG quit jumping mid-cast

#14 Post by Blyad »

Bump: (i felt the need to necro this thread to call attention to the use of wardens in bots as they are now by far the second highest dps class in the game and an effective tank as well)
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: OMG quit jumping mid-cast

#15 Post by lisa »

although it is true that having warden as second class can make ur dps class the highest end game dps, warden as first class is still very low in the ranks.

At the moment there are other things much higher in the priority list to look at/fix, like the targeting objects issue.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Post Reply