Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 10:28

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

Advertisement



NPC Clicker Code question

Discussion on NPC Clicker Code question within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2016
Posts: 54
Received Thanks: 1
NPC Clicker Code question

Hello guys, I have a question.
Whats wrong with the following code? when I press the i key mouse wont move and click a npc :/
Code:
#include <ImageSearch.au3>

HotKeySet("i", "Start")

$X = 0
$Y = 0

Func Start()
	$Search = _ImageSearch('ui.png', 0, $X, $Y, 0)
	If $Search = 1 Then
		MouseMove($X, $Y, 10)
	EndIf
EndFunc

while 1
		sleep(100)
	WEnd
Drollex is offline  
Old 11/27/2016, 21:00   #2
 
lollo900's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,195
Received Thanks: 357
Change image
lollo900 is offline  
Old 11/27/2016, 21:04   #3
 
elite*gold: 0
Join Date: Feb 2016
Posts: 54
Received Thanks: 1
Quote:
Originally Posted by lollo900 View Post
Change image
do you mean the .png to .bmp? I already tried many different images
Drollex is offline  
Old 11/27/2016, 21:15   #4
 
skeith_sk8's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 3,053
Received Thanks: 2,658
Can you upload the image you are using?.... Increase the shade too
skeith_sk8 is offline  
Old 11/27/2016, 21:17   #5
 
lollo900's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,195
Received Thanks: 357
Quote:
Originally Posted by Drollex View Post
do you mean the .png to .bmp? I already tried many different images
I mean ui.png
lollo900 is offline  
Old 11/27/2016, 21:18   #6


 
PNTX's Avatar
 
elite*gold: 43
Join Date: May 2012
Posts: 1,553
Received Thanks: 724
PNTX is offline  
Old 11/27/2016, 21:23   #7
 
elite*gold: 0
Join Date: Feb 2016
Posts: 54
Received Thanks: 1
Quote:
Originally Posted by skeith_sk8 View Post
Can you upload the image you are using?.... Increase the shade too


This is what I was using at the first try
Drollex is offline  
Old 11/27/2016, 21:34   #8
 
skeith_sk8's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 3,053
Received Thanks: 2,658
Quote:
Originally Posted by Drollex View Post


This is what I was using at the first try
Try this code with the following image

Code:
#include <ImageSearch.au3>
HotKeySet("i","normal")

$X=0
$Y=0

Func normal()
   $Search = _ImageSearch('ui.bmp', 0, $X, $Y, 0)
   If $Search = 1 Then
	  MouseClick("left",$x+45+Random(-2,2,1),$y-50-Random(-2,2,1),1,1)
          sleep(Random(300,350,1))
	  Send("{LCTRL}")
   EndIf
EndFunc

while 1
	sleep(100)
WEnd

This is a little part of the code of my tool (not exactly but very similar). I think that the problem you have its the image. Search the names, not the alien.
Attached Images
File Type: bmp ui.bmp (666 Bytes, 32 views)
skeith_sk8 is offline  
Thanks
2 Users
Old 12/01/2016, 17:33   #9
 
elite*gold: 0
Join Date: Feb 2016
Posts: 54
Received Thanks: 1
Still not working :/ When I hit the i button the function works but its not moving the mouse or smth like that
Drollex is offline  
Old 12/01/2016, 18:58   #10

 
~Demetrio~'s Avatar
 
elite*gold: 93
Join Date: Oct 2012
Posts: 1,234
Received Thanks: 1,117
Quote:
Originally Posted by Drollex View Post
Still not working :/ When I hit the i button the function works but its not moving the mouse or smth like that
are you using shades of variation??
~Demetrio~ is offline  
Old 12/01/2016, 19:08   #11
 
skeith_sk8's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 3,053
Received Thanks: 2,658
Quote:
Originally Posted by ~Demetrio~ View Post
are you using shades of variation??
I already advised him to use it. Anyways the code i provided works properly (at least on my pc)
skeith_sk8 is offline  
Thanks
1 User
Old 12/01/2016, 20:24   #12
 
elite*gold: 0
Join Date: Feb 2016
Posts: 54
Received Thanks: 1
I tried now many multiple images to search on my desktop absolutely nothing works
Drollex is offline  
Old 12/01/2016, 22:06   #13
 
Freshek's Avatar
 
elite*gold: 0
Join Date: Aug 2015
Posts: 803
Received Thanks: 1,362
Quote:
Originally Posted by Drollex View Post
I tried now many multiple images to search on my desktop absolutely nothing works
Try to use another ImageSearch library. This one is ****.
Freshek is offline  
Old 12/02/2016, 13:50   #14
 
elite*gold: 0
Join Date: Feb 2016
Posts: 54
Received Thanks: 1
Quote:
Originally Posted by Freshek View Post
Try to use another ImageSearch library. This one is ****.
I already tried 5 different libraries
Drollex is offline  
Old 12/02/2016, 13:58   #15
 
skeith_sk8's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 3,053
Received Thanks: 2,658
This is the one i use
Attached Files
File Type: rar imagesearch.rar (38.3 KB, 14 views)
skeith_sk8 is offline  
Reply


Similar Threads Similar Threads
Clicker Heroes Auto Clicker Bot
07/21/2018 - Browsergames - 19 Replies
Hiho, da ich bisher nix hier finden konnte und nebenbei an nem kleinen Autoclicker bin (Hilfreich für Klickskillungen). Uppe ich mal meinen Clickbot. Clickerheroes muss im Focus / Vordergrund sein, da der Bot einfach non Stop auf die Maus kloppt ;) http://abload.de/img/unbenannty7lko.jpg Ihr könnt die Maus frei bewegen, die Klicks gehen immer zur aktuellen Mausposi. Evtl. werde ich in nem Update noch mit einfügen, dass die Biene + Fische geklickt werden. How to use: Start: F5 Pause:...
[Question] auto clicker
07/26/2012 - Kal Online - 4 Replies
Is there any working autoclicker for int? I wanna use it for auto single cure, I already downloaded some auto clicker but they didn't work in kal just on desktop. Any kind of help would be great :P
[Question] Auto clicker/Bots/AutoScatter?
03/25/2010 - Conquer Online 2 - 8 Replies
Hello guys , I'm searching for a clicker or bots for my archer. I have a auto right clicker for my archer to hunt monster. Whenever i alt+tab to switch to other client my archer stop hunting. Can anyone teach me how i can hunt with my archer and play with my trojan account at the same time?



All times are GMT +2. The time now is 10:28.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.