-
[Update] XenoBot v2.4.2
This update fixes some bugs which arose with the 9.53 update. Additionally, it adds two features which users have been waiting for: the ability to loot creatures as soon as they die and the ability to trade with NPC's.
Changelog:
Code:
v2.4.2
Fixed a bug which caused CTRL+F to freeze the client.
Fixed a bug in Special Areas which caused it to act up at times.
Fixed a few bugs which arose with the Scripter in the last update.
Fixed a bug which caused the Looter to ignore Water Elemental corpses.
Fixed a bug which left the Looter and Targeting parameter editors visible when enabling them via the new Context Menu check boxes.
Modified the Looter to take more time looting bodies, ensuring it doesn't miss anything.
Added "Loot First" and "Loot Last" options to the Looter. They work as follows:
Loot First: This is actual addition. Selecting this allows XenoBot to loot a bodies as soon as they appear instead of continuing to chase a mob.
Loot Last: This is the original way. Selecting this will make XenoBot wait until all opposing creatures are slain before continuing to loot bodies.
Added NPC Trading functionality to the Scripter. The new Lua functions are as follows:
Self.ShopSellItem(item, count)
Self.ShopBuyItem(item, count)
Documentation can be seen below.
NPC Trade Documentation:
The new NPC Trade functions can be invoked by passing either an itemID or an item name, and a count.
PHP Code:
Self.SayToNpc({"Hi", "Trade"}, 65)
wait(900, 1200)
Self.ShopSellItem(285, 1)
wait(200, 500)
Self.ShopSellItem("chain armor", 1)
wait(200, 500)
Self.ShopBuyItem(266, 1)
wait(200, 500)
Self.ShopBuyItem("parcel", 1)
When invoking VIA item name, however, you need to be weary of alike names. Empty potion flasks, for instance, all share a common name and therefore trying to sell them by name can fail depending on which ones you are actually attempting to sell. For items which fall under this condition, use an item ID in order to execute these functions. Furthermore, like most other functions, XenoBot makes sure the action is possible and tells you if it has failed upon execution. If the function returns a value of 1, it has succeeded. If it returns a value of 0 then it has, for one reason or another, failed. Please note that the functions assume the trade window is already open.
For download and operation instructions, refer back to this thread:
http://forums.xenobot.net/showthread.php?19
-
-
is there maybe an option already "buyitemsupto? "
great job anyways!
-
wow!
is it possible to count how many pots you have, then withdraw that amount of money and buy these pots? or not?
-
Self.ShopBuyItem("parcel", 1)
It will buy upto 1 parcel or it will buy 1 parcel everytime when bot is in shop?
-
NPC TRADE. now yep, xeno is growing
-
-
Fucking epic! Good job once again!
-
-