Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Black Desert
You last visited: Today at 20:45

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

Advertisement



[AutoIt] CrayonCode Bot Project (OpenSource & Free)

Discussion on [AutoIt] CrayonCode Bot Project (OpenSource & Free) within the Black Desert forum part of the MMORPGs category.

Reply
 
Old 04/29/2017, 09:29   #331
 
elite*gold: 0
Join Date: Oct 2015
Posts: 151
Received Thanks: 7
.
RyliaH is offline  
Old 04/29/2017, 22:06   #332
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,826
Received Thanks: 429
@
I did not test the updated version of Restocking function.
Is it good now? Does it check the "yellow" texts when pathing is successful?

The Yellow Text I mentioned, only shows when you "clicked" successfully on the "NPC Icon" and that the pathing is shown. This "yellow text" can be used as "confirmation" that our bot is successful in making a path.

The Yellow Text is the "NPC Name" next to the NPC Icon.

So basically, what Im saying is.
The Yellow Text will only appear when Pathing is 100% made.

So it will work something like this.

Code:
Sub ClickTraderNPC()
MouseClick(X,Y) ; click NPCTraderIcon (that icon with cart)
;then below you put a check to see if there's a yellow text visible
If NPCTraderYellowText = True
GoToTraderNPC()
Else
MouseClick(X,Y) ; click the NPCTraderIcon again

End Sub
killzone is offline  
Old 04/29/2017, 22:46   #333
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
New version is out. Patchnotes:

Quote:
v0.19

- Fixed a bug where the Relic Reserve would stay active if it was reached once.
- Changes to Reserve handling and added status if loot is ignored because of relic reservation for better feedback.
- Now checks for daily rewards window after failed Riddle

New things:
- Added ignore folder to res where you can put cropped .bmp images of special loot you don't want to pick up (works like event items)
- Added Marketplace Bid/Buy for selected items. If everything works fine we will expand functionality. [F5] to Start/Stop.

@: I added the check for the NPCs pretty early on already.
Problem is still the horse/boat where we can't check this.
Also the variable position and transparency of the searchwindow, which sometimes fails to find the correct anchorpoint. (It can also be overlapped by npc/player interaction icons. But the farther you are zoomed out the more unlikely this becomes)

@ I added another escape for the daily reward after a failed riddle attempt. Try it out please.

@ You can now crop images of the undryable fish and put them as .bmp into the ignore folder. Everything in that folder won't be looted.
Just don't crop to large. Make them as big or smaller then the images in the /event/ folder

@ check the marketplace

@ Those coordinates are way off. How did you find them?
Just take a screenshot in .bmp and open it in paint. You see the coordinates in the lower left. You just need to make sure to get the right color. Make sure you zoom in. I might need to expand on the guide if people keep having trouble.
CrayonCode is offline  
Thanks
3 Users
Old 04/30/2017, 00:19   #334
 
elite*gold: 0
Join Date: Oct 2016
Posts: 8
Received Thanks: 1
there r a bug in v0.18
not looting silverkey
and can u add function to close marketplace notification cus it cant discard Rods when there r a notification
gonna test the new version now (0.19)
thanks for awesome work
xElectric is offline  
Old 04/30/2017, 00:35   #335
 
elite*gold: 0
Join Date: Mar 2011
Posts: 109
Received Thanks: 8
@ all bugs from v.17 seems like fixed thx

Can you add repair equipment for floats to repair them, next version too?
s3anlike is offline  
Old 04/30/2017, 00:44   #336
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
Quote:
Originally Posted by s3anlike View Post
@ all bugs from v.17 seems like fixed thx

Can you add repair equipment for floats to repair them, next version too?
Floats are a waste of time and effort. I won't support them unless they get buffed. Nobody needs more blue fish instead of relics or golden fish.
CrayonCode is offline  
Old 04/30/2017, 00:45   #337
 
elite*gold: 0
Join Date: Mar 2011
Posts: 109
Received Thanks: 8
Quote:
Originally Posted by CrayonCode View Post
Floats are a waste of time and effort. I won't support them unless they get buffed.
hmm ok not matter xd
@

is it possible to make an protect for wrong inventory slots detecting? Sometimes the bot detects more Inventory slots than i have and i get a stuck, and if this happens the bot should be make 2 inventory slots free and continue selling in town?
s3anlike is offline  
Old 04/30/2017, 01:09   #338
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
Quote:
Originally Posted by s3anlike View Post
hmm ok not matter xd
@

is it possible to make an protect for wrong inventory slots detecting? Sometimes the bot detects more Inventory slots than i have and i get a stuck, and if this happens the bot should be make 2 inventory slots free and continue selling in town?
Look for Func DetectFreeInventory()
Code:
$IS = _ImageSearchArea("res/reference_empty.bmp", 0, $InvA[0] + $i * 48, $InvA[1] - 24 + $j * 48, $InvA[0] + 48 + $i * 48, $InvA[1] + 24 + $j * 48, $x, $y, 20, 0)
The 20 after the $y is the the shadevariation. Try reducing it to 15 or 10. Though it might overlook some free slots if its to low.

Also check if it really scrolls down to the last slots when it detects the free inventory. If that's not the case because your pc is too laggy then try increasing the click delays in #Region - Global
Code:
Opt("MouseClickDownDelay", 100)
Opt("MouseClickDelay", 50)
Because this should be the only reason why it can detect more free inventory slots than there are.


Also don't forget items that can stack like Silver Keys, Trash or Event Items don't count as looted items, because I assume you reserved a slot for them already.
Usually just increasing the Buffer to 8 should do the trick.

You have to observe the detection and compare. I can't tell exactly whats wrong from here.
CrayonCode is offline  
Thanks
1 User
Old 04/30/2017, 01:15   #339
 
elite*gold: 0
Join Date: Mar 2017
Posts: 11
Received Thanks: 0
@ Thanx for the Marketplace function !
i guess the code i sent u was useless :P
rantobot is offline  
Old 04/30/2017, 01:55   #340
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
Quote:
Originally Posted by rantobot View Post
@ Thanx for the Marketplace function !
i guess the code i sent u was useless :P
You don't have to copy someones work to learn from them. It's often the small things that you can transfer everywhere else. You will see the trouble I had with functions that could return arrays and normal variables in older versions, just to be solved by the IsArray() you used in your script.

You and ahmedwork should exchange your code. Maybe you also learn form each other.
CrayonCode is offline  
Old 04/30/2017, 03:14   #341
 
elite*gold: 0
Join Date: Apr 2017
Posts: 8
Received Thanks: 0
Marketpalce function does not work for me, says no Purple Bag found or smth like that.
Darkxq2 is offline  
Old 04/30/2017, 03:29   #342
 
elite*gold: 0
Join Date: Apr 2017
Posts: 34
Received Thanks: 4


@ ty it Photoshop problems fix it with paint ^^

Quote:
Originally Posted by Darkxq2 View Post
Marketpalce function does not work for me, says no Purple Bag found or smth like that.
same her not work Purple Bag found

Edit : it work with ENG client ^^ how do this for FR or Ger client? , i dont have much money to buy all item xD
need option for amount how many need to buy or buy juste one in all offer
imedbox is offline  
Old 04/30/2017, 08:38   #343
 
elite*gold: 0
Join Date: Mar 2017
Posts: 11
Received Thanks: 0
Quote:
Originally Posted by CrayonCode View Post
You don't have to copy someones work to learn from them. It's often the small things that you can transfer everywhere else. You will see the trouble I had with functions that could return arrays and normal variables in older versions, just to be solved by the IsArray() you used in your script.

You and ahmedwork should exchange your code. Maybe you also learn form each other.
Glad to hear that helped a bit, i learned already a lot from your work, i never thought autoIT could be that powerfull!
Thank you very much for your amazing work and for sharing it opensource!
rantobot is offline  
Old 04/30/2017, 10:44   #344
 
elite*gold: 0
Join Date: Oct 2015
Posts: 151
Received Thanks: 7
.
RyliaH is offline  
Old 04/30/2017, 10:54   #345
 
ahmedwork's Avatar
 
elite*gold: 325
Join Date: Apr 2008
Posts: 713
Received Thanks: 225
Quote:
Originally Posted by RyliaH View Post
@ I added another escape for the daily reward after a failed riddle attempt. Try it out please.



Same happened last night even with newest version. I dont have idea why because every other bot function is working perfectly for me . It just wont close attendance reward windows once pop out and will *** fishing because of that. Everythins is set correctly i dont know whats wrong .. Anyone got similiar problem ?
i don't have any problem since ver.16 on 1920.1080 resolution 24 hurs continues fishing without any problem

Sent from my Redmi 4 using Tapatalk
ahmedwork is offline  
Reply


Similar Threads Similar Threads
[Opensource] PokeMMO Autoit bots
01/12/2014 - Pokemon - 117 Replies
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 is low -Catches shiny's -Train EV (currently only Attack, Speed and Sp.Attack are added)
[OPENSOURCE PROJECT] BROWSERGAME
02/06/2012 - Web Development - 8 Replies
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 usw. Wir Brauchen Programmierer Und eine Idee. Was genau wir veröffentlichen wollen. Alle die Vielleicht nicht mit machen wollen aber eine idee haben bitte in den Kommis Schreiben LG StreetFight
[OpenSource Project] C++ CoCore
01/26/2011 - CO2 Private Server - 59 Replies
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#. There are a few members who I believe have potential, and I think those are pretty much the ones who will take interests into this project. What is this CoCore, and what does it contain?: Unknown (?) Yes.. Unknown. I think I want the members who are interested to provide me with a list of things that should be put in, for example, custom...
Farmville Automatizer OPENSOURCE free bot [AutoIT]
04/05/2010 - Facebook - 2 Replies
Farmville Automatizer released! Open Source >>> Download <<<



All times are GMT +1. The time now is 20:45.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.