how do i getLocalizedText when i am not enter the world menu

User Tag List

Results 1 to 6 of 6
  1. #1
    ranassa's Avatar Member
    Reputation
    1
    Join Date
    Oct 2010
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how do i getLocalizedText when i am not enter the world

    it's the code below which i used to get the api return value,but when i try to get the value without character logging,client crashes.
    how do i get the value?who can share me some code to do this would be appreciated

    public string GetLocalizedText(string variable)
    {
    // offset:
    ClntObjMgrGetActivePlayerObj = wowBaseAddr + ClntObjMgrGetActivePlayerObj;
    FrameScript__GetLocalizedText = wowBaseAddr + FrameScript__GetLocalizedText;
    // Write variable in the allocated memory
    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",
    };
    // get value
    string varResult = Encoding.ASCII.GetString(InjectAndExecute(asm));
    Memory.FreeMemory(codeCave);
    return varResult;
    }

    how do i getLocalizedText when i am not enter the world
  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)
    Code:
    __asm {
        push 0
        push -1
        mov edx, cave
        push edx
        call FrameScript_GetText
        add esp, 0Ch
        mov result, eax
    }
    cave = write the variable name here
    FrameScript_GetText = Wow.exe + 0x004278F0
    result = pointer to return value
    Last edited by Jadd; 11-28-2011 at 07:20 AM.

  3. Thanks lsjaf3297 (1 members gave Thanks to Jadd for this useful post)
  4. #3
    ranassa's Avatar Member
    Reputation
    1
    Join Date
    Oct 2010
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that's perfect,Jadd i would rep you 1000000000000000000 but i can't
    thanks a lot

  5. #4
    ranassa's Avatar Member
    Reputation
    1
    Join Date
    Oct 2010
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    btw,0x004278F0,this offset can't be found in the dump thread

  6. #5
    Mr.Sergey's Avatar Contributor
    Reputation
    117
    Join Date
    Apr 2009
    Posts
    201
    Thanks G/R
    6/23
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    8278F0 FrameScript_GetText

    0x8278F0 - 0x400000 = 0x4278F0

  7. #6
    debiangrub3's Avatar Private
    Reputation
    1
    Join Date
    Aug 2011
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you must to do this:

    1.hook d3d9.
    2.use Lua Stack And C++ to Access .(lua access c++ and c++ access lua). In the wow,you only learn c++ access lua.

    there is Keywords maybe help you to search:
    lua_gettop,lua_settop,lua_open,luaL_loadbuffer,*lua_Reader,lua_pcall,Lua_ToLStri ng

    thanks.

Similar Threads

  1. can not enter the website
    By bummel in forum Community Chat
    Replies: 2
    Last Post: 07-08-2012, 03:48 PM
  2. [EMU] how to get gold when items are free FOR NOOBS
    By XxSanchenxX in forum WoW EMU Exploits & Bugs
    Replies: 1
    Last Post: 01-04-2008, 09:30 PM
  3. How to have full mana when fighting last boss in The mechanar
    By Leketid in forum World of Warcraft Exploits
    Replies: 18
    Last Post: 03-17-2007, 06:09 PM
  4. GUIDE: How to get unstuck when exploring
    By Fault in forum World of Warcraft Exploration
    Replies: 3
    Last Post: 12-24-2006, 03:07 PM
All times are GMT -5. The time now is 04:41 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