Is it possible to edit memory values using micromacro?

Discuss, ask for help, share ideas, give suggestions, read tutorials, and tell us about bugs you have found with MicroMacro in here.

Do not post RoM-Bot stuff here. There is a subforum for that.
Forum rules
This is a sub-forum for things specific to MicroMacro.

This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
Post Reply
Message
Author
User avatar
Rishijin
Posts: 49
Joined: Sat Jul 04, 2009 4:25 pm
Location: Kauai

Is it possible to edit memory values using micromacro?

#1 Post by Rishijin »

I've got this idea that it might be possible to use the addresses for everything instead of keystrokes. For example, if the memory changes to a specific value when you hit a certain button on your quick bar in a game, shouldn't you be able to write the memory for that instead of using virtual keyboard? Normally I wouldn't care, except it would be nice to be able to run the macro (bot) in the background instead of having to leave the window up.

Is it possible to do what I am describing?

Sorry to ask something like this but I can't get into the manual.
User avatar
Administrator
Site Admin
Posts: 5344
Joined: Sat Jan 05, 2008 4:21 pm

Re: Is it possible to edit memory values using micromacro?

#2 Post by Administrator »

Yes, you can. You use the memoryWrite* functions. They are described on the manual here: http://www.solarstrike.net/wiki/index.p ... _Functions

I just checked and the manual is working for me. Can you specify what your problem is?
User avatar
Rishijin
Posts: 49
Joined: Sat Jul 04, 2009 4:25 pm
Location: Kauai

Re: Is it possible to edit memory values using micromacro?

#3 Post by Rishijin »

I can get into it now, thanks.
Before it was taking me here: http://solarstrike.net/
User avatar
Rishijin
Posts: 49
Joined: Sat Jul 04, 2009 4:25 pm
Location: Kauai

Re: Is it possible to edit memory values using micromacro?

#4 Post by Rishijin »

One more thing:

When you use the memory write function; is the last argument (data) referring to the value in the specified address? As in the value that was gotten by the memory read function?
I know this is very simple, but I didn't get it when I read the manual.
User avatar
Administrator
Site Admin
Posts: 5344
Joined: Sat Jan 05, 2008 4:21 pm

Re: Is it possible to edit memory values using micromacro?

#5 Post by Administrator »

It is the value that you will be writing. If you call memoryWriteInt(process, hp_address, 12), then your HP should now be 12. Obviously, that example won't work in online games.
Post Reply