Problems with the warrior

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
asensenky
Posts: 3
Joined: Sat Mar 10, 2012 5:30 pm

Problems with the warrior

#1 Post by asensenky » Thu Mar 22, 2012 9:10 pm

Well first of all, I want to say I use the google translator so I apologize if my English is unintelligible.

After that I commented that I have some characters who are warriors and the problem is that the only use is to slash attack that do not use any other skill, such as the warrior / knight does not use Enhanced Armor, or some other skill to use the knight either attack or buff, do not understand why when I change a knight / warrior everything works fine.
Is there some problem with the warrior class that does not leave to use their skills?, Another thing is that as a warrior only responds to the attacks but does not mark the enemies and pass near the cross and if they do not attack it passes by do not know if there is a post related to this problem if there is please let me know.
for the record I used the M.M. for over a year and have done all the updates without problem in fact with the other classes no problem in their abilities or performance only with the warrior.

I thank you in advance any help, keep up the good work.

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

Re: Problems with the warrior

#2 Post by lisa » Thu Mar 22, 2012 10:39 pm

asensenky wrote:Another thing is that as a warrior only responds to the attacks but does not mark the enemies and pass near the cross and if they do not attack it passes by
There are a few reasons this might happen and all of them are in your profile.


This code sets the limits for what the bot will attack using levels.
example.
if character is lvl 20 with the settings below it will only attack mobs with levels from 10 to 23, it will ignore all other mobs.

Code: Select all

		<option name="TARGET_LEVELDIF_ABOVE" value="3" />
		<option name="TARGET_LEVELDIF_BELOW" value="10" />

This is the friends list, if the mobs name is in this list the bot will ignore the mobs.

Code: Select all

	<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="Elite_Mob_Name1" />
		<friend name="Elite_Mob_Name2" />
	</friends>

This list is for if you ONLY want to kill the mobs named, so if you have a name here the bot will ONLY attack that mob and ignore all others.

Code: Select all

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

asensenky wrote: the problem is that the only use is to slash attack that do not use any other skill, such as the warrior / knight does not use Enhanced Armor, or some other skill to use the knight either attack or buff, do not understand why when I change a knight / warrior everything works fine.
This comes down to your skills in your profile.

If the main class is warrior then it will use the skill in the profile section
<skills_warrior>
</skills_warrior>

if the main class is knight it will use the skills in the profile section
<skills_knight>
</skills_knight>


So for a warrior/knight you will probably look at using something like this.

Code: Select all

	<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" />
		<skill name="KNIGHT_ENHANCED_ARMOR"   	hotkey="MACRO" priority="90" />
		<skill name="KNIGHT_HOLY_STRIKE"    	hotkey="MACRO" priority="90" />
	</skills_warrior>
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

asensenky
Posts: 3
Joined: Sat Mar 10, 2012 5:30 pm

Re: Problems with the warrior

#3 Post by asensenky » Fri Mar 23, 2012 10:13 pm

Well thanks for the prompt reply Lisa
I have taken into account your suggestions and they say a picture is worth a thousand words so check the profile of my character and I find no problem with it, maybe I have not the understanding to see the problem even come to believe it is a language problem because I play on a server with this Spanish but I show my profile to see if there's anything wrong with it.
again thanks for any help

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="70" />
		<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="true" /> 		<!-- 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="true" /> 		<!-- 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="90" />
		<option name="ANTI_KS"            	value="true" />
		<option name="MAX_TARGET_DIST"    	value="225" />
		<option name="MELEE_DISTANCE"    	value="45" />

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

		<!-- 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="true" />
		<option name="LOOT_DISTANCE"      	value="200" />
		<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="false" /> 		<!-- Choose which types to harvest. -->
		<option name="HARVEST_HERB"		value="false" /> 		<!-- "true" = harvest, "false" = do not harvest -->
		<option name="HARVEST_ORE"		value="false" />

		<!-- 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="true" />
		<option name="EGGPET_ASSIST_SLOT"	value="3" />
		<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="HEALER_FIGHT"		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="Elite_Mob_Name1" />
		<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_SHOT"          		hotkey="MACRO" priority="90" cooldown="3" />
		<skill name="SCOUT_AUTOSHOT"      		hotkey="MACRO" priority="80" cooldown="3" />
		<skill name="SCOUT_WIND_ARROWS"   		hotkey="MACRO" priority="70" />
		<skill name="SCOUT_VAMPIRE_ARROWS" 		hotkey="MACRO" priority="70" cooldown="10" />
		<skill name="SCOUT_COMBO_SHOT"        	        hotkey="MACRO" priority="95" />
		<skill name="SCOUT_ARROW_OF_ESSENCE"            hotkey="MACRO" priority="90" maxhpper="60" inbattle="true"/>
	        <skill name="SCOUT_WRIST_ATTACK"                hotkey="MACRO" priority="70" cooldown="30" />
	        <skill name="SCOUT_FROST_ARROW"                 hotkey="MACRO" priority="100" rebuffcut="5" />
	        <skill name="SCOUT_JOINT_BLOW"                  hotkey="MACRO" priority="75" />
	        <skill name="SCOUT_THROAT_ATTACK"               hotkey="MACRO" priority="70" cooldown="12" />
	        <skill name="SCOUT_MANA_DRAIN_SHOT"		hotkey="MACRO" priority="90" cooldown="90" />
	        <skill name="SCOUT_PIERCING_ARROW" 		hotkey="MACRO" priority="90" cooldown="4" />
	        <skill name="SCOUT_SNIPE"         	        hotkey="MACRO" priority="100" pullonly="true" />
	        <skill name="SCOUT_DETECTION"                   hotkey="MACRO" priority="100" rebuffcut="5" />

		<skill name="ROGUE_SHADOWSTAB"    		hotkey="MACRO" priority="90" />
	        <skill name="ROGUE_BLIND_STAB"    		hotkey="MACRO" priority="90" />
	</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" />
	        <skill name="ROGUE_POISON"                      hotkey="MACRO" priority="90" rebuffcut="5" />
	        <skill name="ROGUE_BLIND_STAB"    		hotkey="MACRO" priority="85" />
	        <skill name="ROGUE_SHADOW_STEP"                 hotkey="MACRO" priority="80" />
	        -skill name="ROGUE_SHADOW_PRISON"               hotkey="MACRO" priority="100" inbattle="false" />

		<skill name="SCOUT_SHOT"          		hotkey="MACRO" priority="50" pullonly="true" cooldown="3" />
		<skill name="SCOUT_VAMPIRE_ARROWS" 		hotkey="MACRO" priority="50" pullonly="true" cooldown="10" />
	        <skill name="SCOUT_THROAT_ATTACK"               hotkey="MACRO" priority="70" cooldown="12" />
	        <skill name="SCOUT_JOINT_BLOW"                  hotkey="MACRO" priority="75" />
	        <skill name="SCOUT_WRIST_ATTACK"                hotkey="MACRO" priority="70" cooldown="30" />
                <skill name="ROGUE_COMBAT_MASTER"               hotkey="MACRO" priority="70" rebuffcut="5" />

		<skill name="WARRIOR_SLASH"          	hotkey="MACRO" priority="90" />
                <skill name="WARRIOR_WHIRLWIND"         hotkey="MACRO" priority="80" />
                <skill name="WARRIOR_BERSERK"           hotkey="MACRO" priority="70" hpper="65" />
	</skills_rogue>

	<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" />
	        <skill name="WARRIOR_BERSERK"           hotkey="MACRO" priority="70" />

		<skill name="ROGUE_SHADOWSTAB"    		hotkey="MACRO" priority="90" />
	        <skill name="ROGUE_BLIND_STAB"    		hotkey="MACRO" priority="90" />
	</skills_warrior>

	<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>

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

Re: Problems with the warrior

#4 Post by rock5 » Sat Mar 24, 2012 8:40 am

If you are playing Warrior/Knight you have to put any knight skills you want to use, such as Enhanced Armor, between the warrior skills tags

Code: Select all

<skills_warrior>
</skills_warrior>
like lisa showed you.
  • 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

asensenky
Posts: 3
Joined: Sat Mar 10, 2012 5:30 pm

Re: Problems with the warrior

#5 Post by asensenky » Sat Mar 24, 2012 10:16 am

sorry my mistake I put the profile of the warrior / rogue, is that I have several combinations warrior but the problem remains the same for the warrior / rogue here an extract of the skills of the warrior / rogue that will show up but are also specifically that part although this somewhat disorganized

<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" />
<skill name="WARRIOR_BERSERK" hotkey="MACRO" priority="70" />

<skill name="ROGUE_SHADOWSTAB" hotkey="MACRO" priority="90" />
<skill name="ROGUE_BLIND_STAB" hotkey="MACRO" priority="90" />
</skills_warrior>



I think for the warrior / rogue is good at what I meant is that for some reason any of my characters who is a warrior no matter what you use convination warrior / rogue, warrior / priest, warrior / knight, all have the same error and truth do not know why, only use the ability "slash" does not detect enemies around but if you change to rogue / warrior, priest / warrior, knight / warrior, everything works perfectly.

pardon my ignorance but the truth is that I really like the warrior class and I can not use or find the problem and would appreciate if you tell me exactly where the problem is in my profile that I showed before or on this piece because I do not see problem or not I have the ability to detect

Rock and Lisa thanks in advance for your help.

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

Re: Problems with the warrior

#6 Post by rock5 » Sat Mar 24, 2012 10:37 am

I don't know either. My w/r seems to work ok and I don't see anything wrong with your profile.
  • 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

Azbi
Posts: 8
Joined: Sat Mar 24, 2012 9:22 pm

Re: Problems with the warrior

#7 Post by Azbi » Sun Mar 25, 2012 7:57 am

I got the same problem. Macro dont use buffs, dont use skils, it hit only white attack which isnt enought 4 mobs 40 lvl -.-"

I'm a warior/mage 70, and i kill 40lvl mobs on 4-5 hits, it doesnt sounds good :)
Can someone look at my profile and look for mistakes?

Thx 4 help

-----
Miło by było gdyby ktoś tu znał polski :), ale nie narzekam
-----

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="90" />
		<option name="MP_LOW_POTION"		value="50" />
		<option name="HP_LOW_POTION"		value="90" />
		<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="28" />
		<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="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 -->

		<!-- 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="200" />
		<option name="MAX_FIGHT_TIME"     	value="15" />			<!-- Max time without damage before break -->
		<option name="DOT_PERCENT"        	value="90" />
		<option name="ANTI_KS"            	value="true" />
		<option name="MAX_TARGET_DIST"    	value="225" />

		<!-- 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="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="true" />		<!-- true | false -->
		<option name="INV_AUTOSELL_FROMSLOT" value="83" /> 			<!-- 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  -->
		<!-- Shopping options, how many of what do you want to keep in your inventory -->
   

		<!-- Harvest options -->
		<option name="HARVEST_DISTANCE"		value="120" />
		<option name="HARVEST_WOOD"			value="false" /> 		<!-- Choose which types to harvest. -->
		<option name="HARVEST_HERB"			value="true" /> 		<!-- "true" = harvest, "false" = do not harvest -->
		<option name="HARVEST_ORE"			value="true" />
		<option name="WAYPOINT_DEVIATION" value="0" />
	 <option name="HARVEST_SCAN_WIDTH" value="15" />      
   <option name="HARVEST_SCAN_HEIGHT" value="10" />     
   <option name="HARVEST_SCAN_STEPSIZE" value="22" />   
   <option name="HARVEST_SCAN_TOPDOWN" value="false" />  
   <option name="HARVEST_SCAN_YREST" value="7" />      
   <option name="HARVEST_SCAN_YMOVE" value="1.1" />

		<!-- 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="true" />
		<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="false" />
		<option name="CLOSE_WHEN_STUCK"		value="false" />
		<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="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  -->

	</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="Elite_Mob_Name1" />
		<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_warrior>

		<skill name="WARRIOR_LIGHTNINGS_TOUCH"  hotkey="VK_2" priority="100"/>
		<skill name="WARRIOR_ELECTRIC_ATTACK"   hotkey="VK_4" priority="100" rebuffcut="3" inbattle="false" />
		<skill name="WARRIOR_SURVIVAL_INSTINCT" hotkey="MACRO" priority="110" hpper="49"/>
		<skill name="WARRIOR_SENSE_OF_DANGER" hotkey="MACRO" priority="110" hpper="29"/>
		<skill name="MAGE_FIREBALL"          	hotkey="MACRO" priority="90"  inbattle="false" pullonly="true" />
		<skill name="WARRIOR_ELECTRICAL_RAGE" hotkey="MACRO" priority="110" rebuffcut="2" nobuffcount="3" />
</skills_warrior>


	<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>
	</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>

	<onUnstick>function useMaidItems()
		if( not player:hasBuff("Grassland Mix") and inventory:itemTotalCount(206874) > 0 ) then
			inventory:useItem(206874)
			inventory:update()
			yrest(750)
		end
		if( not player:hasBuff("Blessing of the Flower God") and inventory:itemTotalCount(203024) > 0 ) then
			inventory:useItem(203024)
			yrest(1000)
			inventory:update()
			yrest(750)
		end
		if( not player:hasBuff("Crispy Chicken Drumstick") and inventory:itemTotalCount(206874) > 0 ) then
			inventory:useItem(206874)
			inventory:update()
			yrest(750)
		end
	end</onUnstick>
</profile>
I paste it all, maybe there is mistake out of skils :x
Help please :)

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

Re: Problems with the warrior

#8 Post by lisa » Sun Mar 25, 2012 8:04 am

I assume you have both followed the instructions in my signature to make sure the bot is up to date properly.

I don't see anything in your profiles that would cause the bot to stop using skills.
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

Azbi
Posts: 8
Joined: Sat Mar 24, 2012 9:22 pm

Re: Problems with the warrior

#9 Post by Azbi » Sun Mar 25, 2012 9:14 am

IT IS WORKIIING :)
one update, two update, three update ... with 3rd update it start working ^^ strange but it works :) Thx Lisa

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 145 guests