Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Black Desert
You last visited: Today at 18:37

  • 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 06/28/2017, 10:27   #886
 
elite*gold: 0
Join Date: Jun 2017
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by platinumdrgn View Post
works good except for when it tries to return to the mount. it is doing something wrong because it just starts running in a random direction instead of getting a mount path. i think it might be double right clicking, clearing the autopath. i tried adding a npc waypoint but those do the same thing.



that happens alot but it should autopath to the npc a 2nd time after it does a full screen rotation and it will get close enough the 2nd time.
We all seem to be having the same problem. i tried changing the back to mount to use a different method to click where i could control the speed better but nothing. I'm starting to think this is caused by a problem with the UI. I sometimes see 2 UI's running in task manager for this game. There is also a lock mouse in UI setting under GAME that might be worth messing with.

TLDR:: It's like the UI resets after the mouse has moved to location causing it to miss click. I've tested it so many times and it works fine until do the full repair/sell/broker then its 50/50.

Code:
Func BackToMount($Boat = 0)
	Local Static $HorseIni = StringSplit(StringStripWS(IniRead("config/resolution_settings.ini", "Restock", "Horse", "35, 124"), 8), ",", 2) ; x, y
	Local Static $BoatIni = StringSplit(StringStripWS(IniRead("config/resolution_settings.ini", "Restock", "Boat", "93, 123"), 8), ",", 2) ; x, y
	Local Static $SwapMounts = Int(IniRead("config/data.ini", "RestockSwapMounts", "Enabled", 0))
	Local Const $Mount[2][2] = [[$HorseIni[0] + $ResOffset[0], $HorseIni[1] + $ResOffset[1]], [$BoatIni[0] + $ResOffset[0], $BoatIni[1] + $ResOffset[1]]]
	Local $Sw = 0
	Sleep(1000)
	WaitForMenu(False)
	Sleep(1000)
	If Not VisibleCursor() Then CoSe("{LCTRL}")
	Sleep(2500)
	SetGUIStatus("Boat: " & $Boat & " Swap: " & $SwapMounts)
    $SwapMounts = 0
	MouseMove($Mount[$Boat][0], $Mount[$Boat][1])
	Sleep(2500)
	MouseDown("right")
    Sleep(2500)
    MouseUp("right")
    Sleep(2500)
	CoSe("t")
	CoSe("{ESC}")
	If VisibleCursor() Then CoSe("{LCTRL}")
	MapMovement()
	Return True
EndFunc   ;==>BackToMount
Cbiscuit is offline  
Old 06/28/2017, 16:09   #887
 
elite*gold: 0
Join Date: Feb 2007
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by Cbiscuit View Post
We all seem to be having the same problem. i tried changing the back to mount to use a different method to click where i could control the speed better but nothing. I'm starting to think this is caused by a problem with the UI. I sometimes see 2 UI's running in task manager for this game. There is also a lock mouse in UI setting under GAME that might be worth messing with.

TLDR:: It's like the UI resets after the mouse has moved to location causing it to miss click. I've tested it so many times and it works fine until do the full repair/sell/broker then its 50/50.

Code:
Func BackToMount($Boat = 0)
	Local Static $HorseIni = StringSplit(StringStripWS(IniRead("config/resolution_settings.ini", "Restock", "Horse", "35, 124"), 8), ",", 2) ; x, y
	Local Static $BoatIni = StringSplit(StringStripWS(IniRead("config/resolution_settings.ini", "Restock", "Boat", "93, 123"), 8), ",", 2) ; x, y
	Local Static $SwapMounts = Int(IniRead("config/data.ini", "RestockSwapMounts", "Enabled", 0))
	Local Const $Mount[2][2] = [[$HorseIni[0] + $ResOffset[0], $HorseIni[1] + $ResOffset[1]], [$BoatIni[0] + $ResOffset[0], $BoatIni[1] + $ResOffset[1]]]
	Local $Sw = 0
	Sleep(1000)
	WaitForMenu(False)
	Sleep(1000)
	If Not VisibleCursor() Then CoSe("{LCTRL}")
	Sleep(2500)
	SetGUIStatus("Boat: " & $Boat & " Swap: " & $SwapMounts)
    $SwapMounts = 0
	MouseMove($Mount[$Boat][0], $Mount[$Boat][1])
	Sleep(2500)
	MouseDown("right")
    Sleep(2500)
    MouseUp("right")
    Sleep(2500)
	CoSe("t")
	CoSe("{ESC}")
	If VisibleCursor() Then CoSe("{LCTRL}")
	MapMovement()
	Return True
EndFunc   ;==>BackToMount
You just need to add couple of line of conditional "If" decision statement to check. aka the holy grail as CrayonCode mentioned somewhere on this thread and it will run perfect without that 50/50 chance
metrosound is offline  
Old 06/28/2017, 16:49   #888
 
elite*gold: 0
Join Date: Jul 2008
Posts: 7
Received Thanks: 1
ya i have played around a bunch with the sleep timers to get clicks to register more accurately. the bdo client is just very laggy and buggy. ive gotten autorestock to work like 75% of the time.
platinumdrgn is offline  
Old 06/28/2017, 19:17   #889
 
elite*gold: 0
Join Date: Jun 2017
Posts: 13
Received Thanks: 1
Quote:
Originally Posted by platinumdrgn View Post
ya i have played around a bunch with the sleep timers to get clicks to register more accurately. the bdo client is just very laggy and buggy. ive gotten autorestock to work like 75% of the time.
Thanks brotha. Mind sharing your code?
falsiane is offline  
Old 06/28/2017, 19:22   #890
 
elite*gold: 0
Join Date: Oct 2013
Posts: 39
Received Thanks: 5
Quote:
Originally Posted by falsiane View Post
Is this project still ongoing? It's been a while since last update.
He moved to github I believe, there's a link to the project in the first post.
kingsland is offline  
Old 06/28/2017, 21:01   #891
 
elite*gold: 0
Join Date: Jun 2017
Posts: 13
Received Thanks: 1
Quote:
Originally Posted by kingsland View Post
He moved to github I believe, there's a link to the project in the first post.
Yeah, i know, but last commitment was 19 days ago.
He must be busy with something else.
But ok, let's hope this is not the end. This is an awesome project.
falsiane is offline  
Old 06/29/2017, 01:53   #892
 
elite*gold: 0
Join Date: Jan 2012
Posts: 2
Received Thanks: 2
Really looking forward to market improvements. Especially if it can autobuy items on the notice/favorite list. This is the main feature I am looking for in a bot, and haven't found any effective ones yet.
HEL_Master is offline  
Old 06/29/2017, 08:41   #893
 
Sonata Arctica's Avatar
 
elite*gold: 134
Join Date: Jan 2013
Posts: 616
Received Thanks: 36
this is opensource you can add the feature yourself
Sonata Arctica is offline  
Old 06/29/2017, 11:52   #894
 
elite*gold: 0
Join Date: Jul 2008
Posts: 7
Received Thanks: 1
Kakao has done something possibly to screw with the bots. the nearby npc window now opens in a different location every time you open it. so now the autorestock doesnt work at all for me.
platinumdrgn is offline  
Old 06/29/2017, 12:31   #895
 
elite*gold: 0
Join Date: Nov 2010
Posts: 177
Received Thanks: 13
Weird stuff going on with the github fishing bot version...
I got like 6 Thick fishing rods in my inventory and 1 equipped.
Before it even depleted, the bot upon done checking which fish to dry will auto swap for new rod every time and continues to fish since there are still inventory slots free.

But got says in log 0 inventory slot remaining while there is still 4 slots free. 0 fish dried. And there is 71 images, where few are seaweed and keys that are stack-able.
There is 2 empty image that screenshot the beach sand.
3 Keys, 1 fish bone.
And in the log, i think i saw it scan for inventory free slots in total of 2 times.

-> With 32min CD on Dry fish Maximum White rarity.
-> With 5minute CD on Dry Fish Maximum Green rarity.
It caught 1 green but it didn't not dry it.
Inventory had enough free space left as well. But it went to unequip my Thick Fishing Rod before it started to check inventory to dry fish. Then after done checking, it went to scan inventory for free slots again and closed inventory then re-opened when no rod was equipped to equip a new rod.
This repeats whenever it's time to dry fish.

Anything i'm doing wrong?
everknown is offline  
Old 06/29/2017, 16:51   #896
 
elite*gold: 0
Join Date: Aug 2016
Posts: 1
Received Thanks: 0
Great bot, made 3mil from afk fishing
corncake55 is offline  
Old 06/30/2017, 18:37   #897
 
elite*gold: 0
Join Date: Jun 2011
Posts: 7
Received Thanks: 1
how can i fix Fullscreen detected (1920x1080) - No Offsets for feed worker and autorestok
macsimvld is offline  
Old 07/02/2017, 14:50   #898
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 425
Depends on version you are using.
Get the newest version it works on all resolutions.
killzone is offline  
Old 07/02/2017, 17:11   #899
 
elite*gold: 0
Join Date: Jun 2017
Posts: 2
Received Thanks: 0
hello! ive got a question and you probaly heard it much already and get sick of it :P ive tried to search for the answers but dmnn. idk how to install this when i try to open this Run CrayonCode.au3 to start the GUI. it says select an program to open it with idk what to do xD
IDontKnow0223 is offline  
Old 07/02/2017, 18:32   #900
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 425
Quote:
Originally Posted by IDontKnow0223 View Post
hello! ive got a question and you probaly heard it much already and get sick of it :P ive tried to search for the answers but dmnn. idk how to install this when i try to open this Run CrayonCode.au3 to start the GUI. it says select an program to open it with idk what to do xD
Download & Install AutoIt.

Then Right Click "CrayonCode.au3" and select "run script".
killzone is offline  
Thanks
1 User
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 18:38.


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.