[AutoIt] CrayonCode Bot Project (OpenSource & Free)

05/17/2017 22:25 s3anlike#511
@[Only registered and activated users can see links. Click Here To Register...] Its worked now changing the sleeptimes :)
05/18/2017 01:06 Boian#512
They have changed workers locations.
05/18/2017 02:27 BecauseBear#513
Hey, first, thanks for all the work you've done for this!

I just downloaded .21, first time using this program.
Everything seems to work fine, it plays with my inventory, and then casts my rod. While waiting, it says cast failed. But in game, i'm just waiting for a bite. Any ideas?

-----------------------------------------------------------

19:54.04 Settings saved
19:54.06 Starting...
19:54.07 Fullscreen detected (1920x1080) - No Offsets
19:54.07 E: ClientSize does not match:1920x1080[1280x768
19:54.07 E: Client resolution deviates from resolution_settings.ini
19:54.12 Starting...
19:54.13 Fullscreen detected (1920x1080) - No Offsets
19:54.13 E: ClientSize does not match:1920x1080[1280x768
19:54.13 E: Client resolution deviates from resolution_settings.ini
19:54.55 Starting...
19:54.56 Fullscreen detected (1920x1080) - No Offsets
19:54.56 E: ClientSize does not match:1904x1041[1280x768
19:54.56 E: Client resolution deviates from resolution_settings.ini
19:56.00 Starting...
19:56.01 Fullscreen detected (1920x1080) - No Offsets
19:56.01 E: ClientSize does not match:1920x1080[1280x768
19:56.01 E: Client resolution deviates from resolution_settings.ini
19:57.15 Starting...
19:57.16 Fullscreen detected (1920x1080) - No Offsets
19:57.16 ClientSize matches Resolution Settings.
19:57.16 Detecting free inventory space
19:57.17 Inventory closed
19:57.26 92 empty slots
19:57.26 Ready for fishing.
19:57.26 Casting Fishingrod
19:57.36 Cast failed(1). Inspecting equipped fishingrod.
19:57.39 Fishingrod ok. Maybe turn around?
19:57.40 Unidentified state
19:57.40 Unidentified state (0s)
19:57.40 Unidentified state (1s)
19:57.41 Unidentified state (2s)
19:57.42 Unidentified state (3s)
19:57.43 Unidentified state (4s)
19:57.44 Unidentified state (5s)
19:57.45 Unidentified state (6s)
19:57.46 Unidentified state (7s)
19:57.47 Unidentified state (8s)
19:57.48 Unidentified state (9s)
19:57.49 Unidentified state (10s)
19:57.50 Game connected: 1
19:57.50 Unidentified state. Trying to equip fishingrod.
19:57.53 Inventory closed
19:57.56 Fishingrod equipped from position 0, 1
19:58.00 Ready for fishing.
19:58.00 Casting Fishingrod
19:58.09 Cast failed(2). Inspecting equipped fishingrod.
19:58.13 Fishingrod ok. Maybe turn around?
19:58.14 Unidentified state
19:58.14 Unidentified state (0s)
19:58.14 Unidentified state (1s)
19:58.15 Unidentified state (2s)
19:58.16 Unidentified state (3s)
19:58.17 Unidentified state (4s)
19:58.18 Unidentified state (5s)
19:58.19 Unidentified state (6s)
19:58.20 Unidentified state (7s)
19:58.21 Unidentified state (8s)
19:58.49 Starting...
19:58.50 Fullscreen detected (1920x1080) - No Offsets
19:58.50 ClientSize matches Resolution Settings.
19:58.50 Detecting free inventory space
19:58.50 Inventory closed
19:59.00 92 empty slots
19:59.00 Ready for fishing.
19:59.00 Casting Fishingrod
19:59.09 Cast failed(1). Inspecting equipped fishingrod.
19:59.13 Fishingrod ok. Maybe turn around?
19:59.14 Unidentified state
19:59.14 Unidentified state (0s)
19:59.14 Unidentified state (1s)
19:59.15 Unidentified state (2s)
19:59.16 Unidentified state (3s)
19:59.17 Unidentified state (4s)
19:59.18 Unidentified state (5s)
19:59.19 Unidentified state (6s)
19:59.20 Unidentified state (7s)
19:59.21 Unidentified state (8s)
19:59.22 Unidentified state (9s)
19:59.23 Unidentified state (10s)
19:59.24 Game connected: 1
19:59.24 Unidentified state. Trying to equip fishingrod.
19:59.26 Inventory closed
20:20.22 Settings saved
20:20.24 Starting...
20:20.25 Fullscreen detected (1920x1080) - No Offsets
20:20.25 ClientSize matches Resolution Settings.
20:20.25 Detecting free inventory space
20:20.26 Inventory closed
20:20.35 89 empty slots
20:20.35 Ready for fishing.
20:20.35 Casting Fishingrod
20:20.45 Cast failed(1). Inspecting equipped fishingrod.
20:20.48 Fishingrod ok. Maybe turn around?
20:20.49 Unidentified state
20:20.49 Unidentified state (0s)
20:20.49 Unidentified state (1s)
20:20.51 Unidentified state (2s)
20:20.51 Unidentified state (3s)
20:20.53 Unidentified state (4s)
20:20.54 Unidentified state (5s)
20:20.55 Unidentified state (6s)
20:20.56 Unidentified state (7s)
20:20.57 Unidentified state (8s)
20:20.57 Unidentified state (9s)
20:20.59 Unidentified state (10s)
20:20.59 Game connected: 1
20:20.59 Unidentified state. Trying to equip fishingrod.
20:21.02 Inventory closed
20:21.05 Fishingrod equipped from position 0, 1
20:21.09 Ready for fishing.
20:21.09 Casting Fishingrod
20:21.18 Cast failed(2). Inspecting equipped fishingrod.
20:21.22 Fishingrod ok. Maybe turn around?
20:21.22 Unidentified state
20:21.23 Unidentified state (0s)
20:21.23 Unidentified state (1s)

EDIT:
I deleted all the res options, changed 1920/1080 to be named as the base res, and it *seems* to be working
05/18/2017 09:47 ahmedwork#514
out of topic question : anyone has the knowledge how to make the gui overlay on bdo window using c# :D

Sent from my Redmi 4 using Tapatalk
05/18/2017 10:32 KKK76#515
Quote:
Originally Posted by Boian View Post
They have changed workers locations.
[Resolution]
1920=1080

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

[Fishing]
FishingStandby=679, 60, 1233, 64, 0xE4E4E4
FishingCurrently=642, 60, 1256, 64, 0xE4E4E4
FishingBite=733, 60, 1179, 64, 0xE4E4E4
PressIt=849, 368, 1068, 372, 0xFFFFFF
ReelIn=1030, 405, 1095, 424, 0x5A87C8
LootWindow=1538, 594, 1540, 638, 46

[Restock]
NPCSearchIcon=1555, 26
MapRegion=1820, 48, 1835, 50
SellAllButton=1777, 755
Horse=36, 122
Boat=94, 121

[WorkerSettings]
WorkerListPosition=1513, 118
05/18/2017 14:09 killzone#516
Quote:
Originally Posted by ahmedwork View Post
out of topic question : anyone has the knowledge how to make the gui overlay on bdo window using c# :D

Sent from my Redmi 4 using Tapatalk
Why C# though? Are you going to use sendmessage to AutoIt Window using the OverlayWindow?
Or are you completely reworking the fisher with C#?

[Only registered and activated users can see links. Click Here To Register...]
I made this long time ago.
05/18/2017 14:26 ahmedwork#517
Quote:
Originally Posted by killzone View Post
Why C# though? Are you going to use sendmessage to AutoIt Window using the OverlayWindow?
Or are you completely reworking the fisher with C#?

[Only registered and activated users can see links. Click Here To Register...]
I made this long time ago.
yea just completed the basic functions yesterday and captcha recognition by ocr finally i was able to get the correct threshold for every color xD there are 2 problems for now, gui stay on top and hotkey manager and btw there is a downside for interceptor.dll it can't automatically get device id to send inputs through so user has to physically press any key once to let the dll know which device to send input through after starting the bot

Sent from my Redmi 4 using Tapatalk
05/18/2017 17:35 Acrediur#518
Saying incorrect BDO path...
The path is perfectly fine?

Also doesn't seem to be typing captchas 90% of the time
05/18/2017 19:18 CrayonCode#519
Quote:
Originally Posted by Acrediur View Post
Saying incorrect BDO path...
The path is perfectly fine?

Also doesn't seem to be typing captchas 90% of the time
You sure you placed the last backslash with the path? Did you check the preset for the right resolution? Are you using custom fonts? Which client language are you using? Did you make sure you use 100% ui scale?
Just paste the log instead of letting us guess whats wrong.
05/18/2017 22:17 OPRefund#520
How to compile the bot?
05/18/2017 23:35 BecauseBear#521
Hey, got a question. During the restock function, after I sell/ repair/ etc. When the bot goes to return to my mount, it "clicks" the autopath twice, instead of once, and rather than autopathing to my mount, it autopaths a straight line. How do I go about resolving this?
05/19/2017 05:06 imedbox#522
Fiching work nice in 2k, i Tray to test Feed worker in 2k not work !

resolution_settings2560x1440_fr.ini

[Resolution]
2560=1440

[GameStart]
; Last connected Server "Enter" x=y
1624=1024
; "CONNECT" x=y
1275=1024

[Fishing]
FishingStandby=851, 60, 1713, 65, 0xE4E4E4
FishingCurrently=903, 58, 1658, 64, 0xE4E4E4
FishingBite=983, 54, 1565, 66, 0xE4E4E4
PressIt=1142, 372, 1414, 378, 0xFFFFFF
ReelIn=1342, 416, 1375, 418, 0x74a3bd
LootWindow=2177, 959, 2179, 990, 46

[Restock]
NPCSearchIcon=2204, 36
MapRegion=2264, 38, 2550, 260
SellAllButton=2433, 1237
Horse=34, 120
Boat=93, 120

[WorkerSettings]
WorkerListPosition=2181, 122



log:

05:04.54 Fullscreen detected (2560x1440) - No Offsets
05/19/2017 07:31 iNiperx#523
Using 0.21 the "Drying" function isn't being called, first time it happened I thought I forgot to check the option but now its the second time and I rechecked.

Quote:
19:29.56 Currently fishing. (70s)
19:29.57 Currently fishing. (71s)
19:29.58 Currently fishing. (72s)
19:29.59 FishingBite
19:29.59 Reeling in. (0s)
19:30.00 PressIt detected
19:30.00 Scanning for blue bar
19:30.01 Solving riddle.
19:30.03 Riddle anchor found 836, 435
19:30.04 Riddle: wdwss
19:30.04 Evaluating loot.
19:30.08 Loot:[200][-200][-200][-200]
19:30.08 Pick:[10][0][0][0]
19:30.09 Limit reached. Stopping.
[Only registered and activated users can see links. Click Here To Register...]

I was not standing on "water" (shore) I made sure of that, not sure if the drying method call was commented out when it got updated or if it only checks if its enabled the first time the option files is loaded. Just giving feedback.
05/19/2017 17:32 KKK76#524
@[Only registered and activated users can see links. Click Here To Register...]

Processing Material ( Shaking Grinding )
05/19/2017 20:51 CrayonCode#525
Quote:
Originally Posted by KKK76 View Post
@[Only registered and activated users can see links. Click Here To Register...]

Processing Material ( Shaking Grinding )
Thanks man. Did you make sure to hit Transport before opening the warehouse and also took the screenshot of the warehouse and not the inventory?
Otherwise the images are rendered differently and won't work.