Interacting with the mailbox (Help)

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
VoiD
Posts: 11
Joined: Fri Jan 22, 2010 7:44 pm
Location: Deep space

Interacting with the mailbox (Help)

#1 Post by VoiD » Mon Jan 25, 2010 9:16 am

I was going to make my bot do stuff like:

-Target and open the Mailbox
-Open received mail and pick up items then delete that mail
-Send items via mail

What I'm looking for is either useful bot command or rom API command that I could run with sendmacro();

My biggest problem is to actually "open" the mailbox coz you cant really target it the same way you do with an NPC... :/
So how do you folks use the mailbox with the bot ? o_O

I'd prefer not to use any addons but if there is no alternative... :'(

Can anyone help me ? Coz the list of RoM API functions on their wiki is HUGE, would take me days... :P
~(。◕‿‿◕。)~

depp69
Posts: 30
Joined: Mon Aug 17, 2009 12:46 pm

Re: Interacting with the mailbox (Help)

#2 Post by depp69 » Tue Jan 26, 2010 10:25 am

i already tried, to do that, there is only sth like showmailframe, but this window is only a dummy
doesnt work actually, same problem with the dailyquestboard ...
as far as i know, theres no solution for this problem atm ...
i guess the only way atm, would be using the mobile mailbox item from rubyshop

raff
Posts: 96
Joined: Thu Jan 22, 2009 10:46 am

Re: Interacting with the mailbox (Help)

#3 Post by raff » Tue Jan 26, 2010 10:40 am

Hi,

I found out that you can target and open the mailbox with "attack" or macro in Dragonfang Ridge, but it seems, its the only mailbox, where it works.

Image

User avatar
VoiD
Posts: 11
Joined: Fri Jan 22, 2010 7:44 pm
Location: Deep space

Re: Interacting with the mailbox (Help)

#4 Post by VoiD » Tue Jan 26, 2010 2:11 pm

The mobile mailbox items will come in handy for sure since its only 15 rubys. But still finding a non costly methode would be ideal.

Have you tried the "showmailframe" while you where near a mailbox ? I tried finding that function but no luck (tried some similar ones near the mailbox but none made anything appear)... Could be that the command you where talking about only works if ur near a mialbox... :/

The attackable mailbox is quite far away... but once again it could come in handy... lets hope they don't patch that... :P

Well looks like the left click for now is the only option. To do that, the best would be to set a camera angle to view the mailbox and your character form above, then click the mailbox... that way you could pretty much effectively avoid clicking other idiot players that come to near the mailbox... -_-

Is there a way to check if a specific ingame window is open ? Would be nice if we could check if the mailbox window is open, and if not try clicking again... would avoid some nasty errors like dropping items into empty space... :/
~(。◕‿‿◕。)~

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

Re: Interacting with the mailbox (Help)

#5 Post by Administrator » Tue Jan 26, 2010 4:36 pm

To move items, it's probably better to use RoM API functions.

Notable functions:
CloseMail
GetSendMailItem
OpenMail_Delete
OpenMail_Reply
OpenMail_Update
OpenMail
SendMail
SetSendMailCOD
SetSendMailMoney
You can see the frames here. To show the mailbox, try this:

Code: Select all

RoMScript("MailFrame:Show()");
Also, it would be wise to try getting mail-oriented addons from curse.com then dissect them to understand how to send and recieve items or money.

S3v3n11
Posts: 91
Joined: Thu Jul 09, 2009 7:37 am

Re: Interacting with the mailbox (Help)

#6 Post by S3v3n11 » Sat Feb 13, 2010 8:04 pm

FYI,

I just created an ingame macro with the following text:

/script MailFrame:Show();

And it opened the mail box.

Thanks to the DEVs for this info!

S3v3n11
Posts: 91
Joined: Thu Jul 09, 2009 7:37 am

Re: Interacting with the mailbox (Help)

#7 Post by S3v3n11 » Fri Feb 26, 2010 4:30 pm

Ok, I can get the mailbox to open with MailFrame:Show but now how do I close it? CloseMail does not seem to work.

Any Ideas?

S3v3n11
Posts: 91
Joined: Thu Jul 09, 2009 7:37 am

Re: Interacting with the mailbox (Help)

#8 Post by S3v3n11 » Fri Feb 26, 2010 4:35 pm

Got it!

/script MailFrame:Hide();

Thanks all!

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Interacting with the mailbox (Help)

#9 Post by rock5 » Mon Mar 08, 2010 1:45 am

Hold on a sec, that does not work.

It will open the mailbox frame but it wont be functional. The only way to open a functional mailbox, or bulletin board for that matter, is to click on it(as far as I know).

The only exception is if the mailbox or bulletin board is an NPC or has a corresponding NPC, in which case you can use target_NPC.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

S3v3n11
Posts: 91
Joined: Thu Jul 09, 2009 7:37 am

Re: Interacting with the mailbox (Help)

#10 Post by S3v3n11 » Mon Mar 08, 2010 6:53 am

rock5 wrote:Hold on a sec, that does not work.

It will open the mailbox frame but it wont be functional. The only way to open a functional mailbox, or bulletin board for that matter, is to click on it(as far as I know).

The only exception is if the mailbox or bulletin board is an NPC or has a corresponding NPC, in which case you can use target_NPC.
You are correct sir!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 12 guests