What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Source]ArchBot

weitt1

New Member
Joined
Feb 7, 2010
Messages
30
Reaction score
0
I began writing this a while back when AB was pretty terrible, but I half lost interest, half can't work on it as much since winter break ended and I have to keep up with classes.

This bot is not finished enough to run afk. There are still bugs. I was going to continue fixing the bugs and optimizing the code, but AB has become better [at least from reading the patch notes] and there is not a large enough difference to make it worth it.

This is mostly for those interested in writing their own bots, or wanting to create their own private-ish version of AB and NOT for normal-everyday users.

Please give credit where credit is due when using this code.

EDIT: Also, this code may not be the most efficient way to do things either. I generally try and get it to work first, THEN attempt to optimize the code. I was still in the process of working out all the bugs and adding in features.

Code:
/* Arch Bot - By sychotix @ MMOwned.com
 * 
 * Features: Doing archaeology for you
 * 
 * Known Bugs:
 * -Flight is a little "Stop & Go"
 * 
 * -If navigator generates path that goes outside the dig spot, it gives up on the survey and begins roaming.
 * 
 * Path Generation on top of buildings [node].
 * -Use CanNavigateFully to test if its possible to generate a path from my current point (find real height of current position in case flying)
 * --If unable to generate path, attempt to look 5 yards to the right, then left. Repeat until process finds something pathable (max 50, default just fly there)
 * 
 * Roaming path generation may not be working as intended
 * 
 * Stuck Logic
 * 
 * Mounting for short paths
 * -Stop it from mounting if within like 7.5 yards if a druid, 10-15 if otherwise
 * 
 *--Should Be Fixed. Probably can be more optimized however
 * Make roaming pathing more smooth (don't always set to 20)
 * -Wrap it between 20 and 100 instead, going to [height]+-20
 * 
 * Screws with map too much. Try and fix it.
 * -Caused by that LUA thing to find dig spots. Cache them?
 * 
 * Won't do flight pathing if on a building/tree
 * -If unable to generate any path, fly to get there
 * 
 * If In water and tries to cast druid form but can't
 * -Put a isSwimming kinda thing, and use default flying mount
 * 
 * Detection of the archaeology spots is not percise
 * */
 

Attachments

Last edited:
Props to you for this, I hope someone makes good use of it :).
 
Back
Top