Autoit bot(Craft/Fish) - Simple bot

06/29/2011 08:47 13ouncer#241
Quote:
Originally Posted by xDrako View Post
i found out i could start the fisher if i was already at depth screen.. but i cant recharge bait for the same reason.. the script thinks it hit - to open main menu but it didnt..

can anyone point out where in source i have to change so i can put to another key? im trying to find but failing so far.
Look for:
Code:
Line 915 is start of bait changer
06/30/2011 03:36 logan#242
Anychance are you going to be doing Botany and Mining? Also would love a shutdown feature if possible after a number of crafts/fishes.

Other than that, thank you so much for releasing this. I don't like afk botting but i HATE spamming enter. With two monitors I can do work on one monitor, and fish on the other monitor. Also, all you need for the fish bot to work is the half of the screen with the fish menu open. If you have one monitor, you can put your browser on one half of screen, and ffxiv on other half to browse internet while fishing.
06/30/2011 07:40 13ouncer#243
Quote:
Originally Posted by logan View Post
Anychance are you going to be doing Botany and Mining? Also would love a shutdown feature if possible after a number of crafts/fishes.

Other than that, thank you so much for releasing this. I don't like afk botting but i HATE spamming enter. With two monitors I can do work on one monitor, and fish on the other monitor. Also, all you need for the fish bot to work is the half of the screen with the fish menu open. If you have one monitor, you can put your browser on one half of screen, and ffxiv on other half to browse internet while fishing.
I know there is one for craft bot, but I only have max 99 casts for fishing. I don't think I will be making a Bot/Mining bot, because I do not know much about reading memory. If I made the bot it would work entirely off of pixels.
06/30/2011 07:43 13ouncer#244
Quote:
Originally Posted by xDrako View Post
my bot doesnt even start, i emailed you about it, seems like the you are opening the menu with - but mine does not work.. can you create another hotkey to go directly into synthesis/gathering and also have a way to change the open menu key..

thanks
You can change the key yourself on line: 956
Change:
Code:
ControlSend("[CLASS:RAPTURE]", "", $HWND, "{Home}")
To
Code:
ControlSend("[CLASS:RAPTURE]", "", $HWND, "Your key here")
If I am up for it I will add it later.
07/03/2011 07:23 13ouncer#245
Synthesiswindow1=16051915
Synthesiswindow2=16051915

Those numbers seem correct. Make sure that synth window 1 and the synth window 2(Finish window) are both in the top left. Most people will not move the finish window because it looks like it is already in the corner, but you must move it slightly.
07/03/2011 07:28 13ouncer#246
Quote:
Originally Posted by xDrako View Post
thanks! didnt work, but fishing is working fine most of the time..

crafting is not, but i dont know why, it starts the recipe, uses the skill, it hits standard one time (sometimes none) and bot screen goes blank and it stops completly it says on edit data:

Use skills = True
Starting craft bot.
At location 1. Moving to location 2
At location 1. Moving to location 2
At location 2. Moving to location 2
At location 1. Moving to location 1
Starting synthesis process.
Using skill.
Cannot find window 1, window 2, or craft border pixels. Please confirm again.
All bots deactivated.
Press again to activate.



i tried to record many many times the pixels but it never worked.. i dont get the 3/4 down part though, should i try to hit record EXACTLY where is shown in the example or EXACTLY 3/4 down (example is more like 5/6).

thanks
Obviously your bot cannot find Synth 1, Synth 2, or Border window. Read my previous post.
Code:
Line 2838 is where your error is occurring.

						While $On = True
							Sleep (20)		
							$Pixel_Error = $Pixel_Error + 1
							If $Pixel_Error = $Error_Count_Defined Then
								GUICtrlSetData($Craft_Edit, "Cannot find window 1, window 2, or craft border pixels. Please confirm again." & @CRLF,1)	
								$Pixel_Error = 0
								Call ("Stop_Bot")	
							Endif							
							$Check_5 = PixelGetColor(200, 25, $sHWND)
							$Check_3 = PixelGetColor(50, 26, $sHWND)
							$Check_2 = PixelGetColor(66, 130, $sHWND)					
							If $Check_5 = $Craft_Window_1 then 
								$Pixel_Error = 0
								Exitloop
							ElseIf $Check_3 = $Craft_Window_2 then 
								$Pixel_Error = 0
								ExitLoop
							ElseIf $Check_2 = $Craft_Border then 
								$Pixel_Error = 0
								Exitloop	
							Endif
						Wend
07/03/2011 07:33 13ouncer#247
Quote:
Originally Posted by xDrako View Post
thanks! didnt work, but fishing is working fine most of the time..

crafting is not, but i dont know why, it starts the recipe, uses the skill, it hits standard one time (sometimes none) and bot screen goes blank and it stops completly it says on edit data:

Use skills = True
Starting craft bot.
At location 1. Moving to location 2
At location 1. Moving to location 2
At location 2. Moving to location 2
At location 1. Moving to location 1
Starting synthesis process.
Using skill.
Cannot find window 1, window 2, or craft border pixels. Please confirm again.
All bots deactivated.
Press again to activate.



i tried to record many many times the pixels but it never worked.. i dont get the 3/4 down part though, should i try to hit record EXACTLY where is shown in the example or EXACTLY 3/4 down (example is more like 5/6).

thanks
The bot captures the color or the synth window timer and uses that color all the time. I created the pixel capture to capture the pixel where the timer nearly ends, so it that should not be your issue with craft bot.

It seems you are doing everything correctly, but double check that your windows are in the far left corner. Both the synth window 1 and 2(finish window)
07/05/2011 09:11 13ouncer#248
Quote:
Originally Posted by xDrako View Post
using

Synthesiswindow1=13948536
Synthesiswindow2=13948536

it will use standard up to 5 times before getting the error but not using any skills (with use skills set).

many pages before you said

Synthesiswindow1=16051915
Synthesiswindow2=16051915

was wrong.. thats why i thought it was and asked for the right values, it seems everyone has the same ones, can you post yours with the bot working please?

i get 16051915 when i dont move the finish window and 13948536 when i do move.

it will always go back slightly down..
I am not quite sure what you are doing wrong. Most errors are due to the correct pixels not being recorded or resolution is not recorded correctly leading back to incorrect pixels. I am running the bot as I type and it is using the skills flawlessly.

Check out the youtube videos if you have not already. It might give you some insight.
07/05/2011 09:12 13ouncer#249
@Drako
Are you using window mode?
07/05/2011 13:58 Vessia61#250
ok so i finally got the bait changer to work cuz i realized i was recording the wrong pixels and the first time it went perfect it changed the depth to the same spot i kept it set at +4 and the first time it did everything right it changed the depth back come back like an hr later and im on my last bait and it changed perfectly but then it kept the depth in the middle and it isnt able to change it now. my total casts since i started is only 105 :/ please help i would like to figure this out so i dont need to keep coming back all the time ><
07/05/2011 21:52 13ouncer#251
Quote:
Originally Posted by Vessia61 View Post
ok so i finally got the bait changer to work cuz i realized i was recording the wrong pixels and the first time it went perfect it changed the depth to the same spot i kept it set at +4 and the first time it did everything right it changed the depth back come back like an hr later and im on my last bait and it changed perfectly but then it kept the depth in the middle and it isnt able to change it now. my total casts since i started is only 105 :/ please help i would like to figure this out so i dont need to keep coming back all the time ><
Im having a problem trying to figure out what you are explaining. Can you be a bit more clear and post your edit data.
07/05/2011 21:56 13ouncer#252
Quote:
Originally Posted by xDrako View Post
yes, i already checked the videos..

the fishing is working with almost no problems (it still wont start unless im already at depth screen and it wont change bait)

the crafter will work if i set so it wont use any skills, but if i set to use them, it will go crazy and stop on second synth..

and yes, im using windowed mode.
I would suggest recording the skill bar when it pops while crafting, re-record pixels for changing bait, and the bot is meant to start at the depth screen.
07/05/2011 23:52 Vessia61#253
what im trying to say is after your first fish and the only time ur depth is changed from the middle to what you have selected on the bot (i.e. +4) and u run out of bait the bait changer works and equips a new bait then goes back to menu and selects fish. the problem is when you return to fishing again after you put new bait on the depth is not put back to +4 it stays in the middle. Every time you stop fishing and restart fishing the depth always resets and it doesnt seem like your bot realizes that >< is there any way to fix that here is the edit data:

All bots deactivated.
Press again to activate.
Change bait = True
Depth set to -4
Starting fish bot.
Starting fish bot.
All bots activated.
Starting fish bot.
Checking bait.
Changing bait
At Menu location 1. Moving to location 4
At Menu location 3. Moving to location 4
At Menu location 4. Moving to location 4
At gear location 1. Moving to location 4
At gear location 4. Moving to location 4
At pouch location 1. Moving to location 1
Bait equipped. Back to fishing
All bots deactivated.
Press again to activate.
Bait OK!
Checking Depth.
Depth Set.
Waiting for fish.
Starting new fish session.

2=Checking bait.
Bait OK!
Checking Depth.
Depth Set.
Waiting for fish.
Jig number 3 performed.
Jig number 4 performed.
Starting new fish session.

Changing bait
At Menu location 1. Moving to location 4
At Menu location 3. Moving to location 4
At Menu location 4. Moving to location 4
At gear location 1. Moving to location 4
At gear location 2. Moving to location 4
At gear location 3. Moving to location 4
At gear location 4. Moving to location 4
At pouch location 1. Moving to location 1
Bait equipped. Back to fishing
At Menu location 4. Moving to location 1
At Menu location 3. Moving to location 1
At Menu location 1. Moving to location 1
Bait OK!
Checking Depth.
Depth Set.
Waiting for fish.
Jig number 2 performed.
Starting new fish session.

Starting fish bot.
Checking bait.
Changing bait
At Menu location 1. Moving to location 4
At Menu location 3. Moving to location 4
At Menu location 4. Moving to location 4
At gear location 1. Moving to location 4
At gear location 2. Moving to location 4
At gear location 3. Moving to location 4
At gear location 4. Moving to location 4
At pouch location 1. Moving to location 1
Bait equipped. Back to fishing
At Menu location 1. Moving to location 1
Bait OK!
Checking Depth.
Depth Set.
Waiting for fish.
All bots deactivated.
Press again to activate.
Starting new fish session.


Everytime it says checking depth and says depth set it is wrong and the depth is not in the right position.
07/06/2011 00:31 nameB#254
I've had the same problem as Vessia61 explains, after a bait change it doesn't check the depth slider when going into fishing mode again, so it stays at 0
07/08/2011 03:13 13ouncer#255
Quote:
Originally Posted by Vessia61 View Post
what im trying to say is after your first fish and the only time ur depth is changed from the middle to what you have selected on the bot (i.e. +4) and u run out of bait the bait changer works and equips a new bait then goes back to menu and selects fish. the problem is when you return to fishing again after you put new bait on the depth is not put back to +4 it stays in the middle. Every time you stop fishing and restart fishing the depth always resets and it doesnt seem like your bot realizes that >< is there any way to fix that here is the edit data:
Okay I understand what you are saying now. I have not implemented anything for this or even thought about it, but now that you bring it up it seems like it would be easy to place it in the code. I am really busy atm with school and other things. Next version will consist of a list of suggestions for the bot. I do not know when it will be done though.