Log in

View Full Version : Instant turning made easy?



Šeceased
03-20-2008, 11:20 AM
Heya everyone,
was going over some macro making websites and found a beauty :)

*WARNING*
Some of the commands are protected and should not be used
I was unaware at the time i posted this that one couldn't use them

/script SetView(1); SetView(1); TurnOrActionStart(); CameraOrSelectOrMoveStart(); TurnOrActionStop(); CameraOrSelectOrMoveStop(); SetView(4); SetView(4);

First turn the camera 180 degrees with the mouse and type /script SaveView(1); into the chat window. Now this macro will spin you around.

If you find it disorienting to have the camera whip instantly to your new view delete the last SetView(4); Now you'll spin 180 degrees and the camera will spin a moment later to catch up with you

However following on with this idea, and trying to avoid using any commands that blizz might ban us for.. as the use of SetView and SaveView are not protected (I think :S)
could we use keyclone (or the hardware option) to distribute the rightclick and hold command (you would acctually be doing so with your mouse), instead of using the:

TurnOrActionStart(); CameraOrSelectOrMoveStart(); TurnOrActionStop(); CameraOrSelectOrMoveStop();
part of the script.
one could then use the forward movement key that you have set for all clones to move and thus turn the clones.

is there any way of doing this ? and more importantly.. legally

Eteocles
03-20-2008, 11:24 AM
First AoE targeting now this...this is a very good month for multiboxers >D

Chorizotarian
03-20-2008, 11:39 AM
Movement Functions
Use with caution - movement started by a script must be stopped by script. Keys/Mouse will not stop movement. These functions no longer work (fail silently) in patch 1.6 if NOT triggered from a hardware event (just like spell casts). As of patch 1.10 many of these functions were protected for use of only Blizzard signed code


http://www.wowwiki.com/World_of_Warcraft_API#Movement_Functions

Šeceased
03-20-2008, 11:49 AM
update main post*

Šeceased
03-20-2008, 12:11 PM
hmm just thought about this for a sec..

the setview and saveviews are still ok to use right?

if so couldn't one simply set those. then have a command for rightclick (maybe through keyclone for each wow window) and then simply move with the arrow key for an near instant turn?

Chorizotarian
03-20-2008, 02:41 PM
The problem is that there isn't a WoW API command for right click. They made an explicit decision to remove all of that stuff. If you work around it using external means you are probably in violation of the ToS. I do think you'd be ok to broadcast mouse drag / click to multiple windows though. Why not just do that with some kind of toggle hotkey? (You could do it with AHK, for instance.)

Šeceased
03-20-2008, 02:47 PM
I do think you'd be ok to broadcast mouse drag / click to multiple windows though. Why not just do that with some kind of toggle hotkey? (You could do it with AHK, for instance.)

that was what i was hoping for :) but any idea if one can do it without AHK :) am trying to limit my software use :P

Chorizotarian
03-20-2008, 03:16 PM
Not sure. I only use AHK.

Stabface
03-20-2008, 06:20 PM
Blizzard won't ban you for using in-game LUA commands to do things they don't want you to do with the API. Well, unless you're using a macro/mod to do something that's actionable anyways, like chat flooding or whatever.
If you code some macro or mod they don't approve of, then they just change the API so you can no longer do what you were doing.

And, I don't think this macro works anyhow, and hasn't been working in a long long time actually, since it's trying to call protected functions. I could be wrong on this but try it in-game and see. ;)

Ughmahedhurtz
03-20-2008, 07:29 PM
hmm just thought about this for a sec..

the setview and saveviews are still ok to use right?Absolutely! I use the setview script command to reset my alts to default "high and behind" when attacking in case I screw it up while looting or talking to NPCs, etc. Great command. :)