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 


[Help] Injecting vb.net dll

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
sired22
Cheater
Reputation: 1

Joined: 22 Aug 2006
Posts: 36

PostPosted: Sat Jan 19, 2008 10:23 am    Post subject: [Help] Injecting vb.net dll Reply with quote

I have just finished the tutorial and i was wondering if someone could offer me some help or point me in the right direction.

In the tutorial it said that you can make a dll file in any programming language and then inject it into the game and call it.

i currently have Microsoft Visual Studio 9.0 how ever i am self taught so i have not taken any real classes on it. Also i have never made a dll file with it.

finding tutorials on making dll files with it shouldnt be a problem but how would i go about making a dll file for injection with cheat engine.

an example would be
sub [eax+08]

if i replaced that with a call to my dll file and was using c# or vb.net what would i need to program when i make the dll file to tell it to read from eax so i could manipulate the data.

i don't need to be spoon fed but any guidance is appreciated because this is the first time i have ever made a dll let alone one to inject and use to modify a game. I will check back later when i return from the store.

If it is unclear what i am asking then i'm sorry in advance.
Back to top
View user's profile Send private message Yahoo Messenger
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sat Jan 19, 2008 1:15 pm    Post subject: Reply with quote

VB.net cannot make DLL files without hacking the linker.

If you wanted to read eax at that address, you would have to attach as a debugger and stick a hardware breakpoint (or any other, I just prefer hardware for simple stuff like this) on that address. When you catch the exception generated use GetThreadContext() to get the value of the EAX register.
Back to top
View user's profile Send private message
DoomsDay
Grandmaster Cheater
Reputation: 0

Joined: 06 Jan 2007
Posts: 768
Location: %HomePath%

PostPosted: Sat Jan 19, 2008 3:13 pm    Post subject: Reply with quote

Well, by theory you can change the caracteristics of the PE header(could be done with any PE\Hex editor) to dll-like, but it could still fail(never tried it).
Back to top
View user's profile Send private message
BruceLee_
How do I cheat?
Reputation: 0

Joined: 21 Jan 2008
Posts: 2
Location: Australia

PostPosted: Mon Jan 21, 2008 10:25 pm    Post subject: Reply with quote

wow its kinda hard jinecting
_________________
Knowing yourself takes a lifetime.
Knowing what you do, takes time.
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 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