Ok after tweaking someone elses 'FLAWLESS' fishing bot… yeah right… I have come up with a truly working one. When you start the script, you will have 100 seconds to get into the game until it starts. If you have any questions or problems, post on www.gamebugs.org forums and ill do my best to help you. This code will do everything for you. It will equip new bait when you run out, fish, reel in fish, and sort your inventory. The ONLY thing it wont do is equip another fishing rod if yours breaks. But then again, who would do that if you are trying to make money anyway! Get a composite rod, it may be a bit expensive but well worth the money and it is hard to break this thing even at lv 15-20 fishing…
Download and install autoit v3 (just do a google search. It is free software)
Open notepad
Copy the code below into it starting with the word Sleep and ending with Endfunc and paste it into notepad
Go to file, save as
Instead of the default saving it as a txt file, change it to all files by clicking the little arrow beside the box that says save as file type
Name the file ffaf.au3
Go to start, programs, Playonline, Finalfantasy XI, and then to final fantasy config tool
Click on the screen size tab
Change the Overlay Graphics Resolution to 1280×1024 and the Background Resolution to 512×512 (other backgrounds may work but the overlay has to be as specified!) Click ok and then yes to save the changes.
DO NOT RUN THE SCRIPT YET!
Start FFXI and get into the game all the way because we have to make some changes from within the game.
Open your menu and go to, config, then font colors. There will be a default button. Click it. The script relies on specified colors in order to know if you caught something or not so these must be the default colors!
Open you menu and go to chat filters. Turn all of them on. The reason for this is that since the script looks at the text window, you dont want anything in there that you dont have to have…
Open your menu and go to config, then to misc 2. Change the fullsize button over to compact. Then click the movement button at the bottom
Find the one that says 'menu/target cursor up' and set it for the letter A
Open your menu and go to macros…and enter the following
For Control 0 AND Alt 1 enter:
/echo (there is a space between echo and the period. This is simply to let you know that the script is working. You will see a yellow period on your text screen when the macro is started)
/wait 12
/fish
For Alt 2 and Control 2 enter:
/equip ammo '____' (put your bait in the ". Such as /equip ammo 'Insect Ball' or /equip ammo 'Little Worm'. Capatial letters must be capital in the code so check your inventory if you aren't sure)
Move to a spot you wish to fish and equip your gear (if you have it)
Face the water just like you were about to fish
Log out of the game correctly! Dont rush it. Let it log you all the way out….
Run the script you created by right clicking on it and going to 'Run Script'
Go back into FFXI as fast as you can
Once your character appears DO NOT TOUCH ANYTHING! I have found that it works better if you dont touch any controls from the time you login till the time you want to stop
Here is the code you need to make the script. DO NOT CHANGE ANYTHING! I have spend hours tweaking this to get it to work and it does. If you have problems, post something in the forums at www.gamebugs.org!
Sleep(100000);give time to open FFXI
$fisha = 2;
$event = 0;
$bite = 0;
$failsafe=0;
$nobait = 0;
WinWaitActive('FFXiApp');
While $fisha > 1
AutoItSetOption('SendKeyDelay', 40);
Send ('!1'); fishing macro
$event = 0;
$failsafe = 0;
$nobait = 0;
Do
Sleep(250);
If PixelGetColor(22,994) = 16777215 AND PixelGetColor(108,996) = 16777215 AND PixelGetColor(228,997) = 16777215 Then
AutoItSetOption('SendKeyDelay', 40);
Sleep(Random(3000,3200));
Send('{ENTER}');
Sleep(5400);
EndIf
If PixelGetColor(43,997) = 16777215 AND PixelGetColor(83,998) = 16777215 AND PixelGetColor(175,999) = 16777215 Then
Sleep(Random(5100,5400));You lost your catch. Finish and speed things up a little.
$event = 1;
EndIf
If PixelGetColor(37,1000) = 16777215 AND PixelGetColor(77,1000) = 16777215 AND PixelGetColor(180,998) = 16777215 Then
Sleep(Random(5100,5400));You didn't catch anything. Finish and speed things up a little.
$event = 1;
EndIf
If PixelGetColor(47,1000) = 16777215 AND PixelGetColor(142,999) = 16777215 AND PixelGetColor(330,997) = 16777215 Then
$nobait = 1;You ran out of bait so let's get ready to change it.
EndIf
If PixelGetColor(43,995) = 16777215 AND PixelGetColor(71,997) = 16777215 AND PixelGetColor(84,995) = 16777215 Then
autosort()
Sleep(Random(2100,2200));
$event = 1;You caught something so now autosort, sleep a bit, and finish the event.
EndIf
$failsafe = $failsafe+1;
If $failsafe = 175 Then
$event = 1;
EndIf
Until $event = 1
sleep(2000);
If $nobait = 1 Then
Send('!2');change bait
EndIf
WEnd
Func autosort()
Sleep(9000);
AutoItSetOption('SendKeyDelay', 0235);
Send ('!i');
Sleep(0250);
Send ('{NUMPADADD}');
Sleep (0250);
Send ('{ENTER}');
sleep(0350);
Send ( 'a' );
sleep(0350);
Send ('{ENTER}');
sleep(0250);
Send ('{ESCAPE}');
sleep(0250);
Send ('{ESCAPE}');
Sleep (0250);
EndFunc
huge props to nightwish for making this baby
1 comment:
I have followed all of your steps, but I am new to this and have no experiance in programing. I can only assume that I am over looking a simple task that you didn't spell out in your instructions. I get to the point of logging out of my character and "running" the script and then I am completely lost. I open my note pad and go to the file I created and right click the file and 'run file', log back into my character and nothing happends. What am I forgetting to do? (Thank you very much for creating the program. I hope you can help me figure out what I am missing here)
Post a Comment