Mouseclick to Coordinat Monster In game

10/01/2012 22:21 sutansah#1
Anyone Know how to make mouseclick to coordinate monster in game?...

example If window of that Game client is 1024x768 and coordinat monster X:60 Y:70 then i must do move to coordinate monster(i have been make that)...then i want to click that monster location so im make it zoom to near that monster...
for get client height and width i use this script...
Code:
Local $max_x = _WinAPI_GetClientWidth($hWnd)
Local $max_y = _WinAPI_GetClientHeight($hWnd)
after that i dont know what i must to do..i want to get coordinate mouse from that coordinat monster ....example with mousesearch im get That coordinate mouse from that monster location X: 420 Y:500...

so what i must to do it...i want to make mouse click to hidden window from that monster location...please help if anyone know it.....:handsdown:
10/01/2012 22:36 Achat#2
Quote:
Originally Posted by sutansah View Post
mousesearch
Dafuq?

Quote:
Originally Posted by sutansah View Post
so what i must to do it...i want to make mouse click to hidden window from that monster location...please help if anyone know it.....:handsdown:
MouseClick
ControlClick
ControlSend
[Only registered and activated users can see links. Click Here To Register...]

rgds
10/01/2012 22:53 sutansah#3
Quote:
Originally Posted by Achat View Post
Dafuq?



MouseClick
ControlClick
ControlSend
[Only registered and activated users can see links. Click Here To Register...]

rgds
i know that Achat....what i mean this....example if coordinate monster in game X:60 Y:100....so i want to attack that coordinat in game with resolution 1024x768....before that i must search client width and client height of that game's window....and then if i get that client width and height....what i must to do to get exact coordinate mouse to attack....
with mouse search....example i got coordinate mouse X:450 Y:500....
so what must i to do...(client width/5 - Coordinate X monster) >>> this example.....to get exact value of that coordinate mouse....
10/01/2012 23:25 YatoDev#4
MouseGetPos()
??
10/01/2012 23:34 Achat#5
Quote:
Originally Posted by sutansah View Post
X:450 Y:500
MouseClick('left',450,500) ?

I guess math will solve your problem.

rgds