[Guide][VB.NET] Read a string from memory menu

User Tag List

Results 1 to 15 of 15
  1. #1
    Gothian's Avatar Member
    Reputation
    249
    Join Date
    Jul 2006
    Posts
    496
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Guide][VB.NET] Read a string from memory

    Removed by Gothian

    When I get some appreciation for my contributions. Maybe I will start releasing here again. bye for now.
    Last edited by Gothian; 09-13-2008 at 12:32 AM.

    Soon you can find my projects at: www.termight.info

    [Guide][VB.NET] Read a string from memory
  2. #2
    1814's Avatar Active Member
    Reputation
    21
    Join Date
    Mar 2008
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you get an "Access denied" Error change
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    execID = GetWindowID("World of Warcraft")
    End Sub
    to
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Process.EnterDebugMode()
    execID = GetWindowID("World of Warcraft")
    End Sub

  3. #3
    Gothian's Avatar Member
    Reputation
    249
    Join Date
    Jul 2006
    Posts
    496
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by 1814 View Post
    If you get an "Access denied" Error change

    to
    Never Thought of that, but still, I may have a better fix-all to this problem coming as soon as I am done with my latest big update to WoW Auto Login Manager.

    Soon you can find my projects at: www.termight.info

  4. #4
    Gothian's Avatar Member
    Reputation
    249
    Join Date
    Jul 2006
    Posts
    496
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, I got around to updating this tutorial, it should hopefully work well now. I havn't been able to test this as I do not know the new Static addresses for 2.4.3. Let me know how it works!

    Soon you can find my projects at: www.termight.info

  5. #5
    Skull's Avatar Contributor
    Reputation
    237
    Join Date
    Nov 2006
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for fixing the access denied error but now another error has popped up.


  6. #6
    Gothian's Avatar Member
    Reputation
    249
    Join Date
    Jul 2006
    Posts
    496
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What is the address you are using? I have no real way to test so I can't sit through and debug.

    One thing I would try do a break on that function, then check the input variable to see if it even has any data.

    Well I tried "Label1.Text = HexToAsc("48454C4C4F", False)" and it didn't get any errors, perhaps I should put a bit more error checking into the function to check to see if it actually holds data.

    EDIT:

    huh.. I also tried this: "Label1.Text = HexToAsc("", False)" and did not get any errors. What version of the Visual Studio are you using? I am using VB.NET Express 2008 with SP1
    Last edited by Gothian; 08-17-2008 at 02:15 AM.

    Soon you can find my projects at: www.termight.info

  7. #7
    Skull's Avatar Contributor
    Reputation
    237
    Join Date
    Nov 2006
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, I tried
    Code:
    Label1.Text = HexToAsc("48454C4C4F", False)
    that worked.

    The address im using is:

    Code:
    PLAYER_DODGE_PERCENTAGE=0x10EC,
    (From the 2.4.3 address thread in wow memory editing)
    Which would be
    Code:
    Private varAccount As Integer = &H10EC
    I think? or am I doing it wrong
    I am using Visual basic 2008 express

  8. #8
    Gothian's Avatar Member
    Reputation
    249
    Join Date
    Jul 2006
    Posts
    496
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    when I read that, I am getting nothing but 0s, even with my memory tool:

    http://www.mmowned.com/forums/bots-p...b-version.html

    Odd indeed, but that is probably why the null reference error, I will change up the guide a bit more to add some better error prevention.

    Soon you can find my projects at: www.termight.info

  9. #9
    1814's Avatar Active Member
    Reputation
    21
    Join Date
    Mar 2008
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Skull View Post
    Okay, I tried
    Code:
    Label1.Text = HexToAsc("48454C4C4F", False)
    that worked.

    The address im using is:

    Code:
    PLAYER_DODGE_PERCENTAGE=0x10EC,
    (From the 2.4.3 address thread in wow memory editing)
    Which would be
    Code:
    Private varAccount As Integer = &H10EC
    I think? or am I doing it wrong
    I am using Visual basic 2008 express
    Isnt this the Offset?


    Try
    Code:
    Private varAccount As Integer = &HD43348
    for the Character Name

  10. #10
    Skull's Avatar Contributor
    Reputation
    237
    Join Date
    Nov 2006
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    0x00D43348 Character Name
    0x00D43128 Account Name
    These two worked in your memory tool (Gave correct Info)
    But they won't work in the program for some reason. It still gives me the same error
    Last edited by Skull; 08-17-2008 at 04:40 AM.

  11. #11
    1814's Avatar Active Member
    Reputation
    21
    Join Date
    Mar 2008
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    --- removed by user request ; D
    Last edited by 1814; 08-17-2008 at 02:30 PM.

  12. #12
    Gothian's Avatar Member
    Reputation
    249
    Join Date
    Jul 2006
    Posts
    496
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found out the problem, fixing the code now.

    1814, you can remove the post above mine, also, when posting code, use the [code][/code] tags
    Last edited by Gothian; 08-17-2008 at 02:17 PM.

    Soon you can find my projects at: www.termight.info

  13. #13
    Skull's Avatar Contributor
    Reputation
    237
    Join Date
    Nov 2006
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The new updated version works great, Thanks

  14. #14
    1814's Avatar Active Member
    Reputation
    21
    Join Date
    Mar 2008
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You got a typo in your new code Gothian

    change
    Code:
    Private objProcess A Process
    to
    Code:
    Private objProcess As Process

  15. #15
    Gothian's Avatar Member
    Reputation
    249
    Join Date
    Jul 2006
    Posts
    496
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by 1814 View Post
    You got a typo in your new code Gothian

    change
    Code:
    Private objProcess A Process
    to
    Code:
    Private objProcess As Process
    Woops! Thanks lol.

    Soon you can find my projects at: www.termight.info

Similar Threads

  1. [C#] Reading a std::string from memory
    By prixone in forum Programming
    Replies: 3
    Last Post: 03-12-2016, 08:37 PM
  2. AutoIT Example - Reading a value from memory
    By mechtn in forum SWTOR Bots and Programs
    Replies: 10
    Last Post: 02-01-2012, 11:48 AM
  3. [Question] Reading DBC's from memory?
    By -Ryuk- in forum WoW Memory Editing
    Replies: 7
    Last Post: 09-05-2011, 04:52 PM
  4. Reading multiple strings from another file?
    By Ryoushi. in forum Programming
    Replies: 0
    Last Post: 06-08-2009, 12:08 PM
  5. [Guide][VB.NET] Reading a String From Memory
    By Gothian in forum WoW Memory Editing
    Replies: 14
    Last Post: 01-18-2008, 12:08 PM
All times are GMT -5. The time now is 03:29 AM. 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