Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Coding Releases
You last visited: Today at 12:56

  • Please register to post and access all features, it's quick, easy and FREE!


daiBot - Create bots in C++ / C#/ AutoIt

Discussion on daiBot - Create bots in C++ / C#/ AutoIt within the Coding Releases forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2010
Posts: 365
Received Thanks: 131
daiBot - Create bots in C++ / C#/ AutoIt

daiBot


This small DLL* allows you to easily create a pixel-based bot in C# / C++ and AutoIt that runs really fast** in background-mode.
The bot uses PostMessage.

Pixel detection also works in background.
It's getting the DeviceContext and creates a DIBSection


Current main featues: getPixel, click, drag, pDrag
Going to add more features soon!
press thanks if you like my work.

*Compiled with VS2015 Community x86
**Gets 26000 frames per second on my PC.. that should be fast enough
AutoIt Wrapper

C Exports (If you want to write a wrapper for another language)

Interface.h (pure virtual)

C++ Example


AutoIt Example


C++ Tutorial for daiBot.dll :

You can find all files in the attachements. Examples are also included (Except the c++ one..

BugFixes
-----------------------------------------------------
AutoIt Wrapper: small bug in Func startBot($window)
replace $window = getHandle("BlueStacks App Player")
with $window = getHandle($window)
.. will be fixed in the next version

Changelog
15/10/2015 17:47 Initial Release
Attached Files
File Type: rar daiBot_151020151747.rar (23.4 KB, 98 views)



Daifoku is offline  
Thanks
3 Users
Old 10/16/2015, 17:40   #2
 
elite*gold: 0
Join Date: Mar 2010
Posts: 365
Received Thanks: 131
mag jemand die DLLImports für C/C# erstellen ?
Kenne mich damit leider nicht aus, sonst würde ich es selber machen.

PS: Implementiere momentan eine Picture-in-Picture Suche.
  • Es werden nur 32Bit Bitmaps unterstützt.
  • Transparenz wird durch die Farbe RGB(0,255,0) untestüzt. (knall grün.)
  • Toleranz der Farbpixel kann eingestellt werden. Berechnung durch XYZ->CIELAB (https://de.wikipedia.org/wiki/Lab-Fa...von_XYZ_zu_Lab)
  • Boyer Moore Algorthmus zur schnellstmöglichen Suche (https://de.wikipedia.org/wiki/Boyer-...us#Algorithmus). Dazu werden die zu suchenden Bilder in ein entsprechendes Format vor-konvergiert. Anpassen der Breiten und höhen verhältnisse, hinzufügen von Wildcard-pixeln 0x00ff00, etc..

edit:
läuft selbst auf meinem PC zu langsam.. und der ist für Rechenoperationen optimiert.

Ohne Fourier Transformationen kann man das knicken. Leider muss ich in 3 Tagen wieder arbeiten und ich werde für eine DFT Implementation bestimmt länger als 3 Tage benötigen...

hatte mir ehrlich gesagt mehr erhofft.
Werde wohl nur die Exact-Match-Suche mit Boyer Moore implementieren, die ist nämlich schnell.


Daifoku is offline  
Old 10/17/2015, 20:59   #3
 
elite*gold: 0
Join Date: Jun 2007
Posts: 145
Received Thanks: 19


i download then run and got this error message.
kidsforsale is offline  
Old 10/18/2015, 01:38   #4
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 814
Quote:
Originally Posted by kidsforsale View Post


i download then run and got this error message.
Which au3 version are you using? This should only work with 3.3.10.2+


alpines is offline  
Thanks
1 User
Old 12/27/2015, 12:26   #5
 
elite*gold: 0
Join Date: Aug 2005
Posts: 17
Received Thanks: 12
don't send in windows 7 64bit, autoit new version . !
evilbaby is offline  
Old 04/28/2019, 10:29   #6
 
elite*gold: 0
Join Date: Apr 2019
Posts: 2
Received Thanks: 0
Didn't worked for me... Using Autoit.
Napulé is offline  
Old 05/16/2019, 10:45   #7
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,691
Received Thanks: 346
@ can show sample code for vb.net or C#?


killzone is offline  
Reply

Tags
autoit, bot, cpp, daibot, library



« [Tool] String Encrypter | Astron : .NET Core 2.2 from scratch set of library using last feature »

Similar Threads
How to create your own bots/macros with AutoIt
01/27/2013 - CO2 Programming - 143 Replies
Starting Your Script Creating your own bots and macros can be fun, and its very simple to do. This guide will talk about some basic methods on using AutoIt, and some very useful functions AutoIt provides that would help in making macros for Conquer. First, if you don't have it already, download AutoIt by clicking the following link. http://www.autoitscript.com/files/autoit3/...2.2.0-setup.exe To start a new script, either go to Start>All Programs>AutoIt v3>SciTE Script Editor, OR...
[GUIDE] How to create Scripts/bots with AutoIT
09/22/2010 - Tutorials - 6 Replies
for all who want to learn something or create bots for browsergames, mmorpgs and other games download Autoit here: http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe Now run the Scite Script Editor this is where you type in your code, let check your code if errors are in it and compile it to executable exe file. the first thing you need are the coordinates of your mouse to find locations on the screen, like skill buttons, status bars, or just positions which...
(GUIDE)How to create own scripts/bots with AutoIt
11/19/2008 - Rappelz - 4 Replies
for all who want to learn something or create bots for browsergames, mmorpgs and other games download Autoit here: http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe Now run the Scite Script Editor this is where you type in your code, let check your code if errors are in it and compile it to executable exe file. the first thing you need are the coordinates of your mouse to find locations on the screen, like skill buttons, status bars, or just positions which...



All times are GMT +2. The time now is 12:56.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 3KeUpz52VCbhmLwuwydqxu6U1xsgbT8YT5
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2019 elitepvpers All Rights Reserved.