Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 00:07

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

Advertisement



How background bots working?

Discussion on How background bots working? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Freshek's Avatar
 
elite*gold: 0
Join Date: Aug 2015
Posts: 803
Received Thanks: 1,359
Question How background bots working?

Hi!
I met some bots working in background. How them working? How do they work? Do they use a method PixelSearch?

Sorry for my bad English
Freshek is offline  
Old 08/28/2015, 15:21   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
It depends which kind of bot it is. There are variable methods for a bot to work. ControlSend, Memory Manipulation, SendMessage and many other ways.
alpines is offline  
Old 08/28/2015, 20:29   #3
 
elite*gold: 0
Join Date: Jan 2007
Posts: 50
Received Thanks: 5
Quote:
Originally Posted by alpines View Post
It depends which kind of bot it is. There are variable methods for a bot to work. ControlSend, Memory Manipulation, SendMessage and many other ways.
can my bot work on background
and need help in making moving or turning arround in game
thanks

Global $Paused
HotKeySet("{Home}", "TogPause")
HotKeySet("{END}", "TogExit")
WinWaitActive("CABAL2 - DX9")
WinMove("CABAL2 - DX9","",0,0)
$r=0

Do
auto_attack()
find_monster()
Until $r=1

While 1
Sleep(100)
WEnd
Func TogPause()
$Paused = Not $Paused
While $Paused
Sleep(100)
ToolTip('Script is "Paused"', 0, 0)
WEnd
ToolTip("")
EndFunc

Func TogExit()
Exit 0
EndFunc

Func auto_attack()
If PixelGetColor(504, 10) == 0xFFA800 Then ;Mob Attack HP full/Dying Mob
Do
Send("{1 down}")
Sleep(150)
Send("{1 up}")
Sleep(150)
Send("{1 down}")
Sleep(150)
Send("{1 up}")
Sleep(150)
Send("{1 down}")
Sleep(150)
Send("{1 up}")
Sleep(150)
Send("{1 up}")
Sleep(150)
Send ("{F}")
Sleep(150)
Until PixelGetColor(504, 10) <> 0xFFA800 ;Mob Attack HP Down
EndIf
EndFunc
Sleep (400)

Func find_monster()
If PixelGetColor(04, 10)<> 0xFFA800 Then ;TAB No More Mob/Hp Down

Do
Send("{TAB down}")
Sleep(100)
Send("{TAB up}")
Sleep(100)
Until PixelGetColor(504, 10) == 0xFFA800 ;Change this for Specific Mob
EndIf ;TAB
EndFunc
Sleep(300)
_Degree(_ATan2($targetY - $currentY, $targetX - $currentX)
Func _rotateLeft($ntimes)
AutoItSetOption("SendKeyDownDelay", $ntimes * 21)
Send("a")
EndFunc ;==>_rotateLeft
Sleep (300)

Func _rotateRight($ntimes)
AutoItSetOption("SendKeyDownDelay", $ntimes * 21)
Send("d")
EndFunc ;==>_rotateRight

Sleep(300)
mahmoudshepl is offline  
Old 08/28/2015, 20:56   #4
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Since it's relying on Pixel actions I doubt that you could put it in a background mode without changing many things. If your computing power is enough you could run it in a VM.
alpines is offline  
Old 08/29/2015, 03:04   #5
 
elite*gold: 0
Join Date: Jan 2007
Posts: 50
Received Thanks: 5
nice idea thanks
mahmoudshepl is offline  
Old 09/01/2015, 13:22   #6
 
Freshek's Avatar
 
elite*gold: 0
Join Date: Aug 2015
Posts: 803
Received Thanks: 1,359
I mean about browser game in flash, so I think the Memory Manipulation does not make sense. Is a good solution would be the creation of snapshots minimized windows, and then look at these screen pixel and based on this to send ControlClick?
Freshek is offline  
Old 09/01/2015, 14:35   #7
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
Quote:
Originally Posted by Freshek View Post
the creation of snapshots minimized windows
nope. in the basics youre rght but minimized windows normally dont redraw
YatoDev is offline  
Old 09/01/2015, 15:42   #8
 
Freshek's Avatar
 
elite*gold: 0
Join Date: Aug 2015
Posts: 803
Received Thanks: 1,359
I noticed that bots working in BG use the library FastFind. What is the library?
Freshek is offline  
Old 09/01/2015, 15:53   #9
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
ur bot cant work since Cabal2 block ControlSend, Send and block cheat engine so u cant use memory too since XIGNCOD3 block it
mlukac89 is offline  
Old 09/01/2015, 16:28   #10

 
elite*gold: 3
The Black Market: 113/0/0
Join Date: Oct 2013
Posts: 5,815
Received Thanks: 1,814
what about trapdoor api
Nevada' is offline  
Old 09/01/2015, 23:40   #11
 
fuso98's Avatar
 
elite*gold: 428
Join Date: Dec 2011
Posts: 2,722
Received Thanks: 2,035
Is not needed trapdoor.. It's bad. It can be easily do with pure autoit and "some dlls"
fuso98 is offline  
Old 09/02/2015, 15:42   #12
 
Freshek's Avatar
 
elite*gold: 0
Join Date: Aug 2015
Posts: 803
Received Thanks: 1,359
I found the solution! Using FastFind created a snapshot of windows running in the background. The problem is how to search for it pixel?
Freshek is offline  
Old 09/02/2015, 18:04   #13
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
If u have image u can search on image for pixels or use ImageSearch functinon in autoit
mlukac89 is offline  
Old 09/12/2015, 09:21   #14
 
Freshek's Avatar
 
elite*gold: 0
Join Date: Aug 2015
Posts: 803
Received Thanks: 1,359
$result = FFNearestSpot(0, 1, 1, 0, 0xDC7F00, True, $x[0], $y[0], $x[1], $y[1])
It return error.
Sorry for my bad English. :P
Freshek is offline  
Old 09/12/2015, 09:43   #15
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
schau dir die parameter nochmal an
YatoDev is offline  
Thanks
1 User
Reply

Tags
autoit, bot


Similar Threads Similar Threads
Any working background bot ?
08/07/2015 - DarkOrbit - 3 Replies
I need working background bot i dont care ban. Only pick bonux boxes fast
Seafight Bot Working in Background
06/15/2015 - Seafight - 2 Replies
#Closed
Seafight Bot Working in Background
06/15/2015 - Seafight - 1 Replies
https://www.youtube.com/watch?v=8dY3Fu_zI5k https://www.virtualbox.org/wiki/Downloads
anti-AFK working in background
10/27/2007 - World of Warcraft - 0 Replies
There's one that works? I work on my pc and usually i move it...but sometimes i forgot to move the pg and i get the deserter buff... so i'm searching an anti-afk that work in background... do you know one?:confused:



All times are GMT +1. The time now is 00:08.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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