Autoit bot(Craft/Fish) - Simple bot

06/06/2011 01:27 13ouncer#121
Quote:
Originally Posted by nameB View Post
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.
The winhandle changes every time you restart FF XIV.
06/06/2011 01:30 13ouncer#122
Are you two by chance using a different in game font?
06/06/2011 01:37 13ouncer#123
I just tried 4 different resolutions and recorded windows 1-3 for fish bot on each resolution and have not had a single issue.

I really do not know what to say. If I cannot reproduce the issue I cannot fix it. I need to know if you two are recording the windows correctly. Perhaps tell me the steps you take before starting using fish bot for the first time.
06/06/2011 10:02 nameB#124
I use windowed, i've tried diffrent resolutions (with same output) I've tried with windower, and without windower. at first i though maybe its because i used dualscreens tried turn on off, same results.

When i load the bot up i hit the record resolution under the shadow tab, move on to confirm fish tab and make sure game is showing the appropriate pixels the "shadow images" are asking for, I make them go red->green all of them (one by one) then i start Fish.
I haven't manually tried to fix the INI I use the default fonts (havent changed any settings)

I use ATI5870 HD if that matters.
Config looks like this
multisampling 2x MSAA
General drawing quality 8
Background Drawing quality 5
Shadow detail standard
Texture quality high
texture filtering highest
In windows i use 1920*1080 and windowed game is 1600*1024
06/06/2011 10:53 13ouncer#125
Well it's not MSAA. I didn't think it was. Hmm. Is your OS 64 bit?
06/06/2011 10:59 13ouncer#126
Just post yes if all this is correct:
Fish window is in the far left of screen.
FF XIV window does not overlap your monitor border(Must be fixed to one monitor)
No other windows are overlapping the area being recorded while recording pixels.
You are running 64 bit system.
06/06/2011 11:10 13ouncer#127
Quote:
Originally Posted by nameB View Post
I use windowed, i've tried diffrent resolutions (with same output) I've tried with windower, and without windower. at first i though maybe its because i used dualscreens tried turn on off, same results.

When i load the bot up i hit the record resolution under the shadow tab, move on to confirm fish tab and make sure game is showing the appropriate pixels the "shadow images" are asking for, I make them go red->green all of them (one by one) then i start Fish.
I haven't manually tried to fix the INI I use the default fonts (havent changed any settings)

I use ATI5870 HD if that matters.
Config looks like this
multisampling 2x MSAA
General drawing quality 8
Background Drawing quality 5
Shadow detail standard
Texture quality high
texture filtering highest
In windows i use 1920*1080 and windowed game is 1600*1024
Everything you're doing is correct. It's really irritating me that I cannot find out what's wrong.
06/06/2011 18:18 Vessia61#128
i would love if this issue were fixed your bot is awesome if it does jig instead of wait it would be perfect lol. i hope this is resolved soon im also having the same issue it keeps pressing wait and im on 1600x900.
06/06/2011 20:41 nameB#129
Quote:
Originally Posted by 13ouncer View Post
Just post yes if all this is correct:
Fish window is in the far left of screen.
FF XIV window does not overlap your monitor border(Must be fixed to one monitor)
No other windows are overlapping the area being recorded while recording pixels.
You are running 64 bit system.
Yes i closed everything else down thinking something was wrong, I also moved the game window to the center of the screen/closed the other screen down (only one displayed in windows) im on 64bit win7

this was my short yes answer! :P
06/06/2011 20:59 Neshl#130
Quote:
Originally Posted by 13ouncer View Post
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
I changed the things as you said and same results.
FFXIV is on 1600x900 resolution why it was "900" on ini.
I tried the same steps like nameB a bunch of times and no diff..
It just keeps hitting "wait" at wait/jig/cancel stage and sometimes it stops at this point and nothing happens..

i also tried to overlap a bit the craft/fish window on the left side of screen
and it actually hits once or 2 times for "Jig" rarely lol

Neshl :handsdown:
06/06/2011 22:26 13ouncer#131
Can you guys post a cut out screenshot of the fish window @ depth.

Post your PC specs if you can. I am interested to find out what PC's this bug happens on.
I am guessing that your PC's will be similar, but I may be wrong.

Start>Programs>Accessories>System Tools>System Information

Just need the sys. information. You can hide the sys. name/user name.

It will look like this.
Code:
OS Name	Microsoft® Windows Vista™ Ultimate
Version	6.0.6002 Service Pack 2 Build 6002
Other OS Description 	Not Available
OS Manufacturer	Microsoft Corporation
System Name	13OUNCER-PC
System Manufacturer	System manufacturer
System Model	System Product Name
System Type	x64-based PC
Processor	AMD Phenom(tm) 9850 Quad-Core Processor, 2809 Mhz, 4 Core(s), 4 Logical Processor(s)
06/06/2011 23:32 nameB#132
Can't do a screenshot now i need to go to bed but here's sysinfo im using swedish OS so i replaced the first line with the english words so you'd understand what category it is. rest i guess you can understand anyway:P

Thanks for all your effort trying to help.


OS Name Microsoft Windows 7 Ultimate
Version 6.1.7600 build 7600
Other OS Description Inte tillgängligt(Not Available)
OS Manufacturer Microsoft Corporation
System Name Gigabyte Technology Co., Ltd.
System Manufacturer X58A-UD3R
System Model x64-based PC
System Type Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, 2793 Mhz, 4 kärnor, 8 logiska processorer
Processor Award Software International, Inc. F6, 2010-08-24
06/06/2011 23:48 Vessia61#133
OS Name Microsoft Windows 7 Home Basic
Version 6.1.7601 Service Pack 1 Build 7601
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Manufacturer System manufacturer
System Model System Product Name
System Type X86-based PC
Processor Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz, 3067 Mhz, 2 Core(s), 4 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. 0703, 09/02/2010
SMBIOS Version 2.6
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume1
Hardware Abstraction Layer Version = "6.1.7601.17514"
Time Zone Eastern Daylight Time
Installed Physical Memory (RAM) 4.00 GB
Total Physical Memory 3.00 GB
Available Physical Memory 1.29 GB
Total Virtual Memory 5.99 GB
Available Virtual Memory 3.38 GB
Page File Space 3.00 GB
Page File C:\pagefile.sys

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

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You can manually enter your resolution, and X_1/X_2/Y_1/Y_2. Do this if you are having ;
;issues with bot. ;
;Syntax is as follows for X_ and Y_: ;
;X_1 = "Resolution X" - 1282 ;
;X_2 = "Resolution X" - 0 / 2 ;
;Y_1 = "Resolution Y" 900 ;
;Y_2 = "Resolution Y" - 1024 / 2 ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[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 my settings im sure this is what ur looking for?
06/07/2011 05:43 13ouncer#134
O hey, Vessia. I just posted in other forum asking for [Fish Pixels] as well. I believe the problem is the winhandle. I might have to rework that part of the bot.
06/07/2011 05:46 13ouncer#135
On a good note
761=Checking bait.

761 fish runs and no errors while at school XD