This update fixes some critical bugs, improves behavior for many functions, and adds the Map.MoveItem() and Self.UseBed() functions to the Scripter.
Changelog:
Code:v3.0.5
Added the "Use on Self" option to the Looter.
Added Map.MoveItem() to the Scripter.
Parameters
xfrom: source x coordinate of the item.
yfrom: source y coordinate of the item.
xto: destination x coordinate of the item.
yto: destination y coordinate of the item.
count: (Optional) If the item is stackable, the amount to move (defaults to all).
Returns: 1 if success, 0 if failure.
Notes: Can only move items on the same floor.
Usage: Map.MoveItem(source.x, source.y, dest.x, dest.y, 100)
Added Self.UseBed() to the Scripter.
Parameters
x, y, z: the location of the bed.
mode: the offline training mode to select. Acceptable inputs are:
TRAINING_SWORD
TRAINING_AXE
TRAINING_CLUB
TRAINING_DIST
TRAINING_MAGIC
Returns: 1 if success, 0 if failure.
Usage: Self.UseBed(x, y, z, TRAINING_SWORD)
Fixed a bug which cause the Replace/Skip Script loading dialog to appear blank and crash upon interation.
Fixed a bug which made people with non-ASCII characters in their "My Documents" path unable to use the bot. The bot will now default to C:noBot\ in these cases.
Removed "Ectoplasmic Sushi" from the list of edible items.
Modified the Replace/Skip Script loading dialog, it is now wider.
Modified the way XenoBot resets data. Instead of resetting upon log out, the following data points will only reset if you switch characters:
Most Taken Damage
Most Dealt Damage
Last Target Name (Hold target will not obey here)
Last Exivad Name
Last Followed Name
Killed Creature Counts
Recent Loot
Improved Scripter Modules and TIMER_TICK events. These events will no longer pile up in queue, making wait() safe to use.
Improved Hold Target. It will now use intelligent behavior to prevent unintended white skulls.
If the target did not have a skull when manually attacked, Hold Target will have no discretion.
If the target did have a skull when manually attacked, Hold Target will stop attacking if the target enters an unjustifiable kill state.
Improved Targeting. It is a bit easier on CPU, especially when Hold Target is enabled.
For download and operation instructions, refer back to this thread:
http://forums.xenobot.net/showthread.php?19