<?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.19.221</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.19.221"/>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php/Special:Contributions/95.115.19.221"/>
		<updated>2026-06-09T16:44:16Z</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=309</id>
		<title>RoM Configuration</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Configuration&amp;diff=309"/>
				<updated>2009-10-11T23:07:02Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.19.221: /* Profile - Skills */&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;
 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.19.221</name></author>	</entry>

	<entry>
		<id>https://www.solarstrike.net/wiki/index.php?title=RoM_Functions&amp;diff=308</id>
		<title>RoM Functions</title>
		<link rel="alternate" type="text/html" href="https://www.solarstrike.net/wiki/index.php?title=RoM_Functions&amp;diff=308"/>
				<updated>2009-10-11T22:13:24Z</updated>
		
		<summary type="html">&lt;p&gt;95.115.19.221: /* Player Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General Functions ==&lt;br /&gt;
      loadPaths( [path] [,returnpath] );&lt;br /&gt;
Load a new waypoint file and if available the default return path to that file. e.g. 'loadPaths(&amp;quot;l7-9&amp;quot;);' will load the waypoint path 'l7-9.xml' and if available the return path 'l7-9_return.xml'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 changeProfileOption(_option, _value);&lt;br /&gt;
change profile options and print values in MM protocol&lt;br /&gt;
&lt;br /&gt;
 levelupSkill(_skillname [, _times] )&lt;br /&gt;
&lt;br /&gt;
Levelup a Single Skill by Name. For the skillname look into the file /database/skills.xml. You can use that function only for skill, which have maintent the skilltab and skillnum values within the skills.xml entry. If the don't have that values, please look yourself for them and use the manual way. &lt;br /&gt;
&lt;br /&gt;
 levelupSkills1To10( [&amp;quot;loadonly&amp;quot;] );&lt;br /&gt;
&lt;br /&gt;
That function will levelup a internal given selection of useful skills on your way from 1-10. The selection of the skills is hard coded within functions.lua. That function will also load the skill into your profile skill list and use that skill via the MACRO function. If you restart the bot and want also want to use that skills and don't want to enter them manual into the profile skill list, then just use that function with the parameter 'loadonly' within the onLoad event: &lt;br /&gt;
&lt;br /&gt;
 openGiftbags1To10( [[_player_level] , _maxslot] );&lt;br /&gt;
open the level 1-10 giftbags and equipt the items.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 addMessage( message );&lt;br /&gt;
Send a message to the ingame system chat channel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;RoMScript( _script );&lt;br /&gt;
&lt;br /&gt;
 example:&lt;br /&gt;
 local ret1, ret2 = RoMScript( &amp;quot;GetPlayerWorldMapPos();&amp;quot; );&amp;lt;/source&amp;gt;&lt;br /&gt;
Send a macro to the client and execute it ingame by pressing the MACRO hotkey. There are up to 10 return       values possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sendMacro( _script );&lt;br /&gt;
Same as &amp;quot;RoMScript. Additionally you will see a message in the MM window.&lt;br /&gt;
&lt;br /&gt;
== Player Functions ==&lt;br /&gt;
      player:harvest([&amp;quot;test&amp;quot;|id]);&lt;br /&gt;
Use 'player:harvest()' to scan that waypoint for a harverst node and harvest that (at the moment only working if the RoM window is in foreground). Use 'player:harvest(&amp;quot;test&amp;quot;)' to list id's of objects in front of you (e.g. quest objects), use 'player:harvest(id-nr)' to scan and use/open a object with that given object-id.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
      player:restrnd([probability [, minrest [, maxrest]]]);&lt;br /&gt;
e.g. 'player:restrnd(30, 3, 10);' Rest with a probability from 30% at that waypoint for between 3 and 10 seconds. The bot will fight back if attacked while resting and continue after that. Similar functions are 'stopPE()' and 'player:sleep()'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
      player:rest( minrest [, maxrest[, time|full[, restaddrnd]]]);&lt;br /&gt;
&lt;br /&gt;
minrest ( min time to rest in sec)&lt;br /&gt;
maxrest ( max time to in sec)&lt;br /&gt;
resttype ( time | full ) time = rest the given time | full = stop resting after being full / default = time&lt;br /&gt;
restaddrnd ( max random addition after being full in sec)&lt;br /&gt;
&lt;br /&gt;
If using type 'full', the bot will only rest if HP or MP is below a defined level. You define that level in your profile with the options:&lt;br /&gt;
Code:&lt;br /&gt;
      &amp;lt;option name=&amp;quot;HP_REST&amp;quot; value=&amp;quot;15&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;option name=&amp;quot;MP_REST&amp;quot; value=&amp;quot;15&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default value if not defined is 15% each.&lt;br /&gt;
&lt;br /&gt;
      examples:&lt;br /&gt;
      player:rest(20) will rest for 20 seconds.&lt;br /&gt;
      player:rest(60, 20) will rest between 60 and 80 seconds.&lt;br /&gt;
      player:rest(90, 40, &amp;quot;full&amp;quot;) will rest up to between 90 and 130 seconds, and stop resting if being full&lt;br /&gt;
      player:rest(90, 40, &amp;quot;time&amp;quot;) will rest up to between 90 and 130 seconds, and not stop resting if being full&lt;br /&gt;
      player:rest(20, 40, &amp;quot;full, 20&amp;quot;) will rest up to between 20 and 60 seconds, and stop resting if being full, and wait after that between 1-20 seconds&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
      player:sleep();&lt;br /&gt;
Pause the bot at that waypoint in a sleep mode. The bot will still fight back attackers and sleep again after doing that. Press DEL if you want to continue. Similar functions are 'player.restrnd()' and 'stopPE()'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
      player:logout([true]);&lt;br /&gt;
Logout from RoM. With 'player:logout(true)' you will also shutdown your pc after loging out.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
      player:mouseclickL(x, y [RoM window wide, RoM window high]);&lt;br /&gt;
Left click a screen point and by that, interact with a NPC. x, y is relative to the RoM window. So it is your fiddly task to find the right values to click the right buttons. Remember the RoM windows size for that click positions. By doing that, we can later recalculate the mouse click points if we run the bot in a different RoM windows size.&lt;br /&gt;
&lt;br /&gt;
== Inventory and Item Functions ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Waypoint File Functions ==&lt;br /&gt;
&lt;br /&gt;
      __WPL:reverse();&lt;br /&gt;
Resort the waypoints. Means after running from 1 to 20 you can now run from 20 - 1. It is usefull to put that at the first and at the last waypoint if you want to run between two places.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
      __WPL:setForcedWaypointType( [[&amp;quot;NORMAL&amp;quot;] | [&amp;quot;TRAVEL&amp;quot;] | [&amp;quot;RUN&amp;quot;]]);&lt;br /&gt;
Set a forced waypoint type. The waypoint type overwrites the type settings within the waypoint file. The forced waypoint type is valid until you load a new waypoint file or you call the function '__WPL:setForcedWaypointType();' without argument.&lt;br /&gt;
&lt;br /&gt;
== Using of RoM API Functions ==&lt;br /&gt;
With the function sendMacro() or RoMScript() we can submit macros to the RoM API. Here some important API functions you can use:&lt;br /&gt;
&lt;br /&gt;
 sendMacro(&amp;quot;SetSpellPoint( 4, 2 );&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
Levelup a skill. First number is the tab (1=general, 2=general class skills, 4=only primary class skills). Second number is the number of the skill at the tab. You can test the numbers by entering following macro ingame:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;/script _SkillName=GetSkillDetail(4,3); SendSystemChat(_SkillName);&amp;lt;/source&amp;gt;That will print you the name of the given skill into the ingame system chat.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 /script SendSystemChat(tonumber(string.sub(GetBagItemLink(GetBagItemInfo(1)), 8, 12), 16));&lt;br /&gt;
Print the itemid of slot-nr 1 into the system chat. Change the slot number to the item you want to get informations about or move that item to slot #1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sendMacro(&amp;quot;GetBagItemCount(&amp;quot;..itemid..&amp;quot;)&amp;quot;)&lt;br /&gt;
Get back the quantity of an givem item ID in your bags.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 occupiedSlots, totalSlots = sendMacro(&amp;quot;GetBagCount();&amp;quot;);&lt;br /&gt;
Get back the number of total slots in your bag and the number of the occupied slot in your bag.&lt;/div&gt;</summary>
		<author><name>95.115.19.221</name></author>	</entry>

	</feed>