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 


Cheat Engine in Visual Basic 2010

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

Joined: 27 Jun 2009
Posts: 3

PostPosted: Thu Jul 10, 2014 9:54 pm    Post subject: Cheat Engine in Visual Basic 2010 Reply with quote

Hi
I want to make a very small program like Cheat Engine in visual basic 2010.
I just want to load "flashplayerplugin" and change a value which is "array of bytes".
Can you please help me to write it?
Thank you
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Fri Jul 11, 2014 6:43 am    Post subject: Reply with quote

I'll give you some ideas for the array of byte thing you are doing (signature scanning as it is called).

1. ReadProcessMemory() a chunk of memory
Compare it to your signature (array of bytes) to see if they match
Repeat 1 if they don't
Save the address if they matched.

You will be better off doing this in c++ or any other language than VB because its God-awfully slow and will take a lot of time for the results.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
cashd
Cheater
Reputation: 0

Joined: 25 Nov 2012
Posts: 25

PostPosted: Fri Jul 11, 2014 6:53 am    Post subject: Reply with quote

you can use C/C++ for write dll to do that
and use that dll in VB.net/C# applications to make it faster
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Jul 11, 2014 3:40 pm    Post subject: Reply with quote

You can do all of it in C# without needing C/C++ at all.

Use the Process namespace to locate the process you need to edit:
http://msdn.microsoft.com/en-us/library/system.diagnostics.process(v=vs.110).aspx

You can scan for an array of bytes a number of different ways, here is an example of what I do in some of my personal projects:
https://github.com/atom0s/Wardrobe/blob/master/Wardrobe/Classes/SigScan.cs

Reading and Writing to memory can be done via ReadProcessMemory and WriteProcessMemory respectively, an example again from one of my projects:
https://github.com/atom0s/Wardrobe/blob/master/Wardrobe/Classes/Memory.cs

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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