/lib/mods/xml.lua:336: error closing parser: syntax error

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
kingb
Posts: 6
Joined: Sun Feb 14, 2010 2:23 pm

/lib/mods/xml.lua:336: error closing parser: syntax error

#1 Post by kingb » Sun Oct 10, 2010 4:51 am

Ok guys recently i started getting this error.

Code: Select all

Sun Oct 10 11:47:16 2010 : Processor Type: 2X 586 @2200MHz, OS: Windows 7 
Sun Oct 10 11:47:16 2010 : User privilege level: Administrator
Sun Oct 10 11:47:16 2010 : Lua glues exported.
Sun Oct 10 11:47:16 2010 : MicroMacro v1.01 beta 2
Sun Oct 10 11:47:16 2010 : LuaCoco is available.
Sun Oct 10 11:47:16 2010 : Keyboard layout: US English
Sun Oct 10 11:47:23 2010 : Executing script 'bot.lua'
--------------------------------------------------------------------------------

Sun Oct 10 11:47:25 2010 : Language: english
Sun Oct 10 11:47:30 2010 : Using static char address 0x9B323C, player address 0x2366B900
In main thread:
stack traceback:
	C:/Users/Brent/Desktop/micromacro/lib/mods/xml.lua:336: in function 'parse'
	C:/Users/Brent/Desktop/micromacro/lib/mods/xml.lua:391: in function 'open'
	.../Desktop/micromacro/scripts/rom-bot/rom/settings.lua:545: in function 'loadProfile'
	scripts\rom-bot/rom/bot.lua:163: in function 'foo'
	C:\Users\Brent\Desktop\micromacro\lib\lib.lua:538: in function <C:\Users\Brent\Desktop\micromacro\lib\lib.lua:536>

----------TRACEBACK END----------

Sun Oct 10 11:47:30 2010 : C:/Users/Brent/Desktop/micromacro/lib/mods/xml.lua:336: error closing parser: syntax error
Sun Oct 10 11:47:30 2010 : Execution error: Runtime error
im using this profile:

Code: Select all

<profile>
   <options>
      <option name="HP_LOW"        value="20" />
      <option name="MP_LOW_POTION" value="20" />
      <option name="HP_LOW_POTION" value="50" />
      <option name="POTION_COOLDOWN"    value="15" />
          
      <option name="COMBAT_TYPE"        value="melee" />   
      <option name="COMBAT_RANGED_PULL" value="false" /> 
      <option name="COMBAT_DISTANCE"    value="130" />
      <option name="MAX_FIGHT_TIME"     value="20" />   
      <option name="DOT_PERCENT"        value="20" />
      <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" />  
        <hotkey name="HP_POTION" key="VK_8" />
        <hotkey name="MP_POTION" key="VK_EQUAL" />
        <hotkey name="ATTACK" key="VK_1" /> 
   </hotkeys>

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

     <skills_knight>
     </skills_knight>

   <onLoad>
   </onLoad>

   <onDeath>
   </onDeath>

   <onLeaveCombat>
   </onLeaveCombat>

   <onSkillCast>
   </onSkillCast>
</profile>
i dont get it why it isnt working becuz its working for my other character.
So i ran 2 bots b4 it worked end now i can only run the other one

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

Re: /lib/mods/xml.lua:336: error closing parser: syntax erro

#2 Post by Administrator » Sun Oct 10, 2010 12:31 pm

That's it? Just "syntax error"? It should tell you which line the error occurred on.

kingb
Posts: 6
Joined: Sun Feb 14, 2010 2:23 pm

Re: /lib/mods/xml.lua:336: error closing parser: syntax erro

#3 Post by kingb » Sun Oct 10, 2010 12:55 pm

ok uhm i added a pciture of te error
it says in xml.lua line 336 has an error
Attachments
boterror.png

bibiy34
Posts: 17
Joined: Tue Jun 30, 2009 4:32 pm

Re: /lib/mods/xml.lua:336: error closing parser: syntax erro

#4 Post by bibiy34 » Thu Jun 30, 2011 11:25 am

i have the same problem.the bot doesn't working```sb.help

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

Re: /lib/mods/xml.lua:336: error closing parser: syntax erro

#5 Post by lisa » Thu Jun 30, 2011 6:32 pm

The error is when you don't have the correct closing parameters

ie
<options>
</options>

it is more then likely in your waypoint file you are trying to use.
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

elfygirl
Posts: 3
Joined: Sun Jul 10, 2011 10:45 am

Re: /lib/mods/xml.lua:336: error closing parser: syntax erro

#6 Post by elfygirl » Sun Jul 10, 2011 10:52 am

Hi all,

So I added rombot to a different computer. I am now getting this exact error line when I attempt to use it. I checked the waypoint that I am trying to use (chicken) and all seems perfectly fine. Has anyone been able to get a grasp on this for pehaps a fix? Interestingly, I don't have this issue on the other computer.


thanks!

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

Re: /lib/mods/xml.lua:336: error closing parser: syntax erro

#7 Post by lisa » Sun Jul 10, 2011 12:17 pm

if not waypoint then it is probably profile.

trying running it with profile:default

Code: Select all

rom/bot profile:default path:MRC_Optimized
or try a differnt WP, maybe try to just make a new WP for testing using rom/createpath

the error is because of not having a correct ending tag like I posted a little while back, will be either profile or WP
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

Post Reply

Who is online

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