<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.solarstrike.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=95.115.30.244</id>
		<title>SolarStrike wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.solarstrike.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=95.115.30.244"/>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php/Special:Contributions/95.115.30.244"/>
		<updated>2026-06-09T06:12:13Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Configuration&amp;diff=319</id>
		<title>RoM Configuration</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Configuration&amp;diff=319"/>
				<updated>2009-10-14T23:31:33Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.30.244: /* Expert Profile - Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two main settings files for RoM bot: settings.xml and your profile.&lt;br /&gt;
Profiles contain character-specific settings, while settings.xml contains hotkey settings and general preferences.&lt;br /&gt;
&lt;br /&gt;
== Settings.xml ==&lt;br /&gt;
Here is an example settings file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;settings&amp;gt;&lt;br /&gt;
	&amp;lt;hotkeys&amp;gt;&lt;br /&gt;
		&amp;lt;!-- Cannot use modifiers --&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;MOVE_FORWARD&amp;quot; key=&amp;quot;VK_W&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;MOVE_BACKWARD&amp;quot; key=&amp;quot;VK_S&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;ROTATE_LEFT&amp;quot; key=&amp;quot;VK_A&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;ROTATE_RIGHT&amp;quot; key=&amp;quot;VK_D&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;STRAFF_LEFT&amp;quot; key=&amp;quot;VK_Q&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;STRAFF_RIGHT&amp;quot; key=&amp;quot;VK_E&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;JUMP&amp;quot; key=&amp;quot;VK_SPACE&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;TARGET&amp;quot; key=&amp;quot;VK_TAB&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;TARGET_FRIEND&amp;quot; key=&amp;quot;VK_J&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;/hotkeys&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;options&amp;gt;&lt;br /&gt;
		&amp;lt;option name=&amp;quot;ENABLE_FIGHT_SLOW_TURN&amp;quot; value=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;option name=&amp;quot;MELEE_DISTANCE&amp;quot; value=&amp;quot;45&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;option name=&amp;quot;LANGUAGE&amp;quot; value=&amp;quot;english&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;option name=&amp;quot;DEBUGGING&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;/options&amp;gt;&lt;br /&gt;
&amp;lt;/settings&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Settings - Hotkeys===&lt;br /&gt;
The hotkey settings are mostly self-explanatory. MOVE_FORWARD, obviously, coresponds to the key that makes your character walk forward. This is &amp;quot;W&amp;quot; by default. Note that '''all''' keys must preceeded by 'VK_'.&lt;br /&gt;
&lt;br /&gt;
You may also notice the 'modifier'. Modifiers are keys such as CONTROL, SHIFT, or ALT. However, be aware that modifiers currently '''do not work'''. You should not set modifiers or you may run into problems. Instead, just leave the modifier set to an empty string(&amp;quot;&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
If your Runes of Magic bindings file (By default, is located at 'My Documents/Runes of Magic/bindings.txt') can be found and loaded, the RoM bot will instead use these settings so that you will not need to manually change your hotkey settings.&lt;br /&gt;
&lt;br /&gt;
===Settings - Options===&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;padding: 8px;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | ENABLE_FIGHT_SLOW_TURN&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Allows you to enable or disable &amp;quot;slow turning&amp;quot; in combat. If you have click-to-move on, you should not need this. It should be set to either &amp;quot;true&amp;quot; or &amp;quot;false&amp;quot;. The default is &amp;quot;false&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | MELEE_DISTANCE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The distance at which to conduct melee combat. A value of 45 is good and should not be changed unless you have problems with being either too close or too far away for melee combat. Default: &amp;quot;45&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | LANGUAGE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Allows you to set your prefered language. Acceptable values are &amp;quot;english&amp;quot;, &amp;quot;deutsch&amp;quot;, , &amp;quot;russian&amp;quot; and &amp;quot;french&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | USE_CLIENT_LANGUAGE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | After loading the bot, we will automaticly use the game clients language as bot language.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | DEBUGGING&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | This is a debugging option. When set to true, it will instantly exit on memory read errors and provide better debugging information. Default: &amp;quot;false&amp;quot;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Character Profiles ==&lt;br /&gt;
There are a few things you should know about character profiles first:&lt;br /&gt;
* They typically are named after the character that will use them&lt;br /&gt;
* They must be inside the 'rom/profiles' folder&lt;br /&gt;
* They must follow proper XML formatting&lt;br /&gt;
* They may contain custom Lua code&lt;br /&gt;
&lt;br /&gt;
There are many profile options that can be set so it is highly recommended you make a copy of the default profile (Default.xml) and modify that to your character's needs instead of starting from scratch.&lt;br /&gt;
&lt;br /&gt;
'''If you have extension hiding turned off,''' the .xml extension will not show on any of your files. If this is the case, '''do not''' add the .xml extension or you will end up with a file named something like Default.xml.xml. This may cause the profile to not be found and you may get errors. However, if you are able to see extensions, you should of course include the .xml extension when naming your profile.&lt;br /&gt;
&lt;br /&gt;
===Profile - Options===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;options&amp;gt;&lt;br /&gt;
	&amp;lt;option name=&amp;quot;HP_LOW&amp;quot;        value=&amp;quot;85&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;option name=&amp;quot;MP_LOW_POTION&amp;quot; value=&amp;quot;50&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;option name=&amp;quot;HP_LOW_POTION&amp;quot; value=&amp;quot;40&amp;quot; /&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Healing and Potions'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | HP_LOW&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The percentage of health to use heal skills at&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | HP_LOW_POTION&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The percentage of health to use potions at&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | MP_LOW_POTION&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The percentage of mana to use mana potions at&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Combat Options'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | COMBAT_TYPE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Either &amp;quot;melee&amp;quot; or &amp;quot;ranged&amp;quot;. Whichever best fits your character. Default: empty string (&amp;quot;&amp;quot;). When unset (default), it will determine this automatically based on your class. There is no need to change this.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | COMBAT_RANGED_PULL&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether or not to attempt to &amp;quot;pull&amp;quot; enemies towards you with ranged skills while you are a melee-based class&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | COMBAT_DISTANCE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The distance to remain at when fighting. This only affects your character when COMBAT_TYPE is &amp;quot;ranged&amp;quot; or when you use COMBAT_RANGED_PULL as melee.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | MAX_FIGHT_TIME&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If you stop damaging a target within this amount of time, you will skip this target (prevents getting stuck).&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | DOT_PERCENT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Only use DOTs on this target if it has more than this percentage of HP.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | ANTI_KS&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether or not to avoid stealing other players' kills. true or false.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Waypoint and Movement'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | WAYPOINTS&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The filename (including .xml extension) of the waypoint script to use. Must reside in the 'waypoints' folder!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | RETURNPATH&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The filename (including .xml extension) of the waypoint script to use for returning after death. Must reside in the 'waypoints' folder!&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | PATH_TYPE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The type of movement to use. Should be either 'waypoints' or 'wander'. See path types for more information.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | WANDER_RADIUS&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The distance that your character is allowed to &amp;quot;wander&amp;quot; freely when using wander mode.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | WAYPOINT_DEVIATION&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | A 'random' offset applied to each waypoint in your path giving it less of a bot-like appearance; suggested value of 50. Lower value means you stick closer to your normal path; 0 means no deviation.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | QUICK_TURN&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether or not to use quick turn mode. Quick turn mode emulates a click-to-move type movement style. This means your character does not stop to slowly turn around.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Level Difference'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | TARGET_LEVELDIF_ABOVE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The maximum level of enemy above your own to engage in combat. i.e. a value of 5 means you will attack monsters up to 5 levels above your own.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | TARGET_LEVELDIF_BELOW&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The maximum level of enemy below your own to engage in combat. i.e. a value of 5 means you will attack monsters up to 5 levels below your own.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Looting'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOOT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether you want to loot enemies or not. True or false.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOOT_IN_COMBAT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether or not you want to pick up loot when other enemies are still attacking you.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOOT_DISTANCE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The max distance away a corpse can be that you will attempt to loot.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOOT_PAUSE_AFTER&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | A percentage probability to attempt a short &amp;quot;rest&amp;quot; (to look more human) after looting an enemy.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Resting'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | HP_REST&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If health falls below this percentage, then rest.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | MP_LOW&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If mana falls below this percentage, then rest.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Log out &amp;amp; Resurrection Settings'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOGOUT_TIME&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Log out after this amount of time (in minutes). A value of 0 means you will not use this setting. Default: 0&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOGOUT_SHUTDOWN&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If you want to have the computer automatically shutdown after automatically logging out. Default: false&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOGOUT_WHEN_STUCK&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If your character gets stuck and cannot unstuck himself, you can use this option to have him log off. Default: true&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOGOUT_SHUTDOWN&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If you want to have the computer automatically shutdown after automatically logging out. Default: false.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | RES_AUTOMATIC_AFTER_DEATH&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether or not your character should attempt resurrecting when he dies. Default: true&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Profile - Friends===&lt;br /&gt;
The &amp;quot;Friends&amp;quot; list can be used to mark targets that you do not want to attack. This can be other players that may be marked for PVP, or targets that you want to ignore (ie. &amp;quot;Ystra Ferret&amp;quot;). You may also add players to your friend list to get the bot to assist them when it notices they are fighting something.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;friends&amp;gt;&lt;br /&gt;
		&amp;lt;!-- names of friends we help fighting or enemys we don't want to attack --&amp;gt;&lt;br /&gt;
		&amp;lt;friend name=&amp;quot;Jack&amp;quot; /&amp;gt; &amp;lt;!-- A player, lets assist him --&amp;gt;&lt;br /&gt;
		&amp;lt;friend name=&amp;quot;Jill&amp;quot; /&amp;gt; &amp;lt;!-- A player, do not attack her --&amp;gt;&lt;br /&gt;
		&amp;lt;friend name=&amp;quot;Ambas&amp;quot; /&amp;gt; &amp;lt;!-- Elite, avoid him --&amp;gt;&lt;br /&gt;
	&amp;lt;/friends&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to use umlauts in your friends list, you have to use the escape character with the proper ascii code, since LUA can't handle umlauts (ü=\129, ä=\132, ö=\148, ...). For a mob named 'Kuhkäfer' if would look like &lt;br /&gt;
 &amp;lt;friend name=&amp;quot;Kuhk\132fer&amp;quot; /&amp;gt;&lt;br /&gt;
For more ASCII character look at the [http://www.cdrummond.qc.ca/cegep/informat/Professeurs/Alain/files/ascii.htm extended ASCII table].&lt;br /&gt;
&lt;br /&gt;
===Profile - Mobs===&lt;br /&gt;
The &amp;quot;Mobs&amp;quot; list can be used to limit the mobs we will attack. That can be helpful if you only want to attack one kind of mobs (e.g. for doing a daily). Leave the list empty if you don't want to restrict the bot.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;mobs&amp;gt;&lt;br /&gt;
		&amp;lt;!-- names of mobs we want to attack 				--&amp;gt;&lt;br /&gt;
		&amp;lt;mob name=&amp;quot;Fungus&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;mob name=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;mob name=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;/mobs&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to use umlauts in your list, you have to use the escape character with the proper ascii code, since LUA can't handle umlauts (ü=\129, ä=\132, ö=\148, ...). For a mob named 'Kuhkäfer' if would look like &lt;br /&gt;
 &amp;lt;mob name=&amp;quot;Kuhk\132fer&amp;quot; /&amp;gt;&lt;br /&gt;
For more ASCII character look at the [http://www.cdrummond.qc.ca/cegep/informat/Professeurs/Alain/files/ascii.htm extended ASCII table].&lt;br /&gt;
&lt;br /&gt;
===Profile - Hotkeys===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;hotkeys&amp;gt;&lt;br /&gt;
	&amp;lt;!-- to communicate with the RoM API / define ingame dummy macro at place 1 --&amp;gt;&lt;br /&gt;
	&amp;lt;hotkey name=&amp;quot;MACRO&amp;quot;        key=&amp;quot;VK_0&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/hotkeys&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Although your main hotkeys are configured either through settings.xml or your bindings.txt files, hotkeys for action bars are character or profile specific. &lt;br /&gt;
&lt;br /&gt;
We need only the hotkey to your [http://www.solarstrike.net/wiki/index.php5?title=RoM_Configuration#Settings_up_a_Macro ingame dummy macro].&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;padding: 8px;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | MACRO&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The hotkey that we use to communicate with the [http://www.solarstrike.net/wiki/index.php5?title=RoM_Configuration#Settings_up_a_Macro ingame dummy macro]. We will call RoM API functions that way&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you used a former bot version before: You now can delete your 'old' hotkeys like RES_MACRO, LOGOUT_MACRO, ...) We don't need them anymore.&lt;br /&gt;
&lt;br /&gt;
===Profile - Skills===&lt;br /&gt;
The bot will only attempt to use skills that are noted in your profile. There are two different ways to set skills up: using the 'skills' tag (does not depend on class) or using 'skills_class' (where class is an actual in-game class) tags.&lt;br /&gt;
&lt;br /&gt;
When using the 'skills' tag, it does not mater which main class your character currently is. This works pretty well for non-class specific skills that you wish to use for either class combination. For example, MAGE_FIREBALL is usable as both a mage/priest and priest/mage. Placing MAGE_FIREBALL into this tag will allow it to be used as either mage or priest primary class.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;skills&amp;gt;&lt;br /&gt;
    &amp;lt;skill name=&amp;quot;MAGE_FIREBALL&amp;quot; hotkey=&amp;quot;VK_7&amp;quot; priority=&amp;quot;110&amp;quot; hpper=&amp;quot;30&amp;quot; inbattle=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/skills&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may often use different sets of skills for your two classes. This is when a class-specific skill tag is strongly suggested (that way you don't need to re-confgiure your profile every time you change classes). Skills placed inside this tag will only be used when it matches your primary class. For example, 'skills_mage' skiills will only be used when mage is your primary class.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;skills_mage&amp;gt;&lt;br /&gt;
    &amp;lt;skill name=&amp;quot;MAGE_FLAME&amp;quot; hotkey=&amp;quot;VK_3&amp;quot; priority=&amp;quot;80&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/skills_mage&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;skills_priest&amp;gt;&lt;br /&gt;
    &amp;lt;skill name=&amp;quot;PRIEST_RISING_TIDE&amp;quot; hotkey=&amp;quot;VK_3&amp;quot; priority=&amp;quot;80&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/skills_priest&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Skill over-rides:'''&lt;br /&gt;
You can over-ride a few options to your skills. Particularly, those skills you want to limit to only use in battle, or set to use at a certain health percent (such as heals).&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;padding: 8px;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width: 100px; border-bottom:1px dotted #000000;&amp;quot; | priority&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Higher priority means it will use it before other skills. Use 100+ for your opening attacks.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | hpper&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Percentage of HP to use the skill at. Your HP % must be below that level to use the skill. This will over-ride HP_LOW for heals!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | manaper&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Percentage of Mana to use the skill at. Your Mana % must be below that level to use the skill.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | inbattle&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Either true or false. True means it only can be used in battle; false means if only can be used out of battle.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | rebuffcut&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Recast that skill x seconds before the cooldown/duration fades out. Thats usefull for your own buffs.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | cooldown&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Cooldown/duration value for that skill. If not set, we use the default value from the skill. You can overwrite that here for special situations.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | pullonly&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Can only be used in the pull phase at the begin of a fight. They will not be used during the rest of the fight (only for melee classes if option 'COMBAT_RANGED_PULL' is set to 'true').&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | maxuse&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Skills with that option will only be used 'maxuse'-times within a fight.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | autouse&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Skills with autouse=false will not be automaticly casted from the Bot. Thats usefull if you want to cast a skill only in a event like '&amp;lt;onSkillCast&amp;gt;' .&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Profile - Events===&lt;br /&gt;
While botting, several events may be triggered. When these events are triggered, you may have custom Lua code executed. This code is placed directly in the event-specific tags inside your profile.&lt;br /&gt;
&lt;br /&gt;
Events include:&lt;br /&gt;
* onLoad : When the profile is loaded&lt;br /&gt;
* onDeath: When your character dies&lt;br /&gt;
* onLeaveCombat: When leaving combat&lt;br /&gt;
* onSkillCast: Triggered after your character uses a skill&lt;br /&gt;
&lt;br /&gt;
onSkillCast will, additionally, receive a Lua table ('arg1') that is a copy of the skill being cast. You can use this to query information about the skill. This can be useful in &amp;quot;skill chaining.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;onLoad&amp;gt;&lt;br /&gt;
        -- Load a waypoint path based on level&lt;br /&gt;
        if( player.Level &amp;gt; 10 ) then&lt;br /&gt;
            load_paths(&amp;quot;some_path&amp;quot;);&lt;br /&gt;
        else&lt;br /&gt;
            load_paths(&amp;quot;some_other_path&amp;quot;);&lt;br /&gt;
        end&lt;br /&gt;
    &amp;lt;/onLoad&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;onDeath&amp;gt;&lt;br /&gt;
        printf(&amp;quot;\a\a\a&amp;quot;); -- BEEP BEEP BEEP!&lt;br /&gt;
        pauseOnDeath();   -- Wait for me. Do not continue script execution&lt;br /&gt;
    &amp;lt;/onDeath&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;onLeaveCombat&amp;gt;&lt;br /&gt;
	if( player.Level &amp;gt; player.free_counter1) then&lt;br /&gt;
		player.free_counter1 = player.Level;&lt;br /&gt;
&lt;br /&gt;
		-- levelup skills&lt;br /&gt;
		-- 4 = third skill tab, 2 = mage flame&lt;br /&gt;
		if( player.Level == 2 ) then&lt;br /&gt;
			send_macro(&amp;quot;SetSpellPoint( 4, 2 );&amp;quot;);&lt;br /&gt;
			yrest(1000);&lt;br /&gt;
			send_macro(&amp;quot;SetSpellPoint( 4, 2 );&amp;quot;);&lt;br /&gt;
		else&lt;br /&gt;
			player.free_counter1 = player.Level;&lt;br /&gt;
			send_macro(&amp;quot;SetSpellPoint( 4, 2 );&amp;quot;);&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		-- open giftbag and equipt content&lt;br /&gt;
		-- updates first 18 bag slots / update all if empty&lt;br /&gt;
		open_giftbag(player.Level, 18);&lt;br /&gt;
	end&lt;br /&gt;
    &amp;lt;/onLeaveCombat&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;onSkillCast&amp;gt;&lt;br /&gt;
        if( arg1.Name == &amp;quot;PRIEST_HOLY_AURA&amp;quot; ) then&lt;br /&gt;
            yrest(1000);&lt;br /&gt;
            player:cast(&amp;quot;PRIEST_URGENT_HEAL&amp;quot;);&lt;br /&gt;
        end&lt;br /&gt;
    &amp;lt;/onSkillCast&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== In-Game Settings ==&lt;br /&gt;
In order for the bot to fully work, you will need to modify a few in-game settings. You should start with the Interface Settings and then set up your macro hotkey.&lt;br /&gt;
&lt;br /&gt;
===Interface Settings===&lt;br /&gt;
Bring up your interface settings under the System menu. Under control, make sure that '''Click-to-move''' and '''Self Cast''' are checked. Under Miscellaneous, also check '''Auto loot'''.&lt;br /&gt;
&lt;br /&gt;
===Settings up a Macro===&lt;br /&gt;
This macro is how the bot will interface with RoM's API. You should type ''/macro'' into the game's chat to bring up the macro window. Select the top-left most box and click '''New''', and in the new window that pops open click '''Save'''.&lt;br /&gt;
&lt;br /&gt;
It should now look like this:&lt;br /&gt;
&lt;br /&gt;
[[Image:rom_macro_screen.png]]&lt;br /&gt;
&lt;br /&gt;
Now, all you need to do is click and drag this new icon in your macro window into your hotkey bar and set your MACRO hotkey in [[RoM_Configuration#Profile_-_Hotkeys|profile hotkeys]] to reflect this change.&lt;br /&gt;
&lt;br /&gt;
Note that the macro slot directly to the right of the one you just created will also be used internally. Do not keep macros you intend to use there.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Expert Settings ==&lt;br /&gt;
&lt;br /&gt;
===Expert Profile - Options===&lt;br /&gt;
&lt;br /&gt;
 MAX_TARGET_DIST = 999,		-- maximum distance to select a target (helpfull to limit at small places)&lt;br /&gt;
 AUTO_ELITE_FACTOR = 4,		-- mobs with x * your HP value counts as 'Elite' and we will not target it&lt;br /&gt;
 SKILL_USE_PRIOR = 300,		-- cast x ms before cooldown is finished&lt;br /&gt;
 PK_COUNTS_AS_DEATH = true,	-- count playerkill's as death&lt;br /&gt;
 POTION_COOLDOWN = 15,		-- allways 15&lt;br /&gt;
 POTION_COOLDOWN_HP = 0,	-- will only be used if not 0, if 0 POTION_COOLDOWN will be used&lt;br /&gt;
 POTION_COOLDOWN_MANA = 0,	-- will only be used if not 0, if 0 POTION_COOLDOWN will be used&lt;br /&gt;
 WAYPOINTS_REVERSE = false,	-- use the waypoint file in reverse order&lt;br /&gt;
 MAX_DEATHS = 10,		-- maximal death if automatic resurrect befor logout&lt;br /&gt;
 WAIT_TIME_AFTER_RES = 8000,	-- time to wait after resurrection, needs more on slow PCs&lt;br /&gt;
 RETURNPATH_SUFFIX = &amp;quot;_return&amp;quot;,	-- suffix for default naming of returnpath&lt;br /&gt;
 HARVEST_SCAN_WIDTH = 10,	-- steps horizontal&lt;br /&gt;
 HARVEST_SCAN_HEIGHT = 8,	-- steps vertical&lt;br /&gt;
 HARVEST_SCAN_STEPSIZE = 35,	-- wide of every step&lt;br /&gt;
 HARVEST_SCAN_TOPDOWN = false,	-- true = top-&amp;gt;down  false = botton-&amp;gt;up&lt;br /&gt;
 HARVEST_SCAN_XMULTIPLIER = 1.0,	-- multiplier for scan width&lt;br /&gt;
 HARVEST_SCAN_YMULTIPLIER = 1.1,	-- multiplier for scan line height&lt;br /&gt;
 HARVEST_SCAN_YREST = 10,	-- scanspeed&lt;br /&gt;
 HARVEST_SCAN_YMOVE = 1.1,	-- move scan area top/down ( 1=middle of screen )&lt;br /&gt;
 USE_SLEEP_AFTER_RESUME = false, -- enter sleep mode after pressing pause/resume key&lt;br /&gt;
 IGNORE_MACRO_ERROR = false, 	-- ignore missing MACRO hotkey error (only temporary option while beta)&lt;br /&gt;
 DEBUG_INV = false,	 	-- to help to find the item use error (only temporary option  while beta)&lt;br /&gt;
 INV_MAX_SLOTS = 60,	 	-- maximal slots to update in the inventory:update()&lt;/div&gt;</summary>
		<author><name>95.115.30.244</name></author>	</entry>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Configuration&amp;diff=318</id>
		<title>RoM Configuration</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Configuration&amp;diff=318"/>
				<updated>2009-10-14T23:31:11Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.30.244: /* Expert Profile - Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two main settings files for RoM bot: settings.xml and your profile.&lt;br /&gt;
Profiles contain character-specific settings, while settings.xml contains hotkey settings and general preferences.&lt;br /&gt;
&lt;br /&gt;
== Settings.xml ==&lt;br /&gt;
Here is an example settings file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;settings&amp;gt;&lt;br /&gt;
	&amp;lt;hotkeys&amp;gt;&lt;br /&gt;
		&amp;lt;!-- Cannot use modifiers --&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;MOVE_FORWARD&amp;quot; key=&amp;quot;VK_W&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;MOVE_BACKWARD&amp;quot; key=&amp;quot;VK_S&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;ROTATE_LEFT&amp;quot; key=&amp;quot;VK_A&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;ROTATE_RIGHT&amp;quot; key=&amp;quot;VK_D&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;STRAFF_LEFT&amp;quot; key=&amp;quot;VK_Q&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;STRAFF_RIGHT&amp;quot; key=&amp;quot;VK_E&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;JUMP&amp;quot; key=&amp;quot;VK_SPACE&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;TARGET&amp;quot; key=&amp;quot;VK_TAB&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;hotkey description=&amp;quot;TARGET_FRIEND&amp;quot; key=&amp;quot;VK_J&amp;quot; modifier=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;/hotkeys&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;options&amp;gt;&lt;br /&gt;
		&amp;lt;option name=&amp;quot;ENABLE_FIGHT_SLOW_TURN&amp;quot; value=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;option name=&amp;quot;MELEE_DISTANCE&amp;quot; value=&amp;quot;45&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;option name=&amp;quot;LANGUAGE&amp;quot; value=&amp;quot;english&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;option name=&amp;quot;DEBUGGING&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;/options&amp;gt;&lt;br /&gt;
&amp;lt;/settings&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Settings - Hotkeys===&lt;br /&gt;
The hotkey settings are mostly self-explanatory. MOVE_FORWARD, obviously, coresponds to the key that makes your character walk forward. This is &amp;quot;W&amp;quot; by default. Note that '''all''' keys must preceeded by 'VK_'.&lt;br /&gt;
&lt;br /&gt;
You may also notice the 'modifier'. Modifiers are keys such as CONTROL, SHIFT, or ALT. However, be aware that modifiers currently '''do not work'''. You should not set modifiers or you may run into problems. Instead, just leave the modifier set to an empty string(&amp;quot;&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
If your Runes of Magic bindings file (By default, is located at 'My Documents/Runes of Magic/bindings.txt') can be found and loaded, the RoM bot will instead use these settings so that you will not need to manually change your hotkey settings.&lt;br /&gt;
&lt;br /&gt;
===Settings - Options===&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;padding: 8px;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | ENABLE_FIGHT_SLOW_TURN&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Allows you to enable or disable &amp;quot;slow turning&amp;quot; in combat. If you have click-to-move on, you should not need this. It should be set to either &amp;quot;true&amp;quot; or &amp;quot;false&amp;quot;. The default is &amp;quot;false&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | MELEE_DISTANCE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The distance at which to conduct melee combat. A value of 45 is good and should not be changed unless you have problems with being either too close or too far away for melee combat. Default: &amp;quot;45&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | LANGUAGE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Allows you to set your prefered language. Acceptable values are &amp;quot;english&amp;quot;, &amp;quot;deutsch&amp;quot;, , &amp;quot;russian&amp;quot; and &amp;quot;french&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | USE_CLIENT_LANGUAGE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | After loading the bot, we will automaticly use the game clients language as bot language.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | DEBUGGING&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | This is a debugging option. When set to true, it will instantly exit on memory read errors and provide better debugging information. Default: &amp;quot;false&amp;quot;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Character Profiles ==&lt;br /&gt;
There are a few things you should know about character profiles first:&lt;br /&gt;
* They typically are named after the character that will use them&lt;br /&gt;
* They must be inside the 'rom/profiles' folder&lt;br /&gt;
* They must follow proper XML formatting&lt;br /&gt;
* They may contain custom Lua code&lt;br /&gt;
&lt;br /&gt;
There are many profile options that can be set so it is highly recommended you make a copy of the default profile (Default.xml) and modify that to your character's needs instead of starting from scratch.&lt;br /&gt;
&lt;br /&gt;
'''If you have extension hiding turned off,''' the .xml extension will not show on any of your files. If this is the case, '''do not''' add the .xml extension or you will end up with a file named something like Default.xml.xml. This may cause the profile to not be found and you may get errors. However, if you are able to see extensions, you should of course include the .xml extension when naming your profile.&lt;br /&gt;
&lt;br /&gt;
===Profile - Options===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;options&amp;gt;&lt;br /&gt;
	&amp;lt;option name=&amp;quot;HP_LOW&amp;quot;        value=&amp;quot;85&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;option name=&amp;quot;MP_LOW_POTION&amp;quot; value=&amp;quot;50&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;option name=&amp;quot;HP_LOW_POTION&amp;quot; value=&amp;quot;40&amp;quot; /&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Healing and Potions'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | HP_LOW&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The percentage of health to use heal skills at&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | HP_LOW_POTION&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The percentage of health to use potions at&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | MP_LOW_POTION&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The percentage of mana to use mana potions at&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Combat Options'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | COMBAT_TYPE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Either &amp;quot;melee&amp;quot; or &amp;quot;ranged&amp;quot;. Whichever best fits your character. Default: empty string (&amp;quot;&amp;quot;). When unset (default), it will determine this automatically based on your class. There is no need to change this.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | COMBAT_RANGED_PULL&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether or not to attempt to &amp;quot;pull&amp;quot; enemies towards you with ranged skills while you are a melee-based class&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | COMBAT_DISTANCE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The distance to remain at when fighting. This only affects your character when COMBAT_TYPE is &amp;quot;ranged&amp;quot; or when you use COMBAT_RANGED_PULL as melee.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | MAX_FIGHT_TIME&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If you stop damaging a target within this amount of time, you will skip this target (prevents getting stuck).&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | DOT_PERCENT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Only use DOTs on this target if it has more than this percentage of HP.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | ANTI_KS&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether or not to avoid stealing other players' kills. true or false.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Waypoint and Movement'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | WAYPOINTS&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The filename (including .xml extension) of the waypoint script to use. Must reside in the 'waypoints' folder!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | RETURNPATH&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The filename (including .xml extension) of the waypoint script to use for returning after death. Must reside in the 'waypoints' folder!&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | PATH_TYPE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The type of movement to use. Should be either 'waypoints' or 'wander'. See path types for more information.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | WANDER_RADIUS&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The distance that your character is allowed to &amp;quot;wander&amp;quot; freely when using wander mode.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | WAYPOINT_DEVIATION&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | A 'random' offset applied to each waypoint in your path giving it less of a bot-like appearance; suggested value of 50. Lower value means you stick closer to your normal path; 0 means no deviation.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | QUICK_TURN&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether or not to use quick turn mode. Quick turn mode emulates a click-to-move type movement style. This means your character does not stop to slowly turn around.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Level Difference'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | TARGET_LEVELDIF_ABOVE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The maximum level of enemy above your own to engage in combat. i.e. a value of 5 means you will attack monsters up to 5 levels above your own.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | TARGET_LEVELDIF_BELOW&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The maximum level of enemy below your own to engage in combat. i.e. a value of 5 means you will attack monsters up to 5 levels below your own.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Looting'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOOT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether you want to loot enemies or not. True or false.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOOT_IN_COMBAT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether or not you want to pick up loot when other enemies are still attacking you.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOOT_DISTANCE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The max distance away a corpse can be that you will attempt to loot.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOOT_PAUSE_AFTER&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | A percentage probability to attempt a short &amp;quot;rest&amp;quot; (to look more human) after looting an enemy.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Resting'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | HP_REST&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If health falls below this percentage, then rest.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | MP_LOW&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If mana falls below this percentage, then rest.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #C0C0FF; text-align: center;&amp;quot; | '''Log out &amp;amp; Resurrection Settings'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOGOUT_TIME&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Log out after this amount of time (in minutes). A value of 0 means you will not use this setting. Default: 0&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOGOUT_SHUTDOWN&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If you want to have the computer automatically shutdown after automatically logging out. Default: false&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOGOUT_WHEN_STUCK&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If your character gets stuck and cannot unstuck himself, you can use this option to have him log off. Default: true&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | LOGOUT_SHUTDOWN&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | If you want to have the computer automatically shutdown after automatically logging out. Default: false.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | RES_AUTOMATIC_AFTER_DEATH&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Whether or not your character should attempt resurrecting when he dies. Default: true&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Profile - Friends===&lt;br /&gt;
The &amp;quot;Friends&amp;quot; list can be used to mark targets that you do not want to attack. This can be other players that may be marked for PVP, or targets that you want to ignore (ie. &amp;quot;Ystra Ferret&amp;quot;). You may also add players to your friend list to get the bot to assist them when it notices they are fighting something.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;friends&amp;gt;&lt;br /&gt;
		&amp;lt;!-- names of friends we help fighting or enemys we don't want to attack --&amp;gt;&lt;br /&gt;
		&amp;lt;friend name=&amp;quot;Jack&amp;quot; /&amp;gt; &amp;lt;!-- A player, lets assist him --&amp;gt;&lt;br /&gt;
		&amp;lt;friend name=&amp;quot;Jill&amp;quot; /&amp;gt; &amp;lt;!-- A player, do not attack her --&amp;gt;&lt;br /&gt;
		&amp;lt;friend name=&amp;quot;Ambas&amp;quot; /&amp;gt; &amp;lt;!-- Elite, avoid him --&amp;gt;&lt;br /&gt;
	&amp;lt;/friends&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to use umlauts in your friends list, you have to use the escape character with the proper ascii code, since LUA can't handle umlauts (ü=\129, ä=\132, ö=\148, ...). For a mob named 'Kuhkäfer' if would look like &lt;br /&gt;
 &amp;lt;friend name=&amp;quot;Kuhk\132fer&amp;quot; /&amp;gt;&lt;br /&gt;
For more ASCII character look at the [http://www.cdrummond.qc.ca/cegep/informat/Professeurs/Alain/files/ascii.htm extended ASCII table].&lt;br /&gt;
&lt;br /&gt;
===Profile - Mobs===&lt;br /&gt;
The &amp;quot;Mobs&amp;quot; list can be used to limit the mobs we will attack. That can be helpful if you only want to attack one kind of mobs (e.g. for doing a daily). Leave the list empty if you don't want to restrict the bot.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;mobs&amp;gt;&lt;br /&gt;
		&amp;lt;!-- names of mobs we want to attack 				--&amp;gt;&lt;br /&gt;
		&amp;lt;mob name=&amp;quot;Fungus&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;mob name=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;mob name=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;/mobs&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to use umlauts in your list, you have to use the escape character with the proper ascii code, since LUA can't handle umlauts (ü=\129, ä=\132, ö=\148, ...). For a mob named 'Kuhkäfer' if would look like &lt;br /&gt;
 &amp;lt;mob name=&amp;quot;Kuhk\132fer&amp;quot; /&amp;gt;&lt;br /&gt;
For more ASCII character look at the [http://www.cdrummond.qc.ca/cegep/informat/Professeurs/Alain/files/ascii.htm extended ASCII table].&lt;br /&gt;
&lt;br /&gt;
===Profile - Hotkeys===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;hotkeys&amp;gt;&lt;br /&gt;
	&amp;lt;!-- to communicate with the RoM API / define ingame dummy macro at place 1 --&amp;gt;&lt;br /&gt;
	&amp;lt;hotkey name=&amp;quot;MACRO&amp;quot;        key=&amp;quot;VK_0&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/hotkeys&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Although your main hotkeys are configured either through settings.xml or your bindings.txt files, hotkeys for action bars are character or profile specific. &lt;br /&gt;
&lt;br /&gt;
We need only the hotkey to your [http://www.solarstrike.net/wiki/index.php5?title=RoM_Configuration#Settings_up_a_Macro ingame dummy macro].&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;padding: 8px;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | MACRO&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | The hotkey that we use to communicate with the [http://www.solarstrike.net/wiki/index.php5?title=RoM_Configuration#Settings_up_a_Macro ingame dummy macro]. We will call RoM API functions that way&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you used a former bot version before: You now can delete your 'old' hotkeys like RES_MACRO, LOGOUT_MACRO, ...) We don't need them anymore.&lt;br /&gt;
&lt;br /&gt;
===Profile - Skills===&lt;br /&gt;
The bot will only attempt to use skills that are noted in your profile. There are two different ways to set skills up: using the 'skills' tag (does not depend on class) or using 'skills_class' (where class is an actual in-game class) tags.&lt;br /&gt;
&lt;br /&gt;
When using the 'skills' tag, it does not mater which main class your character currently is. This works pretty well for non-class specific skills that you wish to use for either class combination. For example, MAGE_FIREBALL is usable as both a mage/priest and priest/mage. Placing MAGE_FIREBALL into this tag will allow it to be used as either mage or priest primary class.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;skills&amp;gt;&lt;br /&gt;
    &amp;lt;skill name=&amp;quot;MAGE_FIREBALL&amp;quot; hotkey=&amp;quot;VK_7&amp;quot; priority=&amp;quot;110&amp;quot; hpper=&amp;quot;30&amp;quot; inbattle=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/skills&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may often use different sets of skills for your two classes. This is when a class-specific skill tag is strongly suggested (that way you don't need to re-confgiure your profile every time you change classes). Skills placed inside this tag will only be used when it matches your primary class. For example, 'skills_mage' skiills will only be used when mage is your primary class.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;skills_mage&amp;gt;&lt;br /&gt;
    &amp;lt;skill name=&amp;quot;MAGE_FLAME&amp;quot; hotkey=&amp;quot;VK_3&amp;quot; priority=&amp;quot;80&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/skills_mage&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;skills_priest&amp;gt;&lt;br /&gt;
    &amp;lt;skill name=&amp;quot;PRIEST_RISING_TIDE&amp;quot; hotkey=&amp;quot;VK_3&amp;quot; priority=&amp;quot;80&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/skills_priest&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Skill over-rides:'''&lt;br /&gt;
You can over-ride a few options to your skills. Particularly, those skills you want to limit to only use in battle, or set to use at a certain health percent (such as heals).&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;padding: 8px;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width: 100px; border-bottom:1px dotted #000000;&amp;quot; | priority&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Higher priority means it will use it before other skills. Use 100+ for your opening attacks.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | hpper&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Percentage of HP to use the skill at. Your HP % must be below that level to use the skill. This will over-ride HP_LOW for heals!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | manaper&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Percentage of Mana to use the skill at. Your Mana % must be below that level to use the skill.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | inbattle&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Either true or false. True means it only can be used in battle; false means if only can be used out of battle.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | rebuffcut&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Recast that skill x seconds before the cooldown/duration fades out. Thats usefull for your own buffs.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | cooldown&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Cooldown/duration value for that skill. If not set, we use the default value from the skill. You can overwrite that here for special situations.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | pullonly&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Can only be used in the pull phase at the begin of a fight. They will not be used during the rest of the fight (only for melee classes if option 'COMBAT_RANGED_PULL' is set to 'true').&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | maxuse&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Skills with that option will only be used 'maxuse'-times within a fight.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | autouse&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Skills with autouse=false will not be automaticly casted from the Bot. Thats usefull if you want to cast a skill only in a event like '&amp;lt;onSkillCast&amp;gt;' .&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Profile - Events===&lt;br /&gt;
While botting, several events may be triggered. When these events are triggered, you may have custom Lua code executed. This code is placed directly in the event-specific tags inside your profile.&lt;br /&gt;
&lt;br /&gt;
Events include:&lt;br /&gt;
* onLoad : When the profile is loaded&lt;br /&gt;
* onDeath: When your character dies&lt;br /&gt;
* onLeaveCombat: When leaving combat&lt;br /&gt;
* onSkillCast: Triggered after your character uses a skill&lt;br /&gt;
&lt;br /&gt;
onSkillCast will, additionally, receive a Lua table ('arg1') that is a copy of the skill being cast. You can use this to query information about the skill. This can be useful in &amp;quot;skill chaining.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;onLoad&amp;gt;&lt;br /&gt;
        -- Load a waypoint path based on level&lt;br /&gt;
        if( player.Level &amp;gt; 10 ) then&lt;br /&gt;
            load_paths(&amp;quot;some_path&amp;quot;);&lt;br /&gt;
        else&lt;br /&gt;
            load_paths(&amp;quot;some_other_path&amp;quot;);&lt;br /&gt;
        end&lt;br /&gt;
    &amp;lt;/onLoad&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;onDeath&amp;gt;&lt;br /&gt;
        printf(&amp;quot;\a\a\a&amp;quot;); -- BEEP BEEP BEEP!&lt;br /&gt;
        pauseOnDeath();   -- Wait for me. Do not continue script execution&lt;br /&gt;
    &amp;lt;/onDeath&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;onLeaveCombat&amp;gt;&lt;br /&gt;
	if( player.Level &amp;gt; player.free_counter1) then&lt;br /&gt;
		player.free_counter1 = player.Level;&lt;br /&gt;
&lt;br /&gt;
		-- levelup skills&lt;br /&gt;
		-- 4 = third skill tab, 2 = mage flame&lt;br /&gt;
		if( player.Level == 2 ) then&lt;br /&gt;
			send_macro(&amp;quot;SetSpellPoint( 4, 2 );&amp;quot;);&lt;br /&gt;
			yrest(1000);&lt;br /&gt;
			send_macro(&amp;quot;SetSpellPoint( 4, 2 );&amp;quot;);&lt;br /&gt;
		else&lt;br /&gt;
			player.free_counter1 = player.Level;&lt;br /&gt;
			send_macro(&amp;quot;SetSpellPoint( 4, 2 );&amp;quot;);&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		-- open giftbag and equipt content&lt;br /&gt;
		-- updates first 18 bag slots / update all if empty&lt;br /&gt;
		open_giftbag(player.Level, 18);&lt;br /&gt;
	end&lt;br /&gt;
    &amp;lt;/onLeaveCombat&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;onSkillCast&amp;gt;&lt;br /&gt;
        if( arg1.Name == &amp;quot;PRIEST_HOLY_AURA&amp;quot; ) then&lt;br /&gt;
            yrest(1000);&lt;br /&gt;
            player:cast(&amp;quot;PRIEST_URGENT_HEAL&amp;quot;);&lt;br /&gt;
        end&lt;br /&gt;
    &amp;lt;/onSkillCast&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== In-Game Settings ==&lt;br /&gt;
In order for the bot to fully work, you will need to modify a few in-game settings. You should start with the Interface Settings and then set up your macro hotkey.&lt;br /&gt;
&lt;br /&gt;
===Interface Settings===&lt;br /&gt;
Bring up your interface settings under the System menu. Under control, make sure that '''Click-to-move''' and '''Self Cast''' are checked. Under Miscellaneous, also check '''Auto loot'''.&lt;br /&gt;
&lt;br /&gt;
===Settings up a Macro===&lt;br /&gt;
This macro is how the bot will interface with RoM's API. You should type ''/macro'' into the game's chat to bring up the macro window. Select the top-left most box and click '''New''', and in the new window that pops open click '''Save'''.&lt;br /&gt;
&lt;br /&gt;
It should now look like this:&lt;br /&gt;
&lt;br /&gt;
[[Image:rom_macro_screen.png]]&lt;br /&gt;
&lt;br /&gt;
Now, all you need to do is click and drag this new icon in your macro window into your hotkey bar and set your MACRO hotkey in [[RoM_Configuration#Profile_-_Hotkeys|profile hotkeys]] to reflect this change.&lt;br /&gt;
&lt;br /&gt;
Note that the macro slot directly to the right of the one you just created will also be used internally. Do not keep macros you intend to use there.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Expert Settings ==&lt;br /&gt;
&lt;br /&gt;
===Expert Profile - Options===&lt;br /&gt;
&lt;br /&gt;
 MAX_TARGET_DIST = 999,		-- miximum distance to select a target (helpfull to limit at small places)&lt;br /&gt;
 AUTO_ELITE_FACTOR = 4,		-- mobs with x * your HP value counts as 'Elite' and we will not target it&lt;br /&gt;
 SKILL_USE_PRIOR = 300,		-- cast x ms before cooldown is finished&lt;br /&gt;
 PK_COUNTS_AS_DEATH = true,	-- count playerkill's as death&lt;br /&gt;
 POTION_COOLDOWN = 15,		-- allways 15&lt;br /&gt;
 POTION_COOLDOWN_HP = 0,	-- will only be used if not 0, if 0 POTION_COOLDOWN will be used&lt;br /&gt;
 POTION_COOLDOWN_MANA = 0,	-- will only be used if not 0, if 0 POTION_COOLDOWN will be used&lt;br /&gt;
 WAYPOINTS_REVERSE = false,	-- use the waypoint file in reverse order&lt;br /&gt;
 MAX_DEATHS = 10,		-- maximal death if automatic resurrect befor logout&lt;br /&gt;
 WAIT_TIME_AFTER_RES = 8000,	-- time to wait after resurrection, needs more on slow PCs&lt;br /&gt;
 RETURNPATH_SUFFIX = &amp;quot;_return&amp;quot;,	-- suffix for default naming of returnpath&lt;br /&gt;
 HARVEST_SCAN_WIDTH = 10,	-- steps horizontal&lt;br /&gt;
 HARVEST_SCAN_HEIGHT = 8,	-- steps vertical&lt;br /&gt;
 HARVEST_SCAN_STEPSIZE = 35,	-- wide of every step&lt;br /&gt;
 HARVEST_SCAN_TOPDOWN = false,	-- true = top-&amp;gt;down  false = botton-&amp;gt;up&lt;br /&gt;
 HARVEST_SCAN_XMULTIPLIER = 1.0,	-- multiplier for scan width&lt;br /&gt;
 HARVEST_SCAN_YMULTIPLIER = 1.1,	-- multiplier for scan line height&lt;br /&gt;
 HARVEST_SCAN_YREST = 10,	-- scanspeed&lt;br /&gt;
 HARVEST_SCAN_YMOVE = 1.1,	-- move scan area top/down ( 1=middle of screen )&lt;br /&gt;
 USE_SLEEP_AFTER_RESUME = false, -- enter sleep mode after pressing pause/resume key&lt;br /&gt;
 IGNORE_MACRO_ERROR = false, 	-- ignore missing MACRO hotkey error (only temporary option while beta)&lt;br /&gt;
 DEBUG_INV = false,	 	-- to help to find the item use error (only temporary option  while beta)&lt;br /&gt;
 INV_MAX_SLOTS = 60,	 	-- maximal slots to update in the inventory:update()&lt;/div&gt;</summary>
		<author><name>95.115.30.244</name></author>	</entry>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Auto_repair&amp;diff=317</id>
		<title>RoM Auto repair</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Auto_repair&amp;diff=317"/>
				<updated>2009-10-14T23:27:06Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.30.244: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Auto Repair at the merchant NPC =&lt;br /&gt;
&lt;br /&gt;
For using the autorepair ingame, you need normaly to press the 'repair' button. You can install the ingame addon [http://rom.curse.com/downloads/rom-addons/details/streamline.aspx Streamline]. Streamline will automaticly repair if you open a dialog window with a merchant and it will automaticly deliver quests, if you open a dialog with a quest NPC.&lt;br /&gt;
&lt;br /&gt;
You can also doing that by using the function&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;player:merchant( npc_name );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It will try to target the nearest NPC's and find the NPC by name. After that, the bot will open the dialog window, autorepair and buy consumables depending from your profile options. It will also work while using multiple bots.&lt;br /&gt;
&lt;br /&gt;
If you only want to target a NPC and do the further stuff by yourself you can use the function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;player:target_NPC( npc_name );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you have to create a waypoint file, which leads your character to the repair NPC&lt;br /&gt;
&lt;br /&gt;
e.g. '5-7_bugs_repair.xml'&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;waypoints&amp;gt;&lt;br /&gt;
   &amp;lt;!-- Thats a demo to interact with the NPC Tracy                         --&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 1 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12282&amp;quot; z=&amp;quot;11183&amp;quot;&amp;gt;&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 2 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12391&amp;quot; z=&amp;quot;10982&amp;quot;&amp;gt;&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 3 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12529&amp;quot; z=&amp;quot;10941&amp;quot;&amp;gt;&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 4 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-808&amp;quot; z=&amp;quot;-6067&amp;quot;&amp;gt;&lt;br /&gt;
		player:merchant(&amp;quot;Tracy&amp;quot;);&lt;br /&gt;
		load_paths(&amp;quot;5-7_bugs_repair_back&amp;quot;);&lt;br /&gt;
   &amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/waypoints&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
The bot will use the waypoint file '5-7_bugs_repair_back' to find back the way to the original boting place.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You now have to insert some code into your boting waypoint file (in this example into the file '5-7_bugs.xml'), to give the bot the information when to repair. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use a Durability Based AutoRepair ==&lt;br /&gt;
&lt;br /&gt;
It could be based on the duration of your items:&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;!-- #  1 --&amp;gt;&amp;lt;waypoint x=&amp;quot;13752&amp;quot; z=&amp;quot;6726&amp;quot;&amp;gt;&lt;br /&gt;
	if( player.free_flag1 == true ) then &lt;br /&gt;
		player.free_flag1 = false; &lt;br /&gt;
		loadPaths(&amp;quot;5-7_bugs_repair.xml);&lt;br /&gt;
	end&lt;br /&gt;
	&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you see, we don't check the duration directly in the waypoint file. Simply because the duration is dependent from your armor and by that, dependend from your character. Hence we check the duration in our characters profile and set just a flag, if we should go for repairing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;onLeaveCombat&amp;gt;&lt;br /&gt;
	local dura = inventory:getMainHandDurability();&lt;br /&gt;
	printf(&amp;quot;Durability:%s\n&amp;quot;, dura);&lt;br /&gt;
	if( dura &amp;amp;lt; 0.9 ) then&lt;br /&gt;
		player.free_flag1 = true;&lt;br /&gt;
	end&lt;br /&gt;
&amp;lt;/onLeaveCombat&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use a Time Based AutoRepair ==&lt;br /&gt;
&lt;br /&gt;
It could be fight based:&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;	&amp;lt;!-- #16 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12364&amp;quot; z=&amp;quot;10939&amp;quot;&amp;gt;&lt;br /&gt;
	if( player.Fights-player.free_counter1 &amp;gt; 300 ) then&lt;br /&gt;
		player.free_counter1 = player.Fights;&lt;br /&gt;
		load_paths(&amp;quot;5-7_bugs_repair.xml&amp;quot;);&lt;br /&gt;
	end&lt;br /&gt;
	&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use a Time Based AutoRepair ==&lt;br /&gt;
&lt;br /&gt;
or time based;&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;	&amp;lt;!-- #16 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12364&amp;quot; z=&amp;quot;10939&amp;quot;&amp;gt;&lt;br /&gt;
	if(player.free_counter1 == 0) then player.free_counter1 = os.time(); end;&lt;br /&gt;
	if( os.difftime(os.time(), player.free_counter1) &amp;gt; 3600 )	&lt;br /&gt;
		player.free_counter1 = player.BotStartTime_nr;&lt;br /&gt;
		load_paths(&amp;quot;5-7_bugs_repair.xml&amp;quot;);&lt;br /&gt;
	end&lt;br /&gt;
	&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also could combine some of that methods.&lt;br /&gt;
&lt;br /&gt;
= Auto Sell at the merchant NPC =&lt;br /&gt;
There are some expert options for your profile if you want to automaticly sale items to the merchant NPC.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;padding: 8px;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_ENABLE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Allows you to enable or disable the Auto Sell function. Valid values are true|false..&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_FROMSLOT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Starting bagslot for autosell.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_TOSLOT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Ending bagslot for autosell.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_QUALITY&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Enter the item qualities you want to sell. Recommended value is &amp;quot;white, green&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_IGNORE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Enter items names or part of the names of items, you don't want to sell. You can enter more than one item. Use commata as delimites.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Use the normal 'player:merchant()' function in your waypoint file to autosale your items.&lt;/div&gt;</summary>
		<author><name>95.115.30.244</name></author>	</entry>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Auto_repair&amp;diff=316</id>
		<title>RoM Auto repair</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Auto_repair&amp;diff=316"/>
				<updated>2009-10-14T23:26:30Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.30.244: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Auto Repair at the merchant NPC =&lt;br /&gt;
&lt;br /&gt;
For using the autorepair ingame, you need normaly to press the 'repair' button. You can install the ingame addon [http://rom.curse.com/downloads/rom-addons/details/streamline.aspx Streamline]. Streamline will automaticly repair if you open a dialog window with a merchant and it will automaticly deliver quests, if you open a dialog with a quest NPC.&lt;br /&gt;
&lt;br /&gt;
You can also doing that by using the function&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;player:merchant( npc_name );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It will try to target the nearest NPC's and find the NPC by name. After that, the bot will open the dialog window, autorepair and buy consumables depending from your profile options. It will also work while using multiple bots.&lt;br /&gt;
&lt;br /&gt;
If you only want to target a NPC and do the further stuff by yourself you can use the function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;player:target_NPC( npc_name );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you have to create a waypoint file, which leads your character to the repair NPC&lt;br /&gt;
&lt;br /&gt;
e.g. '5-7_bugs_repair.xml'&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;waypoints&amp;gt;&lt;br /&gt;
   &amp;lt;!-- Thats a demo to interact with the NPC Tracy                         --&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 1 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12282&amp;quot; z=&amp;quot;11183&amp;quot;&amp;gt;&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 2 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12391&amp;quot; z=&amp;quot;10982&amp;quot;&amp;gt;&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 3 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12529&amp;quot; z=&amp;quot;10941&amp;quot;&amp;gt;&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 4 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-808&amp;quot; z=&amp;quot;-6067&amp;quot;&amp;gt;&lt;br /&gt;
		player:merchant(&amp;quot;Tracy&amp;quot;);&lt;br /&gt;
		load_paths(&amp;quot;5-7_bugs_repair_back&amp;quot;);&lt;br /&gt;
   &amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/waypoints&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
The bot will use the waypoint file '5-7_bugs_repair_back' to find back the way to the original boting place.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You now have to insert some code into your boting waypoint file (in this example into the file '5-7_bugs.xml'), to give the bot the information when to repair. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use a Durability Based AutoRepair =&lt;br /&gt;
&lt;br /&gt;
It could be based on the duration of your items:&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;!-- #  1 --&amp;gt;&amp;lt;waypoint x=&amp;quot;13752&amp;quot; z=&amp;quot;6726&amp;quot;&amp;gt;&lt;br /&gt;
	if( player.free_flag1 == true ) then &lt;br /&gt;
		player.free_flag1 = false; &lt;br /&gt;
		loadPaths(&amp;quot;5-7_bugs_repair.xml);&lt;br /&gt;
	end&lt;br /&gt;
	&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you see, we don't check the duration directly in the waypoint file. Simply because the duration is dependent from your armor and by that, dependend from your character. Hence we check the duration in our characters profile and set just a flag, if we should go for repairing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;onLeaveCombat&amp;gt;&lt;br /&gt;
	local dura = inventory:getMainHandDurability();&lt;br /&gt;
	printf(&amp;quot;Durability:%s\n&amp;quot;, dura);&lt;br /&gt;
	if( dura &amp;amp;lt; 0.9 ) then&lt;br /&gt;
		player.free_flag1 = true;&lt;br /&gt;
	end&lt;br /&gt;
&amp;lt;/onLeaveCombat&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use a Time Based AutoRepair =&lt;br /&gt;
&lt;br /&gt;
It could be fight based:&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;	&amp;lt;!-- #16 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12364&amp;quot; z=&amp;quot;10939&amp;quot;&amp;gt;&lt;br /&gt;
	if( player.Fights-player.free_counter1 &amp;gt; 300 ) then&lt;br /&gt;
		player.free_counter1 = player.Fights;&lt;br /&gt;
		load_paths(&amp;quot;5-7_bugs_repair.xml&amp;quot;);&lt;br /&gt;
	end&lt;br /&gt;
	&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use a Time Based AutoRepair =&lt;br /&gt;
&lt;br /&gt;
or time based;&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;	&amp;lt;!-- #16 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12364&amp;quot; z=&amp;quot;10939&amp;quot;&amp;gt;&lt;br /&gt;
	if(player.free_counter1 == 0) then player.free_counter1 = os.time(); end;&lt;br /&gt;
	if( os.difftime(os.time(), player.free_counter1) &amp;gt; 3600 )	&lt;br /&gt;
		player.free_counter1 = player.BotStartTime_nr;&lt;br /&gt;
		load_paths(&amp;quot;5-7_bugs_repair.xml&amp;quot;);&lt;br /&gt;
	end&lt;br /&gt;
	&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also could combine some of that methods.&lt;br /&gt;
&lt;br /&gt;
= Auto Sell at the merchant NPC =&lt;br /&gt;
There are some expert options for your profile if you want to automaticly sale items to the merchant NPC.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;padding: 8px;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_ENABLE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Allows you to enable or disable the Auto Sell function. Valid values are true|false..&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_FROMSLOT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Starting bagslot for autosell.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_TOSLOT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Ending bagslot for autosell.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_QUALITY&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Enter the item qualities you want to sell. Recommended value is &amp;quot;white, green&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_IGNORE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Enter items names or part of the names of items, you don't want to sell. You can enter more than one item. Use commata as delimites.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Use the normal 'player:merchant()' function in your waypoint file to autosale your items.&lt;/div&gt;</summary>
		<author><name>95.115.30.244</name></author>	</entry>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Auto_repair&amp;diff=315</id>
		<title>RoM Auto repair</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Auto_repair&amp;diff=315"/>
				<updated>2009-10-14T23:24:42Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.30.244: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Auto Repair at the merchant NPC =&lt;br /&gt;
&lt;br /&gt;
For using the autorepair ingame, you need normaly to press the 'repair' button. You can install the ingame addon [http://rom.curse.com/downloads/rom-addons/details/streamline.aspx Streamline]. Streamline will automaticly repair if you open a dialog window with a merchant and it will automaticly deliver quests, if you open a dialog with a quest NPC.&lt;br /&gt;
&lt;br /&gt;
You can also doing that by using the function&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;player:merchant( npc_name );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It will try to target the nearest NPC's and find the NPC by name. After that, the bot will open the dialog window, autorepair and buy consumables depending from your profile options. It will also work while using multiple bots.&lt;br /&gt;
&lt;br /&gt;
If you only want to target a NPC and do the further stuff by yourself you can use the function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;player:target_NPC( npc_name );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you have to create a waypoint file, which leads your character to the repair NPC&lt;br /&gt;
&lt;br /&gt;
e.g. '5-7_bugs_repair.xml'&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;waypoints&amp;gt;&lt;br /&gt;
   &amp;lt;!-- Thats a demo to interact with the NPC Tracy                         --&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 1 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12282&amp;quot; z=&amp;quot;11183&amp;quot;&amp;gt;&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 2 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12391&amp;quot; z=&amp;quot;10982&amp;quot;&amp;gt;&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 3 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12529&amp;quot; z=&amp;quot;10941&amp;quot;&amp;gt;&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
	&amp;lt;!-- # 4 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-808&amp;quot; z=&amp;quot;-6067&amp;quot;&amp;gt;&lt;br /&gt;
		player:merchant(&amp;quot;Tracy&amp;quot;);&lt;br /&gt;
		load_paths(&amp;quot;5-7_bugs_repair_back&amp;quot;);&lt;br /&gt;
   &amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/waypoints&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
The bot will use the waypoint file '5-7_bugs_repair_back' to find back the way to the original boting place.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You now have to insert some code into your boting waypoint file (in this example into the file '5-7_bugs.xml'), to give the bot the information when to repair. &lt;br /&gt;
&lt;br /&gt;
It could be based on the duration of your items:&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;!-- #  1 --&amp;gt;&amp;lt;waypoint x=&amp;quot;13752&amp;quot; z=&amp;quot;6726&amp;quot;&amp;gt;&lt;br /&gt;
	if( player.free_flag1 == true ) then &lt;br /&gt;
		player.free_flag1 = false; &lt;br /&gt;
		loadPaths(&amp;quot;5-7_bugs_repair.xml);&lt;br /&gt;
	end&lt;br /&gt;
	&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you see, we don't check the duration directly in the waypoint file. Simply because the duration is dependent from your armor and by that, dependend from your character. Hence we check the duration in our characters profile and set just a flag, if we should go for repairing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;onLeaveCombat&amp;gt;&lt;br /&gt;
	local dura = inventory:getMainHandDurability();&lt;br /&gt;
	printf(&amp;quot;Durability:%s\n&amp;quot;, dura);&lt;br /&gt;
	if( dura &amp;amp;lt; 0.9 ) then&lt;br /&gt;
		player.free_flag1 = true;&lt;br /&gt;
	end&lt;br /&gt;
&amp;lt;/onLeaveCombat&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It could be fight based:&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;	&amp;lt;!-- #16 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12364&amp;quot; z=&amp;quot;10939&amp;quot;&amp;gt;&lt;br /&gt;
	if( player.Fights-player.free_counter1 &amp;gt; 300 ) then&lt;br /&gt;
		player.free_counter1 = player.Fights;&lt;br /&gt;
		load_paths(&amp;quot;5-7_bugs_repair.xml&amp;quot;);&lt;br /&gt;
	end&lt;br /&gt;
	&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or time based;&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;	&amp;lt;!-- #16 --&amp;gt;&amp;lt;waypoint x=&amp;quot;-12364&amp;quot; z=&amp;quot;10939&amp;quot;&amp;gt;&lt;br /&gt;
	if(player.free_counter1 == 0) then player.free_counter1 = os.time(); end;&lt;br /&gt;
	if( os.difftime(os.time(), player.free_counter1) &amp;gt; 3600 )	&lt;br /&gt;
		player.free_counter1 = player.BotStartTime_nr;&lt;br /&gt;
		load_paths(&amp;quot;5-7_bugs_repair.xml&amp;quot;);&lt;br /&gt;
	end&lt;br /&gt;
	&amp;lt;/waypoint&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also could combine some of that methods.&lt;br /&gt;
&lt;br /&gt;
= Auto Sell at the merchant NPC =&lt;br /&gt;
There are some expert options for your profile if you want to automaticly sale items to the merchant NPC.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;padding: 8px;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_ENABLE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Allows you to enable or disable the Auto Sell function. Valid values are true|false..&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_FROMSLOT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Starting bagslot for autosell.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_TOSLOT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Ending bagslot for autosell.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_QUALITY&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Enter the item qualities you want to sell. Recommended value is &amp;quot;white, green&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | INV_AUTOSELL_IGNORE&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Enter items names or part of the names of items, you don't want to sell. You can enter more than one item. Use commata as delimites.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Use the normal 'player:merchant()' function in your waypoint file to autosale your items.&lt;/div&gt;</summary>
		<author><name>95.115.30.244</name></author>	</entry>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Custom_Scripting&amp;diff=314</id>
		<title>RoM Custom Scripting</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Custom_Scripting&amp;diff=314"/>
				<updated>2009-10-14T23:18:25Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.30.244: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[RoM Heal Yourself|How To: Heal yourself with the Bot]]&lt;br /&gt;
* [[RoM Harvest|How To: Harvest]]&lt;br /&gt;
* [[RoM Leveling|How To: Automatic Leveling e.g. Level 1-10]] - Connect waypoint files, level up skills, open bags and equipt items&lt;br /&gt;
* [[RoM Working with waypoint files|How to work with waypoint files]]&lt;br /&gt;
* [[RoM Auto repair|How To: Auto Repair and Auto Sell]]&lt;br /&gt;
* [[RoM Click in foreground|How to use mouseclick on foreground window]]&lt;/div&gt;</summary>
		<author><name>95.115.30.244</name></author>	</entry>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Custom_Scripting&amp;diff=313</id>
		<title>RoM Custom Scripting</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Custom_Scripting&amp;diff=313"/>
				<updated>2009-10-14T23:17:56Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.30.244: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[RoM Heal Yourself|How To: Heal yourself with the Bot]]&lt;br /&gt;
* [[RoM Harvest|How To: Harvest]]&lt;br /&gt;
* [[RoM Leveling|How To: Automatic Leveling e.g. Level 1-10]] - Connect waypoint files, level up skills, open bags and equipt items&lt;br /&gt;
* [[RoM Working with waypoint files|How to work with waypoint files]]&lt;br /&gt;
* [[RoM Auto repair|How To: Auto repair]]&lt;br /&gt;
* [[RoM Click in foreground|How to use mouseclick on foreground window]]&lt;/div&gt;</summary>
		<author><name>95.115.30.244</name></author>	</entry>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Bot&amp;diff=312</id>
		<title>RoM Bot</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Bot&amp;diff=312"/>
				<updated>2009-10-14T23:17:30Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.30.244: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[RoM Getting started|Getting started]] - Download the installation files and run the demo&lt;br /&gt;
* [[RoM Configuration|Configuration]] - Configure the RoM bot to your needs&lt;br /&gt;
* [[RoM Waypoinf files|Waypoint files]] - Working with waypoint files&lt;br /&gt;
* [[RoM Functions|Functions]] - List of functions you can use in your own profile events and waypoint files.&lt;br /&gt;
* [[RoM Variables|Variables]] - List of important variables you can use in your own profile events and waypoint files.&lt;br /&gt;
* [[RoM Custom Scripting|Examples &amp;amp; Tutorials]] - Learn how to do various tasks with the RoM Bot.&lt;br /&gt;
* [[RoM Troubleshooting|Troubleshooting]] - How you can help yourself if you get problems.&lt;/div&gt;</summary>
		<author><name>95.115.30.244</name></author>	</entry>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Troubleshooting&amp;diff=311</id>
		<title>RoM Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Troubleshooting&amp;diff=311"/>
				<updated>2009-10-14T23:17:01Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.30.244: New page: = Debugging options = There are some special profile options to print out some debugging messages. Please enter that options in your profile e.g.:   &amp;lt;option name=&amp;quot;DEBUG_TARGET&amp;quot;		value=&amp;quot;tru...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Debugging options =&lt;br /&gt;
There are some special profile options to print out some debugging messages. Please enter that options in your profile e.g.:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;option name=&amp;quot;DEBUG_TARGET&amp;quot;		value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|- style=&amp;quot;padding: 8px;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width: 200px; border-bottom:1px dotted #000000;&amp;quot; | DEBUG_TARGET&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Print out some targeting informations.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | DEBUG_LOOT&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Print out messages why we don't loot.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | DEBUG_INV&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Printout messages about the inventory update process.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | DEBUG_HARVEST&lt;br /&gt;
| style=&amp;quot;border-bottom:1px dotted #000000;&amp;quot; | Print out some messages about the harvesting process.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>95.115.30.244</name></author>	</entry>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Bot&amp;diff=310</id>
		<title>RoM Bot</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Bot&amp;diff=310"/>
				<updated>2009-10-14T23:12:13Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.30.244: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[RoM Getting started|Getting started]] - Download the installation files and run the demo&lt;br /&gt;
* [[RoM Configuration|Configuration]] - Configure the RoM bot to your needs&lt;br /&gt;
* [[RoM Waypoinf files|Waypoint files]] - Working with waypoint files&lt;br /&gt;
* [[RoM Functions|Functions]] - List of functions you can use in your own profile events and waypoint files.&lt;br /&gt;
* [[RoM Variables|Variables]] - List of important variables you can use in your own profile events and waypoint files.&lt;br /&gt;
* [[RoM Custom Scripting|Examples &amp;amp; Tutorials]] - Learn how to do various tasks with the RoM Bot.&lt;br /&gt;
* [[RoM Troubleshooting|Troubleshooting]] - How you can help yourselfe if you get problems.&lt;/div&gt;</summary>
		<author><name>95.115.30.244</name></author>	</entry>

	</feed>