Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Black Desert
You last visited: Today at 11:50

  • 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/27/2017, 01:49   #286
 
elite*gold: 0
Join Date: Sep 2015
Posts: 17
Received Thanks: 0
Also getting the FFSnapshot error. Using the 1080p preset with BDO in windowed-fullscreen at 1920x1080, did /reloadui.

Textbox says: SnapShot (-85,417,445,507,1,FFFFFFFF) failed

Also can't stop the bot while it's fishing, and the window can't be closed.
sssk is offline  
Old 04/27/2017, 01:53   #287
 
elite*gold: 0
Join Date: Apr 2017
Posts: 6
Received Thanks: 1
actually ... FFSnapshot error again ...
Was running fine for like 20min XD
nguyennk91 is offline  
Old 04/27/2017, 01:59   #288
 
elite*gold: 0
Join Date: Mar 2011
Posts: 108
Received Thanks: 8
@

everything ok, i hope after relogging bot will do nothing .. but everything seems ok nice work

hope the next version will be bergain selling..

PS: what about reserving relics in settings i set it up to 0 i hope they will not canceling now the relics and how can i disabling storing the relics i want to sell them only! and bot is not selling all relicts if its register first relict then will be the relicts position changed need to check it every picking up a relict ..
s3anlike is offline  
Old 04/27/2017, 02:01   #289
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
Quote:
Originally Posted by sssk View Post
Also getting the FFSnapshot error. Using the 1080p preset with BDO in windowed-fullscreen at 1920x1080, did /reloadui.

Textbox says: SnapShot (-85,417,445,507,1,FFFFFFFF) failed

Also can't stop the bot while it's fishing, and the window can't be closed.
CTRL + F1 terminates the bot.
I need the log.

I probably will release v0.17 tomorrow with a logfile feature since this is getting me nowhere.

It seems like it finds a wrong anchor somewhere. So the offset creates an out of bounds.


@ your english hurts my brain so much man. I won't even try to understand.
You just sell the **** relics before you store them. So you don't have any to store. Thats what the order is for.


@ Next version will have the logfile. TRACER.TXT belongs to FastFind.dll. No idea why you guys can't see a console output in scite.
If the v0.16 isn't working just wait for v0.17 tomorrow.
CrayonCode is offline  
Old 04/27/2017, 02:06   #290
 
elite*gold: 0
Join Date: Apr 2017
Posts: 4
Received Thanks: 0
@

>
@: Checking the storage should be no problem, since we also check all 192 Inventory slots.
I have no idea how the costume works tho since I don't own one.
>

The costume allows you to process directly from the warehouse. When you have the costume on, there is a process button that shows up on the warehouse, you click that and then you can get into your standard process window - I can send a screenshot over later
Ralthan is offline  
Old 04/27/2017, 02:07   #291
 
elite*gold: 0
Join Date: Sep 2015
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by CrayonCode View Post
CTRL + F1 terminates the bot.
I need the log.

I probably will release v0.17 tomorrow with a logfile feature since this is getting me nowhere.

It seems like it finds a wrong anchor somewhere. So the offset creates an out of bounds.
TRACER.TXT?
Running CrayonCode.au3 from SciTE doesn't output anything to the console (seems like it spawns a seperate process).
sssk is offline  
Old 04/27/2017, 02:37   #292
 
elite*gold: 0
Join Date: Mar 2011
Posts: 108
Received Thanks: 8
Quote:
Originally Posted by CrayonCode View Post
CTRL + F1 terminates the bot.
I need the log.

I probably will release v0.17 tomorrow with a logfile feature since this is getting me nowhere.

It seems like it finds a wrong anchor somewhere. So the offset creates an out of bounds.


@ your english hurts my brain so much man. I won't even try to understand.
You just sell the **** relics before you store them. So you don't have any to store. Thats what the order is for.


@ Next version will have the logfile. TRACER.TXT belongs to FastFind.dll. No idea why you guys can't see a console output in scite.
If the v0.16 isn't working just wait for v0.17 tomorrow.
@ sorry for my ******* bad english xD dont want to hurt someone

but can you explain me this ******* sentence:

Boat = 2 means walk to horse but click the boat first, Boat = 3 means walk to boat but click horse first

I choosed boat but at the end of the npcs they stuck on a wall nothing is detected something goes wrong with the swap function??

PS: RestockSwapMounts is Enabled in data.ini
s3anlike is offline  
Old 04/27/2017, 02:51   #293
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
@ it was just a comment i haven't removed. Just test Auto-Restock with 1 NPC only and your horse nearby. (Trade NPC only for example)
Then watch what the mouse does after it walked to the npc and tried to sell everything.
It should open the menu with ESC and close it again and then click the second and the first icon.
If it doesn't do that let me know. I'll be back in the afternoon.
CrayonCode is offline  
Old 04/27/2017, 02:54   #294
 
elite*gold: 0
Join Date: Mar 2011
Posts: 108
Received Thanks: 8
Quote:
Originally Posted by CrayonCode View Post
@ it was just a comment i haven't removed. Just test Auto-Restock with 1 NPC only and your horse nearby. (Trade NPC only for example)
Then watch what the mouse does after it walked to the npc and tried to sell everything.
It should open the menu with ESC and close it again and then click the second and the first icon.
If it doesn't do that let me know. I'll be back in the afternoon.
@ its buggy its work not really good he walking back to boat but ESC Menu is open not closed :S by the way is, is it possible to pick up first the more left stored relict in inventory after scanning the inventory maybe its help for the bot function to selling all relicts, at the moment bot scanns the inventory and take the most right stored relict and the second one is a empty slot ..

.. and dont understand this new code, but confirm-button needs to be changed for working correctly like this:

[0, -110], _ ; Drag window
[-45, 430], _ ;Recover All
[-305, -44], _ ; Select food <-- i think can be deleted, theres nothing to select.
[-262, 120], _ ;Confirm
[40, 430]] ; Repeat All


PS: Why is an ESC function there what it does?
Bot is not picking up the fishes sometimes till i close the bot and open it new again ..
s3anlike is offline  
Old 04/27/2017, 03:45   #295
 
elite*gold: 0
Join Date: Apr 2013
Posts: 2
Received Thanks: 0
@, this is great! Looking through the code has been a good learning experience. One thing I can't figure out though, is that the fishing bot, it never seems to hit "Perfect", but rather just slightly after the bar fills up which it then pushes "space". I have currently everything to 0ms. Is it just me or does the bot not hit "Perfect" consistently as of yet?
projectdefy is offline  
Old 04/27/2017, 11:24   #296
 
elite*gold: 0
Join Date: Mar 2017
Posts: 25
Received Thanks: 5
Quote:
Originally Posted by CrayonCode View Post
@ Which resolution and clientmode are you using?

Like I said before. You have to be in the right state for the mount. The right state is clicking the horse icon twice and a path is drawn. If that doesn't happen autorestock will fail. So test it yourself beforehand.
Have you tried enabling [RestockSwapMounts] in the data.ini ? (Works only if you have both horse and boat)

It SHOULD press Esc AND turn the camera. This happens when your char doesn't walk close enough to the npc or another npc is overlapping.

Please just start the script from scite to see the console output and post it via pastebin.
I don't like playing charades and guessing blindly.


@ do you have 1920 native resolution and run bdo in window mode? Because that's actually a smaller resolution then. Try fullscreen and also post the consoleoutput. The captcha should only fail if something is wrong with the screen offset.

@: Checking the storage should be no problem, since we also check all 192 Inventory slots.
I have no idea how the costume works tho since I don't own one.
Console Output is ok but what I've written before is still happening

Screen Resolution 1920x1080.

Sorry for the previous bad explanation.

My Console Output
KKK76 is offline  
Old 04/27/2017, 11:29   #297
 
ahmedwork's Avatar
 
elite*gold: 325
Join Date: Apr 2008
Posts: 700
Received Thanks: 221
@

dude the problem of SnapShot only occurs because of FindRiddleAnchor function recheck it and everything gonna be fixed , i've just replaced the new one with an older version and it worked very well
i think you forgot to write the boundary of the imagesearch area xD you only wrote the offset so the "T" couldn't be found in the provided area

Code:
If _ImageSearchArea("res/reference_timeline.bmp", 0, $ResOffset[0]+???, $ResOffset[1]+???, $ResOffset[2]+????, $ResOffset[3]+????, $C[0], $C[1], 0, 0) = 1 Then
with the current code we're asking the imagesearch to search a rectangle of (0,0,0,0) coords which will lead in nothing

P.S my main res is 1920*1080 windowed fullscreen
ahmedwork is offline  
Old 04/27/2017, 14:20   #298
 
elite*gold: 0
Join Date: Apr 2017
Posts: 1
Received Thanks: 0
not work( "E: must be 1920x1080 Windowed Fullscreen" but res 1920x1080 windowed fullscreen. ui scale 100%(
redsokol is offline  
Old 04/27/2017, 14:49   #299
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
@: The boundries are the client area. $ResOffset[2] and [3] are always the client Size + the actual offset [0] & [1]. So if its Fullscreen this would search 0,0,1920,1080. I will reduce the searcharea anyway. But something on the screen is getting identified as the anchor for you guys and not for me.

If you'd check the console it would tell you the position where the anchor was found. And we could manually figure out what causes the distraction. If no anchor is found it would skip the riddle entirely because it would assume a perfect catch. So it definetly finds something.

@ you were right I messed up the offset for the confirm button. The select food is necessary because once you run out of one type of worker food the next one won't be selected. So it wouldn't feed with "cool draft beer" once you run out of the normal beer and vice versa.

I'm not sure if autosort was messing with the relics but I changed it now that the same slot is scanned again when there was a success. It should sell all relics unless they changed something to the broker. I'll have to check later.

@ because they put up the "moving cloud" over the blue bar you get false readings. Thats why the reading range is increased to all of the region above the division line. Also the reading takes some time and there is a little inputdelay. I cba to find the sweet spot that will be different for everyone depending on their fps/ping and make it more unreliable at the same time.

v0.17 is out

Quote:
v0.17

- Fixed wrong Offset for FeedWorker()
- Decreased scanning range for RiddleAnchor to fix out of bounds error
- Added LOGFILE option to data.ini (enabled by default)
- Changed Bank & Broker Relics to repeat checking slot with successful detection. (To incorporate autosort)
CrayonCode is offline  
Thanks
4 Users
Old 04/27/2017, 15:04   #300
 
ahmedwork's Avatar
 
elite*gold: 325
Join Date: Apr 2008
Posts: 700
Received Thanks: 221
Quote:
Originally Posted by CrayonCode View Post
@: The boundries are the client area. $ResOffset[2] and [3] are always the client Size + the actual offset [0] & [1]. So if its Fullscreen this would search 0,0,1920,1080. I will reduce the searcharea anyway. But something on the screen is getting identified as the anchor for you guys and not for me.

If you'd check the console it would tell you the position where the anchor was found. And we could manually figure out what causes the distraction. If no anchor is found it would skip the riddle entirely because it would assume a perfect catch. So it definetly finds something.

@ you were right I messed up the offset for the confirm button. The select food is necessary because once you run out of one type of worker food the next one won't be selected. So it wouldn't feed with "cool draft beer" once you run out of the normal beer and vice versa.

I'm not sure if autosort was messing with the relics but I changed it now that the same slot is scanned again when there was a success. It should sell all relics unless they changed something to the broker. I'll have to check later.

@ because they put up the "moving cloud" over the blue bar you get false readings. Thats why the reading range is increased to all of the region above the division line. Also the reading takes some time and there is a little inputdelay. I cba to find the sweet spot that will be different for everyone depending on their fps/ping and make it more unreliable at the same time.

v0.17 is out
figured out what is was detecting , it was detecting one of the 2 black lines i'v draw in the below image



when i minimized the bot window it worked fine

EDIT: are u going to work on market place bot dude?:3
thanks for ur hard effort
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 +2. The time now is 11:50.


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.