[AutoIt] CrayonCode Bot Project (OpenSource & Free)

04/26/2017 01:03 s3anlike#256
Quote:
Originally Posted by CrayonCode View Post
Yes it is quite possible. Allthough I don't know any other way, but spamming the buttons and retry until there is a success. But I guess most people don't do it any different.
hehe, ok yeah of course, that would be awesome if bergain selling included..

And the horse problem was for me this solution:

MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) "first try will fail"
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) "will success"
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) "will fail again"
Sleep(2000)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1]) " will success"

the first time we need to Force the bot self to horse but the next restocks the bot works without any issues now is the question if the bot does a relogg what can we do for the first issue on restock with horse button.. But i dont know any thing say me that after relog bot should be click 1-2 times on Horse Icon for activating something clientside things to get work if the bot goes restocking successfull at the second try i hope u understand what i mean it works every second click
04/26/2017 11:38 limital#257
Hey Crayon :) do you have any ETA on the next version? How is the progress?
04/26/2017 15:46 killzone#258
@[Only registered and activated users can see links. Click Here To Register...]
Thanks for the update. Will really helped me with my native resolution. lmao

Feature Suggestion
  • New Tab [Gathering]: For Afk Gathering (Shovels in desert)
    • Add detection for desert debuff (heatstroke)
    • Add 2 key slots for water / tea /
  • New Tab [Processing]: For AFK Processors, players who wants to just afk process their stuff.
    • Add imagesearch for basic items like (logs, metals)


The purpose for this is to have a separate "AFK" function if the user decides not to AFK Fish. He can AFK Gather in desert instead for semi-afk silver gain.

Idea came from this guide.


On the side note, I tried converting Au3 script to dotnet but Im not sure as to why I can't send clicks / keys to the game client.
04/26/2017 15:55 ahmedwork#259
Quote:
Originally Posted by killzone View Post
@[Only registered and activated users can see links. Click Here To Register...]
Thanks for the update. Will really helped me with my native resolution. lmao

Feature Suggestion
  • New Tab [Gathering]: For Afk Gathering (Shovels in desert)
    • Add detection for desert debuff (heatstroke)
    • Add 2 key slots for water / tea /
  • New Tab [Processing]: For AFK Processors, players who wants to just afk process their stuff.
    • Add imagesearch for basic items like (logs, metals)


The purpose for this is to have a separate "AFK" function if the user decides not to AFK Fish. He can AFK Gather in desert instead for semi-afk silver gain.

Idea came from this guide.


On the side note, I tried converting Au3 script to dotnet but Im not sure as to why I can't send clicks / keys to the game client.
[Only registered and activated users can see links. Click Here To Register...]
reference this dll and use it instead of default windows input
input input = new input();
04/26/2017 17:01 s3anlike#260
Quote:
Originally Posted by killzone View Post
@[Only registered and activated users can see links. Click Here To Register...]
Thanks for the update. Will really helped me with my native resolution. lmao

Feature Suggestion
  • New Tab [Gathering]: For Afk Gathering (Shovels in desert)
    • Add detection for desert debuff (heatstroke)
    • Add 2 key slots for water / tea /
  • New Tab [Processing]: For AFK Processors, players who wants to just afk process their stuff.
    • Add imagesearch for basic items like (logs, metals)


The purpose for this is to have a separate "AFK" function if the user decides not to AFK Fish. He can AFK Gather in desert instead for semi-afk silver gain.

Idea came from this guide.
[Only registered and activated users can see links. Click Here To Register...]


On the side note, I tried converting Au3 script to dotnet but Im not sure as to why I can't send clicks / keys to the game client.
R23 did this too
04/26/2017 17:07 killzone#261
Quote:
Originally Posted by s3anlike View Post
R23 did this too
The moment we add features what R23 has is the day R23 dies. ;) @[Only registered and activated users can see links. Click Here To Register...]
Code:
input input = new input();
A detailed explanation?
Is there a site where you got this from so I can read whats up?
Edit:
I think its this one.
[Only registered and activated users can see links. Click Here To Register...]
04/26/2017 17:11 ahmedwork#262
Quote:
Originally Posted by killzone View Post
The moment we add features what R23 has is the day R23 dies. ;) @[Only registered and activated users can see links. Click Here To Register...]
Code:
input input = new input();
A detailed explanation?
Is there a site where you got this from so I can read whats up?
i don't actually remember where did i got this i took long time finding a way to send keys to bdo but it was something related to Direct X game as well as game is blocking the default input method
you can open that dll in visual studio and look in that code
your pm is disabled wanna send me your discord or Skype? for better communication
Sent from my Redmi 4 using Tapatalk
04/26/2017 17:22 s3anlike#263
Quote:
Originally Posted by killzone View Post
The moment we add features what R23 has is the day R23 dies. ;) @[Only registered and activated users can see links. Click Here To Register...]
Code:
input input = new input();
A detailed explanation?
Is there a site where you got this from so I can read whats up?
i share your opinion I Like It! xD
04/26/2017 17:28 killzone#264
Quote:
Originally Posted by ahmedwork View Post
i don't actually remember where did i got this i took long time finding a way to send keys to bdo but it was something related to Direct X game as well as game is blocking the default input method
you can open that dll in visual studio and look in that code
your pm is disabled wanna send me your discord or Skype? for better communication
Sent from my Redmi 4 using Tapatalk
No worries, I found it I think.
[Only registered and activated users can see links. Click Here To Register...]

The hard part for me is the Riddle part of the script. xD
04/26/2017 17:45 ahmedwork#265
Quote:
Originally Posted by killzone View Post
No worries, I found it I think.
[Only registered and activated users can see links. Click Here To Register...]

The hard part for me is the Riddle part of the script. xD
first of all find the T >> get the center of the first letter >> use 2 for loops for that the inner one for the letter itself and the outer to loop through the 11 letters

for the inner loop use a math function and the result of the equal will lead to a letter where is "WASD" for example for "W" the result will be 6 for "S" 9 [Only registered and activated users can see links. Click Here To Register...]

Sent from my Redmi 4 using Tapatalk
04/26/2017 18:07 CrayonCode#266
I thought shovelling isn't worth it anymore after the nerfs.
I can squeeze it into the next release if someone can send me .bmp of the debuffs.
It only has to cure the debuffs and nothing else right?
04/26/2017 18:23 killzone#267
Quote:
Originally Posted by CrayonCode View Post
I thought shovelling isn't worth it anymore after the nerfs.
I can squeeze it into the next release if someone can send me .bmp of the debuffs.
It only has to cure the debuffs and nothing else right?
In the food settings, add more keys to it.
So players can use at least 3~5 foods. (this also helps leveling the Health(HP) while player is afk)

What nerfs you spoke of?
04/26/2017 19:31 CrayonCode#268
Quote:
Originally Posted by killzone View Post
In the food settings, add more keys to it.
So players can use at least 3~5 foods. (this also helps leveling the Health(HP) while player is afk)

What nerfs you spoke of?
Isn't there a 30 min cooldown on all food? How would you adding more slots help with it?

I added Extra Hotkeys to the data.ini, but I won't unnecessarily bloat the UI Settings with this. It will just press all assigned hotkeys when its buffing time.

The nerf where they reduced the amount of Crystal Shards you get for shoveling compared to other more active gathering methods. (After they fixed the infinite shoveling bug)

@[Only registered and activated users can see links. Click Here To Register...]: If you double click on the horse and a path is shown, the autorestock will work.
If it isn't showing, you have to click one more time to get "even" again. Try double clicking again and it should show the path.

The problem is to detect if the state is even or uneven. The bot can't do that. So you have to do that manually for now. So clicking 4 times doesn't help at all.

It works 100% if you have a boat and a horse and you click the boat first and then the horse. This is still a shit way tho.


@[Only registered and activated users can see links. Click Here To Register...]: There timer is already there in data.ini and will also be in the UI next version.

The sleep timer for BackToMount doesn't do shit though.
04/26/2017 19:41 jh936680152#269
Quote:
Originally Posted by CrayonCode View Post
New version will probably be out tomorrow or the day after tomorrow. I'll first check if the new UI features in the patch will mess anything up and then release it.

It will support all resolutions that allow 100% UI Scale (windowed and fullscreen) and will ship with settings for 1920x1080 and 1280x768. I'll add a guide how to create a preset for your own resolution and hopefully you guys will share them here.

You will also have the option to automatically restart the game if a disconnect occurs and continue fishing. (Only enters the password in the launcher not the email. So check 'remember my email' in the launcher.)

Lot of bugfixes, some small requested additions and probably some new bugs.

The auto-pathing to the horse is still driving me nuts tho.

Sorry for taking so long. I was kinda busy over easter and felt like doing other things too.




@[Only registered and activated users can see links. Click Here To Register...]:
Thank you man. You really helped me to get over that wall. User32 works like a charm.

the auto path to the horse, i just make it to 2000ms sleep time and only click once after mouse movement. it works 100% for me right now,


Func BackToMount($Boat = 0) ; TODO find reliable way to detect if path is selected
Local Const $Mount[2][2] = [[39, 128], [98, 122]]
Sleep(500)
NearbyNPC(2)
CoSe("{LCTRL}")
Sleep(500)
MouseMove($Mount[$Boat][0], $Mount[$Boat][1])
Sleep(2500)
MouseClick("right", $Mount[$Boat][0], $Mount[$Boat][1])
Sleep(2500)
CoSe("t")
CoSe("{ESC}")
CoSe("{LCTRL}")
MapMovement()
Return True
EndFunc ;==>BackToMount




if feed worker has a user input timer that will be awesome. 90mins is too long, i changed it to every 5mins feed my worker.
04/26/2017 20:45 CrayonCode#270
Guys I need help for the Shoveling. I need pictures in .bmp of the possible debuffs.