Problem with profile.xml

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Digital
Posts: 5
Joined: Fri Dec 18, 2009 5:40 pm

Problem with profile.xml

#1 Post by Digital » Fri Dec 18, 2009 5:57 pm

Hi

I have following problem.
When i start MM i works fine but when i try to load the
rom/bot.lua profile:<username>

he says me following:
...s/Runes of Magic/micromacro/scripts/rom/settings.lua:537: XML Parse Error.
File: ... Magic/micromacro/scripts/rom/profile/<username>.xml
Line: 33
Column: 3
Message: not well-formed (invalid token)

now i can say the line 33 is:
<option name="LOGOUT_TIME" value="0" />

i can do what i want the message is the same.

for more information and/ore the .xml
PM me.

Greetz
/*Digital aka. cr4sh*/

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Problem with profile.xml

#2 Post by Administrator » Fri Dec 18, 2009 6:21 pm

Provide a full copy of the profile. It might not be on that line.

Digital
Posts: 5
Joined: Fri Dec 18, 2009 5:40 pm

Re: Problem with profile.xml

#3 Post by Digital » Sat Dec 19, 2009 7:58 am

Code: Select all

<profile>
	<options>
		<option name="HP_LOW"        value="20" />
		<option name="MP_LOW_POTION" value="250" />
		<option name="HP_LOW_POTION" value="500" />
		<option name="POTION_COOLDOWN"    value="15" />
    		
		<option name="COMBAT_TYPE"        value="melee" />	
		<option name="COMBAT_RANGED_PULL" value="true" /> 
		<option name="COMBAT_DISTANCE"    value="130" />
		<option name="MAX_FIGHT_TIME"     value="20" />	
		<option name="DOT_PERCENT"        value="90" />
		<option name="ANTI_KS"            value="true" />
    		
		<option name="WAYPOINTS"		value="DQ1-1.xml" />
		<option name="RETURNPATH"		value="return1-1.xml" />
		<option name="PATH_TYPE"		value="waypoints" />	
		<option name="WANDER_RADIUS"		value="200" />
		<option name="WAYPOINT_DEVIATION"	value="0" />
		<option name="QUICK_TURN" 		value="true" />
     		
		<option name="TARGET_LEVELDIF_ABOVE" value="5" />
		<option name="TARGET_LEVELDIF_BELOW" value="20" />
				
		<option name="LOOT"               value="true" />
		<option name="LOOT_IN_COMBAT"     value="true" />
		<option name="LOOT_DISTANCE"      value="100" />
		<option name="LOOT_PAUSE_AFTER"   value="0" />		
    		
		<option name="HP_REST" value="10" />
		<option name="MP_REST" value="10 />

		<option name="LOGOUT_TIME" value="0" />
		<option name="LOGOUT_SHUTDOWN" value="false" />
		<option name="LOGOUT_WHEN_STUCK" value="false" />
		<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
	</options>

	<friends>
		<friend name="friend1" />
		<friend name="friend2" />
		<friend name="friend3" />
	</friends>

	<hotkeys>
		<hotkey name="MACRO" key="VK_0" />	
	</hotkeys>

	
	<skills_warrior>
		<skill name="WARRIOR_SURPRISE_ATTACK"	  hotkey="VK_5" priority="100" pullonly="true" />

		<skill name="WARRIOR_SLASH"               hotkey="VK_1" priority="90" />
		<skill name="WARRIOR_TACTICAL_ATTACK"     hotkey="VK_2" priority="80" />
		<skill name="WARRIOR_PROBING_ATTACK"	  hotkey="VK_3" priority="70" />
		<skill name="WARRIOR_MOON_CLEAVE"	  hotkey="VK_4" priority="60" />		
		
		<skill name="WARRIOR_ENRAGED"             hotkey="VK_7" priority="50" />
		<skill name="WARRIOR_FRENZY"              hotkey="VK_6" priority="110" />
	</skills_warrior>

  	<skills_knight>
  	</skills_knight>

	<onLoad>
	</onLoad>

	<onDeath>
	</onDeath>

	<onLeaveCombat>
	</onLeaveCombat>

	<onSkillCast>
	</onSkillCast>
</profile>
Many settings are Default, its my first profile.
Hope this will help u, to help me.

Greetz
/*Digital aka. cr4sh*/

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Problem with profile.xml

#4 Post by Administrator » Sat Dec 19, 2009 7:59 am

Code: Select all

      <option name="MP_REST" value="10 />
You aren't closing the quotes for the value there. That's what's confusing the parser.

smokyru
Posts: 31
Joined: Fri Dec 18, 2009 9:02 am

Re: Problem with profile.xml

#5 Post by smokyru » Sat Dec 19, 2009 9:36 am

Sorry for useless post, but it interests me: how do you see all these "mistakes" in profiles? I read the thing twice and didn't see it T.T

Digital
Posts: 5
Joined: Fri Dec 18, 2009 5:40 pm

Re: Problem with profile.xml

#6 Post by Digital » Sat Dec 19, 2009 11:19 am

now that you mention it I see it .. I made probiers!

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Problem with profile.xml

#7 Post by Administrator » Sat Dec 19, 2009 11:43 am

smokyru wrote:Sorry for useless post, but it interests me: how do you see all these "mistakes" in profiles? I read the thing twice and didn't see it T.T
Easy. The error message says it originates at line 33. So, I went to line 33 and it looked fine. Look one line above, and you see the syntax error that confuses the parser (causing it to think a string ends on line 33), and then resulted in an error.

Digital
Posts: 5
Joined: Fri Dec 18, 2009 5:40 pm

Re: Problem with profile.xml

#8 Post by Digital » Sat Dec 19, 2009 12:35 pm

Thanks for the fast help...
but now i have another problem?!

he have full hp and used HP potions ?!

Greetz
/*Digital aka. cr4sh*/

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Problem with profile.xml

#9 Post by Administrator » Sat Dec 19, 2009 6:27 pm

Digital wrote:Thanks for the fast help...
but now i have another problem?!

he have full hp and used HP potions ?!

Greetz
/*Digital aka. cr4sh*/

Code: Select all

      <option name="MP_LOW_POTION" value="250" />
      <option name="HP_LOW_POTION" value="500" />
That's expected when you tell it to use potions if you have less than 500% HP. I sure as hell hope you would.

Digital
Posts: 5
Joined: Fri Dec 18, 2009 5:40 pm

Re: Problem with profile.xml

#10 Post by Digital » Sat Dec 19, 2009 9:15 pm

oh thanks m8
in the German Guide for this tool, stays nothing from %.

thanks again.

Greetz
/*Digital aka. cr4sh*/

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest