WoWLib (Memory Library) menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    xwinterx's Avatar Member
    Reputation
    26
    Join Date
    Apr 2009
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    WoWLib (Memory Library)

    Hi,

    I am new around here and have decided to move from everyones favorite AutoIt to everones more favorite C#! Yay! I have learned alot, but still have alot more to go. In my learning I have made a tiny dll with some functions for me to include in my projects. I thought I'd share it. It only does a few things right now, but I will add stuff to it as I go. Kinda wanted to get a little feedback from anyone willing to try it.

    just unzip the archive and add the WoWLib.dll as a reference. Shouts to Shynd for his BlackMagic which my dll uses for the memory stuff! The WoWLibHelper.dll just exports memory addresses. I split it up so I could just update the helper as addresses change.

    Here is a list of the basics and their purpose:


    Code:
    Class: WoWLib
    InitLibrary() : Initializes library and BlackMagic to open process for reading/writing to memory
    
    Class: Player
    Name() : Returns character name
    GUID() : Returns GUID of character
    Base() : Returns base of character
    X() : Returns X coordinate of character
    Y() : Returns Y coordinate of character
    Z() : Returns Z coordinate of character
    Rot() : Returns rotation of character
    
    Class: Object
    ClientConnection() : Returns client connection
    Manager() : Returns object manager
    First() : Returns first object in object list
    Next() : Returns next object in object list in reference to passed object
    Type() : Returns integer value of object's type
    TypeString() : Returns string representation of object's type
    GUID() : Returns GUID of object
    Name() : Returns name of object
    Yours() : Returns true/false if the object was created by you
    
    Class: Mouse
    SetInteract() : Sets MouseOverInteract (writes to memory)
    
    Class: Bobber
    Bite() : Returns true/false if the bobber has been bitten
    so as you can see, not much there, but enough for me to work on converting CyberFish into C#. Virus scan link below. thanks!


    Virus Scan
    Attached Files Attached Files
    Last edited by xwinterx; 12-28-2009 at 02:20 AM. Reason: New version of lib

    WoWLib (Memory Library)
  2. #2
    snigelmannen's Avatar Member
    Reputation
    27
    Join Date
    Jul 2007
    Posts
    318
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks safe, and it looks like it could speed a few things up.
    " Spy sappin mah sentry! "

  3. #3
    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)
    Why not make it at least somewhat OOP? If you're using C#, you're going to need the concept, so I would change things like GetX(), GetY()... to GetLocation() and return a reference to a structure. Look at the marshal class on msdn, it'll help a lot Just an idea for your next steps. Add a class to the DLL to contain all of these functions.

  4. #4
    xwinterx's Avatar Member
    Reputation
    26
    Join Date
    Apr 2009
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks. yeah, I was looking at structs but wanted to get things working first so I had the basic concepts down.

  5. #5
    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)
    Just tryin to give you some ideas. It is a C# dll, right?

  6. #6
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Better yet, replace GetANYTHING with an ANYTHING property.

    Properties are built into the language for a reason. They are prettier, less verbose, blah, blah.

  7. #7
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also, throw things into classes.

    PlayerGetZ(): returns your characters z location
    PlayerGetRot(): returns your characters rotation
    ObjectGetFirst(): gets first object in the objectmgr
    ObjectGetNext(): gets next object in the objectmgr
    Change to

    Player.Z
    Player.Rot
    Object.First
    Object.Next

    That sort of thing.

  8. #8
    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)
    Didn't I just say that...?

  9. #9
    xwinterx's Avatar Member
    Reputation
    26
    Join Date
    Apr 2009
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah, it's C#. thanks for the suggestions! I thought about using structs for like the positions but never thought about using an actual class for those things. Very cool. Can't wait for the holidays to be done so I can work on some more stuffs. Actually, I can. lots of family coming in this year.

    Happy holidays everyone!

  10. #10
    snigelmannen's Avatar Member
    Reputation
    27
    Join Date
    Jul 2007
    Posts
    318
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Happy Christmas, Agios Satanas.

    also i hope you didnt mind we did a check inside the dll, but it looks nice i hope to use it in my test hack later.
    " Spy sappin mah sentry! "

  11. #11
    xwinterx's Avatar Member
    Reputation
    26
    Join Date
    Apr 2009
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    not at all. only reason I am not posting source code right now is that I still have a long way to go, I am still learning C#, and I am still developing my coding "skills" so it isnt all spaghetti. :-)

  12. #12
    snigelmannen's Avatar Member
    Reputation
    27
    Join Date
    Jul 2007
    Posts
    318
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well i am doing the same, that's why i took a look inside the dll, and also to make sure there wasn't anything fishy inside.
    " Spy sappin mah sentry! "

  13. #13
    kaysersoze's Avatar Private
    Reputation
    1
    Join Date
    Dec 2009
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just used your library and it works very nice, I'm trying to learn memory reading atm and was wondering if it would be possible to get hold of your source code?

    Either way gj!

  14. #14
    xwinterx's Avatar Member
    Reputation
    26
    Join Date
    Apr 2009
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I plan on releasing source once it looks prettier and is more complete. Cuz right now I have no error handling whatsoever. I should have a new version of the lib posted this weekend. I am taking suggestions from here and applying them then applying the lib to my fishing program as I convert it to C#.

  15. #15
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kaysersoze View Post
    Just used your library and it works very nice, I'm trying to learn memory reading atm and was wondering if it would be possible to get hold of your source code?

    Either way gj!
    ildasm.exe

Page 1 of 2 12 LastLast

Similar Threads

  1. Memory Hacking Library List
    By Cypher in forum WoW Memory Editing
    Replies: 28
    Last Post: 07-29-2024, 11:54 PM
  2. [Release] [Release][Python]Pymem - Python memory library
    By nopz in forum WoW Memory Editing
    Replies: 7
    Last Post: 05-28-2021, 11:05 AM
  3. [Release] [D] Hydra - Memory manipulation library for the D language
    By Hybro in forum WoW Memory Editing
    Replies: 1
    Last Post: 09-01-2013, 11:18 AM
  4. HadesMem - A Windows Memory Hacking Library for C++
    By Cypher in forum WoW Memory Editing
    Replies: 81
    Last Post: 02-10-2013, 03:24 PM
  5. Memory Reading Library?
    By Thrillseeker in forum WoW Memory Editing
    Replies: 8
    Last Post: 01-04-2009, 07:44 PM
All times are GMT -5. The time now is 05:29 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