Register for your free account! | Forgot your password?

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

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

Advertisement



Issue with clicking

Discussion on Issue with clicking within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2010
Posts: 33
Received Thanks: 4
Issue with clicking

I have an issue with my AutoIT script for a private dark orbit server and it is that the bot clicks either on top left corner of my browser or on one of my opened tab windows

Thats my script and i have found the top left and top bottom right coordinates in game as it follows here -

MouseMove(Random(337,105,1), Random(586,970,1), 0)

but it clicks on the top left browser not on coordinates which i have set by autoit window info..
Any suggestions?
spud-killa is offline  
Old 05/02/2015, 21:26   #2

 
Moneypulation's Avatar
 
elite*gold: 138
Join Date: Apr 2012
Posts: 3,494
Received Thanks: 1,769
Quote:
Originally Posted by spud-killa View Post
I have an issue with my AutoIT script for a private dark orbit server and it is that the bot clicks either on top left corner of my browser or on one of my opened tab windows

Thats my script and i have found the top left and top bottom right coordinates in game as it follows here -

MouseMove(Random(337,105,1), Random(586,970,1), 0)

but it clicks on the top left browser not on coordinates which i have set by autoit window info..
Any suggestions?
Random(337,105) will always return 0 because you mixed up the parameters. The first number must be the minimum and the second the maximum --> Random(105,337)
Moneypulation is offline  
Thanks
1 User
Old 05/02/2015, 22:09   #3
 
elite*gold: 0
Join Date: Nov 2010
Posts: 33
Received Thanks: 4
Quote:
Originally Posted by Metin2Spieler96 View Post
Random(337,105) will always return 0 because you mixed up the parameters. The first number must be the minimum and the second the maximum --> Random(105,337)
But the first is coordinate for the top left of the game and the second is coordinate for the bottom top right of the game..?
Still don't get what should be changed to be able to click.
spud-killa is offline  
Old 05/02/2015, 22:19   #4

 
Moneypulation's Avatar
 
elite*gold: 138
Join Date: Apr 2012
Posts: 3,494
Received Thanks: 1,769
What are the x and y coordinates for your top left corner and what are the x and y coordinates for your bottom right corner?
Moneypulation is offline  
Thanks
1 User
Old 05/02/2015, 22:25   #5
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
You mixed up the coordinates. Try this

x = Random(337, 586, 1) ;Use Flag 1, it only returns valid integers
y = Random(105, 980, 1)
alpines is offline  
Thanks
1 User
Old 05/02/2015, 22:29   #6
 
elite*gold: 0
Join Date: Nov 2010
Posts: 33
Received Thanks: 4
Quote:
Originally Posted by Metin2Spieler96 View Post
What are the x and y coordinates for your top left corner and what are the x and y coordinates for your bottom right corner?
top left and bottom right coordinates are from the autoit window info and are the same as listed here in the topic

Quote:
Originally Posted by alpines View Post
You mixed up the coordinates. Try this

x = Random(337, 586, 1) ;Use Flag 1, it only returns valid integers
y = Random(105, 980, 1)
works but it clicks only to the left that it gets me in radiaton zone = dead
spud-killa is offline  
Old 05/02/2015, 22:35   #7
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
These were the coordinates you mentioned. Also what do you mean by only clicking to the left. Adjust the values if they don't fit.
alpines is offline  
Thanks
1 User
Old 05/02/2015, 23:04   #8
 
elite*gold: 0
Join Date: Nov 2010
Posts: 33
Received Thanks: 4
Quote:
Originally Posted by alpines View Post
These were the coordinates you mentioned. Also what do you mean by only clicking to the left. Adjust the values if they don't fit.
I get it now xD
Is there any way to make the bot click on moving pixels because the box moves similar to this -
spud-killa is offline  
Old 05/03/2015, 01:27   #9
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Find a spot which is always covered by the box.
alpines is offline  
Old 05/03/2015, 11:37   #10
 
elite*gold: 0
Join Date: Nov 2010
Posts: 33
Received Thanks: 4
Quote:
Originally Posted by alpines View Post
Find a spot which is always covered by the box.
The boxes are randomly placed on the map
spud-killa is offline  
Old 05/08/2015, 15:10   #11
 
elite*gold: 0
Join Date: Jun 2012
Posts: 409
Received Thanks: 194
Hi,

I made a pixel bot for darkorbit a long time ago. I hope to be able to help you.
The point is, that, because your ship is moving, there is a time between when it find the pixel and when it clicks, and then, it isn't clicking on the box precisly, isn't it ?
You should firstly reduce the searching area
Xavierbot is offline  
Reply


Similar Threads Similar Threads
Clicking Issue
08/07/2014 - Shaiya Private Server - 2 Replies
Hello elitepvpers staff and members. I've been recently playing on a Shaiya server that I like, but I've been having some issues. Whenever I double click on a character ingame (Just characters, not mobs nor npc's) I keep disconnected. I've been talking to the owner about it, but still no help. I've tried reinstalling my client, I tried re-installing the entire OS and scanned my computer for viruses but still I can't get it to work. I have no idea what the problem is.
About clicking gg
10/08/2013 - DarkOrbit - 8 Replies
I hear that many players have luck when try open gate and many how dont have it, they waste so much uridium for open it. So i wanna ask how you can raise you chanse for get parts and dont lose much uridium. Maybe you must use specified language or you must have perfect map on home like this http://www.youscreen.de/kmchezsj14.jpg, i dont know... I'm not noob who cry for help, i in last almost 3 years finish over 500 alpha but never found way how dont lose much uridium in it. ...
How to kno your exp with out clicking on the bar
01/08/2008 - CO2 Guides & Templates - 8 Replies
you can look on the F1,F2..... buttons If the yellow line is middle F1 and F2 you got 10pct. If the yellow line is middle F2 and F3 you got 20pct. If the yellow line is middle F3 and F4 you got 30pct. If the yellow line is middle F4 and F5 you got 40pct.



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


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