[AutoIt] CrayonCode Bot Project (OpenSource & Free)

05/09/2017 08:06 jaivus#436
Hi! Just wondering, has anyone made a preset for 2560 x 1440 resolution?
05/09/2017 08:30 Wubzer#437
Quote:
Originally Posted by jaivus View Post
Hi! Just wondering, has anyone made a preset for 2560 x 1440 resolution?
No, you will have to make a preset for that resolution yourself. This might aid you in doing that: [Only registered and activated users can see links. Click Here To Register...]
05/09/2017 11:13 jaivus#438
Quote:
Originally Posted by Wubzer View Post
No, you will have to make a preset for that resolution yourself. This might aid you in doing that: [Only registered and activated users can see links. Click Here To Register...]
Ah, alright I'll give it a shot. Thanks!
05/09/2017 11:37 goodspuds#439
Quote:
Originally Posted by Trender View Post
Working fine, Ill try it on a VM and report

EDIT:
Okay in a W7 machine x64 and 1280 x 768 res. the bot says E: Client resolution deviates from resolution_settings, I already set the proper file :s
Go into your config folder in the bot. You should find 3 files, one labeled resolution_settings.ini and 2 others that have screen resolutions attached to them (1280x768 and 1920x1080). You're going to want to open the file with the resolution you want, copy those settings, then open the plain resolution_settings.ini file, and paste it there. That should do the trick for you.
05/09/2017 15:43 high277#440
One thing i notice is the sell to trade doesn't put the player right next to trade manager via auto run. This requires the bot to search again and press t to move in range. This is the only NPC i've noticed this with so far. I added an extra "t" press after player stops moving which works but when going to other npcs makes the player run off in the distance before talking to the npc as expected.

I would like to know if anyone else sees this behavior and if it would be in the best interest to add an extra t press on map stop only when seeking trade manager. Which i'm sure is easy i am just not in a place i can work on it currently.

My second suggestion and by far the most needed in my opinion is a manual hook time setting or added to randomiser. Everything on bot for fishing works great on normal pcs, but on vms or slower pcs I've noticed a lot of missed hooks for the timer being to long. I would like to see this adjustable via GUI.

besides those two minor things I really think this is great work and on the right path. Good Job.

Other Notes
Virustotal detection 3/49 - Like many bots I would assume this is the keyboard hooks getting detected.
05/09/2017 21:24 Trender#441
Quote:
Originally Posted by goodspuds View Post
Go into your config folder in the bot. You should find 3 files, one labeled resolution_settings.ini and 2 others that have screen resolutions attached to them (1280x768 and 1920x1080). You're going to want to open the file with the resolution you want, copy those settings, then open the plain resolution_settings.ini file, and paste it there. That should do the trick for you.
Ye I deleted my resolution_setting file and copied and rename the res_set 1280x768 file to resolution_setting, but I get that error, only 1920x1080 works. Also the marketplace bots isn'st working for me, English client. It says No purplebags found (yes Im on the desired item, there isnt stock of it maybe its that?)
05/09/2017 21:42 s3anlike#442
Anyone got issues with reward window? anyone know how to fix that to closing it automatically?
05/10/2017 10:59 dzuc18#443
hi guys,

any setting for JP 1920x1080?

ty

Quote:
Originally Posted by samm001 View Post
Hi CrayonCode
Thank you a million times for the amazing work .
I managed to make this work with the Japanese client .The script start fishing but fail to hit the blue bar at the right time any help appreciated thx
can you share it? im play in JP too, but mine fail when check the inventory window
05/10/2017 13:58 indroe#444
Quote:
Originally Posted by xam4do View Post
After one million trys i managed to work 100%.

Here are the code for who wanna use:



Its For Japanese server with this translation [ENGLISH] >> [Only registered and activated users can see links. Click Here To Register...]

The log :


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.
its should be working with japanese server right?
can you help me, because i have a problem with my resolution settings, my maximum resolution is only 1366x768... i was set it, but still i got this error "E: Client resolution deviates from resolution_settings.ini"

are you using modified font? i see it in your shared english patch

Edit
here is my log
Quote:
19:21.08 Starting...
19:21.13 E: ClientSize coudl not be detected
19:21.13 E: Client resolution deviates from resolution_settings.ini
so my first problem is this program doesn't detect game client,
how to set that?

Edit
Just notice how to set bot to find my game client,
05/10/2017 14:48 samm001#445
Quote:
Originally Posted by dzuc18 View Post
hi guys,

any setting for JP 1920x1080?

ty



can you share it? im play in JP too, but mine fail when check the inventory window

Code:
[Resolution]
1920=1080

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

[Fishing]
FishingStandby=692, 60, 1211, 64, 0xE4E4E4
FishingCurrently=614, 60, 1284, 64, 0xE4E4E4
FishingBite=692, 60, 1223, 64, 0xE4E4E4
PressIt=837, 372, 1067, 376, 0xFFFFFF
ReelIn=998, 405, 1095, 425, 0x5A87C8
LootWindow=1537, 593, 1540, 638, 46

[Restock]
NPCSearchIcon=1559, 35
MapRegion=1830, 48, 1863, 50
SellAllButton=1851, 723
Horse=36, 122
Boat=94, 121

[WorkerSettings]
WorkerListPosition=1530, 294
If you have multi language keyboard make sure to set eng setting before you start the script.
05/10/2017 15:54 xam4do#446
Quote:
Originally Posted by indroe View Post
its should be working with japanese server right?
can you help me, because i have a problem with my resolution settings, my maximum resolution is only 1366x768... i was set it, but still i got this error "E: Client resolution deviates from resolution_settings.ini"

are you using modified font? i see it in your shared english patch

Edit
here is my log


so my first problem is this program doesn't detect game client,
how to set that?

Edit
Just notice how to set bot to find my game client,
You need to use Windowed Fullscreen and yes , you need to use the font in the patch too, just copy/paste the prestringtable to the BlackDesert_live folder and you are Ok! this settings is for 1920x1080 resolution, if u change these u you need to make your own profile, it can be a pain , i tryed many times to make things work properly.
05/10/2017 16:32 indroe#447
Quote:
Originally Posted by xam4do View Post
You need to use Windowed Fullscreen and yes , you need to use the font in the patch too, just copy/paste the prestringtable to the BlackDesert_live folder and you are Ok! this settings is for 1920x1080 resolution, if u change these u you need to make your own profile, it can be a pain , i tryed many times to make things work properly.
i'm not using font mod yet, and right now he doesn't know he's status and keep changing rod.



I already remove and edit $hBDO and still not working

Edit
After read and read again, now it's working!
Thanks to @[Only registered and activated users can see links. Click Here To Register...]

but only for fishing, because right now i just need it
05/10/2017 17:47 imedbox#448
@[Only registered and activated users can see links. Click Here To Register...], pls how to config the Func FastFindBidBuy for Fr client? the marketplace not work in Fr client i need to change something?
ty
05/11/2017 21:03 Xerion777#449
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.
05/12/2017 12:41 †Deadly†#450
it work well thanks for your work
It fail every Q and Z from the capcha... any suggestion?
But he is able to do it with french keyboard... so weird function ahahaha