bot don´t attack

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
kuchen91
Posts: 64
Joined: Tue Nov 01, 2011 6:01 pm

bot don´t attack

#1 Post by kuchen91 » Mon Jan 09, 2012 5:36 am

hello i started today a ks bot with a mage.

I use miesermetzler´s waypoint file. Now i have the problem, that the mage sometimes see´s a mob, but only look to him and dont attack (he only uses purgatory fire) but can´t he follow the mob to come near enough to attack?

If this happens the bot waits a time to notice he dont make damage to the mob and stop attacking ...

Second problem is, that he sometimes stands in front a dead mob which he should loot but only waits a few seconds and going on without looting ... i use Lootomatic...

my profile:


Code: Select all

      <!-- Combat options -->
      <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="50" />
      <option name="MAX_FIGHT_TIME"        value="5" />         <!-- Max time without damage before break -->
      <option name="DOT_PERCENT"           value="90" />
      <option name="ANTI_KS"               value="false" />
      <option name="MAX_TARGET_DIST"       value="50" />

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

      <!-- 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="true" />        <!-- Loot all nearby dead mobs after combat -->
      <option name="LOOT_IN_COMBAT"        value="false" />
      <option name="LOOT_DISTANCE"         value="400" />
      <option name="LOOT_PAUSE_AFTER"      value="0" />   

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: bot don´t attack

#2 Post by kuripot » Mon Jan 09, 2012 6:50 pm

how about the skill?? priority??

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: bot don´t attack

#3 Post by lisa » Mon Jan 09, 2012 6:54 pm

<option name="COMBAT_DISTANCE" value="50" />
<option name="MAX_TARGET_DIST" value="50" />
With those settings it will only ever try to attack a mob if you are literally standing on top of it.
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

kuchen91
Posts: 64
Joined: Tue Nov 01, 2011 6:01 pm

Re: bot don´t attack

#4 Post by kuchen91 » Tue Jan 10, 2012 1:32 am

hm but sometimes he notice a mob but dont attack ...

my full profile + waypoint file:

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="70" />
		<option name="MP_LOW_POTION"		value="50" />
		<option name="HP_LOW_POTION"		value="70" />
		<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="20" />
		<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="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="false" />		<!-- false|arrow|thrown -->

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

		<!-- 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="50" />
		<option name="MAX_FIGHT_TIME"     	value="5" />			<!-- Max time without damage before break -->
		<option name="DOT_PERCENT"        	value="90" />
		<option name="ANTI_KS"            	value="false" />
		<option name="MAX_TARGET_DIST"    	value="50" />

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

		<!-- 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="true" />  		<!-- Loot all nearby dead mobs after combat -->
		<option name="LOOT_IN_COMBAT"     	value="false" />
		<option name="LOOT_DISTANCE"      	value="400" />
		<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="180" /> 			<!-- 30 = last slot bag 1 -->
		<option name="INV_AUTOSELL_QUALITY"	value="white,green,blue,purple" /> 	<!-- white,green,blue,purple  -->
		<option name="INV_AUTOSELL_IGNORE"	value="" />

		<!-- 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="2" /> 			<!-- 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="HEALER_FIGHT"	value="true" /> --> 	<!-- For party bot if you want healer to also fight -->

		<!-- pvp -->
		<!--option name="PVP"			value="true" /> --> 		<!-- To enable PVP, with this set to true it will auto attack any players with red names -->
		
		
		<!-- For more options and documentation see the RoM Bot Wiki:  -->
		<!-- http://www.solarstrike.net/wiki/index.php5?title=RoM_Bot  -->

		<option name="jParty_BotMaster" value="Rianel" />
		<option name="jParty_BotAssist" value="Rianel" /> The bot will assist this member if a fight is engaged
		<option name="jParty_BotFollowed" value="Rianel" /> The bot will follow this member
		<option name="jParty_FollowingDistance" value="10" /> The bot will keep this distance with the BotFollowed
		<option name="jParty_BotHealer" value="false" /> The bot will heal
		<option name="jParty_BotDPSer" value="true" /> The bot will Fight the target of BotAssist if in combat
		<option name="jParty_BotLooter" value="true" /> The bot will loot
		<option name="jParty_Heal" value="" /> Your main heal
		<option name="jParty_BigHeal" value="" /> Your Big heal
		<option name="jParty_Regen" value="" /> Your regen (The bot will only regen if jParty_RegenBuffName is not found on party members and if IN combat
		<option name="jParty_RegenBuffName" value="" /> The name of your buff's regen

	</options>

	<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_priest>
		<skill name="PRIEST_SOUL_SOURCE"     	hotkey="MACRO" priority="110" inbattle="true" hpper="15" />
		<skill name="PRIEST_URGENT_HEAL"     	hotkey="MACRO" priority="100" hpper="50"  />
		<skill name="PRIEST_REGENERATE"      	hotkey="MACRO" priority="90"  hpper="80" />
		<skill name="PRIEST_RISING_TIDE"     	hotkey="MACRO" priority="80" />
		<skill name="PRIEST_WAVE_ARMOR"      	hotkey="MACRO" priority="40"  inbattle="true" />
		<skill name="PRIEST_AMPLIFIED_ATTACK" 	hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_GRACE_OF_LIFE" 		hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_HOLY_AURA"       	hotkey="MACRO" priority="100" inbattle="true" hpper="24" />
		<!--skill name="PRIEST_SOUL_BOND"     	hotkey="MACRO" priority="30" /> -->
		<!--skill name="PRIEST_MAGIC_BARRIER" 	hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" /> -->
	</skills_priest>

	<skills_warrior>
		<skill name="WARRIOR_SLASH"          	hotkey="MACRO" priority="90" />
		<skill name="WARRIOR_TACTICAL_ATTACK"   hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_PROBING_ATTACK" 	hotkey="MACRO" priority="80" />
		<skill name="WARRIOR_OPEN_FLANK"      	hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_SURPRISE_ATTACK"   hotkey="MACRO" priority="70" pullonly="true" />
		<skill name="WARRIOR_FRENZY"  			hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="WARRIOR_THUNDER"     	  	hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_MOON_CLEAVE"     	hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_BLASTING_CYCLONE"  hotkey="MACRO" priority="70" />
	</skills_warrior>

	<skills_scout>
		<skill name="SCOUT_SHOT"          		hotkey="MACRO" priority="90" />
		<skill name="SCOUT_AUTOSHOT"      		hotkey="MACRO" priority="80" />
		<skill name="SCOUT_WIND_ARROWS"   		hotkey="MACRO" priority="70" />
		<skill name="SCOUT_VAMPIRE_ARROWS" 		hotkey="MACRO" priority="70" />
		<skill name="SCOUT_COMBO_SHOT"        	hotkey="MACRO" priority="95" />
		<skill name="SCOUT_ARROW_OF_ESSENCE"    hotkey="MACRO" priority="90" maxhpper="60" inbattle="true"/>
	</skills_scout>

	<skills_rogue>
		<skill name="ROGUE_SHADOWSTAB"    		hotkey="MACRO" priority="90" />
		<skill name="ROGUE_LOW_BLOW"      		hotkey="MACRO" priority="80" />
		<skill name="ROGUE_HIDE"    			hotkey="MACRO" priority="10" autouse="false" />
		<skill name="ROGUE_INFORMER"    		hotkey="MACRO" priority="80" />
		<skill name="ROGUE_ASSASSINS_RAGE"    	hotkey="MACRO" priority="60" />
		<skill name="ROGUE_WOUND_ATTACK"    	hotkey="MACRO" priority="80" />
	</skills_rogue>

	<skills_mage>
		
      		<skill name="PRIEST_REGENERATE"               hotkey="MACRO" priority="100" hpper="95" />
      		<skill name="MAGE_ESSENCE_OF_MAGIC"         hotkey="MACRO" priority="30" />
            	<skill name="PRIEST_URGENT_HEAL"              hotkey="MACRO" priority="100" hpper="65"  />                 
            	<skill name="PRIEST_HOLY_AURA"                hotkey="MACRO" priority="100" inbattle="true" hpper="24" />
            	<skill name="MAGE_PURGATORY_FIRE"                      hotkey="MACRO" priority="100" />
            	<skill name="MAGE_ENERGY_INFLUX"                   hotkey="MACRO" priority="10" inbattle="false" autouse="false" />
      		<skill name="MAGE_ELEMENTAL_CATALYST"         hotkey="MACRO" priority="10" inbattle="false" autouse="false" />
      		<skill name="MAGE_INTENSIFICATION"         hotkey="MACRO" priority="30" inbattle="false" autouse="false" />
      		<skill name="MAGE_FLAME"         hotkey="MACRO" priority="10" inbattle="false" />   
   	</skills_mage>

	<skills_knight>
		<skill name="KNIGHT_HOLY_STRIKE"    	hotkey="MACRO" priority="90" />
		<skill name="KNIGHT_HOLY_SHIELD"    	hotkey="MACRO" priority="80" inbattle="true" hpper="15" />
		<skill name="KNIGHT_HOLY_SEAL"      	hotkey="MACRO" priority="70" />
		<skill name="KNIGHT_PUNISHMENT"     	hotkey="MACRO" priority="60" />
		<skill name="KNIGHT_ENHANCED_ARMOR"   	hotkey="MACRO" priority="90" />
		<skill name="KNIGHT_MANA_RETURN"   	  	hotkey="MACRO" priority="60" />
		<skill name="KNIGHT_RESOLUTION"   	  	hotkey="MACRO" priority="60" />
		<skill name="KNIGHT_DISARMAMENT"   	  	hotkey="MACRO" priority="70" />
	</skills_knight>

	<skills_warden>
		<skill name="WARDEN_CHARGED_CHOP"	  	hotkey="MACRO" priority="90" />
		<skill name="WARDEN_ENERGY_ABSORB"	  	hotkey="MACRO" priority="80" inbattle="true" hpper="25" />
	</skills_warden>

	<skills_druid>
		<skill name="DRUID_RECOVER"          	hotkey="MACRO" priority="90" hpper="30" />
		<skill name="DRUID_EARTH_ARROW"      	hotkey="MACRO" priority="80" />
	</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>
if inventory:itemTotalCount(0) == 0 then   
         sendMacro("LeaveParty();");
         waitForLoadingScreen();
         player:update();
         loadPaths("ksbot");
      end
</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>
waypoint:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onload>
   changeProfileOption("MAX_TARGET_DIST", 50);
   changeProfileSkill("MAGE_PURGATORY_FIRE","InBattle", true)
   changeProfileSkill("MAGE_PURGATORY_FIRE","AutoUse", true)
   changeProfileSkill("MAGE_FLAME","InBattle", false)
   changeProfileSkill("MAGE_FLAME","AutoUse", false)

</onload>
   <!-- #  1 --><waypoint x="-15147" z="11542" y="136" type="TRAVEL" tag="rerun">
   while not RoMScript("UnitExists('party1')") do
        sendMacro('InviteByName("xxx")');
        yrest(1000)
   end
   player:mount();
   changeProfileOption("QUICK_TURN", false);
   keyboardPress(key.VK_SPACE)
   yrest(100)
   keyboardPress(key.VK_W)
   keyboardPress(key.VK_SPACE)
   keyboardPress(key.VK_W)
   </waypoint>
   <!-- #  2 --><waypoint x="-15961" z="11309" y="129" type="TRAVEL">
   keyboardPress(key.VK_W)
   keyboardPress(key.VK_SPACE)
   keyboardPress(key.VK_W)
   keyboardPress(key.VK_SPACE)
   keyboardPress(key.VK_W)
   keyboardPress(key.VK_SPACE)
   </waypoint>
   <!-- #  3 --><waypoint x="-16631" z="11348" y="149" type="TRAVEL">
   player:merchant("Pancer");
   yrest(100);
   player:target_NPC("Pancer")
   yrest(500);
    sendMacro("ChoiceOption(1);");
   yrest(500)
   sendMacro("BCS.Fn.Seller.Sell_to_Vendor(this, key);")
   yrest(7000); 
   player:mount();
   </waypoint>
   <!-- #  5 --><waypoint x="-16883" z="11267" y="173" type="TRAVEL">   </waypoint>
   <!-- #  6 --><waypoint x="-17096" z="11245" y="163" type="TRAVEL">   </waypoint>
   <!-- #  7 --><waypoint x="-17429" z="10737" y="38" type="TRAVEL">      </waypoint>
   <!-- #  8 --><waypoint x="-17632" z="10591" y="-734" type="TRAVEL">   </waypoint>
   <!-- #  9 --><waypoint x="-17931" z="10602" y="-757" type="TRAVEL">   </waypoint>
   <!-- # 10 --><waypoint x="-18313" z="10869" y="-753" type="TRAVEL">   </waypoint>
   <!-- # 11 --><waypoint x="-18380" z="11490" y="-779" type="TRAVEL">   </waypoint>
   <!-- # 12 --><waypoint x="-18549" z="12272" y="-778" type="TRAVEL">   </waypoint>
   <!-- # 13 --><waypoint x="-18553" z="12523" y="-778" type="TRAVEL">
   waitForLoadingScreen();
   </waypoint>
   <!-- # 14 --><waypoint x="4714" z="824" y="679" type="TRAVEL">   </waypoint>
   <!-- # 15 --><waypoint x="4713" z="902" y="679" type="TRAVEL">
   if (not player:hasBuff(506687)) then inventory:useItem(207203);
   end 
   if (not player:hasBuff(506686)) then inventory:useItem(207202);
   end 
   if (not player:hasBuff(506684)) then inventory:useItem(207200);
   end  
   changeProfileOption("QUICK_TURN", true);
   </waypoint>
   <!-- # 16 --><waypoint x="4557" z="910" y="679">player:lootAll()   </waypoint>
   <!-- # 17 --><waypoint x="4444" z="912" y="679">player:lootAll()   </waypoint>
   <!-- # 18 --><waypoint x="4385" z="816" y="679">player:lootAll()   </waypoint>
   <!-- # 19 --><waypoint x="4384" z="985" y="679">player:lootAll()   </waypoint>
   <!-- # 20 --><waypoint x="4186" z="910" y="679"> player:lootAll()  </waypoint>
   <!-- # 21 --><waypoint x="3984" z="913" y="700"> player:lootAll()  </waypoint>
   <!-- # 22 --><waypoint x="3913" z="1048" y="700"> player:lootAll()  </waypoint>
   <!-- # 23 --><waypoint x="3824" z="756" y="700">  player:lootAll() </waypoint>
   <!-- # 24 --><waypoint x="3761" z="757" y="700"> player:lootAll()  </waypoint>
   <!-- # 25 --><waypoint x="3742" z="946" y="751"> player:lootAll()  </waypoint>
   <!-- # 26 --><waypoint x="3749" z="1141" y="805"> player:lootAll()  </waypoint>
   <!-- # 27 --><waypoint x="3927" z="1208" y="805">  player:lootAll() </waypoint>
   <!-- # 28 --><waypoint x="4034" z="1198" y="805">  player:lootAll() </waypoint>
   <!-- # 29 --><waypoint x="4038" z="1346" y="805">  player:lootAll() </waypoint>
   <!-- # 30 --><waypoint x="4231" z="1384" y="805"> player:lootAll()  </waypoint>
   <!-- # 31 --><waypoint x="4209" z="1155" y="805">  player:lootAll() </waypoint>
   <!-- # 32 --><waypoint x="4299" z="1152" y="805">  player:lootAll() </waypoint>
   <!-- # 33 --><waypoint x="4412" z="1149" y="805">  player:lootAll() </waypoint>
   <!-- # 34 --><waypoint x="4419" z="1422" y="893"> player:lootAll()  </waypoint>
   <!-- # 35 --><waypoint x="4041" z="1514" y="932"> player:lootAll()  </waypoint>
   <!-- # 36 --><waypoint x="3971" z="1545" y="932"> player:lootAll()  </waypoint>
   <!-- # 37 --><waypoint x="3784" z="1398" y="932">  player:lootAll() </waypoint>
   <!-- # 38 --><waypoint x="3741" z="1305" y="932">  player:lootAll() </waypoint>
   <!-- # 39 --><waypoint x="3759" z="1210" y="932">  player:lootAll() </waypoint>
   <!-- # 40 --><waypoint x="3748" z="1162" y="932">  player:lootAll() </waypoint>
   <!-- # 41 --><waypoint x="3472" z="1161" y="932"> player:lootAll()  </waypoint>
   <!-- # 42 --><waypoint x="3460" z="1439" y="932"> player:lootAll()  </waypoint>
   <!-- # 43 --><waypoint x="3095" z="1461" y="932">  player:lootAll() </waypoint>
   <!-- # 44 --><waypoint x="3085" z="1677" y="866">  player:lootAll() </waypoint>
   <!-- # 45 --><waypoint x="3174" z="1804" y="866">  player:lootAll() </waypoint>
   <!-- # 46 --><waypoint x="3180" z="2268" y="866"> player:lootAll()  </waypoint>
   <!-- # 47 --><waypoint x="2957" z="2295" y="801"> player:lootAll()  </waypoint>
   <!-- # 48 --><waypoint x="2934" z="2062" y="738">  player:lootAll() </waypoint>
   <!-- # 49 --><waypoint x="2853" z="2005" y="738">  player:lootAll() </waypoint>
   <!-- # 50 --><waypoint x="2828" z="2224" y="738">  player:lootAll()</waypoint>
   <!-- # 51 --><waypoint x="2828" z="2268" y="738"> player:lootAll()  </waypoint>
   <!-- # 52 --><waypoint x="2723" z="2268" y="738">  player:lootAll() </waypoint>
   <!-- # 53 --><waypoint x="2619" z="2211" y="738">  player:lootAll() </waypoint>
   <!-- # 54 --><waypoint x="2669" z="1978" y="738">  player:lootAll() </waypoint>
   <!-- # 55 --><waypoint x="2688" z="1820" y="717">
   changeProfileSkill("MAGE_PURGATORY_FIRE","InBattle", false)
   changeProfileSkill("MAGE_PURGATORY_FIRE","AutoUse", false)
   changeProfileSkill("MAGE_FLAME","InBattle", true)
   changeProfileSkill("MAGE_FLAME","AutoUse", true)
   changeProfileOption("AUTO_ELITE_FACTOR", 2500);
   changeProfileOption("MAX_TARGET_DIST", 225);
   player:target( player:findNearestNameOrId(101507) )
   player:cast("MAGE_ENERGY_INFLUX")
   yrest(500)
   player:cast("MAGE_INTENSIFICATION")
   yrest(500)
   player:cast("MAGE_ELEMENTAL_CATALYST")
   yrest(500)
   player:cast ("MAGE_FLAME");
   yrest(3000)
   player:cast ("MAGE_FLAME");
   yrest(3000)
      player:cast ("MAGE_FLAME");
   yrest(3000)
   player:cast("PRIEST_REGENERATE")
   player:lootAll()
   </waypoint>
   <!-- # 56 --><waypoint x="2687" z="1579" y="717">
   changeProfileOption("MAX_TARGET_DIST", 50);
   changeProfileSkill("MAGE_PURGATORY_FIRE","InBattle", true)
   changeProfileSkill("MAGE_PURGATORY_FIRE","AutoUse", true)
   changeProfileSkill("MAGE_FLAME","InBattle", false)
   changeProfileSkill("MAGE_FLAME","AutoUse", false)
   player:lootAll()
   </waypoint>
   <!-- # 57 --><waypoint x="2674" z="1434" y="717"> player:lootAll()  </waypoint>
   <!-- # 58 --><waypoint x="2874" z="1412" y="653"> player:lootAll()  </waypoint>
   <!-- # 59 --><waypoint x="3108" z="1425" y="591"> player:lootAll()  </waypoint>
   <!-- # 60 --><waypoint x="3123" z="1655" y="591">  player:lootAll() </waypoint>
   <!-- # 61 --><waypoint x="3127" z="1818" y="591">  player:lootAll() </waypoint>
   <!-- # 62 --><waypoint x="2678" z="1801" y="464">  player:lootAll() </waypoint>
   <!-- # 63 --><waypoint x="2688" z="1696" y="464">  player:lootAll() </waypoint>
   <!-- # 64 --><waypoint x="2929" z="1670" y="464">  player:lootAll() </waypoint>
   <!-- # 65 --><waypoint x="2669" z="1706" y="464"> player:lootAll()  </waypoint>
   <!-- # 66 --><waypoint x="2490" z="1708" y="464"> player:lootAll()  </waypoint>
   <!-- # 67 --><waypoint x="2425" z="1569" y="464"> player:lootAll()  </waypoint>
   <!-- # 68 --><waypoint x="2401" z="1416" y="464"> player:lootAll()  </waypoint>
   <!-- # 69 --><waypoint x="2505" z="1506" y="464"> player:lootAll()  </waypoint>
   <!-- # 70 --><waypoint x="2619" z="1512" y="464"> player:lootAll()  </waypoint>
   <!-- # 71 --><waypoint x="2791" z="1528" y="464">  player:lootAll() </waypoint>
   <!-- # 72 --><waypoint x="2974" z="1536" y="464">  player:lootAll() </waypoint>
   <!-- # 73 --><waypoint x="2963" z="1434" y="464"> player:lootAll()  </waypoint>
   <!-- # 74 --><waypoint x="2606" z="1424" y="591"> player:lootAll()  </waypoint>
   <!-- # 75 --><waypoint x="2596" z="1807" y="591">  player:lootAll() </waypoint>
   <!-- # 76 --><waypoint x="2594" z="2203" y="504">  player:lootAll() </waypoint>
   <!-- # 77 --><waypoint x="2598" z="2940" y="592">  player:lootAll() </waypoint>
   <!-- # 78 --><waypoint x="2311" z="2954" y="592">  player:lootAll() </waypoint>
   <!-- # 79 --><waypoint x="2288" z="2971" y="592">  player:lootAll() </waypoint>
   <!-- # 80 --><waypoint x="2343" z="3271" y="592">  player:lootAll() </waypoint>
   <!-- # 81 --><waypoint x="2153" z="3293" y="592"> player:lootAll()  </waypoint>
   <!-- # 82 --><waypoint x="1973" z="3300" y="592"> player:lootAll()  </waypoint>
   <!-- # 83 --><waypoint x="1802" z="3288" y="592">
   sendMacro("LeaveParty();");
   yrest(1000)
   waitForLoadingScreen();
   </waypoint>
</waypoints>
Last edited by kuchen91 on Wed Jan 18, 2012 12:28 am, edited 1 time in total.

kuchen91
Posts: 64
Joined: Tue Nov 01, 2011 6:01 pm

Re: bot don´t attack

#5 Post by kuchen91 » Tue Jan 17, 2012 11:48 pm

i made a screenshot of the situation and attached it.

its in german
go to waypoint #68 ...
dont go on: theres another target
we attack 'Runenvernichter'
stop we dont make damage


(he try to attack mob 1, then cancel and try to attack mob 2, then cancel.....)
this will come for hours...
Attachments
bot_fail.jpg

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: bot don´t attack

#6 Post by rock5 » Wed Jan 18, 2012 12:01 am

Sounds like you have atargeting issue. Have you updated to the latest revision of rombot and reverted any conflicts?
  • 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

kuchen91
Posts: 64
Joined: Tue Nov 01, 2011 6:01 pm

Re: bot don´t attack

#7 Post by kuchen91 » Wed Jan 18, 2012 12:27 am

yes i use the actual version and reverted any conflicts.

Are my profile and waypoint ok?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: bot don´t attack

#8 Post by lisa » Wed Jan 18, 2012 12:29 am

If you are using the same code you posted earlier there is a flaw.

Code: Select all

  changeProfileOption("MAX_TARGET_DIST", 50);
   changeProfileSkill("MAGE_PURGATORY_FIRE","InBattle", true)
   changeProfileSkill("MAGE_PURGATORY_FIRE","AutoUse", true)
   changeProfileSkill("MAGE_FLAME","InBattle", false)
   changeProfileSkill("MAGE_FLAME","AutoUse", false)
With changeProfileSkill("MAGE_PURGATORY_FIRE","InBattle", true) you are telling the bot to only use the skill if in combat, so if the bot sees a mob and you arn't in combat it has no skills to use to attack mob.

Maybe set the type to run so it keeps going until it is in combat and then defends itself or just don't set MAGE_PURGATORY_FIRE InBattle to true, just leave it out.
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

kuchen91
Posts: 64
Joined: Tue Nov 01, 2011 6:01 pm

Re: bot don´t attack

#9 Post by kuchen91 » Wed Jan 18, 2012 12:34 am

hm i thought if autouse and inbattle is true he will attack everything.

i used this passage before and after a boss to kill the trash with AOE and the boss with mage flame.

how can i change to have this feature and solve the problem?
reach it to remove the lines with "inBattle"?


edit: i tried to to delete the "inBattle" lines, removed the "inbattle" from the profile for the mage flame skill...and i think it works like i wanted :D

thank you very much!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 0 guests