[C#] Read the angle a player is facing from memory menu

User Tag List

Page 3 of 3 FirstFirst 123
Results 31 to 36 of 36
  1. #31
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Flowerew View Post
    Cpt. Helpful is here to help you! You want to know the angle your character is facing? Let me do this:
    Code:
    C-- code
    enum DIRECTION {
      ^ = 0x0,
      v = 0x1,
      --> = 0x2,
      <-- = 0x3
    };
    
    class Botty {
      publicity:
        DIRECTION GetFacing();
    };
    
    int main() {
      Botty botty;
      echo << botty.GetFacing() << endlife;
      return 0;
    }
    
    ...
    C:\> botty.exe
    Your bot is facing --> this way.
    No problem...up up and away!
    You're awesome. Rofl.

    Originally Posted by wowDevver24 View Post
    does that code even work??? never heard of C-- but the code looks retarded
    You're a ****ing retard.

    [C#] Read the angle a player is facing from memory
  2. #32
    kukiwuki's Avatar Private
    Reputation
    1
    Join Date
    Nov 2009
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    its funny how mods prefer flaming the noob instead of just closing the thread.
    hint@hackzor (nice name btw)
    doing a bot you will need a lot more than just your player struct and its facing. you will need all objects (to which your player belongs too) thus i advise you to read (using the search function or this link http://www.mmowned.com/forums/wow-me...e-objects.html) how to get objects.
    i would recommend you to learn some basic stuff about programming before you do anything else(like asking the next question about how to get the other shitty offset until someone has written your bot for you).
    Know how to use pointers, how the object manager works(eg what is a linked list etc), how data is represented in memory.
    Then you will have to leech some basic offsets(gclientconnection, objmanageroffset..) (i dont believe you will be able to find them yourself)
    The next offsets like facing you should be able to find yourself using something like olly. Having your player base, just search for floating points in the memory region after pbase (sometimes also follow pointers). Often things belonging to the same thing are very close represented in memory. Like your position (x,y,z) maybe your facing is also very close to these offsets (hint your facing is either stored in degree or radian so it has to be a value 0-360 or 0-2pi)


    edit: better ways to find your facing have already been given to you. if you have a function from wow's code that accesses the facing. you can look into the assembly of that function(using ida/olly and its offset where its stored(3.3.0 info dump thread)) and see how it is done then you can do the same yourself in your code.
    You will fail trying to do that, that's why I tell you to first learn programming (try to learn c/c++ because it may help you more understanding assembler than c#)
    Last edited by kukiwuki; 01-01-2010 at 08:16 AM.

  3. #33
    b0t001's Avatar Private
    Reputation
    5
    Join Date
    Oct 2009
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it's kind of funny how fast you went from 'i don't want to be spoon-fed' to 'just tell me the offset'.

  4. #34
    mnbvc's Avatar Banned
    Reputation
    120
    Join Date
    Jul 2009
    Posts
    273
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you search for "rotation" and find this thread: http://www.mmowned.com/forums/wow-me...t-scanner.html
    looks nice, but most likely the offsets are outdated
    you see its getting the "playerbase" using pointer/offsets
    you search for "playerbase" and find the 3.3 info dump thread
    http://www.mmowned.com/forums/wow-me...ml#post1756976
    and find:
    Global $PlayerBaseStatic = 0x00CF7C00
    Global $PlayerBaseOffsA = 0x34, $PlayerBaseOffsB = 0x24

    the offsets stay the same, but the static base changes, so you just replace the one in the autoit file
    in this line: $PlayerBase = _MemoryRead(_MemoryRead(_MemoryRead(0x012BEDB8, $WoWProcess, 'ptr') + 0x34, $WoWProcess, 'ptr') + 0x24, $WoWProcess, 'ptr')

    the autoit script should work again!

  5. #35
    joe7314's Avatar Member
    Reputation
    3
    Join Date
    Dec 2008
    Posts
    15
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I see Cypher was as amuzed as I was with the c-- code.

    Devv, nobody is getting off feeling superior. If what you are asking could be put down in words here any differently than was already said we would put it down. It would be like writing a paragraph that you read and poof you have the ability to speak a verbal language fluently instead of intermediately.

  6. #36
    wowDevver24's Avatar Member
    Reputation
    1
    Join Date
    Dec 2009
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ joe, did any of that sentence make sense when you read it back... I got nothing either... and what was being asked was sooo simple, I even gave him a step-by-step abbridged guide to doing it himself. flame on lol

Page 3 of 3 FirstFirst 123

Similar Threads

  1. how to reading the player's coord?
    By kofboy2000 in forum WoW Memory Editing
    Replies: 4
    Last Post: 01-18-2011, 10:55 AM
  2. Meet the real wow players
    By Acespades in forum Screenshot & Video Showoff
    Replies: 2
    Last Post: 09-09-2007, 01:56 PM
All times are GMT -5. The time now is 07:53 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