Page 1 of 1
Problem with profile.xml
Posted: Fri Dec 18, 2009 5:57 pm
by Digital
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*/
Re: Problem with profile.xml
Posted: Fri Dec 18, 2009 6:21 pm
by Administrator
Provide a full copy of the profile. It might not be on that line.
Re: Problem with profile.xml
Posted: Sat Dec 19, 2009 7:58 am
by Digital
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*/
Re: Problem with profile.xml
Posted: Sat Dec 19, 2009 7:59 am
by Administrator
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.
Re: Problem with profile.xml
Posted: Sat Dec 19, 2009 9:36 am
by smokyru
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
Re: Problem with profile.xml
Posted: Sat Dec 19, 2009 11:19 am
by Digital
now that you mention it I see it .. I made probiers!
Re: Problem with profile.xml
Posted: Sat Dec 19, 2009 11:43 am
by Administrator
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.
Re: Problem with profile.xml
Posted: Sat Dec 19, 2009 12:35 pm
by Digital
Thanks for the fast help...
but now i have another problem?!
he have full hp and used HP potions ?!
Greetz
/*Digital aka. cr4sh*/
Re: Problem with profile.xml
Posted: Sat Dec 19, 2009 6:27 pm
by Administrator
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.
Re: Problem with profile.xml
Posted: Sat Dec 19, 2009 9:15 pm
by Digital
oh thanks m8
in the German Guide for this tool, stays nothing from %.
thanks again.
Greetz
/*Digital aka. cr4sh*/