[mac] Trying to find "Current Time" menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [mac] Trying to find "Current Time"

    So before 4.x I was able to read the current time at +0xAB0 from the player's base address.

    I haven't been able to find it anywhere w/in the object fields. Anyone have any ideas where else this could be within wow? Any ideas would be greatly appreciated (it's definitely not GetGameTime or GetTime).

    Thanks!

    ---------- Post added at 04:34 PM ---------- Previous post was at 03:10 PM ----------

    Got it... Just reversed PerformanceCounter

    Code:
    #define kTwoPower32 (4294967296.0)      /* 2^32 */
    
    - (UInt32)currentTime {
    	UnsignedWide theTime;
    	Microseconds(&theTime);
    	double result;
    	result = (((double) theTime.hi) * kTwoPower32) + theTime.lo;
    	return (UInt32) (result / 0x3E8);
    }
    https://tanaris4.com

    [mac] Trying to find "Current Time"
  2. #2
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    GetTime uses PerformanceCounter.. So yes, it's definitely GetTime :P
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

Similar Threads

  1. Trying to find a few Display IDs
    By Zason in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 04-21-2008, 10:20 AM
  2. Try and find this out
    By tyguy22894 in forum Community Chat
    Replies: 3
    Last Post: 06-12-2007, 01:19 PM
  3. Try saying these a few times!
    By Holysymbol in forum Community Chat
    Replies: 3
    Last Post: 04-18-2007, 03:50 PM
All times are GMT -5. The time now is 11:58 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