Help - Search - Members - Calendar
Full Version: Farming bot by Dragoons
AC Tools Everything Macro > AC Tool Macros > Final Fantasy XI Online
dragoons
Farming bot by Dragoons

Features:
Searches out and attacks either all mobs in an area or specific names
Uses weaponskills
Will nuke mobs or use other special attacks
Cures you
Will sort the inventory while healing and throw away unwanted items
Responds to links and agro

Setup:
Download and extract the zip file into your AC tool macros folder
Make sure that the ffxi_info.dat file is also installed in your AC tool macros folder
Read the farmer_readme.txt file for information on setting up macros and customizing the bot.

If you have questions or suggestions, feel free to post them.

As always, not responsible if this program affects your computer or FFXI account negatively.

WARNING: if the bot targets an npc it will get stuck in a loop so be careful where you start it. Currently working on a fix for this.

<update: added a feature to only rest when your hp or mp is low and solved a bug where using a specialattack would keep the bot in attack mode after the mob is dead.>
sean1976
dry.gif almost make it sound like it has a keylogger the way you said that lol.
Antat
really thx, I've been awhile looking for a farming bot.
Yamdiddle
So, does it really work or is it just a keylogger?
Meepith
My virus scans say it's clean, but someone might want to run it on theirs before they unzip it.
Danstens
Tried this out. Was targeting through mobs, but doesn't move character very well. :/
dragoons
It's not a keylogger lol, sry for the confusion. It should target a mob, /lockon to it and then move towards it for 10 seconds. I have it set for 10 second movement to make sure that it is within range before trying to pull and engage the mob. If it is not moving close enough to the mob, change the 10,000 delay on line 67 of the macro to a higher number and it should work better for you.
Antat
I have problems with targeting, it doesnt target at all
sean1976
and I should clear up that I was not claiming it was a keylogger but was specifically refering to the wording of his disclaimer. I am always wary of file from people I do not know or who do not have very much history with the site but it sounds like people have scanned it without finding anything so I would assume it's clean.
Yamdiddle
One more question. Does FFACT still not work? I checked that official FFACT site last night and there were no downloads available.
vampirequeen
FFACT currently doesnt work, but the makers of it are working on fixing it.
dragoons
Here is how the targeting should work with the farming bot, tell me where the problem seems to go wrong and I'll try to figure it out.

Make sure that the constant mob = none and the bot will attempt to attack any mob that it sees that is not currently engage by another player.

Make sure that your ctrl 1 macro is set to /targetnpc, it uses this command to look for the nearest mob to engage.

If all of that is setup correctly it should keep turning and pressing the ctrl 1 macro until a mob comes in range and then it will engage the target.

Please let me know where the error has occured, is the bot not rotating to try and get a new target, is it not pressing down the /targetnpc macro or is it not engaging the mob after targeting it?
Yamdiddle
Edit: Oh I get it, DTACT is the new FFACT.

So just to make sure, all I need to run the bot is to have AC Tools installed, and put DTACT in the same folder as the bot, right?
drewlt
dragoon's script does not appear to use DTACT

DTACT is similar to FFACT, but is not a new version of it at all.
http://www.ffact.botanybay.net

smile.gif -DT
Pyrolol
Basically DTACT performs many of the things FFACT used to do, but you can't just change all instances of "FFACT" to "DTACT" and expect it to work.

There's a thread on DTACT here. Read it, and the necessary modifications aren't too hard to do.
Yamdiddle
I got some problems. It heals after every attack instead of only healing when it's at lowhp. I copy and pasted that low hp line from the Cure line, but then it just messes up the whole bot. And when it runs over to the targeted monster, sometimes the monster moves right when it gets into attack mode, and it stands there and doesn't move, even after a minute.

Most of the time, after it kills the mob, it tries to do the ranged attack macro and gets an error because nothing is targeted, then it starts auto running for an eternity while using the ranged attack macro every few seconds.

Can anyone help me fix these?
dragoons
As for my macro, it does not use DTACT, I instead chose to use RZN's ffxi_info.dat which you need to download from here: http://forums.cameroncole.com/index.php?showtopic=7779
and install that in the AC Tools macro folder along with this macro.

Yamdiddle here are a few solutions for your problem:
To solve the mob running away when you enter attack mode, I would highly suggest having some way of pulling it by setting pull = 1 in line 16 of the macro and setting a macro to use a ranged attack or a spell to claim the mob in yor ctrl 7 macro.

I have discovered the error with the ranged attack which was in the fighttarget procedure and might have a solution, download the newest version of the bot on the 1st page and try that, it should have solved your problems.

<edited to reflect the new version>
Yamdiddle
Thanks dude, and I'll keep you updated on anymore weird glitches, errors, or strange behaviors I find. I'll be like you're unofficial official macro tester.

Found a few errors, which I fixed by tweaking a few things: Character runs way too long during the lockon and after the ranged attack. Edit: Setting delay to 2000 didnt work as planned. Well it would work if it would repeat the running forward then /ra <t> if the player wouldn't be able to attack the monster for more than 10 seconds . Set the "run backwards" delay to 500-1000 so it'll go back a bit more so the character won't face the wrong way and keep the bot in an eternal loop.

If the character runs too close to the mob before it even tries to pull it the mob might head in a different direction, and then the bot would use a ranged attack, cept it wouldnt work because you wouldn't be facing it, so that's why I shortened the running delay.

Maybe you should add a few things like this: Make the character take a step backwards to adjust its position if ur character is facing the wrong way during battle for too long. Like if ur character doesn't land a hit for 10 seconds, make it take a step backwards. Or just make it take a step backwards every 10 seconds, cuz I mean monsters that you farm shouldn't take more than 20 seconds to kill, so you wouldn't be doing it for too long.

Edit: Figured out how to replace running in circles with just rotating the camera by replacing d with l. Still trying to figure out how to make the /targetnpc go off every second or 2 seconds, instead of every 5+ seconds.

And I wanna throw in one tip. Meleers with 0 MP. Don't set the mp_rest to 0 or any number higher than zero, cuz it'll always rest no matter what. Instead, just make it "mp_rest = max". Just incase someone else had the same problem as me.
dragoons
Thanks for the suggestions, I'll start testing them today and might update a little later.

Just a couple of clarifications:
Are you in 3rd person view? I personally play in 1st person which is why I chose to use d instead of l.

As for tossing items, set I0 = Honey to throw away any honey that you find. Make sure to capitalize everything otherwise it might not work properly.

I'll look into adding an error checker if the mob is engaged and hp doesn't go down for a while.
kidz14
yo heres a suggestion to the creator make the bot "/follow" the mob for around 5-8 seconds then proceed to attack the mob. Once you have engaged in the attck mode make the bot so that it cancle the auto "/follow" by pressing "s" or maybe just use "keys /follow {Return} 100" it works well for me now i'm just written the part in my bot that if the target is already claimed it will start back from the beginning and look for another mob. just if you didn't have that try using the "last chat line" procedure that's what i've been tring to get around to just been so busy.
Yamdiddle
Holy shit why didn't I think of that? Just make it use /follow for a bit and then keydown s to make it not follow. That's a good idea.
Airabeth
I have placed ffact_info.dat into actools macro folder along with the extracted macro file but it still is not reading ffact_info.dat. What did i do wrong?
Pyrolol
you need ffXI_info, not ffACT_info.
Airabeth
Sorry that was a typo. I ment to say ffxi_info.rar.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.