i even dont work out my GetLocalizedText code with blackmagic menu

User Tag List

Results 1 to 3 of 3
  1. #1
    ivyvan29's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    i even dont work out my GetLocalizedText code with blackmagic

    private static uint FrameScript_ExecuteBuffer = 0x43C010;
    private static uint FrameScript__GetLocalizedText = 0x1BB0C0;
    private static uint ClntObjMgrGetActivePlayerObj = 0x3410;

    i am sure i have added wowbaseaddress on all the offset,but don't work out with my code,this would be shame

    Code:
            public string GetLocalizedText(string variable)
            {
                if (!IsLoading()) { return ""; }
    
                uint codeCave = Memory.AllocateMemory(Encoding.UTF8.GetBytes(variable).Length + 1);
                Memory.WriteBytes(codeCave, Encoding.UTF8.GetBytes(variable));
    
                String[] asm = new String[]
                {
                    "call " + ClntObjMgrGetActivePlayerObj,                            
                    "mov ecx, eax",
                    "push -1",
                    "mov edx, " + codeCave + "",
                    "push edx",
                    "call " + FrameScript__GetLocalizedText,
                    "retn",
                };
    
                string sResult = Encoding.ASCII.GetString(InjectAndExecute(asm));
                Memory.FreeMemory(codeCave);
    
                return sResult;
            }

    i even dont work out my GetLocalizedText code with blackmagic
  2. #2
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Search for it, there are 100 threads about it already.

  3. #3
    ivyvan29's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    got it,it's because that i use the wrong offset

Similar Threads

  1. Model Edits dont work now because of patch?
    By Sykes14 in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 05-24-2007, 01:49 PM
  2. Complete Package of vBulletin wow skin! BIG SHARE! DONT MISS OUT!!
    By ShortButStrong in forum World of Warcraft General
    Replies: 11
    Last Post: 03-06-2007, 09:10 AM
  3. MC dont work...
    By Skalla in forum World of Warcraft General
    Replies: 9
    Last Post: 09-04-2006, 09:53 AM
All times are GMT -5. The time now is 06:00 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