3.3.5 ObjectManager questions relating setting position of objects menu

User Tag List

Results 1 to 6 of 6
  1. #1
    felixdabayer's Avatar Member
    Reputation
    10
    Join Date
    May 2008
    Posts
    44
    Thanks G/R
    6/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    3.3.5 ObjectManager questions relating setting position of objects

    Hey guys,
    i have set-up my objectmanager class just fine and i am able to read everything from memory, like names, positions, guids, etc... i made a gui where it lists all gameobjects, npcs and players and if you click on a gameobject it will show you it's position, displayid etc...
    now i want to set the position of a selected gameobject to the position of my player... i do it like this:
    Code:
    private void setObjectPosition(GameObject obj)
            {
                //Position Offsets
                float PosX; float PosY; float PosZ; float Rotation;
                uint XPositionOffset = 0x7D0,
                YPositionOffset = 0x7D4,
                ZPositionOffset = 0x7D8,
                RotationOffset = 0x7DC;
    
                //Change Position
                //Write XPos
                ObjectManager.WowReader.WriteFloat((obj.BaseAddress + XPositionOffset), ObjectManager.LocalPlayer.XPosition);
                //Write YPos
                ObjectManager.WowReader.WriteFloat((obj.BaseAddress + YPositionOffset), ObjectManager.LocalPlayer.YPosition);
                //Write ZPos
                ObjectManager.WowReader.WriteFloat((obj.BaseAddress + ZPositionOffset), ObjectManager.LocalPlayer.ZPosition);
                //Write Rotation
                ObjectManager.WowReader.WriteFloat((obj.BaseAddress + RotationOffset), ObjectManager.LocalPlayer.Rotation);
            }
    if i read the position of the gameobject again out of memory and compare it to the position of my player they are the same...
    but if i look ingame nothing changes... i am sure the values have changed in memory, but i think there are some other offsets i have to write to, so the game knows the objectposition really changed. can you give me a little hint on what i am missing?

    3.3.5 ObjectManager questions relating setting position of objects
  2. #2
    Frosttall's Avatar Active Member
    Reputation
    64
    Join Date
    Feb 2011
    Posts
    261
    Thanks G/R
    16/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can't do it like this. (And just btw: The informations of the position on the screen are stored in the Matrix and not in the X-, Y-, and Z-Values)

  3. #3
    streppel's Avatar Active Member
    Reputation
    77
    Join Date
    Mar 2007
    Posts
    196
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    imagine the values you are reading like a variable that's just to read them(like a label in a form)
    changing them won't make the game read it and set the position

    i'm sure there is a method to set the position yourself, but i'm not that deep in wow. the screenshot thread has a video on the last 10 or 15 pages where someone made a tool for emu servers to set positions,maybe you can get an idea there
    NON-OBJECTIVE HYPOTHETICAL PSEUDO PROCESSOR SPEED.
    https://memegenerator.net/cache/instances/400x/9/10044/10285683.jpg

  4. #4
    felixdabayer's Avatar Member
    Reputation
    10
    Join Date
    May 2008
    Posts
    44
    Thanks G/R
    6/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okay thank you both, i thought about both your opions before too and it seems youre right... guess i just have to do deeper research into how WoW itself handles object positioning and then hooking those functions.

  5. #5
    gononono64's Avatar Contributor
    Reputation
    100
    Join Date
    Jul 2009
    Posts
    85
    Thanks G/R
    1/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Search around for CTM (click to move)
    Hi! My name is Devon and I’m an alcoholic. Moving on…
    https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/319172-guide-how-make-wow-bot-complete-newbs.html

  6. #6
    Frosttall's Avatar Active Member
    Reputation
    64
    Join Date
    Feb 2011
    Posts
    261
    Thanks G/R
    16/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by gononono64 View Post
    Search around for CTM (click to move)
    What are you talking about? Oo

Similar Threads

  1. [Question][Java] Setting terms for a walk function
    By kmJeepers in forum WoW Memory Editing
    Replies: 13
    Last Post: 10-15-2009, 01:37 PM
  2. Question concerning setting up a server via webspace
    By liquorun in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 05-01-2009, 12:20 PM
  3. [Question] Save settings.
    By Zeroi9 in forum Programming
    Replies: 3
    Last Post: 10-26-2008, 01:54 PM
  4. Question about setting up an account.
    By DustyGoblin in forum World of Warcraft General
    Replies: 0
    Last Post: 04-14-2008, 04:16 PM
  5. [Question] Item set id(bonuses)
    By Nightstelth in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-02-2008, 03:57 PM
All times are GMT -5. The time now is 01:38 AM. 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