-
[Update] XenoBot v2.8.2
This update fixed a bug with the Trial version and implements some very popularly requested features. It also tweaks the Healer, improving performance in certain situations.
Changelog:
Code:
v2.8.2
Tweaked the Healer
Fixed the Trial version, it should no longer crash when injected.
Added "If Stuck" to Targeting Priority, making it attack the specified creature only if the Walker gets stuck.
Added an "Options" window the the Walker which allows you to select different types of ropes and shovels
Added the following functionality to the Scripter:
Self.UseItemFromEquipment(slot)
Functionality: Uses the item in the specified slot
Parameter: "head", "backpack", etc
Return: 0 if failed, itemID if successful
Self.ShopBuyItemsUpTo(itemID, count)
Functionality: Buys up to X items, taking into account what you already have
Parameters:
itemID: The itemID to purchase
count: The amount to buy up to
Return: 0 if failed, 1 if succeeded
Self.CloseContainers()
Functionality: Closes all open containers
Container:Close()
Functionality: Closes the container which belongs to the calling instance
Below is an example of the new backpack reset functionality. This script will close all containers, open your main backpack, and then open containers 5801, 3253, and 5927 from inside of the main backpack.
[highlight=lua]Self.CloseContainers()
repeat
wait(900)
until (Self.UseItemFromEquipment("backpack") > 0)
wait (1000)
Container.GetFirst():OpenChildren(5801, 3253, 5927)[/highlight]
For download and operation instructions, refer back to this thread:
http://forums.xenobot.net/showthread.php?19
-
Nice one, I'll try it out after ss tomorrow.
-
-
Finnaly nice bp reopener, i wont get stuck anymore while lootning cuz my char wont fail reopening bp anymore :D
-
-
this update is awesome, too bad i cant script for some time.
-
-
-
Thanks man! Great update as always =)
Quick question: Did you find the problem in loadSettings()?
-