Shaiya- Memory Error?

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
Anaphase
Posts: 5
Joined: Tue Oct 28, 2008 1:15 am

Shaiya- Memory Error?

#1 Post by Anaphase » Tue Oct 28, 2008 1:36 am

I've tried a few different lua scripts for Shaiya, and so far none of them have worked for me.

This is what I get after I open Shaiya w/no GG, open MM and a lua file, then switch back to Shaiya and hit insert. It looks similar to this for all the scripts I try.

ImageImage

I get the feeling I'm supposed to modify something here(?), but I don't know what exactly I'd change or what I'd change it to.

Code: Select all

------------------------------------------------
-- Memory addresses
------------------------------------------------
playerptr_addr = 0x007835B4;

HP_offset = 296;
MaxHP_offset = 300;
MP_offset = 304;
MaxMP_offset = 308;
SP_offset = 312;
MaxSP_offset = 316;

targetid_addr = 0x0062FAD4; -- short, 65535 if none selected
-- REMOVED -- targettype_addr = 0x00619B1F; -- byte, 0 = player/NPC, 7 = monster

sitcheck_addr = 0x00643648; -- byte, 0 = standing, 7 = sitting
Any help is greatly appreciated @@;

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Shaiya- Memory Error?

#2 Post by Administrator » Tue Oct 28, 2008 7:29 am

You're using an outdated version of the script. Update your addresses.

Code: Select all

------------------------------------------------
-- Memory addresses
------------------------------------------------
playerptr_addr = 0x0081CBEC;

HP_offset = 0x12C; 
MaxHP_offset = 0x130; -- 304
MP_offset = 0x134; --308;
MaxMP_offset = 0x138; --312;
SP_offset = 0x13C; --316;
MaxSP_offset = 0x140; --320;

targetid_addr = 0x006c7bc4; -- short, 65535 if none selected

sitcheck_addr = 0x006DCC80; -- byte, 0 = standing, 7 = sitting

Anaphase
Posts: 5
Joined: Tue Oct 28, 2008 1:15 am

Re: Shaiya- Memory Error?

#3 Post by Anaphase » Tue Oct 28, 2008 2:09 pm

Ah thanks, that got rid of the error.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 45 guests