GithubHelp home page GithubHelp logo

gurrenm3 / memoryaddress Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 27 KB

A highly optimized library for reading and writing values in Memory

License: MIT License

C# 100.00%
memory memory-management modding game memory-hacking

memoryaddress's Introduction

MemoryAddress

A highly optimized library for reading and writing values in Memory.

There are a few popular libraries for reading and writing values in Memory. While they aren't bad, when it comes to reading/writing values in memory, they could be a lot better. This library uses OOP programming to have significantly faster read/write times (about 3x faster than other libraries).

This is based on and aims to be an improvement of Memory.dll and Squalr's reading and writing.

How to use it?

Download the latest release or build the source code to get a DLL, then reference that DLL in your Visual Studio project. There is a small amount of setup required to use this. Add the following code early on in your program execution:

var controller = new MemoryAddressController();
controller.AttachToProcess("name of your process");  // See Intellisense in VS for more info

if controller.AttachToProcess(); is successful it will return true, meaning it successfully attached to the process you want to read/write. You are now ready to use this library. To use the optimized reading/writing features of this library, use the MemoryAddress class.

Example:

var playerHealth = new MemoryAddress<int>("put your address here");

var currentHealth = playerHealth.Read(); // getting the value of an address
playerHealth.Write(1000); // setting the value of the address

Why does this exist?

The leading Memory libraries are great, but in some ways can be bulky and poorly optimized. They are not the best option if all you want to do is read/write values in memory. This library uses OOP programming to achieve ~3x faster read/write speeds than the leading libraries. Additionally, this library comes with a handful of helpful extension/utility methods that you'll probably need if you're dealing with Memory. Finally, everything in this library is documented making it easy to understand what's happening.

memoryaddress's People

Contributors

gurrenm3 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

unrealskill-vip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.