Make accurate turns (esp. 90 degree turns) using keyboard input menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Mapleman's Avatar Member
    Join Date
    Sep 2020
    Thanks G/R
    Trade Feedback
    0 (0%)
    0 Post(s)
    0 Thread(s)

    Make accurate turns (esp. 90 degree turns) using keyboard input


    I have been looking into writing a dungeon farming bot which takes in an .xml script and processes a series of actions using mouse clicks, keys, delays and loops - trying to best emulate actual keyboard strokes and mouseclicks.

    One thing I have had difficulty is accurately turning. As far as movement is concerned I find I can go forwards, backwards, and strafe left/right and the consistency each run is pretty exact. As soon as I try to make a turn it gets inconsistent.

    I am writing the program in C#, and have been using InputSimulator for the mouse and keystrokes. I also tried Win32 stuff but also seems to have a degree of inconsistency.

    For example, turning left or right for 2 seconds (2000ms) should complete a 360 turn. So turning right for 500ms should make a 90 degree turn. And a lot of the time it does, but then sometimes overstretches or doesn't turn enough, which then obviously throws the rest of the bot out.

    A snippet of example code - press the right key down, wait 500ms, press right key up again :-

    using WindowsInput;
    using WindowsInput.Native;

    InputSimulator isim = new InputSimulator();


    I've also tried using Win32 to just tap the LEFT key and then doing this a number of times, once again has inaccurate results.

    It's not a problem if it takes several seconds to make a 90 degree turn, I just need it to do it consistently at 90 degrees every run.

    Has anyone else had similar experiences and could help?

    These ads disappear when you log in.

Similar Threads

  1. Mouse-like turning using CInputControl?
    By xpl0itz in forum WoW Memory Editing
    Replies: 17
    Last Post: 12-30-2009, 04:49 PM
  2. Make a banker DISAPEAR - LIVE! (None can use banker)
    By Helene in forum World of Warcraft Exploits
    Replies: 40
    Last Post: 10-28-2008, 06:28 PM
  3. Replies: 20
    Last Post: 01-27-2008, 06:15 AM
  4. How to climb up almost all walls that are 90 degrees
    By Anthonyrox8 in forum World of Warcraft Exploration
    Replies: 8
    Last Post: 11-26-2007, 02:18 PM
  5. How to jump almost any wall thats 90 degree up
    By Mygot in forum World of Warcraft Exploits
    Replies: 17
    Last Post: 08-24-2007, 02:45 PM
All times are GMT -5. The time now is 01:23 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search