Object spacial orientation menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Bobnovak's Avatar Member
    Reputation
    3
    Join Date
    Jun 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Object spacial orientation

    C# Code ahoy.

    RapidShare: Easy Filehosting

    This code will give you a bunch of information on the spacial orientation of two objects relative to each other (i.e. Player & Target).

    Currently it gives the following information:

    X, Y, Z;
    Rotation (radians)

    Faction, Health, Mana, Name, Type, Reaction;

    Direction Horizontal and Vertical of Object 2 from the view of Object 1 (in radians);

    Rotational difference (radians) (the difference between Object 2's position relative to Object 1 calculated against the rotation of Object 1. Basically whether or not Object 1 is facing object 2). ETA: This returns a float between -pi and pi (pi being 180 degrees). If the number is positive, Object 2 is to the right of the way object 1 is facing, if negative Object 2 is to the left of object 1.

    Rotational difference from the POV of Object 2 as well (radians) - Whether Object 1 is to the left or right of Object 2, for example.

    if Object 2 is above or below Object 1 (bool);

    if Object 2 is behind or in front of Object 1 (bool).

    Distance between Object 2 and Object 1 (3d). (yards)

    Speed of both objects (yards/second)

    Velocity of Object 2 with regards to Object 1 (ie. you can tell how quickly Object 2 is approaching or receding from Object 1).



    Perfect for those of you who want to make a rogue bot that goes around and eats people's babies

    Credits: Shynd, Kynox, the guy who did the WoWDefines library (sorry, name slipping my mind), MMOWned, and anyone else I stole code and/or offsets from.
    Last edited by Bobnovak; 07-02-2008 at 10:02 AM. Reason: Updating post to include link, etc

    Object spacial orientation
  2. #2
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd definitely be interested in perusing any source you post on the subject.

  3. #3
    Bobnovak's Avatar Member
    Reputation
    3
    Join Date
    Jun 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well since there was overwhelming demand :| here it is..

    RapidShare: Easy Filehosting


    Has functionality for

    Direction horizontal/vertical (Radians)
    distance(Yards),
    rotational difference for both objects (Radians) (if object 1 is facing object 2; if object 2 is facing object 1),
    Speed (yards/second)
    Velocity (yards/second)( change in difference in distance between the two objects; negative = receding, positive = approaching )

    Standard things like X, Y, Z location, unit faction, unit name, reaction, type

    RapidShare: Easy Filehosting

    Thanks to you Shynd for your Memory library, it's good stuff, as well as your code for determining the unit reaction.

  4. #4
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very impressive, and you just made me want to almost completely re-write my memory library because of how ugly it is to have to type .ReadUInt(0... every time. My original thought process was that it'd make it easier to read memory from two different clients (another game, I was botting multiple clients together using one program and only one instance of the memory library instead of an array of them... stupid).

    Thanks for all of the example code, though. Definitely +Rep

  5. #5
    Bobnovak's Avatar Member
    Reputation
    3
    Join Date
    Jun 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I can understand where you're coming from with the idea, but I would probably make an array that stores connection objects rather than having the array in the connection object. I should rep you for the memory library though, it's very good even though it could use a little tweaking.

Similar Threads

  1. Archaeology world object orientation?
    By gerardolm in forum WoW Memory Editing
    Replies: 29
    Last Post: 12-30-2010, 08:02 PM
  2. Weird "Objects" in STM.
    By tyguy22894 in forum World of Warcraft Exploration
    Replies: 18
    Last Post: 04-22-2007, 03:22 PM
  3. WoW Addiction, I OBJECT! Video
    By The Juggernaut in forum Community Chat
    Replies: 1
    Last Post: 03-07-2007, 04:31 PM
  4. Model Editing (objects) Video Turtorial [No Download Required]
    By tyman2006 in forum World of Warcraft Model Editing
    Replies: 3
    Last Post: 12-21-2006, 08:11 PM
  5. Campfire---> Ramp or other climbable object?
    By Piratewolf in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 10-04-2006, 08:22 AM
All times are GMT -5. The time now is 11:08 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search