[Question] DoString (Framescript) menu

User Tag List

Results 1 to 15 of 15
  1. #1
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] DoString (Framescript)

    Solved!

    Thanks all
    Last edited by -Ryuk-; 03-16-2010 at 02:31 PM.

    [Question] DoString (Framescript)
  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)
    Instead of
    Code:
    uint DoString_space = Handler.WoW.AllocateMemory(Encoding.UTF8.GetBytes(Command).Length + 1);
    ...you should try
    Code:
    uint DoString_space = Handler.WoW.AllocateMemory(0x100);

    Also, change
    Code:
    Handler.WoW.WriteBytes(DoString_space, Encoding.UTF8.GetBytes(Command));
    
    ...to
    Code:
    Handler.WoW.WriteBytes(DoString_space + 0x100, Encoding.UTF8.GetBytes(Command));
    

    You'll also need to change where the sting is referenced in the Assembly:
    Code:
    EndScene.Hook_AsmAddLine("mov eax, " + DoString_space);
    
    ...to
    Code:
    EndScene.Hook_AsmAddLine("mov eax, " + DoString_space + 0x100);
    

  3. #3
    mnbvc's Avatar Banned
    Reputation
    120
    Join Date
    Jul 2009
    Posts
    273
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what i'm always wondering... why doesn't blizz detect this?

  4. #4
    Viano's Avatar Active Member
    Reputation
    37
    Join Date
    May 2008
    Posts
    172
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hooking every time you are executing DoString is a very, very, VERY good idea. Others should seriously consider implementing his code. Keep the good job going, I hope you will release a bot soon. Can't wait to buy it.
    Viano

  5. #5
    Scorpiona's Avatar Active Member
    Reputation
    17
    Join Date
    Mar 2009
    Posts
    42
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    ...
    :disbelief:

    I hope you were trying to be funny.

  6. #6
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    Instead of
    Code:
    uint DoString_space = Handler.WoW.AllocateMemory(Encoding.UTF8.GetBytes(Command).Length + 1);
    ...you should try
    Code:
    uint DoString_space = Handler.WoW.AllocateMemory(0x100);

    Also, change
    Code:
    Handler.WoW.WriteBytes(DoString_space, Encoding.UTF8.GetBytes(Command));
    
    ...to
    Code:
    Handler.WoW.WriteBytes(DoString_space + 0x100, Encoding.UTF8.GetBytes(Command));
    

    You'll also need to change where the sting is referenced in the Assembly:
    Code:
    EndScene.Hook_AsmAddLine("mov eax, " + DoString_space);
    
    ...to
    Code:
    EndScene.Hook_AsmAddLine("mov eax, " + DoString_space + 0x100);
    
    Will try it, However it worked last patch, so I don't see the problem(yes i updated addresses)

    Nope still nothing =/

    Jadd if it would help, I could send you my project file...
    Last edited by -Ryuk-; 03-10-2010 at 05:41 AM.

  7. #7
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds like a smart idea to allocate 0x100 Bytes instead of the correct amount.
    With the next breath you skip all this boring memory by adding 0x100, that's really genius !
    Last edited by flo8464; 03-10-2010 at 07:06 AM.
    Hey, it compiles! Ship it!

  8. #8
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone? I really can't see the problem!

  9. #9
    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)
    I assume you have to install the hook?
    [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

  10. #10
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MaiN View Post
    I assume you have to install the hook?
    After you mentioned that, i looked and saw it was commented out... However when I do:

    Code:
    EndScene.Hook_Install(EndSceneAddr);
    It hangs, when I comment the line it runs with errors or any result. So now we have my problem!

  11. #11
    WannaBeProgrammer's Avatar Member
    Reputation
    2
    Join Date
    Feb 2009
    Posts
    156
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Might wanna post the injection func.

  12. #12
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by WannaBeProgrammer View Post
    Might wanna post the injection func.
    Thats the whole thing...

    Also its solved now! Thanks for help people.
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  13. #13
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You do know that a bot may call DoString() a lot of times per second, and you're wasting a lot of clock ticks by re-hooking each and every call, right? Might want to fix that... Just a tip.

  14. #14
    Viano's Avatar Active Member
    Reputation
    37
    Join Date
    May 2008
    Posts
    172
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lanman92 View Post
    You do know that a bot may call DoString() a lot of times per second, and you're wasting a lot of clock ticks by re-hooking each and every call, right? Might want to fix that... Just a tip.
    Just great ... an where is the fun now?
    Viano

  15. #15
    Kryso's Avatar Active Member
    Reputation
    40
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Interesting concept. Install hook, then setup stuff that should execute when hook is hit and then remove the hook right away, so wow never hits it.


    edit: if Hook_AsmInject is waiting for execution then nvm
    Last edited by Kryso; 03-16-2010 at 08:25 AM.

Similar Threads

  1. Model Changing Question
    By MasterYuke in forum World of Warcraft General
    Replies: 6
    Last Post: 09-17-2006, 09:56 PM
  2. Couple Private Server questions
    By Jboz in forum World of Warcraft General
    Replies: 21
    Last Post: 07-26-2006, 07:37 PM
  3. Sorry..newb mail question
    By nolbishop in forum World of Warcraft General
    Replies: 2
    Last Post: 06-07-2006, 07:21 PM
  4. Question..
    By janzi9 in forum Community Chat
    Replies: 3
    Last Post: 04-02-2006, 10:20 AM
  5. A GALB question
    By bassman in forum World of Warcraft General
    Replies: 4
    Last Post: 03-28-2006, 09:49 AM
All times are GMT -5. The time now is 07:38 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