Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Black Desert
You last visited: Today at 01:27

  • 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/12/2017, 15:42   #451
 
elite*gold: 0
Join Date: Apr 2017
Posts: 34
Received Thanks: 4
For fr client AZERTY keyboard change this :

Local Const $L[5] = ["s", "w", "d", "a", "."] ; basic minigame letters ("." for unidentified)

to this in line n°801

Local Const $L[5] = ["s", "z", "d", "q", "."] ; basic minigame letters ("." for unidentified)
imedbox is offline  
Old 05/12/2017, 16:11   #452
 
elite*gold: 0
Join Date: Jul 2007
Posts: 60
Received Thanks: 3
@
My friend you've coded the best fishing bot to date.
Going through your source everything was documented very well. I made a slight adjustment to the fish catching for more frequent perfects but I'm sure it varies slightly based on the user.

There is a very popular trade power leveling trick that can easily get you to master trading in about 24 hours I would like to use your path finding method to automate this process and release the working version when finished. That is if you don't mind me utilizing some of your amazing work

Also.. @
Quote:
Originally Posted by Xerion777 View Post
The autopath is very inconsistent. Sometimes it sells and repairs items sometimes not by the NPCs. Although i can never get through with one whole run in Velia cuz character gets bugged after selling to the trade manager by walking into a wall.

1920x1080 settings here.
I also encountered this problem in Velia. I was able to fix it by changing the order in which the bot visited NPCs to keep it from going that route and getting stuck on the wall. Give it a shot lemme know what you get

Cheers
woodcuttern is offline  
Old 05/12/2017, 17:21   #453
 
†Deadly†'s Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 224
Received Thanks: 314
Quote:
Originally Posted by imedbox View Post
For fr client AZERTY keyboard change this :

Local Const $L[5] = ["s", "w", "d", "a", "."] ; basic minigame letters ("." for unidentified)

to this in line n°801

Local Const $L[5] = ["s", "z", "d", "q", "."] ; basic minigame letters ("." for unidentified)
Thanks, btw is this bot work with french client ? I see on folder some english picture
†Deadly† is offline  
Old 05/12/2017, 18:54   #454
 
elite*gold: 0
Join Date: Mar 2008
Posts: 19
Received Thanks: 0
@ ya that fixed that problem but still i get stuck on the mount part where the cursor is clicking the horse and then clicking t. It somehow doesnt registers the right mouse input sometimes. Its kinda a 50/50 thing
Xerion777 is offline  
Old 05/12/2017, 18:58   #455


 
GRAMAT1K's Avatar
 
elite*gold: 10
The Black Market: 133/0/0
Join Date: Jul 2016
Posts: 564
Received Thanks: 82
Works for me, thanks.
GRAMAT1K is offline  
Old 05/12/2017, 20:45   #456
 
elite*gold: 0
Join Date: Jul 2007
Posts: 60
Received Thanks: 3
Quote:
Originally Posted by Xerion777 View Post
@ ya that fixed that problem but still i get stuck on the mount part where the cursor is clicking the horse and then clicking t. It somehow doesnt registers the right mouse input sometimes. Its kinda a 50/50 thing
Glad to hear it
I read somewhere @Cofe saying that the path finding is in early development for the bot.
Using mount/boat location for path finding is absolutely genius and since it's a fairly new feature I doubt there are many failsafes implemented to ensure the function doesn't mess up.

You can either wait for a fix down the road or do it yourself by looking at the code for pathfinding back to your mount and add a check variable for the navigation path indicator
So..
1. Right click horse location put a timed delay for the client to catch up so like 5000ms delay
2A. Wait for verification that the mount has been located.. if
2B. True = press T and finish pathfinding
2C. False = right click horse location again and loop until True or timed out

This will help fix the problem I believe you're facing.

Now if the bot does path finding but your character gets stuck on an object this is very hard to fix because we are not monitoring your characters coordinates to know if you're still traveling or if you're stuck on a object.
woodcuttern is offline  
Old 05/12/2017, 20:48   #457
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 425
@
There's a function for pathfinding and you can use it freely. That's how opensource is.
But it would be great if you can create another thread and release your own source for the Trader script.

The Fisher script works perfect and it'll be too bloated and complicated for some to use if there's more function to add. So yea, its best if there's a stand-alone version for the Trader power leveler.
killzone is offline  
Old 05/12/2017, 20:56   #458
 
elite*gold: 0
Join Date: Jul 2007
Posts: 60
Received Thanks: 3
Quote:
Originally Posted by killzone View Post
@
There's a function for pathfinding and you can use it freely. That's how opensource is.
But it would be great if you can create another thread and release your own source for the Trader script.

The Fisher script works perfect and it'll be too bloated and complicated for some to use if there's more function to add. So yea, its best if there's a stand-alone version for the Trader power leveler.
Roger that!
I'll post it soonish.. once I can add some failsafes and ensure it runs smoothly.
Thanks

Edit: Also nice work on the idea of using the mount as a marker for the pathfinding back to your fishing spot
woodcuttern is offline  
Old 05/12/2017, 22:36   #459
 
elite*gold: 0
Join Date: Apr 2017
Posts: 34
Received Thanks: 4
Quote:
Originally Posted by †Deadly† View Post
Thanks, btw is this bot work with french client ? I see on folder some english picture
this resolution_settings.ini for Fr Client


[Resolution]
1920=1080

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

[Fishing]
FishingStandby=531, 60, 1365, 64, 0xE4E4E4
FishingCurrently=588, 56, 1338, 64, 0xE4E4E4
FishingBite=671, 54, 1238, 66, 0xE4E4E4
PressIt=822, 372, 1108, 376, 0xFFFFFF
ReelIn=1030, 405, 1095, 424, 0x5A87C8
LootWindow=1538, 594, 1540, 638, 46

[Restock]
NPCSearchIcon=1558, 34
MapRegion=1750, 160, 1765, 162
SellAllButton=1777, 755
Horse=40, 125
Boat=94, 121

[WorkerSettings]
WorkerListPosition=1530, 294
imedbox is offline  
Old 05/13/2017, 12:57   #460
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
Sorry guys I lost interest in this for a while and took a break.

Right now I'm back to work on Processing.
This in itself will be a pretty big project and when I release the first iteration it will support all lumber, planks, ores and melted shards.
It was way trickier than I anticipated, because the items are rendered differently in the storage and also re-rendered every time you re-open the warehouse. Luckily I found a workaround.

There will be 2 main modes for this.
1. Process all selected items.
2. Custom ProcessingQueue where you define each item and the amount you wan't to process.

You will also be able to adjust the maximum batch size according to you weight limit.

I will separate this into CrayonCodeProcessing.au3 since I don't want to bloat the CrayonCode.au3, that already grew way over the originally planned size, any further.

If everything works as planned you will be able to turn it on and process your whole warehouse.



Thanks to everyone for helping out and answering the questions.
And special thanks to the people who took the time to create a preset.
CrayonCode is offline  
Thanks
7 Users
Old 05/13/2017, 13:11   #461
 
†Deadly†'s Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 224
Received Thanks: 314
Quote:
Originally Posted by imedbox View Post
this resolution_settings.ini for Fr Client


[Resolution]
1920=1080

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

[Fishing]
FishingStandby=531, 60, 1365, 64, 0xE4E4E4
FishingCurrently=588, 56, 1338, 64, 0xE4E4E4
FishingBite=671, 54, 1238, 66, 0xE4E4E4
PressIt=822, 372, 1108, 376, 0xFFFFFF
ReelIn=1030, 405, 1095, 424, 0x5A87C8
LootWindow=1538, 594, 1540, 638, 46

[Restock]
NPCSearchIcon=1558, 34
MapRegion=1750, 160, 1765, 162
SellAllButton=1777, 755
Horse=40, 125
Boat=94, 121

[WorkerSettings]
WorkerListPosition=1530, 294
thank you, but there is some picture on the folder that use english, maybe it gonna be a problem with the french client no ?
†Deadly† is offline  
Old 05/13/2017, 13:34   #462
 
elite*gold: 0
Join Date: Apr 2010
Posts: 7
Received Thanks: 1
Quote:
Originally Posted by †Deadly† View Post
thank you, but there is some picture on the folder that use english, maybe it gonna be a problem with the french client no ?
It will definitely pose problems. But you can screenshot and crop new ones to reeplace them in thee folder. just make sure to use the same file name.
lennal is offline  
Old 05/13/2017, 13:35   #463
 
†Deadly†'s Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 224
Received Thanks: 314
Quote:
Originally Posted by lennal View Post
It will definitely pose problems. But you can screenshot and crop new ones to reeplace them in thee folder. just make sure to use the same file name.
Okay thanks !
†Deadly† is offline  
Old 05/13/2017, 13:39   #464
 
elite*gold: 0
Join Date: Jan 2009
Posts: 6
Received Thanks: 0
You are the best, thank you for your work, where i can donate ?
gygy94yo is offline  
Old 05/13/2017, 13:47   #465
 
elite*gold: 0
Join Date: Mar 2008
Posts: 19
Received Thanks: 0
Quote:
Originally Posted by woodcuttern View Post
Glad to hear it
I read somewhere @Cofe saying that the path finding is in early development for the bot.
Using mount/boat location for path finding is absolutely genius and since it's a fairly new feature I doubt there are many failsafes implemented to ensure the function doesn't mess up.

You can either wait for a fix down the road or do it yourself by looking at the code for pathfinding back to your mount and add a check variable for the navigation path indicator
So..
1. Right click horse location put a timed delay for the client to catch up so like 5000ms delay
2A. Wait for verification that the mount has been located.. if
2B. True = press T and finish pathfinding
2C. False = right click horse location again and loop until True or timed out

This will help fix the problem I believe you're facing.

Now if the bot does path finding but your character gets stuck on an object this is very hard to fix because we are not monitoring your characters coordinates to know if you're still traveling or if you're stuck on a object.

Any idea how to code the verification if mount has been located ?
Xerion777 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 01:27.


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.