Guys hope someone can help me, i have download the v0.21 and cant get it to work.
I have downloaded other version from official github CrayonCode-BDO-Project-master, i prefer this version but works only half; when i push f4 for start the bot start to fishing and caught what i want (for example only gold fish) but if i caught others like trash or something different the bot stopped work
18:47.03 Fullscreen detected (1920x1080) - No Offsets
18:47.03 FishingStandby detected.
18:47.03 Detecting free inventory space
18:47.04 Inventory closed
18:47.10 OCInventory Timeout
18:47.10 Casting Fishingrod
18:47.17 Casting fishingrod successful.
18:47.18 Currently fishing. (0s)
18:47.27 Currently fishing. (10s)
18:47.37 Currently fishing. (20s)
18:47.47 Currently fishing. (30s)
18:47.57 Currently fishing. (40s)
18:48.07 Currently fishing. (50s)
18:48.16 Unidentified state
18:48.17 Unidentified state (0s)
18:48.17 Unidentified state (1s)
18:48.18 Unidentified state (2s)
18:48.18 FishingBite detected. Calling ReelIn.
18:48.20 ReelIn successful. Calling Riddler.
18:48.24 Evaluating loot.
18:48.24 DetectLoot Waiting for Item List
18:48.24 DetectLoot Identifying Loot
18:48.25 Saving Loot Screenshot
18:48.25 Loot:[-100][-200][-200][-200]
18:48.26 Filter: R3 S1 A1 C1 E1 T0
18:48.26 Pick:[0][0][0][0]
18:48.26 FreeDetectedSlots: False, AvaibleSlots: -2
18:48.26 Inventory full! Stopping!
18:48.26 Fishing stopped.
Quote:
Originally Posted by Rodent11
I got this to work by changing the tolerance of the inventory search. That was causing the issue, just that it couldn't detect the inventory was open, and thus couldn't move forward.
Check this out:
Edit the "CrayonCode_Fishing.au3" file, and go to line 378, it should be:
Code:
$IS = _ImageSearchArea("res/reference_inventory.png", 0, $Res[0], $Res[1], $Res[2], $Res[3], $C[0], $C[1], 10, 0)
I changed it to this:
Code:
$IS = _ImageSearchArea("res/reference_inventory.png", 0, $Res[0], $Res[1], $Res[2], $Res[3], $C[0], $C[1], 15, 0)
The change was changing the 'tolerance' of the image search from 10 (color shade variation) to 15.
You can also get it to work by clipping a new reference image of the inventory bag, and using that (worked for me leaving it at 10 with a new image).
I'm attaching the image that works at 10 for me, if you don't want to edit the code, however this is based on my screen's settings (using NoContrast screen filter in BDO settings).
To use this, just rename it to "reference_inventory" instead of "reference_inventory_new", and replace the file under "\CrayonCode-BDO-Project-master\res\".
BTW CrayonCode, I love this, and I love AutoIt. Your bot is actually helping me learn more, so I really appreciate your work, hope that you come back and keep updating/ adding things.
|
big thanks mate you save me, this need to be on the first page for everyone have the problem related to the inventory.