[AutoIt] CrayonCode Bot Project (OpenSource & Free)

04/07/2017 18:12 ahmedwork#31
got suspicious file error xD im going to pack the exe and change the md5
04/07/2017 18:51 CrayonCode#32
Quote:
Originally Posted by killzone View Post
Pattern for Worker Feeding

So add a string randomizer in the title of the app.
Since all positions are fixed and there is nothing that can fail even if you run out of beer, I thought of implementing it basically like the bufffood and just repeat it on a timer.

Would setting the title to @[Only registered and activated users can see links. Click Here To Register...]@Min@Sec at launch be enough for obfuscation or do we really need a random ugly string?
04/07/2017 19:14 laservic#33
Altinova, always misses bad! Very early catch. How to fix it?
04/07/2017 19:20 CrayonCode#34
Quote:
Originally Posted by laservic View Post
Altinova, always misses bad! Very early catch. How to fix it?
Is it too early or is it too late?
04/07/2017 19:38 Griffit85#35
Having problem with restock

1. Can not stop it
2. Dont have boat or horse so he cant return to fish location
3. Using epherium road so at blacksmith he doesnt repair it
4. Restocking simple said not working for me
04/07/2017 20:07 killzone#36
@[Only registered and activated users can see links. Click Here To Register...]
For random title string:
RandomString(5char)+Time Session would suffice.
Since this is a source and no binary has been released, it'll be difficult to block the script. Unless they will block the PixelSearch function like in Gameguard.
Blocking PixelSearch directly will not only hinder this script useless, it will also generally block ANY form of pixel search when the game is running. Does not matter if its written in autoit or dotnet. This is 1 main reason why I did not bother making a macro for Echo of Soul (SEA) since PixelSearch has been blocked.

I also suggest that you add a textbox or a numericUpDown box where user can setup How long 1 step sleeps.
Ex:
Code:
globalSleep = NumericUpDown.value
	Sleep(globalSleep)
		MouseClick("left", $FeedWorker[$i][0], $FeedWorker[$i][1])
		Sleep(globalSleep)
Or we can use Ahmedwork's work.
[Only registered and activated users can see links. Click Here To Register...]
That randomizes the "sleep timer" for more humanization.


Guide to Auto Fish Bot by CrayonCode


Quote:
Originally Posted by Griffit85 View Post
Having problem with restock

1. Can not stop it
2. Dont have boat or horse so he cant return to fish location
3. Using epherium road so at blacksmith he doesnt repair it
4. Restocking simple said not working for me
See the guide above.

The Restocking is tricky afaik.
The bot sometimes needs to double-click the NPC Icons in order to start the auto pathing.
There's need to be check in place here somewhere.

For example:
Clicking repair Icon but the pathing did not start, the bot should check if the #E39473 color exist in minimap (the orange path) or something. If the pathing does not exist, click the repair icon again.
04/07/2017 21:07 ahmedwork#37
Quote:
Originally Posted by killzone View Post
@[Only registered and activated users can see links. Click Here To Register...]
For random title string:
RandomString(5char)+Time Session would suffice.
Since this is a source and no binary has been released, it'll be difficult to block the script. Unless they will block the PixelSearch function like in Gameguard.
Blocking PixelSearch directly will not only hinder this script useless, it will also generally block ANY form of pixel search when the game is running. Does not matter if its written in autoit or dotnet. This is 1 main reason why I did not bother making a macro for Echo of Soul (SEA) since PixelSearch has been blocked.

I also suggest that you add a textbox or a numericUpDown box where user can setup How long 1 step sleeps.
Ex:
Code:
globalSleep = NumericUpDown.value
	Sleep(globalSleep)
		MouseClick("left", $FeedWorker[$i][0], $FeedWorker[$i][1])
		Sleep(globalSleep)
Or we can use Ahmedwork's work.
[Only registered and activated users can see links. Click Here To Register...]
That randomizes the "sleep timer" for more humanization.
blocking pixel search is useless because fast find is working on snapshots not searching the actual game window .
it's working as same as matchtemplate I'm using in my c# project
04/07/2017 21:21 CrayonCode#38
Thanks for the Guide but there are a few things to clarify for now, but I will probably change it for later since it causes some confusion.

The Freeslots obey by the LootSettings and once those are filled up it will start using the Reservedslots.

The Reservedslots will only pick up Special Items so you can let it fish all night and keep those slots extra for the high value Relics. (Basically ramp the loot quality if only the reserved slots are left) This is very useful if you don't want to use the Auto-Restock since it isn't very reliable atm.

Once the free and reserved slots are full the bot will stop. (Or Auto-Restock if enabled)

Fishing rods have to be in the first 64 slots. So you can turn autosort on. I will change this so all 192 inventory slots are observed.


Variable timers for rare used functions are a waste of effort and reliability. Feeding the workers once an hour should be more then enough for example.

I will add randomization to the fishing process and to the settings like @[Only registered and activated users can see links. Click Here To Register...] proposed. Also the reel in since others can easily observe this.



There is also the problem with the Autopath not activating. It is hard to identify a success or failstate here. I already added some additional steps to reduces the failrate by going through certain interface steps. The only good indicator is the red arrow but it is easily hidden behind other interface settings or not even visible at all on certain camera angles.
04/07/2017 21:32 s3anlike#39
Bot is not looting the Items Minimum Rarity is settet up to green but its not looting (R) goldfishes etc..

*FIXED*

Relog on Disconnect and Continue Botting would be nice if its possible..


Hey guys a Discort Chat would be nice, too :)
04/07/2017 22:39 laservic#40
Quote:
Originally Posted by CrayonCode View Post
Is it too early or is it too late?
Too early! The strip does not reach the middle and is written badly! How to fix it?
04/07/2017 23:05 sunny55#41
Suggestion: Dry when inventory is full. Easily adds 5m-15m per day profit. Right now the fishing function works alright for me. Also feed workers would be nice as well since these seem easier to do then the autopath thing.
04/07/2017 23:16 ahmedwork#42
for ppl who wants a randomized title everytime they run the app just add this before koda GUI part

04/07/2017 23:18 CrayonCode#43
Quote:
Originally Posted by sunny55 View Post
Suggestion: Dry when inventory is full. Easily adds 5m-15m per day profit. Right now the fishing function works alright for me. Also feed workers would be nice as well since these seem easier to do then the autopath thing.
Added feeding workers with v0.13. I'll look into drying the fish.
EDIT: You can't dry when you are standing in water right?
EDIT2: You can dry Washed-Up Laundry...

Quote:
Originally Posted by laservic View Post
Too early! The strip does not reach the middle and is written badly! How to fix it?
Make sure you use Fullscreen Windowed mode and try the new version.



@[Only registered and activated users can see links. Click Here To Register...]: already added in v0.13
04/07/2017 23:49 kukkyh#44
Just wanna thank @[Only registered and activated users can see links. Click Here To Register...] (and all you guys helping too) for creating an awesome program that actually fishes well and is OPEN SOURCE. I would love to help too, but i have 0 coding skills.
04/08/2017 00:03 s3anlike#45
Auto Restock Trader Selling Goods (Fishes) failing because out of range from NPC, other npcs work for me