Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Black Desert
You last visited: Today at 16:41

  • 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 12/21/2017, 21:19   #1081
 
LuigiLC's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 160
Received Thanks: 7
someone who can help me? I'm getting angry, nobody answers on discord and nobody knows how to fix the ******* purplebag problem.

I have already deleted all the discord channels, they are useless like the Papa ****, I have already lost more than 6 hours for these ******* bots; and nobody works.

I set everything correctly, ui scales 100%, autoarrange off, empty inventory etc .. what the **** is the problem? Jesus Christ.
LuigiLC is offline  
Old 01/04/2018, 18:01   #1082
 
elite*gold: 33
Join Date: Dec 2010
Posts: 37
Received Thanks: 4
Does the Snipebot work?
Xeriiom is offline  
Old 01/10/2018, 21:01   #1083
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1
Received Thanks: 0
It gets stuck on Waiting for registration count change, so probably this part of code needs to be updated, but im not programmer and dunno how it works, tying to figure it out:

Quote:
Func Marketplace()
Local Const $PurpleBags = "res/marketplace_purplebags.bmp"
Local $RegistrationCountOffset[4] = [70, -9, 110, 5]
Local $RefreshOffset[2] = [-440, 480]
Local $x, $y, $IS
Local $Diff[4]
Local $timer

$ResOffset = DetectFullscreenToWindowedOffset()
$IS = _ImageSearchArea($PurpleBags, 1, $ResOffset[0], $ResOffset[1], $ResOffset[2], $ResOffset[3], $x, $y, 0, 0)
If $IS = False Then
SetGUIStatus("No PurpleBags found. Stopping.")
$Marketplace = False
EndIf

Local $count = 0, $breakout = 0
While $Marketplace
SetGUIStatus("Waiting for Registration Count change")
$number = FastFindBidBuy($x, $y)
If $number >= 0 Then BuyItem($x, $y, $number)

$Diff[$count] = PixelChecksum($x + $RegistrationCountOffset[0], $y + $RegistrationCountOffset[1], $x + $RegistrationCountOffset[2], $y + $RegistrationCountOffset[3])
For $i = 0 To UBound($Diff) - 1
If $Diff[0] <> $Diff[$i] Then
If TimerDiff($timer) > 1000 Then
SetGUIStatus("Refresh (Registration Count change)")
MouseClick("left", $x + $RefreshOffset[0], $y + $RefreshOffset[1], 1, 0)
$timer = TimerInit()
Sleep(50)
ExitLoop
SiReKpl is offline  
Old 01/13/2018, 17:38   #1084
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 425
Market place images or at least something was changed in game.
The Marketplace bot is ****** as of this moment.
killzone is offline  
Old 01/19/2018, 19:07   #1085
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 425
@
have any idea how he created the images?
Original Image:
Taken from NA.
My New Image:
Taken from another region.
It appears its not detecting.
Ive even tried recreating it pixel by pixel using the same exact color as original & the new region.


Still says unidentified state.
killzone is offline  
Old 01/23/2018, 02:59   #1086
 
elite*gold: 0
Join Date: Jul 2017
Posts: 16
Received Thanks: 11
Hey @

I did it like this:

Menu >> Settings >> Screen >> Adjust Gamma: -50% >> Adjust Contrast: +50%

This creates a nice black background. I would also look at a dark object/ scene, just to create a dark scene again. The reason that I did this is because I plan on using Photoshop's 'Select Color Range' tool.

So, once I have my nice dark background, I took the screenshot (as a PNG, that's important. Don't take your screenshots as JPG), and loaded it into Photoshop. Cropped the "Press 'Space'" part, then selected a color range on the 'Press' and on the 'Space' words. Make sure to select a fairly SOLID color, not a transitional pixel color (like off-yellow, try to get the yellowest yellow).

Copy each selection and paste into a new layer (Photoshop pastes in place for me). Then create a new layer, and set the background color to pure white (FFFFFF).

Save the image as a PNG, and you should be good to go.

Since I'm not great at explaining things, here's some pictures:

Step 1: Import screenshot to Photoshop, crop section:
Step 2: Open Select > Color Range... tool:
Step 3: Select SOLID color of the text, make sure to set fuzziness to 0:
Step 4: Make sure that your selection looks good:
Step 5: Copy and paste your selection. It should make a new layer that should be just that selection.
Step 6: Go back to main layer, and do the same thing for the other word.
Step 7: You should have two layers. Add a new one below those two, make it solid white:

In my test, I was able to find my image at 0 tolerance, even when the background was like this:

Here's my final image:

Here's the ImageSearch function that I used to test it:
Code:
Func _Search()
	Local $C[2]
	For $i = 0 To 255
		$IS = _ImageSearchArea($iSearch, 1, 0, 0, 1920, 1080, $C[0], $C[1], $i, "0xffffff")
		If $IS = False Then ContinueLoop
		If $IS = True Then
			MsgBox(0, '', 'Found it at ' & $i, 5)
			Exit
		EndIf
	Next
	MsgBox(0, '', 'Not found', 3)
EndFunc   ;==>_Search
The important thing to note here, is that for the _ImageSearchArea, we use "0xffffff" at the end, which is the hex code for the white transparency.

Hope that all makes sense for how I got there.

Thanks,
Rodent11
Attached Images
File Type: png spaceTest.png (35.1 KB, 24 views)
Rodent11 is offline  
Old 01/23/2018, 07:31   #1087
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 425
I guess I did the Color Selection wrong, that was the 1st thing I did prior to asking for help.
killzone is offline  
Old 01/23/2018, 08:06   #1088
 
elite*gold: 0
Join Date: Jul 2017
Posts: 16
Received Thanks: 11
No problem, I think the most important thing with that is to make sure that fuzziness is set to 0, you don't want any selection 'feathering', or traces of the pixels next to the color you selected.

Also, try to keep the image as small as possible. I did some speed tests, and with the image that I attached previously, it was horrendously slow.

This new image: is leagues faster in detection, in my example.

If you can't get that to work though, upload an image of the text area you're trying to get, and I can see if I can get something that'll work when I have time.
Attached Images
File Type: png spaceTest_2.png (21.8 KB, 41 views)
Rodent11 is offline  
Old 01/25/2018, 04:23   #1089
 
elite*gold: 0
Join Date: Jul 2016
Posts: 14
Received Thanks: 0
Is there any chance that you can set it up that it only fishes for relics instead of fishes etc?

Because im only interested in relics while auto fishing while im asleep.
Jehano is offline  
Old 04/12/2018, 07:43   #1090
 
elite*gold: 0
Join Date: Apr 2012
Posts: 1
Received Thanks: 0
I just got banned from using this.

Wasn't event playing anymore, just wanted to let you know.
WarAssA is offline  
Old 04/14/2018, 20:20   #1091
 
elite*gold: 0
Join Date: Jul 2014
Posts: 11
Received Thanks: 1
Quote:
Originally Posted by WarAssA View Post
I just got banned from using this.

Wasn't event playing anymore, just wanted to let you know.
This convinces me that they don't have any foolproof detection method - they must be using the logs and banning people who fished too perfectly for too long. Because they've never caught me and I'm still not banned. The detection seems to be *behavioural*
mithrelle is offline  
Old 04/14/2018, 21:59   #1092
 
elite*gold: 0
Join Date: Oct 2017
Posts: 32
Received Thanks: 4
Quote:
Originally Posted by LuigiLC View Post
someone who can help me? I'm getting angry, nobody answers on discord and nobody knows how to fix the ******* purplebag problem.

I have already deleted all the discord channels, they are useless like the Papa ****, I have already lost more than 6 hours for these ******* bots; and nobody works.

I set everything correctly, ui scales 100%, autoarrange off, empty inventory etc .. what the **** is the problem? Jesus Christ.
Simplify UI? Actual full screen?
maestro1337 is offline  
Old 04/15/2018, 01:32   #1093
 
elite*gold: 0
Join Date: Apr 2018
Posts: 6
Received Thanks: 0
Does it work on private serv 491 version?
dbogik is offline  
Old 08/08/2018, 17:18   #1094
 
elite*gold: 0
Join Date: Dec 2015
Posts: 1
Received Thanks: 0
1440x900 resolution
How?
autkub101 is offline  
Old 10/24/2018, 08:38   #1095
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 425
Request for this thread to be pinned.
For reference and for easier to find.
killzone 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 16:41.


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.