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 


Modifying registers [C#] can it be done?

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

Joined: 22 Mar 2006
Posts: 926
Location: detroit

PostPosted: Thu Jul 12, 2007 11:40 am    Post subject: Modifying registers [C#] can it be done? Reply with quote

I'm just wondering if modifying registers in C# is possible, if it is...I'd like someone to explain it to me. Preferably using the WriteProcessMemory API...thanks in advance.
_________________
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Thu Jul 12, 2007 11:56 am    Post subject: Reply with quote

http://somebastardstolemyname.wordpress.com/2007/03/10/10/

like that?

_________________
Back to top
View user's profile Send private message
gamesguru
Grandmaster Cheater
Reputation: 0

Joined: 22 Mar 2006
Posts: 926
Location: detroit

PostPosted: Thu Jul 12, 2007 12:44 pm    Post subject: Reply with quote

Writing values and modifying registers are two completely different things... I want to modify the EAX,ECX...ect not the value...I already knew how to do that...but thanks for trying.
_________________
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Thu Jul 12, 2007 1:03 pm    Post subject: Reply with quote

eh ok

googlegooglegoogle?

_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Jul 12, 2007 2:07 pm    Post subject: Reply with quote

I guess you would be able to, write process memory + a big array of bytes that writes your new shit to where ever.
Back to top
View user's profile Send private message
gamesguru
Grandmaster Cheater
Reputation: 0

Joined: 22 Mar 2006
Posts: 926
Location: detroit

PostPosted: Thu Jul 12, 2007 5:59 pm    Post subject: Reply with quote

blankrider wrote:
eh ok

googlegooglegoogle?
This isn't a very common task in C#, in fact...I don't think it's yet been done...
_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Jul 12, 2007 6:24 pm    Post subject: Reply with quote

slovach wrote:
write process memory + a big array of bytes that writes your new shit to where ever.
Back to top
View user's profile Send private message
gamesguru
Grandmaster Cheater
Reputation: 0

Joined: 22 Mar 2006
Posts: 926
Location: detroit

PostPosted: Thu Jul 12, 2007 6:35 pm    Post subject: Reply with quote

slovach wrote:
slovach wrote:
write process memory + a big array of bytes that writes your new shit to where ever.
If you mean editing opcodes (which is what it sounds like)...I know how to do that. I want to edit the EAX and other registers of addresses...
_________________
Back to top
View user's profile Send private message
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Thu Jul 12, 2007 7:01 pm    Post subject: Reply with quote

__asm mov eax, 0x1337;

that's in C++, and I'm sure there's an inline assembly command for C#.

_________________


Don't laugh, I'm still learning photoshop!
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Jul 12, 2007 7:16 pm    Post subject: Reply with quote

TheSorc3r3r wrote:
that's in C++, and I'm sure there's an inline assembly command for C#.


that'd defeat the purpose of C#, C# is supposed to abstract you from assembly, memory management, and API as much as possible.
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