[Question - C#] How to use Cheat Engine offsets with Black Magic menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Dude++'s Avatar Member
    Reputation
    1
    Join Date
    Jul 2015
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question - C#] How to use Cheat Engine offsets with Black Magic

    Hi.

    I'm trying to use some offsets from Cheat Engine, with the C# memory manipulation DLL, Black Magic.
    My goal is to read the player name from memory and output it to the console. When I read from 0x16558B98, I get what I want. However, that address won't be the same when I restart the game, so I need to use pointers.

    Here are the offsets:
    [Question - C#] How to use Cheat Engine offsets with Black Magic-screenshot-175-png

    If someone could explain how I would use the offsets in my code, I would be happy.

    Here's my code:
    PHP Code:
    BlackMagic game = new BlackMagic();

    if(
    game.OpenProcessAndThread(SProcess.GetProcessFromProcessName("game.exe")))
    {
        
    Console.WriteLine("Found Process");
        
    Console.WriteLine("Player Name: " game.ReadASCIIString(game.ReadUInt(0x08006050) + 0x20 0x1dc128));
    }

    Console.WriteLine("Press any key to continue...");
    Console.ReadKey(); 
    I feel like I've tried everything. I can never get the desired output. The player name is always empty, not what I want, or gibberish.
    Last edited by Dude++; 07-20-2015 at 12:27 PM.

    [Question - C#] How to use Cheat Engine offsets with Black Magic
  2. #2
    Remus3's Avatar Hobby 3D Character Artist Ex-Super Mod CoreCoins Purchaser
    Reputation
    272
    Join Date
    Jan 2011
    Posts
    1,356
    Thanks G/R
    3/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    each time you load the game - the game is changing its base address.

    there are some guides here and for other games elsewhere that will help in the search for it.


    right now you found the address only from reversing from 1/multiple instances. not the real master "instance" that sets each instance up upon starting the exe.


    one way or another i remember it being a standard thing to do anymore from the developers, random allocation something other.

    i was able to find the base address for League of Legends through tedious methods but ran out of personal time to figure out how to implement it properly despite having it correct each and everytime i loaded the game.

    perhaps a pattern scanner approach, olly db, code cave- ionno. some topics of shit i read to get where i got.
    Last edited by Remus3; 07-20-2015 at 08:43 PM.


    Think before you post. You can only get smarter by playing a smarter opponent.

  3. #3
    d0wngrade's Avatar Member
    Reputation
    1
    Join Date
    Nov 2013
    Posts
    6
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Google something like: "bypassing aslr"
    (Address Space Layout Randomisation)

    Sent from my LG-D851 using Tapatalk

Similar Threads

  1. How to fly using cheat engine 5.3
    By Arckshadow in forum WoW EMU Programs
    Replies: 0
    Last Post: 05-19-2008, 02:08 AM
  2. [Guide] How to use Cheat Engine!, Picture guide
    By Creeps in forum World of Warcraft Bots and Programs
    Replies: 15
    Last Post: 06-26-2007, 03:33 PM
  3. Don't use Cheat Engine 5.3 (new one)
    By Fishy80 in forum World of Warcraft Bots and Programs
    Replies: 22
    Last Post: 11-30-2006, 12:33 PM
  4. Using Cheat Engine
    By rudez in forum World of Warcraft General
    Replies: 2
    Last Post: 10-29-2006, 06:30 PM
  5. Dont Use Cheat Engine 5.2 on live blizz serv
    By Obanooba in forum World of Warcraft General
    Replies: 16
    Last Post: 10-29-2006, 05:38 PM
All times are GMT -5. The time now is 04:06 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