Hai, i have an error? i need help pls :s

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
hg478
Posts: 16
Joined: Thu Aug 20, 2009 9:34 am
Contact:

Hai, i have an error? i need help pls :s

#1 Post by hg478 » Thu Aug 20, 2009 9:58 am

Ok im rather new here and i have NO clue what im doing. i got micromacro and everything running for ROM, and im trying to run it for my priest. heres the .txt

Code: Select all

<profile>
	<options>
		<option name="HP_LOW" value="85" />
		<option name="MP_LOW_POTION" value="50" />
		<option name="HP_LOW_POTION" value="40" />

		<option name="COMBAT_TYPE" value="ranged" />
		<option name="COMBAT_DISTANCE" value="200" />
		<option name="ANTI_KS" value="true" />
		<option name="WAYPOINTS" value="trainpath1.xml" />
		<option name="RETURNPATH" value="" />
		<option name="PATH_TYPE" value="wander" />
		<option name="WANDER_RADIUS" value="500" />
		<option name="WAYPOINT_DEVIATION" value="0" />
		<option name="LOOT" value="true" />
		<option name="LOOT_TIME" value="2000" />
		<option name="LOOT_IN_COMBAT" value="false" />
		<option name="LOOT_DISTANCE" value="150" />
		<option name="POTION_COOLDOWN" value="15" />
		<option name="MAX_FIGHT_TIME" value="15" />
		<option name="DOT_PERCENT" value="90" />

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

		<option name="LOGOUT_TIME" value="0" />
		<option name="LOGOUT_SHUTDOWN" value="false" />

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

		<option name="QUICK_TURN" value="false" />
	</options>

	<friends>
		<friend name="MyOtherCharacter1" />
		<friend name="MyOtherCharacter2" />
	</friends>

	<hotkeys>
		<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
		<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
		<hotkey name="ATTACK" key="VK_0" modifier="" />
		<hotkey name="RES_MACRO" key="VK_9" modifier="" />
		<hotkey name="LOGOUT_MACRO" key="VK_8" modifier="" />
	</hotkeys>

	<skills>
		<skill name="PRIEST_RISING_TIDE" hotkey="VK_1" modifier="" />
		<skill name="PRIEST_INSTANT_HEAL" hotkey="VK_1" modifier="" />
		

	<onDeath>
		-- Additional Lua code to execute on death
		pauseOnDeath(); -- Stop the script
	</onDeath>

	<onLeaveCombat>
		-- Additional Lua code to execute after killing an enemy
	</onLeaveCombat>

	<onSkillCast>
		-- 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.
	</onSkillCast>
</profile>



thats my profile settings, and heres the error i got from the micromacro...


...gdfgsdfg/Desktop/micromacro/scripts/rom/settings.lua:119: XML Parse Error.
File: ...Desktop/micromacro/scripts/rom/profiles/Blablaxx.xml
Line: 69
Column: 3
Message: mismatched tag


so yea thats my problem... idk what to do please help. thankx Hg478

L4G
Posts: 8
Joined: Wed Aug 19, 2009 4:41 pm

Re: Hai, i have an error? i need help pls :s

#2 Post by L4G » Thu Aug 20, 2009 10:15 am

Try this:

Code: Select all

<profile>
   <options>
      <option name="HP_LOW" value="85" />
      <option name="MP_LOW_POTION" value="50" />
      <option name="HP_LOW_POTION" value="40" />

      <option name="COMBAT_TYPE" value="ranged" />
      <option name="COMBAT_DISTANCE" value="200" />
      <option name="ANTI_KS" value="true" />
      <option name="WAYPOINTS" value="trainpath1.xml" />
      <option name="RETURNPATH" value="" />
      <option name="PATH_TYPE" value="wander" />
      <option name="WANDER_RADIUS" value="500" />
      <option name="WAYPOINT_DEVIATION" value="0" />
      <option name="LOOT" value="true" />
      <option name="LOOT_TIME" value="2000" />
      <option name="LOOT_IN_COMBAT" value="false" />
      <option name="LOOT_DISTANCE" value="150" />
      <option name="POTION_COOLDOWN" value="15" />
      <option name="MAX_FIGHT_TIME" value="15" />
      <option name="DOT_PERCENT" value="90" />

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

      <option name="LOGOUT_TIME" value="0" />
      <option name="LOGOUT_SHUTDOWN" value="false" />

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

      <option name="QUICK_TURN" value="false" />
   </options>

   <friends>
      <friend name="MyOtherCharacter1" />
      <friend name="MyOtherCharacter2" />
   </friends>

   <hotkeys>
      <hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
      <hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
      <hotkey name="ATTACK" key="VK_0" modifier="" />
      <hotkey name="RES_MACRO" key="VK_9" modifier="" />
      <hotkey name="LOGOUT_MACRO" key="VK_8" modifier="" />
   </hotkeys>

   <skills>
      <skill name="PRIEST_RISING_TIDE" hotkey="VK_1" modifier="" />
      <skill name="PRIEST_INSTANT_HEAL" hotkey="VK_1" modifier="" />
    </skills>

   <onDeath>
      -- Additional Lua code to execute on death
      pauseOnDeath(); -- Stop the script
   </onDeath>

   <onLeaveCombat>
      -- Additional Lua code to execute after killing an enemy
   </onLeaveCombat>

   <onSkillCast>
      -- 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.
   </onSkillCast>
</profile>

hg478
Posts: 16
Joined: Thu Aug 20, 2009 9:34 am
Contact:

Re: Hai, i have an error? i need help pls :s

#3 Post by hg478 » Thu Aug 20, 2009 10:20 am

L4G wrote:Try this:

Code: Select all

<profile>
   <options>
      <option name="HP_LOW" value="85" />
      <option name="MP_LOW_POTION" value="50" />
      <option name="HP_LOW_POTION" value="40" />

      <option name="COMBAT_TYPE" value="ranged" />
      <option name="COMBAT_DISTANCE" value="200" />
      <option name="ANTI_KS" value="true" />
      <option name="WAYPOINTS" value="trainpath1.xml" />
      <option name="RETURNPATH" value="" />
      <option name="PATH_TYPE" value="wander" />
      <option name="WANDER_RADIUS" value="500" />
      <option name="WAYPOINT_DEVIATION" value="0" />
      <option name="LOOT" value="true" />
      <option name="LOOT_TIME" value="2000" />
      <option name="LOOT_IN_COMBAT" value="false" />
      <option name="LOOT_DISTANCE" value="150" />
      <option name="POTION_COOLDOWN" value="15" />
      <option name="MAX_FIGHT_TIME" value="15" />
      <option name="DOT_PERCENT" value="90" />

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

      <option name="LOGOUT_TIME" value="0" />
      <option name="LOGOUT_SHUTDOWN" value="false" />

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

      <option name="QUICK_TURN" value="false" />
   </options>

   <friends>
      <friend name="MyOtherCharacter1" />
      <friend name="MyOtherCharacter2" />
   </friends>

   <hotkeys>
      <hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
      <hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
      <hotkey name="ATTACK" key="VK_0" modifier="" />
      <hotkey name="RES_MACRO" key="VK_9" modifier="" />
      <hotkey name="LOGOUT_MACRO" key="VK_8" modifier="" />
   </hotkeys>

   <skills>
      <skill name="PRIEST_RISING_TIDE" hotkey="VK_1" modifier="" />
      <skill name="PRIEST_INSTANT_HEAL" hotkey="VK_1" modifier="" />
    </skills>

   <onDeath>
      -- Additional Lua code to execute on death
      pauseOnDeath(); -- Stop the script
   </onDeath>

   <onLeaveCombat>
      -- Additional Lua code to execute after killing an enemy
   </onLeaveCombat>

   <onSkillCast>
      -- 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.
   </onSkillCast>
</profile>
so just copy and paste over it? O-o

L4G
Posts: 8
Joined: Wed Aug 19, 2009 4:41 pm

Re: Hai, i have an error? i need help pls :s

#4 Post by L4G » Thu Aug 20, 2009 10:31 am

Sure, you missed the closing </skills> tag.

hg478
Posts: 16
Joined: Thu Aug 20, 2009 9:34 am
Contact:

Re: Hai, i have an error? i need help pls :s

#5 Post by hg478 » Thu Aug 20, 2009 10:38 am

L4G wrote:Sure, you missed the closing </skills> tag.

roflmao ty XD i do know a lil about this stuff but i guess i just missed that.. im learning atleast eh? and i got it to work btw p: just gonna test stuff on it and see what i can come out with :D oh another thing... what do you know about the harvester for this bot?

L4G
Posts: 8
Joined: Wed Aug 19, 2009 4:41 pm

Re: Hai, i have an error? i need help pls :s

#6 Post by L4G » Thu Aug 20, 2009 10:58 am

The harvester funcion as I see is just create waypoints near resources and save it, after that you must edit the waypoint file and put something like:

Code: Select all

<waypoint x="-2376" z="-9763">
player:harvest();
</waypoint>
The whole description of the process is here:

http://www.solarstrike.net/phpBB3/viewt ... f=21&t=445

hg478
Posts: 16
Joined: Thu Aug 20, 2009 9:34 am
Contact:

Re: Hai, i have an error? i need help pls :s

#7 Post by hg478 » Thu Aug 20, 2009 11:09 am

L4G wrote:The harvester funcion as I see is just create waypoints near resources and save it, after that you must edit the waypoint file and put something like:

Code: Select all

<waypoint x="-2376" z="-9763">
player:harvest();
</waypoint>
The whole description of the process is here:

http://www.solarstrike.net/phpBB3/viewt ... f=21&t=445
thanks :D been a big help :) ;)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests