Rock5's Mail Mods
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: Rock5's Mail Mods
There is a local function called "openMailbox" so you shouldn't have been able to use it unless you modified the userfunction and made it global.
You don't need to use that code anymore anyway. The userfunctions now includes a new function called "UMM_DeleteEmptyMail()" which should do what you want.
You don't need to use that code anymore anyway. The userfunctions now includes a new function called "UMM_DeleteEmptyMail()" which should do what you want.
- 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
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: Rock5's Mail Mods
Perfect. That's what I was hoping for with updating the userfunctions anyway. I went in and removed my extra part that opens the mailbox and deletes empty emails and it seems to work fine now. Thanks.You don't need to use that code anymore anyway. The userfunctions now includes a new function called "UMM_DeleteEmptyMail()" which should do what you want.
Re: Rock5's Mail Mods
Just to be clear, you have to run the "UMM_DeleteEmptyMail()" function if you want to use it. It doesn't get run automatically.
- 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
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: Rock5's Mail Mods
Ah, I'm glad you cleared that up, though I would eventually have seen that it isn't doing it automatically. But I can fix that now before it becomes an issue. Thanks.
Re: Rock5's Mail Mods
I just added UMM_DeleteEmptyMail() into the main function that opens the mail box lol
Re: Rock5's Mail Mods
Good idea. Saves you from having to edit all your files.
The reason I didn't do that in the posted version is because it might be possible that a user might be social and have friends that they exchange mails with and I didn't want them to get mistakenly automatically deleted. So I leave it up to the user to use the function.
The reason I didn't do that in the posted version is because it might be possible that a user might be social and have friends that they exchange mails with and I didn't want them to get mistakenly automatically deleted. So I leave it up to the user to use the function.
- 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
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: Rock5's Mail Mods
Is there a way to have a bot send a mail with specified text in the body of the mail? I searched but was unable to find anything.
Re: Rock5's Mail Mods
Why do you need to bot a message?
The mail userfunction only uses the third tab for sending items so there is no control there for adding a message. To send a message it would have to use the second tab. This could be done if there is a real need but I can't see a practical way of botting the receiving of the messages. Did you want to bot the receiving of the messages too or do you just want your bots to send messages to a character that you will use to read the messages manually?
The mail userfunction only uses the third tab for sending items so there is no control there for adding a message. To send a message it would have to use the second tab. This could be done if there is a real need but I can't see a practical way of botting the receiving of the messages. Did you want to bot the receiving of the messages too or do you just want your bots to send messages to a character that you will use to read the messages manually?
- 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
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: Rock5's Mail Mods
I was looking at the latter... to have the bot send me a message to one of my characters that I use normally. Then again, I can always just throw the info into a log file and just check the log file regularly. That might be better than clogging up my mailbox with spam from my bots. So, nevermind my question. Thanks.
- cibervagos
- Posts: 26
- Joined: Sat Apr 12, 2014 10:36 pm
- Location: Argentina
Re: Rock5's Mail Mods
Hi all! I never solve my problem with UMM. I think is a ping problem becouse I play with 380 - 850 ms of ping. (And I play in PVP server
) But now I can take my mails if I open the mailbox first with openMailbox(). (I made it global). So I open the mail and I give a few second before call UMM_TakeMail(). I still have the same problem, with the same error. But the bot dont stop (almost)
. Well, that is all. Just comment how I "solved" the problem.


Re: Rock5's Mail Mods
Finally posted version 1.85 of the userfunction that supports Hortek mailbox and other exceptions.
- 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
Re: Rock5's Mail Mods
how to do to send to the personages?
Islan Marti Kyne
Islan Marti Kyne
Re: Rock5's Mail Mods
Do you mean how do you send to multiple players? Try
Of course you need to use the correct function name and correct arguments.
Code: Select all
local names ={"Islan", "Marti", "Kyne"}
for k, recipient in pairs(names) do
UMM_SendFunction(recipient, . . .)
end
- 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
Re: Rock5's Mail Mods
Code: Select all
player:update()
local names ={"Dawurk", "Strashen", "Kyne"}
for k, recipient in pairs(names) do
UMM_SendFunction(name, .228966.2.)
end
RoMScript("UMMFrame:Hide()")
ChangeChar()
loadPaths(__WPL.FileName)
</waypoint>
</waypoints>
Re: Rock5's Mail Mods
You were too fast. As soon as I posted I noticed I made a mistake and then edited my post. You must have copied the post before I edited it.
should have been
The rest of it look ok.
Code: Select all
UMM_SendFunction(name, ...)
Code: Select all
UMM_SendFunction(recipient, ...)
This is not a valid function and the arguments are entered wrong. I assume you want to send 2 items with id 228966 to each recipient. The function you want is UMM_SendByNameOrIdDesmond wrote:UMM_SendFunction(name, .228966.2.)
Code: Select all
UMM_SendByNameOrId(recipient, 228966, 2)
- 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
Re: Rock5's Mail Mods
whether there is a function of the user to buy a belt or stones?
Re: Rock5's Mail Mods
To buy belts or stones just use the store functions.
Code: Select all
player:openStore("npc name")
store:buyItem(nameIdOrIndex, quantity)
- 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
Re: Rock5's Mail Mods
Thanks, how do I check if a backpack full of rocks then
Re: Rock5's Mail Mods
Do you mean how do you fill up your bag with Fusion Stones?
Code: Select all
local empty = inventory:itemTotalCount(0)
player:openStore("npc name")
store:buyItem(nameIdOrIndex, empty)
- 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
Re: Rock5's Mail Mods
if backpack full then need a bot went to the mailrock5 wrote:Do you mean how do you fill up your bag with Fusion Stones?Code: Select all
local empty = inventory:itemTotalCount(0) player:openStore("npc name") store:buyItem(nameIdOrIndex, empty)
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests