Unit/Player Facing for Z axis menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 16 of 16
  1. #16
    g3gg0's Avatar Active Member
    Reputation
    32
    Join Date
    Mar 2008
    Posts
    86
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ah nice to know. actually i'm using that code:
    Code:
    posX = WoW.ReadFloat(curObj + 0x7D0);
    posY = WoW.ReadFloat(curObj + 0x7D4);
    posZ = WoW.ReadFloat(curObj + 0x7D8);
    
    addr1 = WoW.ReadInteger(curObj + 0x110);
    facing = WoW.ReadFloat(addr1 + 0x1C);
    pitch = WoW.ReadFloat(addr1 + 0x20);
    but not sure if i should change it to use the more cleaner one you explained.

    con: that would cost again little time to dereference another pointer. (when scanning 20 times/sec all objects even one read costs time)
    pro: but its much cleaner to dereference it like the game itself does. (especially handy when new patches come out)

    will think about that, thanks for the hint.

    Unit/Player Facing for Z axis
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Lua Script] Making the player face a certain direction
    By tyeeeee1 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 03-09-2012, 11:01 AM
  2. Tichondrius horde us player looking for more players!
    By Murphyman20thGTI in forum World of Warcraft General
    Replies: 3
    Last Post: 01-07-2012, 04:18 PM
  3. [Mangos] Player Bots for WoW Classic (1.12.1)
    By saphon in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 04-14-2011, 04:25 PM
  4. Looking for : online player map for server
    By darkkiller1992 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 05-07-2009, 04:31 AM
  5. [DK] Grief Players waiting for Boat//Zeppelin
    By Seraphant in forum World of Warcraft Guides
    Replies: 5
    Last Post: 01-07-2009, 02:58 PM
All times are GMT -5. The time now is 07:12 PM. 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