Issue with clicking

05/02/2015 20:37 spud-killa#1
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? :)
05/02/2015 21:26 Moneypulation#2
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)
05/02/2015 22:09 spud-killa#3
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.
05/02/2015 22:19 Moneypulation#4
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?
05/02/2015 22:25 alpines#5
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)
05/02/2015 22:29 spud-killa#6
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
05/02/2015 22:35 alpines#7
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.
05/02/2015 23:04 spud-killa#8
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 - [Only registered and activated users can see links. Click Here To Register...]
05/03/2015 01:27 alpines#9
Find a spot which is always covered by the box.
05/03/2015 11:37 spud-killa#10
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
05/08/2015 15:10 Xavierbot#11
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 ;)