Register for your free account! | Forgot your password?

Go Back   elitepvpers > New Arrivals > Black Desert
You last visited: Today at 05:46

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

 

[AutoIt] CrayonCode Bot Project (OpenSource & Free)

Reply
 
Old   #976
 
elite*gold: 0
Join Date: Jul 2017
Posts: 12
Received Thanks: 10
Quote:
Originally Posted by s3anlike View Post
Got it now thanks

Code:
			MouseMove($InvA[0] + 8, $InvA[1])  // +8 is correct here
now its working like a charm like before the update cames

PS: join Discord let us make the Github version more comfortable
I'll join the Discord when I'm home if I remember, just at work now myself

Glad that you were able to find a value that works. Just FYI, there are multiple places where the 'MouseWheel' event is called, and you will likely need to change it in all those places as well.

Here's what you'd want to replace it with, then:

Code:
MouseMove($InvA[0] + 8, $InvA[1])
Sleep(50)
For $mw = 0 To 7
	MouseWheel("down")
	Sleep(50)
Next
I count 5 places. In the unedited script on lines 940 (SwapFishingrod function), 1358 (DryFish function), 1407 (what we changed, DetectFreeInventory function), 1751 (BankRelics function), and 1847 (BrokerRelics function). Obviously these are only necessary if you're using them, but the 'SwapFishingrod' one is probably mandatory to change as well as the 'DetectFreeInventory'.



Rodent11 is offline  
Old   #977
 
elite*gold: 0
Join Date: Mar 2011
Posts: 97
Received Thanks: 4
Quote:
Originally Posted by Rodent11 View Post
I'll join the Discord when I'm home if I remember, just at work now myself

Glad that you were able to find a value that works. Just FYI, there are multiple places where the 'MouseWheel' event is called, and you will likely need to change it in all those places as well.

Here's what you'd want to replace it with, then:

Code:
MouseMove($InvA[0] + 8, $InvA[1])
Sleep(50)
For $mw = 0 To 7
	MouseWheel("down")
	Sleep(50)
Next
I count 5 places. In the unedited script on lines 940 (SwapFishingrod function), 1358 (DryFish function), 1407 (what we changed, DetectFreeInventory function), 1751 (BankRelics function), and 1847 (BrokerRelics function). Obviously these are only necessary if you're using them, but the 'SwapFishingrod' one is probably mandatory to change as well as the 'DetectFreeInventory'.
ok, You right man everything works like a charm now


s3anlike is offline  
Old   #978
 
elite*gold: 0
Join Date: Mar 2006
Posts: 1,559
Received Thanks: 309
@Rodent11 CrayonCode does this for fun and when he got the time. Fixes and minor updates should be left to the community. Just like what we're doing to the source now.
Therefore, forking the source from GitHub is not an issue at all.
That's how opensource supposed to work.
killzone is offline  
Old   #979
 
elite*gold: 0
Join Date: Dec 2016
Posts: 4
Received Thanks: 0
In my case, it seems to have some trouble detecting the inventory, everything goes well until it gets to the loot part, then the script stops working. Here's my log:

Quote:
23:44.37 Fullscreen detected (1366x768) - No Offsets
23:44.37 FishingStandby detected.
23:44.37 Buff Cooldown(30m): 30m left. Keys:[7][8]
23:44.37 Drying Cooldown (5m): 5m left.
23:44.37 Detecting free inventory space
23:44.37 Inventory closed
23:44.56 OCInventory Timeout
23:44.56 Casting Fishingrod
23:45.04 Casting fishingrod successful.
23:45.04 Currently fishing. (0s)
23:45.13 Currently fishing. (10s)
23:45.23 Currently fishing. (20s)
23:45.33 Currently fishing. (30s)
23:45.43 Currently fishing. (40s)
23:45.53 Currently fishing. (50s)
23:46.03 Unidentified state
23:46.03 Unidentified state (0s)
23:46.04 Unidentified state (1s)
23:46.05 Unidentified state (2s)
23:46.05 FishingBite detected. Calling ReelIn.
23:46.07 ReelIn successful. Calling Riddler.
23:46.11 Evaluating loot.
23:46.11 DetectLoot Waiting for Item List
23:46.11 DetectLoot Identifying Loot
23:46.12 Saving Loot Screenshot
23:46.12 Loot:[-100][-200][-200][-200]
23:46.14 Filter: R0 S0 A1 C1 E1 T0
23:46.14 Pick:[0][0][0][0]
23:46.14 FreeDetectedSlots: False, AvaibleSlots: -2
23:46.14 Inventory full! Stopping!
23:46.14 Fishing stopped.


mogomon is offline  
Old   #980
 
elite*gold: 0
Join Date: May 2010
Posts: 11
Received Thanks: 0
Give me please the Fishing bot discored
abdoo2 is offline  
Old   #981
 
elite*gold: 0
Join Date: Jul 2017
Posts: 12
Received Thanks: 10
Quote:
Originally Posted by mogomon View Post
In my case, it seems to have some trouble detecting the inventory, everything goes well until it gets to the loot part, then the script stops working.
@mogomon Please check out my post here and see if that works for you: https://www.elitepvpers.com/forum/bl...l#post36165893

If that doesn't help, then could you describe what happens when it tries to look at the inventory?
Rodent11 is offline  
Old   #982
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1
Received Thanks: 0
CrayonCode, is possible make to use in NA server? cause client is only portuguese or espanol.
"trying to equip fishing rod" i have fishind rod, but cliente portuguese is called 'vara de pesca'
ty
Thedoldi is offline  
Old   #983
 
elite*gold: 0
Join Date: Nov 2010
Posts: 177
Received Thanks: 13
Quote:
Originally Posted by Thedoldi View Post
CrayonCode, is possible make to use in NA server? cause client is only portuguese or espanol.
"trying to equip fishing rod" i have fishind rod, but cliente portuguese is called 'vara de pesca'
ty
This is not possible unless you know how to take out text image to replace the files in the res folder.
everknown is offline  
Old   #984
 
elite*gold: 0
Join Date: Jul 2017
Posts: 12
Received Thanks: 10
Quote:
Originally Posted by Thedoldi View Post
CrayonCode, is possible make to use in NA server? cause client is only portuguese or espanol.
@Thedoldi, This program was originally for NA: "This project is specifically made for the english Black Desert EU/NA client."

So do you mean making it work with your server? As everknown mentioned, you would likely have to change some of the image files, and some of the code as there's reference points to specific places where test (in English) should be (v.2*, GitHub version is different).

With the latest patch, please read these posts as some changes will need to be made to get it working (on an English client):
https://www.elitepvpers.com/forum/bl...l#post36165893
https://www.elitepvpers.com/forum/bl...l#post36167589
Rodent11 is offline  
Thanks
2 Users
Old   #985
 
elite*gold: 0
Join Date: Dec 2016
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by Rodent11 View Post
@mogomon Please check out my post here and see if that works for you: https://www.elitepvpers.com/forum/bl...l#post36165893

If that doesn't help, then could you describe what happens when it tries to look at the inventory?
Yeah! Works greatly now, thanks a lot!!
mogomon is offline  
Old   #986
 
elite*gold: 0
Join Date: Mar 2017
Posts: 25
Received Thanks: 5
Does anyone have an idea of how to implement the grinding method in the processing script?
KKK76 is offline  
Old   #987
 
elite*gold: 20
Join Date: Feb 2006
Posts: 1,936
Received Thanks: 1,857
Quote:
Originally Posted by KKK76 View Post
Does anyone have an idea of how to implement the grinding method in the processing script?
As far as I know kinda impossible as this Bot is written by AutoIT and is not injecting into the client and using the pixelcheck-variant to check for certain images / pixels on the specified screen.


Although it might be possible to write it so the Bot executes skills, he would need to rotate the camera, check for monsters and furthermore the distance etc.
Vyndariel is offline  
Old   #988
 
elite*gold: 0
Join Date: Mar 2006
Posts: 1,559
Received Thanks: 309
Quote:
Originally Posted by Vyndariel View Post
As far as I know kinda impossible as this Bot is written by AutoIT and is not injecting into the client and using the pixelcheck-variant to check for certain images / pixels on the specified screen.


Although it might be possible to write it so the Bot executes skills, he would need to rotate the camera, check for monsters and furthermore the distance etc.
XD
You have it wrong. He's asking how to make the processing work.
killzone is offline  
Old   #989
 
elite*gold: 0
Join Date: Mar 2017
Posts: 25
Received Thanks: 5
Quote:
Originally Posted by killzone View Post
XD
You have it wrong. He's asking how to make the processing work.
yeah

The most absurd thing is that I now find that grinding (in "custom" mode already works) but the problem is I can not make an image that allows the script to find the resource.

small, large, bmp, png dont work
KKK76 is offline  
Old   #990
 
elite*gold: 0
Join Date: Feb 2007
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by KKK76 View Post
yeah

The most absurd thing is that I now find that grinding (in "custom" mode already works) but the problem is I can not make an image that allows the script to find the resource.

small, large, bmp, png dont work
have you tried using this method

_ImageSearch()
or
_ImageSearchArea()


metrosound 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 +1. The time now is 05:46.


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

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