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: Binding of Isaac - Rebirth (help request)

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

Joined: 19 Jan 2015
Posts: 25

PostPosted: Mon Mar 09, 2015 4:50 pm    Post subject: C# trainer: Binding of Isaac - Rebirth (help request) Reply with quote

Hi,

To start off I want to tell that I'm a skilled C# developer (14 years) and worked in many big companies. But memory reading and writing is something pretty new to me.

I've tried to do some memory reading (I don't want to write) with MemorySharp in Binding of Isaac. But the problem is that the values I found seem to be the same most (the pointers + offsets) of the time but sometimes switch to other pointers. Now this is a problem, I've asked in the Binding of Isaac thread and 'AikonCWD' told me to come here and ask.

I want to be able to read all the values from this table: [can't post urls, search for the binding of isaac thread] plus want to learn how to get some other values. (x and y of enemies + some other stuff)

If somebody is willing to learn me how to do this in C# I'm willing to pay you. (within borders ofcourse)

Though if somebody has some script lying around in C# to use 'dbghelp' as AikonCWD told me than I would really like to have a look at it.

Thanks in advance!
Pwnmanship
Back to top
View user's profile Send private message
aikoncwd
Grandmaster Cheater
Reputation: 23

Joined: 21 Dec 2012
Posts: 591
Location: Spain (Barcelona)

PostPosted: Mon Mar 09, 2015 5:11 pm    Post subject: Reply with quote

To give a little help... Pwnmanship wants to make a trainer that reads the value of EAX, EBX, ... at specific opcode. To do that he need to implement some debugger options (dbghelp). Can somebody help him?

regards Very Happy

_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE
Back to top
View user's profile Send private message
Pwnmanship
Cheater
Reputation: 0

Joined: 19 Jan 2015
Posts: 25

PostPosted: Mon Mar 09, 2015 5:20 pm    Post subject: Reply with quote

AikonCWD wrote:
To give a little help... Pwnmanship wants to make a trainer that reads the value of EAX, EBX, ... at specific opcode. To do that he need to implement some debugger options (dbghelp). Can somebody help him?

regards Very Happy

Thanks for your help Aikon (tried to PM you, but same as url's, can't do that yet hehe). Though if there is any other way that won't break totaly when there is an update in the game (I know I'll need to update some stuff) I'm also fine with that.

What I want to do is makeing some sort of simple bot for Binding of Isaac, which read the memory for enemies etc and then does some simple tasks. Just as some sort of challenge for learning memory reading and making bots.
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Mon Mar 09, 2015 6:32 pm    Post subject: Reply with quote

I feel a bit like a broken record, but did you google for how to set a breakpoint in C#? It only takes about a page worth of C to do, so it can't be much harder in C#.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
Pwnmanship
Cheater
Reputation: 0

Joined: 19 Jan 2015
Posts: 25

PostPosted: Tue Mar 10, 2015 4:59 am    Post subject: Reply with quote

justa_dude wrote:
I feel a bit like a broken record, but did you google for how to set a breakpoint in C#? It only takes about a page worth of C to do, so it can't be much harder in C#.

Did you read the first 10 words of my post? Guess not.
I know how to set breakpoints and I'm sure that is not the kind of debug he is talking about.
Back to top
View user's profile Send private message
aikoncwd
Grandmaster Cheater
Reputation: 23

Joined: 21 Dec 2012
Posts: 591
Location: Spain (Barcelona)

PostPosted: Tue Mar 10, 2015 7:41 am    Post subject: Reply with quote

Pwnmanship wrote:
justa_dude wrote:
I feel a bit like a broken record, but did you google for how to set a breakpoint in C#? It only takes about a page worth of C to do, so it can't be much harder in C#.

Did you read the first 10 words of my post? Guess not.
I know how to set breakpoints and I'm sure that is not the kind of debug he is talking about.


Guys, calm down, plz. You only need a module/function that allows to read the value of registers (EAX, EBX, etc) at certain location (opcode). Maybe this can be done with breakpoints, I don't know.

Just take a look Smile

_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Tue Mar 10, 2015 3:00 pm    Post subject: Reply with quote

Pwnmanship wrote:
justa_dude wrote:
I feel a bit like a broken record, but did you google for how to set a breakpoint in C#? It only takes about a page worth of C to do, so it can't be much harder in C#.

Did you read the first 10 words of my post? Guess not.
I know how to set breakpoints and I'm sure that is not the kind of debug he is talking about.


You sound like a help vampire and a jackass. If you are a professional software developer, like your egotistical introduction hints at, I feel very sorry for your colleagues.

I answered the exact same question, in C++, like two threads below this one. Aikon is obviously talking about programmatically setting a breakpoint in the target process, because it wouldn't make sense to just pinvoke getthreadcontext and read a register at any arbitrary time.

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
Pwnmanship
Cheater
Reputation: 0

Joined: 19 Jan 2015
Posts: 25

PostPosted: Wed Mar 11, 2015 4:42 am    Post subject: Reply with quote

justa_dude wrote:
Pwnmanship wrote:
justa_dude wrote:
I feel a bit like a broken record, but did you google for how to set a breakpoint in C#? It only takes about a page worth of C to do, so it can't be much harder in C#.

Did you read the first 10 words of my post? Guess not.
I know how to set breakpoints and I'm sure that is not the kind of debug he is talking about.


You sound like a help vampire and a jackass. If you are a professional software developer, like your egotistical introduction hints at, I feel very sorry for your colleagues.

I answered the exact same question, in C++, like two threads below this one. Aikon is obviously talking about programmatically setting a breakpoint in the target process, because it wouldn't make sense to just pinvoke getthreadcontext and read a register at any arbitrary time.
I'm sorry I thought you meant something else. But to be fair ' set a breakpoint in C#' isn't much of an search parameter for what you said in the other thread.

I'll be looking into how to set a breakpoint in another process thanks for the advice.
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