[AutoIt] CrayonCode Bot Project (OpenSource & Free)

04/14/2017 16:20 CrayonCode#136
Quote:
Originally Posted by s3anlike View Post
hey @[Only registered and activated users can see links. Click Here To Register...] what i need to change to get the bot working in German .. i need to change it because some quests are easier to understand for me in German ..
Check out Func GetState()

You will see the color and coordinates there. You are basically looking for the solid part in the text on the top side of the screen.
[Only registered and activated users can see links. Click Here To Register...]

Local $R[5] = [679, 60, 1233, 64, 15000804] ; FishingStandby

This means it will check region 679, 60 to 679, 64 (P) and then 1233, 60 to 1233, 64 (g) for the DEC color value 15000804 or 0xE4E4E4 in HEX. So it checks 4 Pixels on each side of the sentence.

You will have to find the position for all the 3 states. Or just post uncompressed .bmp pictures for the 3 states here. I would prefer you posting them.


Quote:
Originally Posted by laservic View Post
Such screenshots for the bot will do?
They are perfect. I just need 1 more. Put the fishing rod in your hand but don't fish yet and make another screenshot.
04/14/2017 17:51 anonamus111#137
Bot works great fishing but I can't seem to get drying to work. I have min. fish set to green, drying ticked on, and fish to dry up to green. Bot detects empty slots then stops when it hits its limit but never tries to dry fish.
04/14/2017 18:01 s3anlike#138
Quote:
Originally Posted by CrayonCode View Post
Check out Func GetState()

You will see the color and coordinates there. You are basically looking for the solid part in the text on the top side of the screen.
[Only registered and activated users can see links. Click Here To Register...]

Local $R[5] = [679, 60, 1233, 64, 15000804] ; FishingStandby

This means it will check region 679, 60 to 679, 64 (P) and then 1233, 60 to 1233, 64 (g) for the DEC color value 15000804 or 0xE4E4E4 in HEX. So it checks 4 Pixels on each side of the sentence.

You will have to find the position for all the 3 states. Or just post uncompressed .bmp pictures for the 3 states here. I would prefer you posting them.



They are perfect. I just need 1 more. Put the fishing rod in your hand but don't fish yet and make another screenshot.

Hey thanks let me do this self if im not successfull u will get my pictures :)
04/14/2017 18:52 xElectric#139
i have the game on 1920x1080 windowed fullscreen with 100% ui scale
and it stil gives me ( E: must be 1920x1080 Windowed Fullscreen )!
idk why
04/14/2017 19:35 nvpav#140
Quote:
Originally Posted by xElectric View Post
i have the game on 1920x1080 windowed fullscreen with 100% ui scale
and it stil gives me ( E: must be 1920x1080 Windowed Fullscreen )!
idk why
Add these line in the beginning of Main function:

If @[Only registered and activated users can see links. Click Here To Register...]pe="WIN_10" Then
DllCall("Shcore.dll","long","PROCESS_DPI_AWARENESS ",1)
Else
DllCall("User32.dll","bool","SetProcessDPIAware")
EndIf
;hResult is 32bit
04/14/2017 20:06 xElectric#141
Quote:
Originally Posted by nvpav View Post
Add these line in the beginning of Main function:

If @[Only registered and activated users can see links. Click Here To Register...]pe="WIN_10" Then
DllCall("Shcore.dll","long","PROCESS_DPI_AWARENESS ",1)
Else
DllCall("User32.dll","bool","SetProcessDPIAware")
EndIf
;hResult is 32bit

idk how to add it and so on not a programmer not good in these things tbh
just a bot user
can u screenshot for me or something if possible?
-------
Edit:
thank you works now, learned how to add it
04/14/2017 20:36 laservic#142
Quote:
Originally Posted by CrayonCode View Post
Check out Func GetState()

You will see the color and coordinates there. You are basically looking for the solid part in the text on the top side of the screen.
[Only registered and activated users can see links. Click Here To Register...]

Local $R[5] = [679, 60, 1233, 64, 15000804] ; FishingStandby

This means it will check region 679, 60 to 679, 64 (P) and then 1233, 60 to 1233, 64 (g) for the DEC color value 15000804 or 0xE4E4E4 in HEX. So it checks 4 Pixels on each side of the sentence.

You will have to find the position for all the 3 states. Or just post uncompressed .bmp pictures for the 3 states here. I would prefer you posting them.



They are perfect. I just need 1 more. Put the fishing rod in your hand but don't fish yet and make another screenshot.
Made new screenshots in bmp format
04/14/2017 23:46 SoMeOnE166#143
at heidel and velia it gets stuck on the way back. any way to fix that?
04/15/2017 00:21 rantobot1#144
Got some strange issue wiwth auto-restock, the bot does all the loop as it is supposed to do, but after the last step (in my case storage keeper) it point to trade manager then interrupt the paths moving directly into the water (i'm in Heidel BTW).
I put my horse right where i stand fishing, so i don't know what the problem is, just reporting the bugs, hope it helps!
04/15/2017 01:53 rsbotmaniac5#145
tried using this last night it would not even fish, found it this morning spazzing out at storage vendor. It had not caught 1 fish but had somehow finished its cycle and ran to storage.
04/15/2017 06:43 721560329#146
Quote:
Originally Posted by rantobot1 View Post
Got some strange issue wiwth auto-restock, the bot does all the loop as it is supposed to do, but after the last step (in my case storage keeper) it point to trade manager then interrupt the paths moving directly into the water (i'm in Heidel BTW).
I put my horse right where i stand fishing, so i don't know what the problem is, just reporting the bugs, hope it helps!
running back to mount is known to be buggy because as of right now its buggy in the game aswell
04/15/2017 11:38 s3anlike#147
@[Only registered and activated users can see links. Click Here To Register...] u need to add a command that allows the trading mini game for more profit before selling fishes
04/15/2017 17:01 ahmedwork#148
i think your bot is being sold on other forum just search on Google with black desert fish bot and sort the result by last month you will find it :/
04/15/2017 17:42 s3anlike#149
Quote:
Originally Posted by ahmedwork View Post
i think your bot is being sold on other forum just search on Google with black desert fish bot and sort the result by last month you will find it :/
[Only registered and activated users can see links. Click Here To Register...]

this one?
04/15/2017 17:43 ahmedwork#150
yes