Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Code for C# to make memory changes.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
_Maxwell_
How do I cheat?
Reputation: 0

Joined: 13 Jan 2019
Posts: 7

PostPosted: Mon Jan 14, 2019 11:50 am    Post subject: Code for C# to make memory changes. Reply with quote

Hi,

I want to make a small trainer in C#.

A few buttons and if I press Button 1 for example than health should be changed to 1000 and so on...

Does someone have the code I have to use for this case, so I can replace the values (address) for my case.

There are some tutorials on YT, but mostly they want to force you to download some rar files or other shit to get the code. No one put it in pastebin or textfile.

They just want to spread virus or other shit.

Help is appreciated! Smile
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Mon Jan 14, 2019 2:12 pm    Post subject: Reply with quote

its hard to find a great source that contain examples and/or free code, and even if you found some dont expect it to be that much good.

i would suggest:
- learn any language properly
- learn windows programming

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
_Maxwell_
How do I cheat?
Reputation: 0

Joined: 13 Jan 2019
Posts: 7

PostPosted: Mon Jan 14, 2019 7:07 pm    Post subject: re: Reply with quote

Not everyone has the time to invest month or years into one topic for solving a possible problem.

I mean I don't want to become a programmer, I just need a piece of working code and maybe an example and that's it.

If it's working I also don't have a problem to pay for it, so I can reproduce it for my needs. Confused
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Mon Jan 14, 2019 7:54 pm    Post subject: Re: re: Reply with quote

_Maxwell_ wrote:
Not everyone has the time to invest month or years into one topic for solving a possible problem.

I mean I don't want to become a programmer, I just need a piece of working code and maybe an example and that's it.

If it's working I also don't have a problem to pay for it, so I can reproduce it for my needs. Confused

a problem! what problem?
...
cheat engine can produce a trainer for you with no costs and if you would you could donate to dark byte

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
_Maxwell_
How do I cheat?
Reputation: 0

Joined: 13 Jan 2019
Posts: 7

PostPosted: Mon Jan 14, 2019 8:48 pm    Post subject: Reply with quote

Yes, that's correct.

I already made it out of CE.

But it has a lot of detections on VirusTotal, since it's made (compiled) with CE.

If I do it with C# it will not have any (or maybe 1 or 2 heuristic) detections and it's also possible to take a look at the source code.

Only a few lines of code are needed, once you have the pointer.
Also C# is very comfortable in making custom design.
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Mon Jan 14, 2019 9:12 pm    Post subject: Reply with quote

https://www.cheatengine.org/forum/viewtopic.php?p=5522600#5522600
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Tue Jan 15, 2019 4:13 am    Post subject: Reply with quote

Google cube assault guided hacking.
It won't get you far but you don't want to get far, it's c++ but it gets you through the c++ window form in minutes, in the end it's crap but it does work for just changing memory and you can download the project file.
Back to top
View user's profile Send private message
LeonBlade
How do I cheat?
Reputation: 0

Joined: 25 Jan 2019
Posts: 9

PostPosted: Mon Jan 28, 2019 8:14 pm    Post subject: Reply with quote

There are plenty of resources online to get you started on doing stuff with memory in C#. Basically you need to reference kernel32 functions like "OpenProcess", "WriteProcessMemory", "ReadProcessMemory", etc. There's also libraries that exist like "Memory.dll" which is made for C# and does a lot of the groundwork for you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites