Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Black Desert
You last visited: Today at 21:10

  • 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 05/03/2017, 08:43   #391
 
elite*gold: 0
Join Date: Apr 2017
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by xam4do View Post
i managed the bot to work changing the translate version, now the fishing bugs a bit but in 7/10 he hook the fish .

I am having a problem with restock, the bot keeps opening the npc , closing e turning the camera and never stops, he dont repair/sell the fishs, just opening and closing the npc chat window. Any tips for this? Japan server with english translate.

EDIT: Auction relics and Store Relics/money not working too, same problem as above.

Edit2: i was not able to create my own coordinates, every one that i put i received this error : , i was using paint to see then but i was not able to see the exact collor... thats no one program better to do this? If anyone could help me i would be very grateful !!

Change your screenshot setting to BMP
samm001 is offline  
Old 05/03/2017, 09:53   #392
 
elite*gold: 0
Join Date: Apr 2017
Posts: 34
Received Thanks: 4
The Marketplace wont work in FR client how can i change the settings.

Func FastFindBidBuy($x, $y)
Local $Valid[2] = [0x979292, 0xB8B8B8] //??? for wat this
Local $SSN = 1, $FF //???? for wat this
Local $BidR[3] = [21, 12, 21] // ???? for wat this
Local $Buy[3] = [3, 12, 21] //??? for wat this
Local $Bid[3] = [4, 12, 21] //???? for wat this
Local $BuyOffset[3] = [78, 54, 62] ; x, y, height 7 // ??? for wat this
imedbox is offline  
Old 05/03/2017, 10:52   #393
 
elite*gold: 0
Join Date: Dec 2014
Posts: 9
Received Thanks: 1
Quote:
Originally Posted by samm001 View Post
Change your screenshot setting to BMP
Dude are you using any translate? if yes which one?
xam4do is offline  
Old 05/03/2017, 12:11   #394
 
elite*gold: 0
Join Date: Apr 2017
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by xam4do View Post
Dude are you using any translate? if yes which one?
samm001 is offline  
Old 05/03/2017, 21:59   #395
 
Sonata Arctica's Avatar
 
elite*gold: 134
Join Date: Jan 2013
Posts: 616
Received Thanks: 36
got an error with Beer feeding: screenoffset:842
what can i do? got the icons 1.Horse 2. Ship 3. Residence 4. Workers 5. Pets
Got the pre set of resolution 1280x768. Everything else works just fine
Sonata Arctica is offline  
Old 05/04/2017, 00:14   #396
 
elite*gold: 0
Join Date: Dec 2014
Posts: 9
Received Thanks: 1
After one million trys i managed to work 100%.

Here are the code for who wanna use:

Quote:
[Resolution]
1920=1080

[GameStart]
; Main Server "Enter" x=y
1828=973
; "CONNECT" x=y
1273=1043

[Fishing]
FishingStandby=679, 60, 1233, 64, 0xE4E4E4
FishingCurrently=633, 60, 1239, 64, 0xE4E4E4
FishingBite=701, 60, 1224, 64, 0xE4E4E4
PressIt=829, 374, 1060, 380, 0xFFFFFF
ReelIn=1030, 405, 1095, 424, 0x5A87C8
LootWindow=1538, 594, 1540, 638, 46

[Restock]
NPCSearchIcon=1555, 26
MapRegion=1820, 48, 1835, 50
SellAllButton=1777, 755
Horse=36, 122
Boat=94, 121

[WorkerSettings]
WorkerListPosition=1530, 294
Its For Japanese server with this translation [ENGLISH] >>

The log :
Quote:
22:02.23 Currently fishing. (59s)
22:02.24 Currently fishing. (60s)
22:02.25 Currently fishing. (61s)
22:02.26 Currently fishing. (62s)
22:02.27 Currently fishing. (63s)
22:02.27 Reeling in.
22:02.27 Reeling in. (0s)
22:02.29 Solving riddle.
22:02.31 Riddle anchor found 833, 414
22:02.33 Riddle: sd
22:02.33 Evaluating loot.
22:02.37 Loot:[000][-200][-200][-200]
22:02.37 Pick:[0][0][0][0]
22:02.37 Ready for fishing.
22:02.37 Casting Fishingrod
Thanks you all very much!!

EDIT : if you people that play on a server with 200+ ping want to make the restock function working,
you will need to change this line on CrayonCode.au3:

Code:
CoSe("r") ; Talk to NPC
		Sleep(5000)
		$IS = _ImageSearchArea($NPCs[$type][1], 1, $ResOffset[0], $ResOffset[1], $ResOffset[2], $ResOffset[3], $x, $y, 20, 0)
		If $IS = True Then ; Check for correct dialogue
			MouseClick("left", $x, $y, 2)
			Sleep(5000)
			Return True
		Else
			; Close dialog and slowly pan camera to the right in case multiple npcs are overlapping
			CoSe("{ESC}")
			Sleep(5000)
			$IS = _ImageSearchArea($ESC, 1, $ResOffset[0], $ResOffset[1], $ResOffset[2], $ResOffset[3], $x, $y, 20, 0)
			If $IS = True Then
				CoSe("{ESC}")
				Sleep(5000)
			EndIf
This is due to high delay between actions that make the bot act too fast and bug itself.
xam4do is offline  
Thanks
1 User
Old 05/04/2017, 12:16   #397
 
elite*gold: 0
Join Date: Mar 2006
Posts: 44
Received Thanks: 6
Will be very nice if trading is added , simple guide i found :

Step 1: get a vehicle with lots of slots (merch/noble wagon or elephant) and all available buffs (clothes, sute tea, time elixirs, GM blessings ect.)

Step 2: pick a route which you can connect or have connected (some smaller node merchants won't sell you their items if the node isn't connected)

Step 3: make sure all the stops along the way are 500m apart. The route doesn't have to be linear as you're gonna want to sell all the available trade items anyway, so expect a lot of going back and forth between nodes.

Step 4: pick whether you prefer keeping your sanity points, or actually getting master 2 in a reasonable time (afk transport vs active if you have elephant with sprint/IA).



Example of such rotation is below (this is my rotation that I'm currently doing at artisan 6 on my elephant, I get 10% per channel swap which is roughly around 17 to 20 minutes):

Start in Behr, load up full cargo of trade items and head to Longleaf Tree Sentry Post, sell all there and buy all there
Run back to Behr, where you sell all and load up what's left
Stop by Crioville merchant, buy up the highest exp tier goods to fill up elephant/wagon and head to Trent
Sell all in Trent, resupply and head to Abandoned Monastery, sell all/buy all
Back to Trent, sell all/resupply
Head to Tobare's Cabin, if you still don't have Magnate debuff (-25% or -50% trade goods sold by NPCs) head back to Trent once more, if you do proceed to Mansha forest.
From mansha forest (if you have Trent items without magnate sell all buy all, if you have Tobare items fill up but don't sell) head to Phoniel's cabin
At phoniel's cabin sell all/buy all, if you have magnate debuff head back to Rhutum sentry post to fill up, if you don't just take all and head back to Behr.
Swap channels and restart rotation.
Boian is offline  
Old 05/04/2017, 13:35   #398
 
elite*gold: 0
Join Date: Mar 2014
Posts: 9
Received Thanks: 0
"No PurpleBags found" what does it means?
zwaxx is offline  
Old 05/04/2017, 14:44   #399
 
elite*gold: 0
Join Date: Sep 2015
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by zwaxx View Post
"No PurpleBags found" what does it means?
You need to click on the item in the marketplace to make it show the colored icons. The bot is looking for those colors.
sssk is offline  
Old 05/04/2017, 15:17   #400
 
elite*gold: 0
Join Date: Mar 2014
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by sssk View Post
You need to click on the item in the marketplace to make it show the colored icons. The bot is looking for those colors.
Well, still doesn't work
zwaxx is offline  
Old 05/04/2017, 16:21   #401
 
elite*gold: 0
Join Date: Sep 2015
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by zwaxx View Post
Well, still doesn't work
Strange, are you pressing F5 or pressing the button? I've noticed the button doesn't work for me.
sssk is offline  
Old 05/04/2017, 16:39   #402
 
elite*gold: 0
Join Date: Mar 2014
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by sssk View Post
Strange, are you pressing F5 or pressing the button? I've noticed the button doesn't work for me.
I'm pressing F5. Button doesn't work for me as well :|
zwaxx is offline  
Old 05/04/2017, 18:27   #403
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 425
@
Ok, so try this first.

1. In your game, click the NPC Icon and search for "Bahar" in Veila.
2. It will then track the path and press T to auto path it.
3. Your character should stop near the NPC.

Ok, thats basically how the "Restocking" feature works.

Now, try this.
Same method, use a mount.
See if it stops near the npc.
If it stops near the NPC then afk trading is doable.

So, here's the thought process. @

Before starting the bot, you must place your character near the NPC (Starting Point) to avoid any future errors as much as possible.

1. Character with Mount, opens Trader NPC window.
2. Character purchases "buyable" items.
-- Add a setting what item to buy (imagesearch).
-- Example: TradePackVeila1.bmp so If player wants to buy another item, he can just rename the BMP file to another file name and use TradePackVeila1.bmp as his item to purchase.
3. Character purchase X amount of trade pack.
-- Add a setting how many trade packs to purchase.
-- This setting is global, meaning what you will purchase in Veila will be the same in Heidel.
-- If you set 6 Purchase. Then Character will Purchase 6 Trade Packs regardless of the NPC/Location.
-- Make sure that the purchase will be stored in the MOUNT not in character.
4. Close / Exit Trade NPC Window
5. Image Search: < Hand Icon in mount or something we can recognize>
-- Rotate the camera to search this image if not found.
6. Ride the Mount
7. Click NPC Window -> Type NPCTraderNAME-B (the Target NPC)
8. Autopath
-- Assuming we reached our TargetNPC
9. Dismount
10. Search Image: <Find the TargetNPC>
11. Open TraderNPC Window
12. Trade
13. Close NPC Window After Success trading
14. Open TraderNPC Window
15. Character Purchases "Buyable" items.
-- Instead of TradePackVeila1.bmp, this setting will be "TradePackHeidel1.bmp" for example.
-- So, player will purchase the Heidel Trade pack
16. As mentioned in Step #3. Do Step #3.
17. Close Trade NPC
18. Do Step #5
19. Do Step #6
20. Click NPC Window -> Type NPCTraderName-A (starting point)
21. Autopath
-- Assuming we reached our TargetNPC
22. Dismount
23. Search Image: <Find the TargetNPC>
24. Open TraderNPC Window
25. Trade
26. Close NPC Window
Go Step 1.

The idea is to trade between 2 NPC and only purchase 2 types of Materials.
Remember:
There's a debuff if the Trader NPC is within 500m from the origin.
Trade Pack will reset every 15 minutes.

Personal Opinion
Im doubting if this is even profitable. The time travel vs Processing.


@
Open CrayonCode.au3
Search "No PurpleBags found".
Then trace the code from there.
Im assuming this error only occurs when it cannot see the image or the coordinate is wrong.
killzone is offline  
Old 05/04/2017, 18:46   #404
 
elite*gold: 0
Join Date: Mar 2011
Posts: 108
Received Thanks: 8
@ hey is there a way for using the pc without starting bdo in virtual machine? i have 3 monitors for example is it possible to let the bot work only in bdo window and do everything what u want on the other monitors without break the function of bot?
s3anlike is offline  
Old 05/04/2017, 21:25   #405
 
elite*gold: 0
Join Date: Mar 2006
Posts: 44
Received Thanks: 6
Quote:
Originally Posted by s3anlike View Post
@ hey is there a way for using the pc without starting bdo in virtual machine? i have 3 monitors for example is it possible to let the bot work only in bdo window and do everything what u want on the other monitors without break the function of bot?
I can feel you pain but no, its not possible only with VM.
Boian 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 +2. The time now is 21:10.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.