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 


[C#]Trainer Code Injection (Example)
Goto page Previous  1, 2
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ej52
Cheater
Reputation: 0

Joined: 29 Mar 2011
Posts: 39
Location: Mother City

PostPosted: Tue Apr 12, 2011 3:52 pm    Post subject: This post has 1 review(s) Reply with quote

@Wiccaan thx, but ive already looked at tht method and theres just
to many calls 2 unmanged code in tht solution for my liking.

My library only uses 4 unmanaged methods and the rest is coded in .Net
I am still going 2 code a parser for my library 2 make it even easier to
use ... eg.

Code:

mem.Mov(mReg.ECX, new mAddr(mReg.ESI, 0x4C));


Would just be called like this ...

Code:

mem.Asm("mov ecx,[esi+4c]");


.

_________________
Hitler dNt HiDe WaT mOtHa NaTurE pRoViDe ... Razz
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: Tue Apr 12, 2011 5:25 pm    Post subject: Reply with quote

Yeah, just tossing it in there to show there are other methods of doing it as well.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
FLiNG
Newbie cheater
Reputation: 0

Joined: 09 Apr 2011
Posts: 19

PostPosted: Tue Apr 12, 2011 6:30 pm    Post subject: Reply with quote

Hi, I have a question, how do you find the base address of the main module?

For example, ACBSP.exe+10571F0, I don't know how to find the base address of ACBSP.exe using C#, can you help, please?

Also, thanks for your tut. It's great.
Back to top
View user's profile Send private message
Innovation
Grandmaster Cheater
Reputation: 12

Joined: 14 Aug 2008
Posts: 617

PostPosted: Tue Apr 12, 2011 6:59 pm    Post subject: Reply with quote

ETNWind wrote:
Hi, I have a question, how do you find the base address of the main module?

For example, ACBSP.exe+10571F0, I don't know how to find the base address of ACBSP.exe using C#, can you help, please?

Also, thanks for your tut. It's great.

System.Diagnostics.Process.MainModule.BaseAddress
Back to top
View user's profile Send private message
FLiNG
Newbie cheater
Reputation: 0

Joined: 09 Apr 2011
Posts: 19

PostPosted: Tue Apr 12, 2011 8:00 pm    Post subject: Reply with quote

Thanks Innovation, you're right, after several hours of searching on Google, finally it works.
Back to top
View user's profile Send private message
dinerop
How do I cheat?
Reputation: 0

Joined: 17 Apr 2011
Posts: 1

PostPosted: Sun Apr 17, 2011 8:28 am    Post subject: Reply with quote

Awesome work ej52!!

I am kind of new to CE and C#, but to see how easy it could be to translate
AA to C# is just great.
Cant wait to see a release Very Happy
Back to top
View user's profile Send private message
ej52
Cheater
Reputation: 0

Joined: 29 Mar 2011
Posts: 39
Location: Mother City

PostPosted: Sun Apr 17, 2011 3:23 pm    Post subject: Reply with quote

Thx dinerop

Good to see there are some peeps interested in it Smile

I must admit i am having second thoughts on releasing this library
as it really makes it 2 easy for anyone 2 create quality trainers
in any .Net language without much knowledge at all Razz

The library is nearly done though, just finishing up a few methods
I will be creating a site for this library with documentation and
example usage, which will hopefully be up by the end of the month.

I will make a post on this forum to inform everyone once its done Smile

Regards
Ej52

_________________
Hitler dNt HiDe WaT mOtHa NaTurE pRoViDe ... Razz
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: Sun Apr 17, 2011 7:16 pm    Post subject: Reply with quote

ej52 wrote:
Thx dinerop

Good to see there are some peeps interested in it Smile

I must admit i am having second thoughts on releasing this library
as it really makes it 2 easy for anyone 2 create quality trainers
in any .Net language without much knowledge at all Razz

The library is nearly done though, just finishing up a few methods
I will be creating a site for this library with documentation and
example usage, which will hopefully be up by the end of the month.

I will make a post on this forum to inform everyone once its done Smile

Regards
Ej52


Not to sound like an ass but what you are making has been done before so it's not like its something people can't get else where. You can also include the autoassembler from CE in any project if you compile it as a separate DLL and import it. So its nothing new.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
ReversalApprentice
How do I cheat?
Reputation: 0

Joined: 14 May 2011
Posts: 4

PostPosted: Mon May 23, 2011 8:55 pm    Post subject: Reply with quote

This sounds like the coolest thing ever, I'm sad to see the thread hasn't been updated in over a month though.
Back to top
View user's profile Send private message
ej52
Cheater
Reputation: 0

Joined: 29 Mar 2011
Posts: 39
Location: Mother City

PostPosted: Mon May 30, 2011 6:16 pm    Post subject: Reply with quote

@ReversalApprentice

I have been busy with other projects the past month but will be working on
the opcode library again this month and hopefully release it soon Smile

_________________
Hitler dNt HiDe WaT mOtHa NaTurE pRoViDe ... Razz
Back to top
View user's profile Send private message
FrostStudios
How do I cheat?
Reputation: 0

Joined: 11 Nov 2016
Posts: 5
Location: Germany

PostPosted: Fri Nov 11, 2016 6:58 am    Post subject: Final release? Reply with quote

Any updates on this yet? Smile
Back to top
View user's profile Send private message Send e-mail
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Nov 11, 2016 1:38 pm    Post subject: Re: Final release? Reply with quote

FrostStudios wrote:
Any updates on this yet? Smile


This topic is from 2011, please do not bump things that are old.

Locked.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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