Secure Camera angle change possible?

05/24/2007 13:06 nomi123#1
hi,

i want to rotate the camera into another direction in an autoit script. But i haven't found a secure solution yet that works 100%.

i tried things like:

move mouse while right mouse button is pressed:
Code:
MouseMove(1, 200)
MouseDown("right")
MouseMove(1, 250, 100)
MouseUp("right")
with drag mouse function:
Code:
MouseClickDrag("right", 100, 100, 110, 100, 50)
or by running a circle:
Code:
   send("{"w down}") 
   send("{"d down}") 
   sleep(1000) 
   send("{"d up}") 
   send("{"w up}")
but none of these attemts is working good enough to implement it in a bot. more precise i want to turn left in nebo terrace to face the undead located on the way to the cursed lands area. after killing the first archers i head back to the sign of hot springs (fix position) and the bot should rotate the camera towards west, approximatly 90 degrees.

strafing left all the way would take too much time and maybe (definitly) the monk runs out of mana because of recasting protspirit all the time in order not to get killed from randomly spawning undead.

do you have any ideas how to implement the problem or do you have better suggestions?

thanks in advance

nomi
05/24/2007 15:06 Azunai#2
ok first you should post this thread in the
gw main /question section
and yes i can help you
but my problem is that iam not very good in english so sry if there is any thing you can't understand ;)
i'll post a code maybe @ 18:00
05/24/2007 15:10 djpromo#3
wrong section ...
05/24/2007 15:12 Term!nX#4
For 180° turn, press X.

There is a special key in the options window. My suggestion, do not move the mouse. Turn like youve done with send("{a down}")
05/25/2007 11:50 nomi123#5
hi,

sry for posting to wrong section.

Quote:
but my problem is that iam not very good in english so sry if there is any thing you can't understand
you can also write german i understand it too (even better than english).

Quote:
For 180° turn, press X.
I want too turn the camera for 90°, 180 would be trivial.

so far i think the best results i made with running a 1/4 circle for 1 second.

the thing with moving the mouse while pressing the right mouse button is not working at all. i think gw handles the camera movement internally different than i tried to simulate.
05/26/2007 10:41 Azunai#6
sry das ich nicht früher gepostet habe aber kinfirmation steht ins haus ;)
@nomi wenn du deutsc hkannst dann schreib doch direkt in deutsch ;) hier sind fast ausschließlich alles deutsch