Register for your free account! | Forgot your password?

Go Back   elitepvpers > New Arrivals > Black Desert
You last visited: Today at 14:53

  • Please register to post and access all features, it's quick, easy and FREE!

 

[AutoIt] CrayonCode Bot Project (OpenSource & Free)

Reply
 
Old   #61
 
elite*gold: 0
Join Date: Mar 2006
Posts: 1,508
Received Thanks: 292
@
Idk why but with the randomized timer for reeling in broke it for me.
There seems a lot of misses after the v13 update.

Is it possible to implement a perfect casting as well?
Like:
Perfect Cast, if failed, do your reeling logic next.

Source:


As for Auto Restocking, its best to Repair first before selling fishes.
This fixed for me when I exchange the routine to repair first then trade.
Using it on Veila as test restock.

Might as well as click the "repair equiped" & then repair inventory.



killzone is offline  
Old   #62
 
elite*gold: 0
Join Date: Apr 2008
Posts: 389
Received Thanks: 105
@

Code:
Local $aFileList = _FileListToArray("imgs/", "*")
	Local $eventPics[10]
	For $i = 1 To $aFileList[0]
	$eventPics[$i] = $aFileList[$i]
a better suggestion is to use imagesearch area with result position enabled and search for each slot and with the provided code we can event items and by using mouseclick we can pick instead of using "R"


ahmedwork is offline  
Old   #63
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
Quote:
Originally Posted by killzone View Post
@
Idk why but with the randomized timer for reeling in broke it for me.
There seems a lot of misses after the v13 update.

Is it possible to implement a perfect casting as well?
Like:
Perfect Cast, if failed, do your reeling logic next.

Source:


As for Auto Restocking, its best to Repair first before selling fishes.
This fixed for me when I exchange the routine to repair first then trade.
Using it on Veila as test restock.

Might as well as click the "repair equiped" & then repair inventory.
You can always change the values in the RandomSettings to 0.
The random element for reeling in is only about how long you wait until you start the reeling in. The key method for catching the blue bar at the right time changed. I will tweak it a little for the next version maybe it will help.

Just copy the ReelIn() from v0.12 and replace it in v.013.

Next version also includes a check if the pathfinding is selected. It works for all NPCs but not the horse sadly. This should make it more sturdy.

I will release the next version probably tomorrow.



@: Lootdetection will be reworked in the next version and instead of scanning the whole loot area it will detect every slot of the first row individually so you can loot item by item. And rarity detection will use fastfind instead of imagesearch. (I don't think you can loot more then 4 items at once right?)
CrayonCode is offline  
Old   #64
 
elite*gold: 0
Join Date: Apr 2008
Posts: 389
Received Thanks: 105
Quote:
Originally Posted by CrayonCode View Post
You can always change the values in the RandomSettings to 0.
The random element for reeling in is only about how long you wait until you start the reeling in. The key method for catching the blue bar at the right time changed. I will tweak it a little for the next version maybe it will help.

Just copy the ReelIn() from v0.12 and replace it in v.013.

Next version also includes a check if the pathfinding is selected. It works for all NPCs but not the horse sadly. This should make it more sturdy.

I will release the next version probably tomorrow.



@: Lootdetection will be reworked in the next version and instead of scanning the whole loot area it will detect every slot of the first row individually so you can loot item by item. And rarity detection will use fastfind instead of imagesearch. (I don't think you can loot more then 4 items at once right?)
yeaa also we gonna need imagrsearch for event items... fastfind gonna work for normal drops


ahmedwork is offline  
Old   #65
 
elite*gold: 0
Join Date: Jun 2008
Posts: 64
Received Thanks: 2
V0.12 is perfect for me atm. I honestly dont care much about the npc selling function as it is always sold out, but looking forward to profit tables. Only relics and silver keys net me 20m+ easily.
sunny55 is offline  
Old   #66
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
Quote:
Originally Posted by ahmedwork View Post
yeaa also we gonna need imagrsearch for event items... fastfind gonna work for normal drops
The imagesearch is still in for special items and soon for event items. Don't you worry.

The bigger problem is a certain state for the mouse loot. If you have the mouse showing then it will just keep looting everything, because rightclick while the mouse is showing acts like pressing R. I could solve that by opening and closing the inventory every single time you catch a fish. But that is so ugly I don't want to use it.
CrayonCode is offline  
Old   #67
 
elite*gold: 0
Join Date: Apr 2008
Posts: 389
Received Thanks: 105
Quote:
Originally Posted by CrayonCode View Post
The imagesearch is still in for special items and soon for event items. Don't you worry.

The bigger problem is a certain state for the mouse loot. If you have the mouse showing then it will just keep looting everything, because rightclick while the mouse is showing acts like pressing R. I could solve that by opening and closing the inventory every single time you catch a fish. But that is so ugly I don't want to use it.
not really for example we are checking first loot slot if it meets our requirement then get the middle of the loot slot then
SEND[{CTRL}] >> mouse move > mouse click
repeat for the other 3 slots
ahmedwork is offline  
Old   #68
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
Quote:
Originally Posted by ahmedwork View Post
not really for example we are checking first loot slot if it meets our requirement then get the middle of the loot slot then
SEND[{CTRL}] >> mouse move > mouse click
repeat for the other 3 slots
If I would do what you just said. Every second time you catch a fish you would move the camera instead of the mouse and loot all.

You have to send ctrl before looting and after looting, since it works only in one of the two states (mouse shown, mouse not shown).

But if you start with the wrong state (mouse shown) you will ALWAYS loot all and move the camera instead of clicking the target.

What I simply need to make this bulletproof is a way to detect that the mouse is visible or not.
Right now I can only do that if I open and close an UI element and check for it everytime.
But that is ugly af.
CrayonCode is offline  
Old   #69
 
elite*gold: 0
Join Date: Mar 2017
Posts: 13
Received Thanks: 1
Thanks all works on EU, but whether it is possible to make the same script on RU version of the server?
laservic is offline  
Old   #70
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
Quote:
Originally Posted by laservic View Post
Thanks all works on EU, but whether it is possible to make the same script on RU version of the server?
I would need 4 1920x1080 fullscreen screenshots in .bmp format.
1. When you are ready to fish
2. When you are fishing.
3. When a fish is on the line
4. When the you have to hit the blue bar

And if possible WITHOUT lenseflare over the text.



v0.14 is out!
@ check the new loot
@ try the drying feature
CrayonCode is offline  
Thanks
3 Users
Old   #71
 
elite*gold: 0
Join Date: Mar 2017
Posts: 25
Received Thanks: 5
I dont see DRY option in 0.14 GUI :P
KKK76 is offline  
Old   #72
 
elite*gold: 0
Join Date: Mar 2017
Posts: 13
Received Thanks: 1
Quote:
Originally Posted by CrayonCode View Post
I would need 4 1920x1080 fullscreen screenshots in .bmp format.
1. When you are ready to fish
2. When you are fishing.
3. When a fish is on the line
4. When the you have to hit the blue bar

And if possible WITHOUT lenseflare over the text.



v0.14 is out!
@ check the new loot
@ try the drying feature
I send a screen of fishing in zip
Attached Files
File Type: rar BDO.rar (9.16 MB, 14 views)
laservic is offline  
Thanks
1 User
Old   #73
 
elite*gold: 0
Join Date: Jun 2008
Posts: 64
Received Thanks: 2
For some reason v0.14 does not loot anything for me . I just tested it 2 times and It let go a relic dammit xD Will do further testing in a few hours a bit busy atm.
sunny55 is offline  
Old   #74
 
elite*gold: 0
Join Date: Mar 2017
Posts: 25
Received Thanks: 5
All working for me.

Loot
Loot event
Dry (when i dont have slot empty) and Dry Loot. ( i check with blue)
Food
Feed Worker
Restock

TY u work is PERFECT.
KKK76 is offline  
Thanks
1 User
Old   #75
 
elite*gold: 0
Join Date: Apr 2008
Posts: 389
Received Thanks: 105
Quote:
Originally Posted by CrayonCode View Post
I would need 4 1920x1080 fullscreen screenshots in .bmp format.
1. When you are ready to fish
2. When you are fishing.
3. When a fish is on the line
4. When the you have to hit the blue bar

And if possible WITHOUT lenseflare over the text.



v0.14 is out!
@ check the new loot
@ try the drying feature
everything is working well so far just some suggestions don't press CTRL when the loot doesn't meet the require rarity and about how to detect mouse if is visible or not we can use imagesearch for that the second part is i'll explain it with example for better understanding lets say we are checking the 4 slots and we found a relic in the first slot and an event item in the second slot >> save both coordinates in an array then check for arrow visibility then press {CTRL} if arrow is hidden and pick the 2 items

and please disable cr in imagesearch i keep disabling it every update :P it's annoying

Code:
		cr("+>" & "@OSArch=" & $sOSArch &    [MENTION=546457]tab[/MENTION] & "@AutoItX64=" & $sAutoItX64 &    [MENTION=546457]tab[/MENTION] & "therefore using x64 ImageSearch DLL")
And for a better usability of the delay functions of riddle and reelin it's better to add it to the GUI as well as a checkbox for dry function
Attached Images
File Type: jpg Capture.jpg (12.1 KB, 34 views)


ahmedwork is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Opensource] PokeMMO Autoit bots
DON'T USE THIS UNTIL WE FIND A WAY TO WORK AROUND THE CAPTCHA!!! Gnomepy's PokeMMO bot V6.1 *31 january 2013* Functions: -Heals when hp/pp...
117 Replies - Pokemon
[OPENSOURCE PROJECT] BROWSERGAME
HEYHO Leute :D , Ich suche Leute die Lust hätten mit mir ein eigenes Browsergame zu erstellen. Also ich bräuchte ein ganzes Team so wie Sponsoren...
8 Replies - Web Development
[OpenSource Project] C++ CoCore
Alright, I think I'm done with the lurking for now.. The main reason of me starting this project is to get some people to use C++ instead of C#....
59 Replies - CO2 PServer - Discussions / Questions
Farmville Automatizer OPENSOURCE free bot [AutoIT]
Farmville Automatizer released! Open Source >>> Download <<<
2 Replies - Facebook



All times are GMT +2. The time now is 14:53.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.