Register for your free account! | Forgot your password?

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

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

Advertisement



180° script

Discussion on 180° script within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2006
Posts: 74
Received Thanks: 14
180° script

hey,

so i am trying to write a script that turns my char around when i press a button. its for an 3d mmo with 1st / 3rd person view.

anyways, this is what i got so far:
Code:
hotkeyset("a", "test")
$turn=1

while 1
$mousex = MouseGetPos(0)
ToolTip($mousex, 600, 0)
wend

func test()
$mousex = MouseGetPos(0)
mousemove($mousex+13,@desktopheight/2,0)
endfunc
1st problem: after a while, the script will stop turning.
the tooltip from my script shows the x-coordinates of my mouse. if i turn around manually, after a while they wont increase or decrease. if i turn around to the right, the x coordinates will not increase above 1919 and will not go below 960 if i turn to the left. whenever i use the script to turn, it will stop turning once the 1919 x coordinate is reached. after that i can however use the mouse to turn further to the right, however the x coordinate will not increase.

2nd problem: the first time i press the hotkey, nothing happens. after that each press will turn the character (untill the above mentioned 1919 coordinate is reached). however if i turn a few times using the hotkey, then move around manually and then press the button again, it will either not turn at all, or turn only a small bit. i need to press the hotkey again, and then it will turn normally again untill either the x coordinate is reached or untill i move manually (the first press of the hotkey after moving manually will again result in either no turn or only a small turn).

i hope i made myself clear.
does anyone have any advice on how to get this to work properly?

thanks
revolutionary is offline  
Reply


Similar Threads Similar Threads
[S] Facebook-Like Script oder Twitter Mass Follow Script [B] e*gold
03/06/2013 - General Coding - 2 Replies
Hey, Leute.. Ich suche ein Facebook-Like Script oder ein Twitter Mass Follow Script das mit GreaseMonkey funkt. Entweder selber coden oder im Internet danach suchen. Wer mir es liefert wird auch entsprechend belohnt.
[Biete] Scripteen Ajax Photo Rating Script V2 License (Hot or Not Script) [S] Paypal
01/31/2013 - Trading - 0 Replies
Hey, und zwar brauche ich das Script nicht mehr und stelle meine License deshalb hier zum Verkauf. Link zum Script: Hot or Not Script | Photo Rating Script | Scripteen PHP Scripts Macht mir Angebote suche Paypal. Screenshots: http://scripteen.com/uploads/156-Screen%20Shot%20 2012-05-19%20at%2010.32.56%20AM.png http://scripteen.com/uploads/381-Screen%20Shot%20 2012-05-19%20at%2010.33.07%20AM.png



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


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