1.0.5 ui text changes menu

User Tag List

Results 1 to 4 of 4
  1. #1
    renwo's Avatar Private
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    1.0.5 ui text changes

    i'm using a modified d3a version and updated a few things for 1.0.5 to get most of it to work, but i cant set/get the text part of ui elements

    my knowledge is still pretty limited, but i think the structure of ui elements has changed and the pointer to the text label is wrong

    ui element:
    Code:
        public struct NewNUIElement
        {
            public IntPtr eventHandlersPtr;
            public int int_0;
            public int int_1;
            public int int_2;
            public int int_3;
            public int int_4;
            public int int_5;
            public int int_6;
            public int int_7;
            public int int_8;
            public int visible;
            public int int_10; // 0x28
            public ulong hash; // 0x30
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x100)]
            public byte[] name; //130
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x109)]
            public IntPtr[] byte_1; // 0x554
            public IntPtr intptr_1;
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 370)]
            public int[] int_11;
            public uint pntrText;
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x4e)]
            public int[] int_12;
            public int int_13;
        }
    label:
    Code:
        struct NLabel
        {
            public IntPtr pntCharArr;
            public int int_0;
            public int int_1;
            public int int_2;
            public int length;
            public int password;
        }

    1.0.5 ui text changes
  2. #2
    renwo's Avatar Private
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'm willing to pay $50 via paypal to the first person that can post a working fix

    i can currently get all ui elements via name/hash but not access the label/text part of it. it's always null, because the var pntrText contains "1", which should afaik contain the pointer to the label
    Last edited by renwo; 10-19-2012 at 03:02 PM.

  3. #3
    rootguy's Avatar Member
    Reputation
    3
    Join Date
    Aug 2008
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by renwo View Post
    i'm willing to pay $50 via paypal to the first person that can post a working fix

    i can currently get all ui elements via name/hash but not access the label/text part of it. it's always null, because the var pntrText contains "1", which should afaik contain the pointer to the label
    It shifted 20 bytes iirc.

  4. #4
    DarthTon's Avatar Contributor
    Reputation
    171
    Join Date
    Apr 2010
    Posts
    108
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its not really that hard to find out new pointer..

    Code:
    struct UIComponent
    {
    	//UIComponentVirtualTable *v_table;			// 0x000
    	DWORD dwBaseAddr;							// 0x000 Instead of v_table. Is filled manually
    	void *u_0;									// 0x004
    	UIHandler::func_t handler_0;				// 0x008
    	void *u_1[1];								// 0x00C
    	UIHandler::func_t handler_1;				// 0x010
    	void *u_2[2];								// 0x014
    	DWORD sound_0;								// 0x01C
    	void *u_3[2];								// 0x020
    	DWORD visible;								// 0x028
    	DWORD u_4;									// 0x02C
    	UIReference self;							// 0x030
    	UIReference parent;							// 0x238
    	DWORD pad_42C[8];							// 0x440
    	DWORD addr_child1;							// 0x460
    	DWORD pad_464[32];							// 0x464
    	DWORD flag1;								// 0x4E4
    	float pad_4E8[8];							// 0x4E8
    	UIRect rect;								// 0x508
    	float pad_518[15];							// 0x518
    	DWORD click_handler;						// 0x554
    	DWORD pad_558[3];							// 0x558
    	DWORD mouse_over;							// 0x564
    	float pad_568[350];							// 0x568
    	DWORD text_ptr;								// 0xAE0    <---- Here it is
    	DWORD pad_ACC[107];							// 0xAE4
    	DWORD val_C90;								// 0xC90
    	DWORD pad_C94[3];							// 0xC94
    	DWORD tb_length;							// 0xCA0
    	DWORD tb_size;								// 0xCA4
    	DWORD pad_AD8[23];							// 0xCA8
    	DWORD cb_index;								// 0xD04
    	DWORD pad_CF0[100];							// 0xD08
    	DWORD cb_index2;							// 0xE98
    };

Similar Threads

  1. Creating char, race information text change?
    By Lancex in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 10-13-2010, 02:35 PM
  2. A Text Changing Addon?
    By Bird Is The Word in forum WoW UI, Macros and Talent Specs
    Replies: 2
    Last Post: 09-03-2008, 03:13 AM
  3. S47 Log In-Text Change
    By Srath47 in forum World of Warcraft Model Editing
    Replies: 14
    Last Post: 05-04-2007, 01:14 AM
  4. Client-Side Only Text Color Change Edit
    By orangegold in forum World of Warcraft Bots and Programs
    Replies: 9
    Last Post: 04-23-2007, 01:19 AM
  5. Change the text on your start button!
    By TwiceoveR in forum Community Chat
    Replies: 3
    Last Post: 02-01-2007, 09:15 PM
All times are GMT -5. The time now is 09:58 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