RoM Configuration

From SolarStrike wiki
Revision as of 01:13, 21 August 2009 by 84.249.165.199 (talk) (Profile - Options)
Jump to: navigation, search

There are two main settings files for RoM bot: settings.xml and your profile. Profiles contain character-specific settings, while settings.xml contains hotkey settings and general preferences.

Settings.xml

Here is an example settings file:

<settings>
	<hotkeys>
		<!-- Cannot use modifiers -->
		<hotkey description="MOVE_FORWARD" key="VK_W" modifier="" />
		<hotkey description="MOVE_BACKWARD" key="VK_S" modifier="" />
		<hotkey description="ROTATE_LEFT" key="VK_A" modifier="" />
		<hotkey description="ROTATE_RIGHT" key="VK_D" modifier="" />
		<hotkey description="STRAFF_LEFT" key="VK_Q" modifier="" />
		<hotkey description="STRAFF_RIGHT" key="VK_E" modifier="" />
		<hotkey description="JUMP" key="VK_SPACE" modifier="" />

		<hotkey description="TARGET" key="VK_TAB" modifier="" />
		<hotkey description="TARGET_FRIEND" key="VK_J" modifier="" />
	</hotkeys>

	<options>
		<option name="ENABLE_FIGHT_SLOW_TURN" value="false" />
		<option name="MELEE_DISTANCE" value="45" />
		<option name="LANGUAGE" value="english" />
		<option name="DEBUG_ASSERT" value="true" />
	</options>
</settings>

Settings - Hotkeys

The hotkey settings are mostly self-explanatory. MOVE_FORWARD, obviously, coresponds to the key that makes your character walk forward. This is "W" by default. Note that all keys must preceeded by 'VK_'.

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("").

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.

Settings - Options

ENABLE_FIGHT_SLOW_TURN Allows you to enable or disable "slow turning" in combat. If you have click-to-move on, you should not need this. It should be set to either "true" or "false". The default is "false".
MELEE_DISTANCE 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: "45".
LANGUAGE Allows you to set your prefered language. Acceptable values are "english", "deutsch", and "french".
DEBUG_ASSERT This is a debugging option. When set to true, it will instantly exit on memory read errors and provide better debugging information. Default: "false".


Character Profiles

There are a few things you should know about character profiles first:

  • They typically are named after the character that will use them
  • They must be inside the 'rom/profiles' folder
  • They must follow proper XML formatting
  • They may contain custom Lua code

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.

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.

Profile - Options

Healing and Potions
HP_LOW The percentage of health to use heal skills at
HP_LOW_POTION The percentage of health to use potions at
MP_LOW_POTION The percentage of mana to use mana potions at


Combat Options
COMBAT_TYPE Either "melee" or "ranged". Whichever best fits your character. Default: empty string (""). When unset (default), it will determine this automatically based on your class. There is no need to change this.
COMBAT_RANGED_PULL Whether or not to attempt to "pull" enemies towards you with ranged skills while you are a melee-based class
COMBAT_DISTANCE The distance to remain at when fighting. This only affects your character when COMBAT_TYPE is "ranged".
MAX_FIGHT_TIME If you stop damaging a target within this amount of time, you will skip this target (prevents getting stuck).
DOT_PERCENT Only use DOTs on this target if it has more than this percentage of HP.
ANTI_KS Whether or not to avoid stealing other players' kills. true or false.
RES_AUTOMATIC_AFTER_DEATH Resurrect automatically after you have died.


Waypoint and Movement
WAYPOINTS The filename (including .xml extension) of the waypoint script to use. Must reside in the 'waypoints' folder!
RETURNPATH The filename (including .xml extension) of the waypoint script to use for returning after death. Must reside in the 'waypoints' folder!
PATH_TYPE The type of movement to use. Should be either 'waypoints' or 'wander'. See path types for more information.
WANDER_RADIUS The distance that your character is allowed to "wander" freely when using wander mode.
WAYPOINT_DEVIATION 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.
QUICK_TURN 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.


Level Difference
TARGET_LEVELDIF_ABOVE 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.
TARGET_LEVELDIF_BELOW 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.