View Full Version : [Update] XenoBot v2.8.2
DarkstaR
10-14-2012, 05:54 PM
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:
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.
Self.CloseContainers()
repeat
wait(900)
until (Self.UseItemFromEquipment("backpack") > 0)
wait (1000)
Container.GetFirst():OpenChildren(5801, 3253, 5927)
For download and operation instructions, refer back to this thread:
http://forums.xenobot.net/showthread.php?19
Infernal Bolt
10-14-2012, 06:04 PM
Nice one, I'll try it out after ss tomorrow.
Hendy
10-14-2012, 06:20 PM
Looks Good! Thanks.
kubax36
10-14-2012, 06:54 PM
Finnaly nice bp reopener, i wont get stuck anymore while lootning cuz my char wont fail reopening bp anymore :D
Secret
10-14-2012, 07:09 PM
Great work!
Xongiver
10-14-2012, 07:15 PM
this update is awesome, too bad i cant script for some time.
Forgee
10-14-2012, 07:21 PM
As usual, good job.
Hypn0ticKi11er
10-14-2012, 08:46 PM
Thanks man! Great update as always =)
Quick question: Did you find the problem in loadSettings()?
Yinnlos
10-14-2012, 09:20 PM
awesome <3
Yasir
10-14-2012, 09:45 PM
Auto mount 100% safe??
Hypn0ticKi11er
10-14-2012, 10:03 PM
Auto mount 100% safe??
Safe? It works perfectly but I have no idea what you mean by "safe."
Yasir
10-14-2012, 10:06 PM
Xb in old times have "unsafe" tools like dash.
I have question to DarkstaR: Do you test enough automount, and do you think its safe?
hey everytime i try inject the bot my tibia freezes and crashs any ideas?
maicoln
10-15-2012, 01:08 AM
DarkstaR
If the randomize in checked, this will automatic add a delay?
Cause my problem is the delay, where I hunt I need to use like 4 mps in a row, cause the number of spells I use at same time...
But I got Killed twice cause dont have the amount ot mana...
So my question is:
If the randomize box is unchecked, the delay will be less?
Thanks
Y2Quake
10-15-2012, 01:58 AM
not bad not bad.
AMAZING
nicolasfrias
10-15-2012, 02:03 AM
Nice question bro!
DarkstaR
If the randomize in checked, this will automatic add a delay?
Cause my problem is the delay, where I hunt I need to use like 4 mps in a row, cause the number of spells I use at same time...
But I got Killed twice cause dont have the amount ot mana...
So my question is:
If the randomize box is unchecked, the delay will be less?
Thanks
DarkstaR
10-15-2012, 04:25 AM
@DarkstaR (http://forums.xenobot.net/member.php?u=2)
If the randomize in checked, this will automatic add a delay?
Cause my problem is the delay, where I hunt I need to use like 4 mps in a row, cause the number of spells I use at same time...
But I got Killed twice cause dont have the amount ot mana...
So my question is:
If the randomize box is unchecked, the delay will be less?
Thanks
How is this not obvious? How much longer would it have taken you to uncheck it and see? Longer than it took to post this?
Kingdom
10-15-2012, 04:47 AM
Good job DarkstaR! Everything working great.
LuckyStrike
10-15-2012, 06:28 AM
Looks awesome!
Jakob Miller
10-15-2012, 06:31 AM
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
This +1
dondiablo
10-15-2012, 08:43 AM
Great DarkStar, well done!
maicoln
10-15-2012, 11:38 AM
How is this not obvious? How much longer would it have taken you to uncheck it and see? Longer than it took to post this?
Sorry, but this isnt obvious...
U can imagine the randomize like that:
Use mp below 1000 mana
randomize 3% will do like:
1030 ~~ 970 mana to use it...
But anyways, Thanks for ur answer
cant wait to get net access, really.
kreoo
10-15-2012, 04:52 PM
Great update!
I was wondering if there is list of all functions supported by the scripter along with their description and info such as:
"
OpenChildren(bpID, bpID, ..) - Opens backpacks (bpID) inside your main bp
or
Self. - Class for char information
UseItemFromEquipment(slotID) - uses the item on the specified slotID
"
Well you got the idea, do we have one of those? it would speed up scripting very much!
Thank you!
PunktG
10-15-2012, 05:41 PM
I'm currently working on a list with explanations.
Be patient it will take a few more days.
gl with all this work
im waiting to :)
nacho_125
10-15-2012, 05:45 PM
So i dont know if you guys may have the same problem, but seldomly when my hp goes down enough to use uhp and i need to recharge mana at the same time, it just wont recharge neither the mana nor use the uhp and it will start just poffing hardcore and let the HP go down, anything u guys got to help me that i may be doing wrong?
kreoo
10-15-2012, 06:13 PM
I'm currently working on a list with explanations.
Be patient it will take a few more days.
Rydan That would be great!!! That is what we need at the moment ;D
nato12
10-16-2012, 02:50 PM
nacho_125
what the orden that u got to use pots?
i got:
first rule : HP pots
second rule: mana Pots
so, i guess that is like healing spells, the bot get priority to the first rule.
kubax36
10-16-2012, 06:10 PM
So i dont know if you guys may have the same problem, but seldomly when my hp goes down enough to use uhp and i need to recharge mana at the same time, it just wont recharge neither the mana nor use the uhp and it will start just poffing hardcore and let the HP go down, anything u guys got to help me that i may be doing wrong?
FIRST add uhp and then mana fluid
higher priority spells and potions should be higher on list and lower priority spells and potions should be lower on list. What is so hard with this?
@topic
Darkstar, I cant fucking belive, u made update and i cant find any bugs and problems :D Nice update xD
stefps
10-16-2012, 11:37 PM
idk whats happening in seas south -1 as soon as i go down the walker gets stucked and wont move
Mannow
10-17-2012, 02:24 AM
If you are using map clicks there could be things blocking your path.
This is not (i don't think) a problem with the bot at all, it's most likely the fact you are using map clicks and the path is blocked (parcels, people, monsters etc)
Yes your script may have worked fine for along time, but perhaps people have only just now blocked the path?
Also, if that's the only place you are being stuck, and you are using arrow keys, add some nodes much closer to each other (even if it means 1sqm apart) untill you pass the point at which it is commonly being stuck.
**Sometimes in sections that have 1 sqm paths or small passageways, they can be easily blocked by either players, monsters, or furniture... therefor you should not put your nodes/stand labels inside those paths without first having them appear on your screen... It's just a precaution to approach the smaller paths with closer nodes.. That's just my opinion.
That way you can tell easier exactly where the problem is occuring, because your not going from "x" to "z" your going from "x" to "y" to "z" therefor increasing the chance to isolate the problem**
Bushu
10-17-2012, 11:20 AM
13:03 XenoScript Error:
Script: tarpittRP.lua
Line #: 76
Chunk: ...s\Bushu\Moje dokumenty?XenoBot?Scripts?tarpittRP.lua
Error: attempt to call field 'ShopBuyItemsUpTo' (a nil value)
This is an error with user-input and should not be reported as a bug with XenoBot.
Yes, I have the newest version of XenoBot.
kubax36
10-17-2012, 01:36 PM
13:03 XenoScript Error:
Script: tarpittRP.lua
Line #: 76
Chunk: ...s\Bushu\Moje dokumenty?XenoBot?Scripts?tarpittRP.lua
Error: attempt to call field 'ShopBuyItemsUpTo' (a nil value)
This is an error with user-input and should not be reported as a bug with XenoBot.
Yes, I have the newest version of XenoBot.
Self.ShopBuyItemsUpTo(268, 1000)
its working perfectly
Ogarek
10-17-2012, 09:44 PM
In next update add http://forums.xenobot.net/showthread.php?4075-Screenshots ??
Chopaszek
11-04-2012, 01:38 PM
hey where i can download this version? coz newest sux so much... special areas so bugged
Chopaszek
11-04-2012, 02:06 PM
Rydan Ty so much
Hypn0ticKi11er
11-25-2012, 07:06 AM
Someone forgot to lock the thread =P
Spectrus
11-25-2012, 08:15 AM
Someone forgot to lock the thread =P
So true, right?
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.