How to write to a memory address with Visual studio C#?

Posts 1–11 of 11 · Page 1 of 1
How to write to a memory address with Visual studio C#?
Hey guys, i'm new here and to coding but ive been working on a little trainer and ive been messing around with cheat engine and found a way to use assault killstreaks with support tier so i never lose my killstreaks after i die by changing the values in the memory address, so can i change a memory value to whatever i desire with visual studio C#? example i want to change 01 02 03 to 04 05 06, not really sure to explain it but if u need me to elaborate on something abit more plz let me know, cheers.
Quote Originally Posted by strangerdanger View Post
Hey guys, i'm new here and to coding but ive been working on a little trainer and ive been messing around with cheat engine and found a way to use assault killstreaks with support tier so i never lose my killstreaks after i die by changing the values in the memory address, so can i change a memory value to whatever i desire with visual studio C#? example i want to change 01 02 03 to 04 05 06, not really sure to explain it but if u need me to elaborate on something abit more plz let me know, cheers.
Good that I have what you need
http://www.mpgh.net/forum/586-call-d...e-video.html#1
oh ive already watched that vid, its wat made me want to install visual C# and start learning to code, thanks btw , so do i do MW3.WriteInt(0x*insert address here* and then in the text box i put the value i want? soz im still learning lol
Quote Originally Posted by strangerdanger View Post
oh ive already watched that vid, its wat made me want to install visual C# and start learning to code, thanks btw , so do i do MW3.WriteInt(0x*insert address here* and then in the text box i put the value i want? soz im still learning lol
Yes, and you have to convert the text in the box to an integer.
Int.Parse(textBox1.Text) (I might spelled the Parse wrong but..)
Or use: Convert.ToInt32(textBox1.Text)

So you get:
Code:
MW3.WriteInt(0x*Offset/Address* , *One of the Convert Options*);
Quote Originally Posted by Jorndel View Post
Yes, and you have to convert the text in the box to an integer.
Int.Parse(textBox1.Text) (I might spelled the Parse wrong but..)
Or use: Convert.ToInt32(textBox1.Text)

So you get:
Code:
MW3.WriteInt(0x*Offset/Address* , *One of the Convert Options*);
can you please write the code for me ill understand better here is wat i want to change http://i.imgur.com/queh1.png sorry for the trouble

---------- Post added at 07:34 PM ---------- Previous post was at 07:22 PM ----------

ok i figured it out, i have to change the values in decimal tho, still gotta learn thanks heaps jorndel
Quote Originally Posted by strangerdanger View Post
can you please write the code for me ill understand better here is wat i want to change http://i.imgur.com/queh1.png sorry for the trouble

---------- Post added at 07:34 PM ---------- Previous post was at 07:22 PM ----------

ok i figured it out, i have to change the values in decimal tho, still gotta learn thanks heaps jorndel
Then you can just use the Write Bytes function
And do a

new Byte() = { &H03, &H00, &H08, &H00, &H12}

---------- Post added at 05:35 AM ---------- Previous post was at 05:35 AM ----------

Quote Originally Posted by strangerdanger View Post
can you please write the code for me ill understand better here is wat i want to change http://i.imgur.com/queh1.png sorry for the trouble

---------- Post added at 07:34 PM ---------- Previous post was at 07:22 PM ----------

ok i figured it out, i have to change the values in decimal tho, still gotta learn thanks heaps jorndel
Then you can just use the Write Bytes function
And do a

new Byte() = { &H03, &H00, &H08, &H00, &H12}
Quote Originally Posted by Jorndel View Post
Then you can just use the Write Bytes function
And do a

new Byte() = { &H03, &H00, &H08, &H00, &H12}

---------- Post added at 05:35 AM ---------- Previous post was at 05:35 AM ----------



Then you can just use the Write Bytes function
And do a

new Byte() = { &H03, &H00, &H08, &H00, &H12}
is there a tutorial anywhere that goes through all this stuff? like the write bytes function, i have no idea how to do that lawl
Quote Originally Posted by strangerdanger View Post
is there a tutorial anywhere that goes through all this stuff? like the write bytes function, i have no idea how to do that lawl
Nope
Suppose that would be my next part

Well, going to go home now so
*Edit* the hack attached to this was a crappy version.
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us