[AutoIt] CrayonCode Bot Project (OpenSource & Free)

04/25/2017 14:56 limital#241
@[Only registered and activated users can see links. Click Here To Register...]
i tried your script but it does not dry the fish for me... my inventory fills up and the bot stops doing anything... my settings are all reset to standard
04/25/2017 16:02 ahmedwork#242
Quote:
Originally Posted by limital View Post
@[Only registered and activated users can see links. Click Here To Register...]
i tried your script but it does not dry the fish for me... my inventory fills up and the bot stops doing anything... my settings are all reset to standard
i don't use fish drying i'll try it and give a feedback later

Edit : yes it's kinda bugged sometimes it dry and sometimes not but the bug is related to detecting the free slots
04/25/2017 16:16 limital#243
oh i see xD i downloaded your script to try it as you said yours is working for 24 hours but in options the drying function is enabled... what options you use then?
04/25/2017 16:25 ahmedwork#244
Quote:
Originally Posted by limital View Post
oh i see xD i downloaded your script to try it as you said yours is working for 24 hours but in options the drying function is enabled... what options you use then?
it's not my main option as i don't loot fish and i don't use dry function but i just tried it and yes it's bugged
04/25/2017 18:13 killzone#245
Its best to just not loot fishes. Keep the relics coming, its more profitable.
04/25/2017 18:42 goodspuds#246
Success. Finally. After 6 nights of tinkering, it's finally dialed in.

Things worth noting that I identified may have been an issue.
  • Mouse movements
  • Long feed timer for workers. Reduce in config to keep them fed (Goblins)
  • Drying White fish+ will fill bags too fast. Recommend looting only blue or higher
  • Autoarrange on bags doesn't seem to have an impact if toggled on or not
  • Marketplace notifications may contribute to bot malfunctioning

Lastly. Not sure if Ahmeds script had something changed from Crayons or I finally identified all the faults on my end, but Ahmeds was the version I used to finally get it to work overnight. Thanks for the help - works great guys.
04/25/2017 19:12 s3anlike#247
I get some issues with Inventory "Detect free Inventory Space" sometimes the bot detect more than i can have any idea?
04/25/2017 19:16 Felix7845#248
So how can i run the program all i see is a .au3 file no .exe
04/25/2017 19:32 s3anlike#249
Quote:
Originally Posted by Felix7845 View Post
So how can i run the program all i see is a .au3 file no .exe
You need to install AutoIt to run the au.3 files
04/25/2017 19:47 jh936680152#250
Quote:
Originally Posted by s3anlike View Post
u need to overwritte this in script

Func BackToMount($Boat = 0) ; TODO find reliable way to detect if path is selected
Local Const $Mount[2][2] = [[44, 129], [98, 122]]
Sleep(1000)
CoSe("{LCTRL}")
Sleep(1000)
MouseMove($Mount[$Boat][0], $Mount[$Boat][1])
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1])
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1])
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1])
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1])
Sleep(2000)
CoSe("t")
CoSe("{LCTRL}")
Sleep(500)
MapMovement()
EndFunc ;==>BackToMount




i did what you said.
what it does right now is

mouse move to horse icon,
sleep 2sec
right click to find the path

I know how it works, but sometime right click horse icon dosen't do anything even my mouse is on the horse icon.

i read the code, it make sense to me. i just dont understand why right click dosent function right sometime.

i used test auto-restock to test it, sometime right click is working, some time doesnt

i changed sleep time to 5sec, it still has same problem.

pls help,
04/25/2017 19:52 s3anlike#251
Quote:
Originally Posted by jh936680152 View Post
i did what you said.
what it does right now is

mouse move to horse icon,
sleep 2sec
right click to find the path

I know how it works, but sometime right click horse icon dosen't do anything even my mouse is on the horse icon.

i read the code, it make sense to me. i just dont understand why right click dosent function right sometime.

i used test auto-restock to test it, sometime right click is working, some time doesnt

i changed sleep time to 5sec, it still has same problem.

pls help,
I dont know why but i found it i think its everyn time on first game start its not work i dont know why.. but if u follow my instructions u will not have problems on first loop he will stuck on wall u need to force him self righclick on horse press t and the second time if the bot is finished he will do everything correctly

PS: U will get this problem everytime after u starting Blackdesert again the first run of bot will fail when u change ur channel u get this problem too!

For example to understant what i did:

MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) "first try will fail"
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) "will success"
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) "will fail again"
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) " will success"
04/25/2017 20:54 jh936680152#252
Quote:
Originally Posted by s3anlike View Post
I dont know why but i found it i think its everyn time on first game start its not work i dont know why.. but if u follow my instructions u will not have problems on first loop he will stuck on wall u need to force him self righclick on horse press t and the second time if the bot is finished he will do everything correctly

PS: U will get this problem everytime after u starting Blackdesert again the first run of bot will fail when u change ur channel u get this problem too!

For example to understant what i did:

MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) "first try will fail"
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) "will success"
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) "will fail again"
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) " will success"


ty so much, i will try it. :) tytytyty
04/25/2017 23:46 CrayonCode#253
New version will probably be out tomorrow or the day after tomorrow. I'll first check if the new UI features in the patch will mess anything up and then release it.

It will support all resolutions that allow 100% UI Scale (windowed and fullscreen) and will ship with settings for 1920x1080 and 1280x768. I'll add a guide how to create a preset for your own resolution and hopefully you guys will share them here.

You will also have the option to automatically restart the game if a disconnect occurs and continue fishing. (Only enters the password in the launcher not the email. So check 'remember my email' in the launcher.)

Lot of bugfixes, some small requested additions and probably some new bugs.

The auto-pathing to the horse is still driving me nuts tho.

Sorry for taking so long. I was kinda busy over easter and felt like doing other things too.




@[Only registered and activated users can see links. Click Here To Register...]:
Thank you man. You really helped me to get over that wall. User32 works like a charm.
04/26/2017 00:20 s3anlike#254
Quote:
Originally Posted by CrayonCode View Post
New version will probably be out tomorrow or the day after tomorrow. I'll first check if the new UI features in the patch will mess anything up and then release it.

It will support all resolutions that allow 100% UI Scale (windowed and fullscreen) and will ship with settings for 1920x1080 and 1280x768. I'll add a guide how to create a preset for your own resolution and hopefully you guys will share them here.

You will also have the option to automatically restart the game if a disconnect occurs and continue fishing. (Only enters the password in the launcher not the email. So check 'remember my email' in the launcher.)

Lot of bugfixes, some small requested additions and probably some new bugs.

The auto-pathing to the horse is still driving me nuts tho.

Sorry for taking so long. I was kinda busy over easter and felt like doing other things too.




@[Only registered and activated users can see links. Click Here To Register...]:
Thank you man. You really helped me to get over that wall. User32 works like a charm.

Hey crayon the Horse icon needs to be clicked once after relogg i think than it will work if the bot marks the waypoint for the second time..

and is it possible to Sell fishes about bergain?
04/26/2017 00:49 CrayonCode#255
Quote:
Originally Posted by s3anlike View Post
Hey crayon the Horse icon needs to be clicked once after relogg i think than it will work if the bot marks the waypoint for the second time..

and is it possible to Sell fishes about bergain?
Yes it is quite possible. Allthough I don't know any other way, but spamming the buttons and retry until there is a success. But I guess most people don't do it any different.