GetLocalizedText Problem menu

User Tag List

Results 1 to 9 of 9
  1. #1
    redcatH's Avatar Member
    Reputation
    2
    Join Date
    Sep 2012
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    GetLocalizedText Problem

    Hello, my guys.
    I encountered the problem I hope can help me ,
    I console input No problem. But in my bot dosting and GetLocalizedText Met Problem

    cast Spell no problem;



    FrameScriptGetText nor OK。 help me.
    Last edited by redcatH; 10-03-2013 at 03:23 PM.

    GetLocalizedText Problem
  2. #2
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    GetLocalizedText return a pointer to the string, not the string, so read the result with the pointer returned by GetLocalizedText.

    string str = "RunMacroText(\"/script mapname = GetZoneText();\")";
    And wtf is that ? Why not just run directly mapname = GetZoneText(); ?

  3. #3
    redcatH's Avatar Member
    Reputation
    2
    Join Date
    Sep 2012
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @JuJuBoSc Thank you very much. Solution

  4. #4
    redcatH's Avatar Member
    Reputation
    2
    Join Date
    Sep 2012
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks again JuJuBoSc。
    Last edited by redcatH; 10-05-2013 at 03:26 AM.

  5. #5
    redcatH's Avatar Member
    Reputation
    2
    Join Date
    Sep 2012
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks again JuJuBoSc。
    Last edited by redcatH; 10-05-2013 at 03:26 AM.

  6. #6
    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)
    Originally Posted by redcatH View Post
    Hi JujuBoSc.Thank you for your help before
    There is a question to ask,
    Use FrameScript__ExecuteBuffer
    RunMacroText("/run index = GetZoneText();") is ok.
    but
    RunMacroText("/run playerName = UnitName("player");") is lua error ?
    requires Parameter Api will lua error
    no Parameter api is OK.
    Hope to get your help
    Because the " for the RunMacroText call is interrupted by your UnitName call. Lua handles ' in place of " for strings, you can try something such as:
    RunMacroText("/run playerName = UnitName('player');")

    Or you could simply remove the RunMacroText call, there is no need for it.

  7. #7
    redcatH's Avatar Member
    Reputation
    2
    Join Date
    Sep 2012
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks you,jadd remove the RunMacroText call is ok
    Originally Posted by Jadd View Post
    Because the " for the RunMacroText call is interrupted by your UnitName call. Lua handles ' in place of " for strings, you can try something such as:
    RunMacroText("/run playerName = UnitName('player');")
    Or you could simply remove the RunMacroText call, there is no need for it.

  8. #8
    redcatH's Avatar Member
    Reputation
    2
    Join Date
    Sep 2012
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    Because the " for the RunMacroText call is interrupted by your UnitName call. Lua handles ' in place of " for strings, you can try something such as:
    RunMacroText("/run playerName = UnitName('player');")

    Or you could simply remove the RunMacroText call, there is no need for it.
    Q. Last Hardware Event wow.exe + b9e044 what ?

  9. #9
    thefarmer's Avatar Member
    Reputation
    3
    Join Date
    Oct 2008
    Posts
    23
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by redcatH View Post
    Q. Last Hardware Event wow.exe + b9e044 what ?
    How about you fire up IDA or maybe just check the Dump threads, the info is there!
    If you want to be spoonfeed you in the wrong place

Similar Threads

  1. GetLocalizedText Problem
    By Creepwalker in forum WoW Memory Editing
    Replies: 4
    Last Post: 03-29-2013, 04:17 AM
  2. realm list problem
    By robtuner in forum World of Warcraft General
    Replies: 2
    Last Post: 07-21-2006, 09:08 AM
  3. I have problem with BHW 3.0
    By sunrize1 in forum World of Warcraft General
    Replies: 1
    Last Post: 07-17-2006, 08:49 AM
  4. wow emu problem
    By bezike in forum World of Warcraft General
    Replies: 0
    Last Post: 07-09-2006, 04:45 PM
  5. Site problems
    By Shanaar in forum Community Chat
    Replies: 10
    Last Post: 05-14-2006, 01:15 AM
All times are GMT -5. The time now is 11:48 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