Memory Editing In Java

Hey, is there a way I can search for a memory value and then edit it?

I have some code that is able to be edited by the user for a specific java program so you can customize it. I want to scan for a memory value and edit it through the code I am able to access. I just tried this with a memory editor such as art money and it worked fine. How can I do this through java?

[383 byte] By [Sucka8a] at [2007-11-26 20:49:32]
# 1
You can't. Java's designed to be safer than some other mainstream languages, so excludes direct memory access.You could do it in C and use JNI to wrap the native operations up for a Java UI to use.Pete
pm_kirkhama at 2007-7-10 2:13:30 > top of Java-index,Java Essentials,Java Programming...
# 2
> Hey, is there a way I can search for a memory value> and then edit it?Between this and your [url= http://forum.java.sun.com/thread.jspa?threadID=5145349&tstart=15]Brute Force Algorithm[/url], it looks like you've got some dastardly work cut out for you.
kevjavaa at 2007-7-10 2:13:30 > top of Java-index,Java Essentials,Java Programming...
# 3

They are not even related... The memory thing is for robocode ( google it ). I wanted to get the health memory address of the opponent bot and set its health to 0. Me and my friends are having a competition who can have an unbeatable bot and I came up with that idea to make it truly unbeatable.

The brute force algo ( which i am still waiting for a decent answer on ) is just for fun. I have been fooling around with brute forcers and such seeing the time it takes to crack specific types of hashes and thought it would be cool if I could make my own. Which I am still stuck on...

:For Brute Force Algo:

I looked into tree data structure and that was way more complicated then I wished to go. I know it can be done in an eaiser way.

Message was edited by:

Sucka8

Message was edited by:

Sucka8

Sucka8a at 2007-7-10 2:13:30 > top of Java-index,Java Essentials,Java Programming...
# 4

> They are not even related... The memory thing is for

> robocode ( google it ).

By all means, then, hack on... It does sound like a serious undertaking, though.

> :For Brute Force Algo:

> I looked into tree data structure and that was way

> more complicated then I wished to go. I know it can

> be done in an eaiser way.

It's complicated for a one-time use, throwaway piece of code, but once you do it the first time, it's easy, and you have it for use in later projects.

You sound like you really want to be a C programmer :). I don't know that I'd try to brute force anything in Java that didn't just have to be written in Java.

Good luck.

kevjavaa at 2007-7-10 2:13:30 > top of Java-index,Java Essentials,Java Programming...