Page 1 of 16

VG Bots - B-Bot 1.3

Posted: February 28th, 2007, 2:14 pm
by binafus
B-Bot 1.3 - Will be the Main Bot program with hopes of support all classes.

The only thing that should need to be set by inside the B-Bot 1.3 is make sure it is calling the class script you are wanting to run.
If you wanted to run the Rogue one you would make sure the line
RunScript "B-Rogue 1.3.vbs"
Is uncommented and any other class files are commented.

The first time you run this bot please this run it with the harvesting and waypoints off it will stand still and kill.

Then you can turn them on after everything working and setup.

You must have the following Keys bound in Vanguard
Forward = w
Turn Left = a
Turn Right = d

Loot Macro Which is on ALT-1
/lootall
/TargetNextCorpse

Harvest Macro which is on ALT-2
/targetnextnode
/autoattack

It currently does the following.

Finds Valid Mobs to kill

Loots Mobs

Buffs up to 6 – 60 Minute Buffs and 1 – 15 Minute Buff

Harvest Nodes

Skips mobs due to dot count

Harvest Mobs

Use Waypoints

Log out of the game on a tell with an exclude list to ignore

Control Box - Soon as the box pops up drag it down below Vanguard
Pause - Pauses the Bot
UnPause - Unpause the Bot
Show Exp - Shows exp


Avoid Players
Stealth and Runs Waypoints


Some of the bigger problems ATM.

Control box needs some more work very early stage.
I would suggest leaving a space at the bottom of your Vanguard Window and once the bot is running drag the Control box below the Vanguard window.

Avoid Players is going to have to be updated for classes with no stealth or invis.

Mobs with LOS problems need a better way to handle them.

Posted: February 28th, 2007, 3:51 pm
by hollowman11
Very nice! Everything is working perfect so far, the only problem I am having is my char going all the way to the waypoint. I put 2 waypoints in and when he goes to the second one he stops a little less than half way to look for targets, then when he cant find any he turns back around and goes to the first waypoint. What can I do to make sure he goes all the way to the 2nd waypoint?

Posted: February 28th, 2007, 4:07 pm
by binafus
ATM the bot will not stop and fight if it gets attacked.

It has a max time it will run before stopping it is set by Const WALK = 6000

Your waypoints are further apart than it can run in that amount of time.

So you can raise the WALK = 6000 to 12000 and it will go twice as far as it is going now.

The problem you might run into is gettng attacked by a mob before you get to the second waypoint and loosing too much health before you reach it.

Or you can add more waypoints closer together.

I will be working on this problem with a few other ideas I have to make it better, it wil be a few days before I get to it though.

Posted: February 28th, 2007, 4:28 pm
by hollowman11
Hmm I increased the const WALK to 12000 to see if he went farther distance and he stopped at the same spot and just waited longer before he looked for targets.

Posted: February 28th, 2007, 4:53 pm
by binafus
I noticed last night I put in 20 waypoints and started it up.

It would run through them over and over but not all of them were in the same spots as the waypoints I put in but were somewhat close.

I did not write the part that actually does the movement and tried to edit it and it did not work afterwards.

It also has a problem if you do not have line of sight to a mob which is on the top of the todo list.

Just post whatever other problems you have please.

Posted: March 1st, 2007, 9:08 am
by icerush
Aside from the problems you have already described, the only thing that i have noticed is that I often run out of mana. Not sure how tough it would be to implement a check based on the full mana amount before engaging, but either way its not a major issue.

Thanks alot for your efforts.

Posted: March 1st, 2007, 9:24 pm
by armageddon85
out of memory error? i seem to get alot of these problems.

Posted: March 2nd, 2007, 11:00 am
by icerush
armageddon85 wrote:out of memory error? i seem to get alot of these problems.
Install XUnleashed and lock the registration. That fixed it for me, and others.

Posted: March 2nd, 2007, 5:31 pm
by kumpel100
i problem get to run.

i think i have doing the setup right, now if i hit f5 = skript starting.. thats all it do, cant stop it also STOP didnt work i have to EXIT Exhume complet.
also it didnt search for mobs or something else.

so any idears?
im lvl 12 bloodmage.

Posted: March 3rd, 2007, 6:02 pm
by jelsea
Great bot I love it, it does seem to have a limit of how far away you can make the waypoints, witch isn't a big problem just make a circle, and it runs fine. I do have a coupld sugestions.

On the waypoints if there not in a circle basiclly your char will walk anywhere in the world pretty much, this is because when walking to the waypoints, say your at waypoint 4 and thas your last waypoint, it will then loop and go to waypoint 1 thats a problem cause waypoint 1 is very far away and will not make it, so instead of it trying to go to waypoint 1 how about makeing it so that at the end of the waypoint it does the waypoint in decending order so it will go to waypoint 3 instead of waypoint 1. So the opposite will be the same at waypoint 1 it will go to waypoint 2 ect..

In the script im starting to see a problem of it atacking a target when the mana is too low, so can you add the function of that the char will not move from teh waypoint its at, and will not attack a target till the mana is at max. That is unless the char is being atacked, then the script will fight back.

I was also thinking to decrease the chance of us being reported, can you put in the script that if any PC's are near the script will pause untill the player is no longer near. Of course it won't pause if your fighting something or if you get attacked by something.

Also was thinking about our pet that gives us a dmg buff, be cool to have that in the script that every 15mins it casts our pet and does the pet buff so we have the dmg buff for 15mins.

Also going to need all the bloodmage buffs added to the script, though im sure ya working on that. I love this script.

Ive also noticed that sometimes it trys to loot before the monster is dead, thats probally caused from lag. When this happens it fails to loot.

Posted: March 4th, 2007, 5:41 am
by wyvernx
jelsea, my MoveTo command is very basic at this point. (see navigation.vbs).

To make it run farther, make your own MoveTo function (copy and name it something else) and change the default from 5 seconds to a longer time.

Alternately, you can do this.. and this is alot easier.

Everywhere you have MoveTo called, just callit 2-3 times. Or call it until it returns true. It will return false if it didnt make it to the location.

Posted: March 4th, 2007, 12:52 pm
by jelsea
Actually its alot safer to leave it at 5 secs or you will have like 5 mobs on you if its alot longer. I didn't relize that till I started using the script.

Posted: March 4th, 2007, 4:30 pm
by binafus
I have some of the problems worked on out in the bot now but have not really had much time to work on it.

Probably Tuesday I will have another version up here.

I have not been able to find the mana regein problem that a couple people have said they have had.

I have added the fifteen minute buff.
Invis between pulls so you dont get agro moving as well.
Waypoints from an array you can has as many as you like.
Half way fix for no LOS to mob.
Turn to face a mob that is almost dead that walks through you.
Added the Mental Transmutation line to help get mana back up faster when resting.

If anyone can see something that REALLY needs fixing or added please post it here.

Posted: March 4th, 2007, 7:33 pm
by jelsea
Great going to love the improvements, the only other thing I can see as we need ASAP is for a setting in the script to have the script pause if there are any Players near you. That way if your out levelign with your guild its safe to turn it off, but if by yourself and running the bot it might be a good idea to turn it on so if anyone is watching you can just have the script stop untill they leave.

Posted: March 5th, 2007, 12:18 am
by black_lotus
anyone have an idear what i must change to use it with my druid or sorcerer?