Autoit bot(Craft/Fish) - Simple bot

06/03/2011 09:53 nameB#106
Love to see that youre working hard with this however I can't get it to work well.

First of im not really sure when i try to record pixels should the button under the Shadow tab be set to "Resolution recorded" (green one) or "Resolution Cleared". Well after this step I tried the Confirm fish like 20times with diffrent results, It seems that if I get 1 thing working all others get broken, so somewhere I do this wrong it seems.

the thing i can get to work sometimes is that when it checks for depth it goes to the wait/jig/cancel stage however if it feels a bite or a big bite it just waits until fish is gone

I've never managed it to start by itself either, trying to record the pixel by the menu which i guess should work by it self? start fishing etc.

Or maybe im just doing it all wrong, Ive tried click all in confirm fish red first, and klick again once the appropriate windows/msg is up, i've tried have all at green, clicked them red too green one at a time when the appropriate pixels appeared.

Whats strange though that after all it set I sometimes get it to work with the depth thing, however after a while it seems it dont work, and i try Resolution clear restart bot and it cant find depth. am I supposed to hit Resolution Clear>Recorded everytime i want to fix a new pixel?

Sorry for being an idiot but ive tried so many diffrent combinations now and can't get more then 1 thing working, just to be broken if i end and try again.
06/04/2011 00:19 13ouncer#107
Quote:
Originally Posted by nameB View Post
Love to see that youre working hard with this however I can't get it to work well.

First of im not really sure when i try to record pixels should the button under the Shadow tab be set to "Resolution recorded" (green one) or "Resolution Cleared". Well after this step I tried the Confirm fish like 20times with diffrent results, It seems that if I get 1 thing working all others get broken, so somewhere I do this wrong it seems.

the thing i can get to work sometimes is that when it checks for depth it goes to the wait/jig/cancel stage however if it feels a bite or a big bite it just waits until fish is gone

I've never managed it to start by itself either, trying to record the pixel by the menu which i guess should work by it self? start fishing etc.

Or maybe im just doing it all wrong, Ive tried click all in confirm fish red first, and klick again once the appropriate windows/msg is up, i've tried have all at green, clicked them red too green one at a time when the appropriate pixels appeared.

Whats strange though that after all it set I sometimes get it to work with the depth thing, however after a while it seems it dont work, and i try Resolution clear restart bot and it cant find depth. am I supposed to hit Resolution Clear>Recorded everytime i want to fix a new pixel?

Sorry for being an idiot but ive tried so many diffrent combinations now and can't get more then 1 thing working, just to be broken if i end and try again.
Record resolution needs to pressed once while ff xiv window is open. The button will turn green when resolution is recorded. Green=recorded and red=not recorded. This goes for all buttons. While recording the pixels the fish window needs to be dragged to the far left top before recording anything. This goes for the synthesis and the hotbar buttons as well.

Once you have made the above is done start manually fishing or crafting to record pixels. Each time the bot is closed it clears the.resolution and winhandle, so make sure to press the.record resolution window when you start the bot.
06/04/2011 01:33 nameB#108
Quote:
Originally Posted by 13ouncer View Post
Record resolution needs to pressed once while ff xiv window is open. The button will turn green when resolution is recorded. Green=recorded and red=not recorded. This goes for all buttons. While recording the pixels the fish window needs to be dragged to the far left top before recording anything. This goes for the synthesis and the hotbar buttons as well.

Once you have made the above is done start manually fishing or crafting to record pixels. Each time the bot is closed it clears the.resolution and winhandle, so make sure to press the.record resolution window when you start the bot.
Cheers for your reply, I can only get it to use the wait command, and it do it over and over even in jig phase, it just use wait. in the log i only see depth command never seen any others. I tried reset the pixels for the window2 10times now.

Does it matter if I use windower and run it in fullscreen at 1920*1080? since it only removes the borders or something, maybe it mess up your pixel finder?

Also after hitting fish am i supposed to click the game window?
06/04/2011 10:34 13ouncer#109
On the first post I made the.text red so people who use the bot know that if you touch or activate the ff xiv window while bot is running the bot will.not work. The screen must always be showing, otherwise the bot can not find pixels. Also, the bot does not support 32bit systems yet.
06/04/2011 10:35 13ouncer#110
I would not run the bot as without window mode active.
06/04/2011 12:57 nameB#111
Quote:
Originally Posted by 13ouncer View Post
I would not run the bot as without window mode active.
Tried running it in windowed followed your instructions, only thing that works is the wait command, when it reaches jig it just hit wait. tried to reset window2 many times now, no difference. I also tried the depth slider, it didnt work either just hit wait didnt change it.

I used the bait also, and unequipped bait it said Bait OK and just hit wait wait wait:P

Seems this bot don't like me
06/05/2011 00:18 13ouncer#112
Quote:
Originally Posted by nameB View Post
Tried running it in windowed followed your instructions, only thing that works is the wait command, when it reaches jig it just hit wait. tried to reset window2 many times now, no difference. I also tried the depth slider, it didnt work either just hit wait didnt change it.

I used the bait also, and unequipped bait it said Bait OK and just hit wait wait wait:P

Seems this bot don't like me
Very odd, i'm not sure whats wrong on your side.
Many people are running.it just fine.

It should be.very simple to set up.

Post your ini settings here so I can check it out
06/05/2011 01:31 nameB#113
Quote:
Originally Posted by 13ouncer View Post
Very odd, i'm not sure whats wrong on your side.
Many people are running.it just fine.

It should be.very simple to set up.

Post your ini settings here so I can check it out
[Settings]
INISleep=50
ErrorCount=250
Pixelerrorfails=2
Fishtime=-1
Skillwait=3
Resolution=1600x1050
WinHandle=0x00000000000807C2
X_1=1282
Y_1=1050
X_2=0
Y_2=13

;Don't mess with these

[Window Timers]
Openwindow=3000
Movedelay=500
Jig1=850
Jig2=1550
Jig3=1250
Jig4=850
Jig5=1550
SynthesisSleep1=500
SynthesisSleep2=1000

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Openwindow is rest time after opening a new window. Set high if you have lag 1000=1 second ;
;Movedelay is rest time after selecting anything. Set high if you have lag 1000=1 second ;
;Jigs 1 to 5 is rest time before jigging. 1200 is middle. 1000=1 second. Ok to change. ;
;Synthesissleep 1 to 2 is rest time before using standard synthesis. 1000= 1 second ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Hotkeys]
Forceclose={delete}
Pause={pause}
Stop={end}
Soundplay=+
Soundstop=-


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Forceclose stops and closes the bot. ;
;If you wish to change: letter/number/symbol must be as follows "a" or "1" ;
;If you wish to change: Everything else must be as follows "{Tab}" or "{Insert}" Autoit lang;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Fish Settings]
Bait1=1
Bait2=1
Bait3=1
Bait4=1
Bait5=1
Bait6=1
Bait7=1
Bait8=1
Bait9=1
Bait10=1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;These are the slots the bot will choose when switching bait. Default is to select the first;
;Bait available 10 times. Once bot has selected 10 times it will loop back to bait 1 ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Craft Settings]
Position1=Skip
Position2=Skip
Position3=Skip
Position4=Skip
Position5=Skip
Position6=Skip
Position7=Skip
Position8=Skip



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Advanced craft settings ;
;Recipe= Skip or "recipe number" (ex: 1) ;
;CraftTime= 0 (deplete) or 1-999 ;
;Refer to advanced syntax for hotkey/row/macronumber ; ;Hotkey=Ctrl or Alt (This is the button you press to bring up your macros) ;
;Row=The row number your macro is on for the respective profession (rows 1-5) ;
;Macronumber=The number of your macro for the respective profession (0-9) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Fish Pixels]
Menucheck=1
Fishwindow1=1
Fishwindow2=1
Fishwindow3=1
Fishwindowborder1=16777215
Fishwindowborder2=16777215
Fishwindowborder3=16777215
Fishwindowborder4=16777215
Fishwindowborder5=16777215
Depthtop=0
Depthbottom=16777215
Fishtired=16777215
Jigbox3=16777215
Cancelbox3=16777215
Nobait=16777215
Inventory=655104
MenuCheck1=9539717
MenuCheck2=9539717
MenuCheck3=9539717
MenuCheck4=9539717
MenuCheck5=9539717
MenuCheck6=9539717
MenuCheck7=9539717
MenuCheck8=9539717
MenuCheck9=9539717
MenuCheck10=9539717
MenuCheck11=9539717
MenuCheck12=9539717
MenuCheck13=9539717
MenuCheck14=9539717
MenuCheck15=9539717
MenuCheck16=9539717
MenuCheck17=9539717
MenuCheck18=9539717
MenuCheck19=9539717
Gearmainhand=15789275
GearOffhand=15855068
GearNeck=15789275
GearPack=7497548
GearPack1=9539717
GearPack2=9539717
GearPack3=9539717
GearPack4=9539717
GearPack5=9539717
GearPack6=9539717
GearPack7=9539717
GearPack8=9539717
GearPack9=9539717
GearPack10=9539717
GearPacks=1


Thanks for trying to help (edited out the crafting part)
06/05/2011 04:11 13ouncer#114
Strange, your fish pixels have some 0's and 1's. Try changing your resolution to 1600x1028, or any other resolution than what you are currenty running. If you change resolutions you will have to record pixels again. If there are still issues then it is probably an issue with the code and different resolutions.
06/05/2011 04:12 13ouncer#115
Your menu check pixels look corrext though.
06/05/2011 04:15 13ouncer#116
The 16777215 is not correct. Each of those pixels should differ. It almost seems as if you're recording a blank screen.

Yes, 16777215 is 0xFFFFFF in hex. Which is ivory, or white color. Makes me wonder if you're recording pixels within say notepad or something. What is the name of your ffxiv window?
06/05/2011 13:51 nameB#117
Ok thanks for sorting that out, ill try another resolution then and see if that changes anything. (1920*1080 didnt however)

From taskmanager.
Description:FINAL FANTASY XIV
PID: 6948 (this changes everytime you open ffxiv though)
name: ffxivgame.exe*32

WinHandle=0x0000000000070644 this dont seem right? shouldnt it be like 1B24 in the end if its HEX? since the PID is DEC of the instance.
06/05/2011 21:46 Neshl#118
Hey, i tried that programm too, but i didnīt work either on me, it just hit wait, wait ,wait...
here my ini:

[Settings]
INISleep=50
ErrorCount=250
Pixelerrorfails=2
Fishtime=-1
Skillwait=3
Resolution=1600x1028
WinHandle=0x000000000017042A
X_1=1282
Y_1=900
X_2=0
Y_2=-62

;Don't mess with these

[Window Timers]
Openwindow=3000
Movedelay=500
Jig1=850
Jig2=1550
Jig3=1250
Jig4=850
Jig5=1550
SynthesisSleep1=500
SynthesisSleep2=1000

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Openwindow is rest time after opening a new window. Set high if you have lag 1000=1 second ;
;Movedelay is rest time after selecting anything. Set high if you have lag 1000=1 second ;
;Jigs 1 to 5 is rest time before jigging. 1200 is middle. 1000=1 second. Ok to change. ;
;Synthesissleep 1 to 2 is rest time before using standard synthesis. 1000= 1 second ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Hotkeys]
Forceclose={delete}
Pause={pause}
Stop={end}
Soundplay=+
Soundstop=-


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Forceclose stops and closes the bot. ;
;If you wish to change: letter/number/symbol must be as follows "a" or "1" ;
;If you wish to change: Everything else must be as follows "{Tab}" or "{Insert}" Autoit lang;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Fish Settings]
Bait1=1
Bait2=1
Bait3=1
Bait4=1
Bait5=1
Bait6=1
Bait7=1
Bait8=1
Bait9=1
Bait10=1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;These are the slots the bot will choose when switching bait. Default is to select the first;
;Bait available 10 times. Once bot has selected 10 times it will loop back to bait 1 ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Craft Settings]
Position1=Skip
Position2=Skip
Position3=Skip
Position4=Skip
Position5=Skip
Position6=Skip
Position7=Skip
Position8=Skip

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Advanced craft mode must be enabled to use these settings. To enable advanced craft mode ;
;run bot and click "Go Advanced" in the craft bot tab. To skip a profession, just type skip ;
;or select the profession in the craft bot tab and select a position for it. Do not forget ;
;to click "set" or "Skip" after a selection is made. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Default]
Recipe1=1
CraftTime1=998
Recipe2=Skip
CraftTime2=0
Recipe3=Skip
CraftTime3=999
Recipe4=Skip
CraftTime4=999
Recipe5=Skip
CraftTime5=0
Recipe6=Skip
CraftTime6=0
Recipe7=Skip
CraftTime7=0
Recipe8=Skip
CraftTime8=0
Recipe9=Skip
CraftTime9=0
Recipe10=Skip
CraftTime10=0

[Alchemist]
Recipe1=Skip
CraftTime1=1
Recipe2=Skip
CraftTime2=0
Recipe3=Skip
CraftTime3=0
Recipe4=Skip
CraftTime4=0
Recipe5=Skip
CraftTime5=0
Recipe6=Skip
CraftTime6=0
Recipe7=Skip
CraftTime7=0
Recipe8=Skip
CraftTime8=0
Recipe9=Skip
CraftTime9=0
Recipe10=Skip
CraftTime10=0
Hotkey=
Row=
MacroNumber=

[Blacksmith]
Recipe1=Skip
CraftTime1=0
Recipe2=Skip
CraftTime2=0
Recipe3=Skip
CraftTime3=0
Recipe4=Skip
CraftTime4=0
Recipe5=Skip
CraftTime5=0
Recipe6=Skip
CraftTime6=0
Recipe7=Skip
CraftTime7=0
Recipe8=Skip
CraftTime8=0
Recipe9=Skip
CraftTime9=0
Recipe10=Skip
CraftTime10=0
Hotkey=
Row=
MacroNumber=

[Armorer]
Recipe1=1
CraftTime1=0
Recipe2=Skip
CraftTime2=0
Recipe3=Skip
CraftTime3=0
Recipe4=Skip
CraftTime4=0
Recipe5=Skip
CraftTime5=0
Recipe6=Skip
CraftTime6=0
Recipe7=Skip
CraftTime7=0
Recipe8=Skip
CraftTime8=0
Recipe9=Skip
CraftTime9=0
Recipe10=Skip
CraftTime10=0
Hotkey=
Row=
MacroNumber=

[Carpenter]
Recipe1=Skip
CraftTime1=0
Recipe2=Skip
CraftTime2=0
Recipe3=Skip
CraftTime3=0
Recipe4=Skip
CraftTime4=0
Recipe5=Skip
CraftTime5=0
Recipe6=Skip
CraftTime6=0
Recipe7=Skip
CraftTime7=0
Recipe8=Skip
CraftTime8=0
Recipe9=Skip
CraftTime9=0
Recipe10=Skip
CraftTime10=0
Hotkey=
Row=
MacroNumber=

[Culinarian]
Recipe1=Skip
CraftTime1=0
Recipe2=Skip
CraftTime2=0
Recipe3=Skip
CraftTime3=0
Recipe4=Skip
CraftTime4=0
Recipe5=Skip
CraftTime5=0
Recipe6=Skip
CraftTime6=0
Recipe7=Skip
CraftTime7=0
Recipe8=Skip
CraftTime8=0
Recipe9=Skip
CraftTime9=0
Recipe10=Skip
CraftTime10=0
Hotkey=
Row=
MacroNumber=

[Goldsmith]
Recipe1=1
CraftTime1=1
Recipe2=Skip
CraftTime2=0
Recipe3=Skip
CraftTime3=0
Recipe4=Skip
CraftTime4=0
Recipe5=Skip
CraftTime5=0
Recipe6=Skip
CraftTime6=0
Recipe7=Skip
CraftTime7=0
Recipe8=Skip
CraftTime8=0
Recipe9=Skip
CraftTime9=0
Recipe10=Skip
CraftTime10=0
Hotkey=
Row=
MacroNumber=

[Leatherworker]
Recipe1=Skip
CraftTime1=0
Recipe2=Skip
CraftTime2=0
Recipe3=Skip
CraftTime3=0
Recipe4=Skip
CraftTime4=0
Recipe5=Skip
CraftTime5=0
Recipe6=Skip
CraftTime6=0
Recipe7=Skip
CraftTime7=0
Recipe8=Skip
CraftTime8=0
Recipe9=Skip
CraftTime9=0
Recipe10=Skip
CraftTime10=0
Hotkey=
Row=
MacroNumber=

[Weaver]
Recipe1=1
CraftTime1=0
Recipe2=Skip
CraftTime2=0
Recipe3=Skip
CraftTime3=0
Recipe4=Skip
CraftTime4=0
Recipe5=Skip
CraftTime5=0
Recipe6=Skip
CraftTime6=0
Recipe7=Skip
CraftTime7=0
Recipe8=Skip
CraftTime8=0
Recipe9=Skip
CraftTime9=0
Recipe10=Skip
CraftTime10=0
Hotkey=
Row=
MacroNumber=

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Advanced craft settings ;
;Recipe= Skip or "recipe number" (ex: 1) ;
;CraftTime= 0 (deplete) or 1-999 ;
;Refer to advanced syntax for hotkey/row/macronumber ; ;Hotkey=Ctrl or Alt (This is the button you press to bring up your macros) ;
;Row=The row number your macro is on for the respective profession (rows 1-5) ;
;Macronumber=The number of your macro for the respective profession (0-9) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Fish Pixels]
Menucheck=1
Fishwindow1=1
Fishwindow2=1
Fishwindow3=1
Fishwindowborder1=856084
Fishwindowborder2=1318697
Fishwindowborder3=9737096
Fishwindowborder4=9737096
Fishwindowborder5=7894894
Depthtop=1120547
Depthbottom=1055013
Fishtired=15381576
Jigbox3=14540253
Cancelbox3=13948116
Nobait=14921543
Inventory=13419674
MenuCheck1=9539717
MenuCheck2=9539717
MenuCheck3=9539717
MenuCheck4=9539717
MenuCheck5=9539717
MenuCheck6=9539717
MenuCheck7=9539717
MenuCheck8=9539717
MenuCheck9=9539717
MenuCheck10=9539717
MenuCheck11=9539717
MenuCheck12=9539717
MenuCheck13=9539717
MenuCheck14=9539717
MenuCheck15=9539717
MenuCheck16=9539717
MenuCheck17=9539717
MenuCheck18=9539717
MenuCheck19=9539717
Gearmainhand=15789275
GearOffhand=15789275
GearNeck=15789275
GearPack=15789275
GearPack1=9539717
GearPack2=9539717
GearPack3=9539717
GearPack4=9539717
GearPack5=9539717
GearPack6=9539717
GearPack7=9539717
GearPack8=9539717
GearPack9=9539717
GearPack10=9539717
GearPacks=1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Don't change these unless you know what you are doing. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Craft Pixels]
Synthesiswindow1=16051915
Synthesiswindow2=16051915
Skill=13816268
CraftBorder=9737096
Recentcheck=1
Recentcheck1=9539717
Recentcheck2=9539717
Recentcheck3=9539717
Recentcheck4=9539717
Recentcheck5=9539717
Recentcheck6=9539717
Recentcheck7=9539717
Recentcheck8=9539717
Recentcheck9=9539717
Recentcheck10=9539717
Hotbar1=15985271
Hotbar2=15524725
Hotbar3=15064178
Hotbar4=15656310
Hotbar5=14538351
Request=13748382
Recent=11183234
Recipe=11183234
Clear=14011552
Material=11183234
Mainhand=11183234
Cancel=14011552
Offhand=13814174

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Don't change these unless you know what you are doing. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Tips]
Label1 = "Check out the Readme.txt when you have a chance."
Label2 = "Did you know Final Fantasy VI was the best game ever made?"
Label4 = "Make sure to record all pixels, using the confirm bots, before botting."
Label5 = "Don't like the music? Hit the stop button!"
Label6 = "Have a problem with the bot? Post on [Only registered and activated users can see links. Click Here To Register...] FF XIV section and I will fix the issue."
Label7 = "This bot was made with Autoit V3."
Label8 = "Have an idea for the bot? Visit the forums at [Only registered and activated users can see links. Click Here To Register...] and post in the FF XIV thread"
Label9 = "Don't know what pixels to record? Click the Example below the button to popup a picture."

Neshl :)
06/06/2011 01:05 13ouncer#119
Well, I am assuming the record.resolution function is not working correctly give me some time to fix it I have finals this week, so I wont get around to it.till I have time
06/06/2011 01:21 13ouncer#120
What is the resolution of your FF XIV windows for the people having issues. I ask this because:
This should not look like it does.
Code:
[Settings]
INISleep=50
ErrorCount=250
Pixelerrorfails=2
Fishtime=-1
Skillwait=3
Resolution=1600x1028
WinHandle=0x000000000017042A
X_1=1282
Y_1=900
X_2=0
Y_2=-62
If should look like this:
Code:
[Settings]
INISleep=50
ErrorCount=250
Pixelerrorfails=2
Fishtime=-1
Skillwait=3
Resolution=1600x1028 (1028 should be = Y_1)
WinHandle=0x000000000017042A
X_1=1282
Y_1=900 (I have no idea why this is 900 it should be 1028)
X_2=0
Y_2=2 (This should be Y - 1024 / 2) Which is 2 in your case. Not -64)
The only way this would change is if you are changing them by hand.

The bot is for windowed mode....so make sure you are in window mode.

This is how the bot finds those numbers:
Code:
	If WinExists ( "FINAL FANTASY XIV", "") Then	
		$Fantasy = WinGetClientSize("FINAL FANTASY XIV")
		$hWnd = ControlGetHandle("[CLASS:RAPTURE]", "", "")
		$sHWND = String($hWnd)		
		$Pixel_X_1 = $Fantasy[0] - 318	
		$Pixel_Y_1 = $Fantasy[1]
		$Pixel_X_2 = ($Fantasy[0] - 1600) / 2 
		$Pixel_Y_2 = ($Fantasy[1] - 1024) / 2 
		Iniwrite("Shadow 13ot.ini", "Settings", "Resolution", $Fantasy[0] & "x" & $Fantasy[1])
		Iniwrite("Shadow 13ot.ini", "Settings", "WinHandle", $sHWND)
		Iniwrite("Shadow 13ot.ini", "Settings", "X_1", $Pixel_X_1)
		Iniwrite("Shadow 13ot.ini", "Settings", "Y_1", $Pixel_Y_1)
		Iniwrite("Shadow 13ot.ini", "Settings", "X_2", $Pixel_X_2)
		Iniwrite("Shadow 13ot.ini", "Settings", "Y_2", $Pixel_Y_2)
		$sHWND = IniRead("Shadow 13ot.ini", "Settings", "WinHandle", "")	
		GuiCtrlSetData($Shadow_Resolution, "Resolution recorded")
		GUICtrlSetBkColor ($Shadow_Resolution, 0x09FF00)
		$R_Check = 1
	EndIf