[AutoIt] CrayonCode Bot Project (OpenSource & Free)

05/02/2017 02:03 anonamus111#376
I've been trying to come up with an .ini for 2560x1440 but I'm getting stuck at the PressIt part. It keeps hitting it in the red area towards the left edge. I've been trying different pixels/colors without success.

Last attempt was: ReelIn=1320, 416, 1385, 423, 779FB9. Can't seem to find pixels of the same color.

[Only registered and activated users can see links. Click Here To Register...]
05/02/2017 03:23 CrayonCode#377
Quote:
Originally Posted by anonamus111 View Post

Last attempt was: ReelIn=1320, 416, 1385, 423, 779FB9. Can't seem to find pixels of the same color.
You only need the rough region for ReelIn. The part i marked red.
[Only registered and activated users can see links. Click Here To Register...]

It will just check if anything within that region is kinda blue and if it is then it will press space.
Try this: ReelIn=1315, 407, 1410, 423, 0x5A87C8
Maybe because the 0x was missing FastFind confused the hex for something else?
Also make sure Press it works. Next version will have improved feedback on this part.

I should learn how to use github.
05/02/2017 12:39 DeniD1337#378
Any have a tut how to setup the fishing bot?
05/02/2017 16:10 anonamus111#379
Quote:
Originally Posted by CrayonCode View Post
You only need the rough region for ReelIn. The part i marked red.

It will just check if anything within that region is kinda blue and if it is then it will press space.
Try this: ReelIn=1315, 407, 1410, 423, 0x5A87C8
Maybe because the 0x was missing FastFind confused the hex for something else?
Also make sure Press it works. Next version will have improved feedback on this part.

I should learn how to use github.
Thanks! I got it to work after I added the 0x and adjusted the PressIt coords again. The only issue I noticed since yesterday is that it isn't counting the green/blue/gold fishes at all, although it picks them up (I have it set to pick up white). It seems to be adding them all to the "white" fish count.
05/02/2017 21:16 killzone#380
Quote:
Originally Posted by gummi111 View Post
Any have a tut how to setup the fishing bot?
[Only registered and activated users can see links. Click Here To Register...]
05/02/2017 21:38 xam4do#381
any chance to have this working on japan server with english patch? or russia server? thx
05/02/2017 22:03 killzone#382
Quote:
Originally Posted by xam4do View Post
any chance to have this working on japan server with english patch? or russia server? thx
You'll have to do your own config.
See below as example.


@[Only registered and activated users can see links. Click Here To Register...]
Im not sure about this one but It loops on equipping Fishing Rods.
Prior to that, it has snapshot error at 463, 60, 825, 59 and it looks for 0xFFFFFF. While config clearly states 0xE4E4E4.


resolution_settings.ini (1360x768EN)

Logs
Code Version: Alpha 0.20

No issues with 1080p.
05/02/2017 22:29 samm001#383
Quote:
Originally Posted by xam4do View Post
any chance to have this working on japan server with english patch? or russia server? thx
Try this

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, 376, 1067, 376, 0xFFFFFF
ReelIn=1013, 407, 1080, 423, 0x547E98
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=1530, 294
05/02/2017 22:48 xam4do#384
Quote:
Originally Posted by samm001 View Post
Try this

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, 376, 1067, 376, 0xFFFFFF
ReelIn=1013, 407, 1080, 423, 0x547E98
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=1530, 294

the bot give me this error : E: Client resolution deviates from resolution_settings.ini

im on japan serer with faramir translate ( original font ). maybe the bot not reading the right ini file?

EDIT : Changed to windowed full screen and worked now, thanks brother!! testing bot now!
05/02/2017 23:10 killzone#385
@[Only registered and activated users can see links. Click Here To Register...]
Timber Chopping Processing Steps

Also, I suggest that in future build, there's a "drop down menu" that loads all the "resolution_settings.ini" and let the users select which "settings" they wanted to use.

This is to avoid them from constantly renaming the file and probably gets the file deleted / confused with another resolution settings.

05/02/2017 23:35 Ralthan#386
@[Only registered and activated users can see links. Click Here To Register...] re: Processing

I would want the bot to put the Planks and plywood created back into storage, so you would need to search for plank and plywood images.

By Maid, do you mean the venecii outfit that allows you to process directly from storage?
05/02/2017 23:41 xam4do#387
Quote:
Originally Posted by samm001 View Post
Try this

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, 376, 1067, 376, 0xFFFFFF
ReelIn=1013, 407, 1080, 423, 0x547E98
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=1530, 294
Im having this problem here, aways pressing space in the red area, no matter what i do . Anyone know how to fix here pls? Japan server with english translation.

[Only registered and activated users can see links. Click Here To Register...]
05/03/2017 01:25 samm001#388
Quote:
Originally Posted by xam4do View Post
Im having this problem here, aways pressing space in the red area, no matter what i do . Anyone know how to fix here pls? Japan server with english translation.

[Only registered and activated users can see links. Click Here To Register...]
try to change

ReelIn=1013, 407, 1080, 423, 0x547E98

to

ReelIn=998, 405, 1095, 425, 0x5A87C8
05/03/2017 02:18 iNiperx#389
I returned to use this tool to give some feedback.

I re-downloaded version 0.20 into a clean folder, configured it and a couple of small bugs happened which I'm mentioning just in-case its worth to notice.

1) It tried to open the Inventory to count my space but it failed (Not sure why) so it kept hiding and unhiding the cursor on top of my level (Top left corner of the screen) in a loop doing nothing else, I restarted it and it got unstuck.

2) When it opened the inventory to start counting the space it moved the mouse right next to the item but I'm not sure if it missed by a single pixel but it seemed like it attempted to scroll through the inventory and failed to do so, maybe the mouse should be moved on the right side of the inventory where the scrollbar is?

3) As I was writing this post another bug popped up, the daily reward window popped up and the tool doesn't try to auto close it, so it keeps failing the mini-games and keeps railing. (I'll include a screenshot for coords, 1920x1080)

Suggestion:

As there is a rain detection for Drying, there's also another function apparently if you're standing too close to the water (Fishing from Velia) the first icon on top of the minimap is the type of road you're standing on if it turns into an ocean wave it won't let you dry either (Too close to the water) and the bot goes out of control counting inventory space and such, maybe ignore or alert the user they are standing on water?

Screenshot of the daily reward:
05/03/2017 03:45 xam4do#390
Quote:
Originally Posted by samm001 View Post
try to change

ReelIn=1013, 407, 1080, 423, 0x547E98

to

ReelIn=998, 405, 1095, 425, 0x5A87C8
i managed the bot to work changing the translate version, now the fishing bugs a bit but in 7/10 he hook the fish .

I am having a problem with restock, the bot keeps opening the npc , closing e turning the camera and never stops, he dont repair/sell the fishs, just opening and closing the npc chat window. Any tips for this? Japan server with english translate.

EDIT: Auction relics and Store Relics/money not working too, same problem as above.

Edit2: i was not able to create my own coordinates, every one that i put i received this error : [Only registered and activated users can see links. Click Here To Register...] , i was using paint to see then but i was not able to see the exact collor... thats no one program better to do this? If anyone could help me i would be very grateful !!