Searching through memory menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Fenryr's Avatar Member
    Reputation
    58
    Join Date
    Mar 2007
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Searching through memory

    This is a problem i've been having for a long time now, and i've been totally unable to figure it out. Basicall, what i want to be able to do is search through a program's memory(i already know how to access it) and find a value. The closest i've been able to come is to start at a given address and look at it's value, and use loop statements to increase the address until the value at the address is equal to the value i want to find, but that often results in overflow errors and the one time it worked, it took a very long time. How can i search through memory in the same way a program like tsearch or cheatengine would?

    Searching through memory
  2. #2
    arigity's Avatar Banned
    Reputation
    49
    Join Date
    Dec 2007
    Posts
    548
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cheatengine is open source, you can check and see the exact method they use.

    a general method though, is to read a huge chunk of data into a byte array, then search through that using loops

    vb is not a particularly fast language to write something in but that should be faster then spamming ReadProcessMemory

  3. #3
    Fenryr's Avatar Member
    Reputation
    58
    Join Date
    Mar 2007
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, thanks for the help, but i dont really know how i would go about doing that, od you think you could help me a little more than that?

  4. #4
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If it's slow for you, you coded your methods to do the searching very badly.

    I can search all of WoW's address space in under 5ms.

  5. #5
    Fenryr's Avatar Member
    Reputation
    58
    Join Date
    Mar 2007
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, the only way so far i've been able to even think of is this, any suggestions?

    Code:
            Do Until value  = "desired value"
    
               address = address + &h1
               peek("wow", address , value)
            Loop
    something similar to that at least(i'll update it when i get back to my computer with vb 2008 installed), i just did that this second, so the real one includes instructions for the byte conversion and all that, but it is extremely slow and most of the time just crashes from an overflow error, can you help me by posting an example apoc, or anyone else?

Similar Threads

  1. Eve Online base memory address search
    By suicidaljr in forum EVE Online
    Replies: 6
    Last Post: 01-08-2022, 11:36 AM
  2. Replies: 4
    Last Post: 07-30-2012, 09:39 PM
  3. Searching for value in Memory
    By streppel in forum WoW Memory Editing
    Replies: 2
    Last Post: 06-05-2011, 06:41 AM
  4. Replies: 2
    Last Post: 01-29-2011, 05:42 PM
  5. [Tool] MemoryTools - tool for watch memory, short disassemble, hex and search offsets
    By dunmcl in forum World of Warcraft Bots and Programs
    Replies: 0
    Last Post: 12-11-2010, 03:20 AM
All times are GMT -5. The time now is 04: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