[Need Help] mouse_event(Right_CLick_up) problem menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    abuckau907's Avatar Active Member
    Reputation
    49
    Join Date
    May 2009
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Need Help] mouse_event(Right_CLick_up) problem

    I'm using the mouse to rotate my character in-game for world of warcraft..first i set the cursor somewhere over the wow screen (which is set by user..) then call mouse_event(Right_click_down,0,0,0)
    then call mouse_move(-10or10,0,0,0) to move it left/right ie. to turn my character. The only problem is when I call mouse_event(Right_click_up,0,0,0)
    it rotates the screen down like..10degrees..after like 5-6 runs i'm looking over-myself...not good. So, how do I stop it form moving vertically while calling mouse_event(RightClickUP) ? I supplied 0,0,0 for the x,y change arguments..there is no y change,0,..but it still moves the screen down a little bit. I also tried mouse_event(rightclickup,mysavedpoint.x,mysavedpoint.y,0,0) but same thing still happens. Anyone who knows this is going to be a life saver..i'd even have to write you into the credits..for what that's worth?

    -Thanks in advance,
    Andrew

    edit: I checked msdn http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
    and I'm not setting the position_absolute flag or w/e (so it's all relative) so 0,0,0 really means currentMousePosition.x,y so that's not the problem..maybe it's a wow thing?
    Last edited by abuckau907; 07-18-2009 at 07:49 AM.

    [Need Help] mouse_event(Right_CLick_up) problem
  2. #2
    abuckau907's Avatar Active Member
    Reputation
    49
    Join Date
    May 2009
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    fixed

    SOLVED: Basically i called RotateToPoint(), RunUntil .Distance <=35, then RoateToPoint() again..the 2nd one was unneeded and because my rotate code looks like..

    while math.abs(local.rotaiton - object.relativeRotation) > .01 and because it was already facing..it didn't actually turn ..it just right_click_down (skipped the while loop) and then right_click_up ...apparently just right_clicking ****s w/ the camera angle..not sure, but taking out the 2nd turn makes it work.

  3. #3
    uselessx's Avatar Active Member
    Reputation
    38
    Join Date
    Mar 2007
    Posts
    79
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Last edited by uselessx; 07-18-2009 at 10:29 PM. Reason: wrong topic ;/

Similar Threads

  1. [ArcEmu] I Need help i have problems with my server
    By wrekeds in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 07-27-2011, 11:56 PM
  2. Need help with connection problem (Private servers)
    By tobbelainen in forum World of Warcraft General
    Replies: 1
    Last Post: 11-23-2008, 02:14 PM
  3. Need help with LuaScripting problem
    By LoneWolf2145 in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 09-21-2008, 02:53 AM
  4. [HELP!!!!] Need help with small problem.!!!!
    By Jayson22 in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 05-18-2008, 05:55 AM
  5. Realmloop, need help /w hamachi problem
    By Equ1N0X in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 09-07-2007, 05:28 PM
All times are GMT -5. The time now is 04:41 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search