Difference between revisions of "RoM Configuration"
(→Profile - Options) |
(→Profile - Options) |
||
Line 68: | Line 68: | ||
===Profile - Options=== | ===Profile - Options=== | ||
{| | {| | ||
− | |- style=" | + | |- |
+ | | style="background-color: #C0C0FF; text-align: center;" | '''Healing and Potions''' | ||
+ | | | ||
+ | |- | ||
| style="width: 200px; border-bottom:1px dotted #000000;" | HP_LOW | | style="width: 200px; border-bottom:1px dotted #000000;" | HP_LOW | ||
| style="border-bottom:1px dotted #000000;" | The percentage of health to use heal skills at | | style="border-bottom:1px dotted #000000;" | The percentage of health to use heal skills at | ||
Line 75: | Line 78: | ||
| style="border-bottom:1px dotted #000000;" | The percentage of health to use potions at | | style="border-bottom:1px dotted #000000;" | The percentage of health to use potions at | ||
|- | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | MP_LOW_POTION | ||
+ | | style="border-bottom:1px dotted #000000;" | The percentage of mana to use mana potions at | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| | ||
+ | | style="background-color: #C0C0FF; text-align: center;" | '''Combat Options''' | ||
+ | | | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | COMBAT_TYPE | ||
+ | | style="border-bottom:1px dotted #000000;" | 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. | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | COMBAT_RANGED_PULL | ||
+ | | style="border-bottom:1px dotted #000000;" | Whether or not to attempt to "pull" enemies towards you with ranged skills while you are a melee-based class | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | COMBAT_DISTANCE | ||
+ | | style="border-bottom:1px dotted #000000;" | The distance to remain at when fighting. This only affects your character when COMBAT_TYPE is "ranged". | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | MAX_FIGHT_TIME | ||
+ | | style="border-bottom:1px dotted #000000;" | If you stop damaging a target within this amount of time, you will skip this target (prevents getting stuck). | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | DOT_PERCENT | ||
+ | | style="border-bottom:1px dotted #000000;" | Only use DOTs on this target if it has more than this percentage of HP. | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | ANTI_KS | ||
+ | | style="border-bottom:1px dotted #000000;" | Whether or not to avoid stealing other players' kills. true or false. | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| | ||
+ | |- | ||
+ | | style="background-color: #C0C0FF; text-align: center;" | '''Waypoint and Movement''' | ||
+ | | | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | WAYPOINTS | ||
+ | | style="border-bottom:1px dotted #000000;" | The filename (including .xml extension) of the waypoint script to use. Must reside in the 'waypoints' folder! | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | RETURNPATH | ||
+ | | style="border-bottom:1px dotted #000000;" | The filename (including .xml extension) of the waypoint script to use for returning after death. Must reside in the 'waypoints' folder! | ||
+ | |- | ||
+ | |||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | PATH_TYPE | ||
+ | | style="border-bottom:1px dotted #000000;" | The type of movement to use. Should be either 'waypoints' or 'wander'. See path types for more information. | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | WANDER_RADIUS | ||
+ | | style="border-bottom:1px dotted #000000;" | The distance that your character is allowed to "wander" freely when using wander mode. | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | WAYPOINT_DEVIATION | ||
+ | | style="border-bottom:1px dotted #000000;" | 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. | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | QUICK_TURN | ||
+ | | style="border-bottom:1px dotted #000000;" | 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. | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| | ||
+ | |- | ||
+ | | style="background-color: #C0C0FF; text-align: center;" | '''Level Difference''' | ||
+ | | | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | TARGET_LEVELDIF_ABOVE | ||
+ | | style="border-bottom:1px dotted #000000;" | 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. | ||
+ | |- | ||
+ | | style="width: 200px; border-bottom:1px dotted #000000;" | TARGET_LEVELDIF_BELOW | ||
+ | | style="border-bottom:1px dotted #000000;" | 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. | ||
|} | |} |
Revision as of 21:18, 20 August 2009
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.
Contents
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. |
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. |