Solved How do I make a program that automatically changes the values of byte addresses?

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

756765hg

Newbie
Feb 16, 2017
4
14
0
So, I have had a lot of trouble trying to make a .DLL hack that will change the values of byte addresses, How would I make a DLL that will change the values of 3 specific byte addresses, this is a hack for Call of Duty 4.

I need to change the byte value of 00457CCF to 117
I need to change the byte value of 00416C7B to 116
I need to change the byte value of 00430ED5 to 116

I have tried to make a c# program with VA Memory that fulfills my purpose, but that did not work. The program ran but it never changed the values to what I needed them to be

I am a noob, please help.

Thanks.
 

Boboo99

Scrub
Dank Tier VIP
Fleep Tier Donator
Feb 20, 2016
472
12,178
44
C++:
//In your dllmain if u go internal:
*(byte*)(0xDEADBEEF) = 117;
//So basically:
*(type*)(Offset) = value;
Don't quote me on it as my cpp is a bit rusty.

On C#:
C#:
//some marshall stuff
int numOfbytes = 0;
WriteProcessMemory(handle,new byte [] { 117}, 1, ref numOfbytes);
I am on phone so this might not work exactly like provided, but it should give u an idea how to do it. For the handle you will need OpenHandle(arg, arg1,arg3) just ask google.
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods