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.
-
- Posts: 31
- Joined: Sat Mar 17, 2012 1:14 am
Re: Rock5's Mail Mods
thank rock, that all i need , ill try it soon
Re: Rock5's Mail Mods
Hey rock, I have this code:
First of all, I haven't tested this code yet so I don't know if it's working but whether it works or not is irrelevant to my question so I posted this untested code anyway.
What I want to ask is, with this code, I am putting all my chars' names one by one and since I got lots of chars I am prone to make a typo, so I want to ask if there is a way to make the script send to all chars in an account and I will just have to list the account numbers in a table?
Thanks.
Code: Select all
<onLoad>
nameTable =
{
"Char1","Char2",etc etc
}
counter = 1
</onLoad>
<!-- # 1 --><waypoint x="31761" z="3614" y="-17">
if nameTable[counter] == "lastchar" then
print("Done mailing.")
player:sleep()
else
UMM_SendMoney(nameTable[counter], 240000)
yrest(500);
sendMacro("CloseAllWindows()");
counter = counter + 1;
end
</waypoint>
</waypoints>
What I want to ask is, with this code, I am putting all my chars' names one by one and since I got lots of chars I am prone to make a typo, so I want to ask if there is a way to make the script send to all chars in an account and I will just have to list the account numbers in a table?
Thanks.
Re: Rock5's Mail Mods
No, I don't think so. I don't think there is any way to get other character names from within the game and the loginxml login info is local for security reasons so is not available.
Seeing as your code first checks to see if it's the last character before sending, I think it wont send money to the last character.
Seeing as your code first checks to see if it's the last character before sending, I think it wont send money to the last character.
- 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
i am trying to add this code to userfunctions and just call it from command line
to send fusion stones to my tier stone alts, but it send stones only to first char on list.
Is it posible this way?
Code: Select all
mailingList = {
"one",
"two",
"three"
}
function send_fusions()
mailingIndex = 1
-- Check if name exists
if mailingList[mailingIndex] == nil then
error("Finished sending to all recipients.")
end
player:target_Object("Mailbox");
UMM_SendByNameOrId(mailingList[mailingIndex],{"Fusion Stone","Random Fusion Stone"}, 10)
mailingIndex = mailingIndex + 1
end
Is it posible this way?
Life is a journey, not destination
Re: Rock5's Mail Mods
kenzu38's code repeats because it keeps going to waypoint 1. If you want to use it in a userfunction you will have to set up a loop. Actually the easiest would be a 'for' loop, eg.
Note: latest version of mail userfunctions does not require you to open the mailbox. It will do it itself.
Code: Select all
local mailingList = {
"one",
"two",
"three"
}
function send_fusions()
for k,name in pairs(mailingList) do
UMM_SendByNameOrId(name,{"Fusion Stone","Random Fusion Stone"}, 10)
end
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
I see, too bad coz I'm always prone to typo. Well, can't be helped. Now, back to typing those names one by one.rock5 wrote:No, I don't think so. I don't think there is any way to get other character names from within the game and the loginxml login info is local for security reasons so is not available.
Seeing as your code first checks to see if it's the last character before sending, I think it wont send money to the last character.
And yea, it didn't mail to the last char haha. Had to change it to this:
Code: Select all
<!-- # 1 --><waypoint x="31761" z="3614" y="-17">
UMM_SendMoney(nameTable[counter], 240000)
yrest(500);
sendMacro("CloseAllWindows()");
if nameTable[counter] == "lastchar" then
print("Done mailing.")
player:sleep()
counter = counter + 1;
end
</waypoint>
Re: Rock5's Mail Mods
The counter is only incremented if you are on the last character. Maybe it should be outside the 'if' statement.
- 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
Ty rock5 it work now
So basicly everyone can use onload
and call from waypoint,
insted of adding onload
DON'T USE CODE BELOW, NOT WORKING 100%
sry copy past error
and on waypoint
but i gues Rock5 you know what im talking about,
it's much easyter to use code you sugest to me.
So basicly everyone can use onload
Code: Select all
<onLoad>
local mailingList = {
"one",
"two",
"three"
}
function send_fusions()
for k,name in pairs(mailingList) do
UMM_SendByNameOrId(name,{"Fusion Stone","Random Fusion Stone"}, 10)
end
end
</onLoad>
Code: Select all
send_fusions()
DON'T USE CODE BELOW, NOT WORKING 100%
sry copy past error
Code: Select all
<onLoad>
mailingList = {
"Char1",
"Char2",
etc,
etc
}
counter = 1;
</onLoad>
Code: Select all
<!-- # 1 --><waypoint x="31761" z="3614" y="-17">
if nameTable[counter] == "lastchar" then
print("Done mailing.")
player:sleep()
else
UMM_SendByNameOrId(name,{"Fusion Stone","Random Fusion Stone"}, 10)
yrest(500);
sendMacro("CloseAllWindows()");
counter = counter + 1;
end
</waypoint>
</waypoints>
it's much easyter to use code you sugest to me.
Life is a journey, not destination
Re: Rock5's Mail Mods
Lol, now that was embarrassing, I create a lot of test files for my scripts and I copy pasted from the non-working one.rock5 wrote:The counter is only incremented if you are on the last character. Maybe it should be outside the 'if' statement.
Code: Select all
<!-- # 1 --><waypoint x="31761" z="3614" y="-17">
UMM_SendMoney(nameTable[counter], 240000)
yrest(500);
if nameTable[counter] == "lastchar" then
sendMacro("CloseAllWindows()");
print("Done mailing.")
player:sleep()
end
counter = counter + 1;
</waypoint>
</waypoints>
-
- Posts: 3
- Joined: Wed Jan 30, 2013 10:27 am
Re: Rock5's Mail Mods
Rock - I am attempting to utilize this mod/script (arrowhead farming)for the first time and have the following issue:
When it goes to mail the items desired, it opens up the mailbox, flashes the "Close mailbox before continuing on the screen" and gives me the following error -
/micromacro/scripts/rom/functions.lua:729: attempt to concatenate field '?' <a nil value>
Any thoughts?
Also as a side note, the version linked on the first page is still 1.80. Did you have a newer version?
When it goes to mail the items desired, it opens up the mailbox, flashes the "Close mailbox before continuing on the screen" and gives me the following error -
/micromacro/scripts/rom/functions.lua:729: attempt to concatenate field '?' <a nil value>
Any thoughts?
Also as a side note, the version linked on the first page is still 1.80. Did you have a newer version?
Re: Rock5's Mail Mods
I'm not sure why you got "Close mailbox before continuing". That sounds like you tried to do something else while the mailbox was open, such as open your bank.
There is no concatenation on line 729 of functions.lua. So either you have a corrupt bot installation or you edited the file or you are using a different version of the bot than the one I'm using.
There is no concatenation on line 729 of functions.lua. So either you have a corrupt bot installation or you edited the file or you are using a different version of the bot than the one I'm using.
- 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: 3
- Joined: Wed Jan 30, 2013 10:27 am
Re: Rock5's Mail Mods
Thanks for the quick reply. I was not doing anything when the bot was running. I have installed your linked mail mod and userfunctions file and the arrow farming script straight up (no modification). I wonder if it has to do with my version of the bot program.
-
- Posts: 3
- Joined: Wed Jan 30, 2013 10:27 am
Re: Rock5's Mail Mods
Which version of the bot are you using?
Re: Rock5's Mail Mods
Hey, rock. Since the 5.0.7 patch, taking mail either manually or by bot gives error saying bag is full when my inventory still has at least about 6 spaces left.
Currently still using RC3, though. Would switching back to regular version make a lot of difference? I'm trying to avoid the regular version though since I made a few customizations to the old one and I already forgot what they were so if I updated now, it's not gonna be fully updated or if I chose to overwrite I'll lose my customizations.
Anyway, what do you think might be causing this? Can you suggest some possible solution?
Thanks.
Currently still using RC3, though. Would switching back to regular version make a lot of difference? I'm trying to avoid the regular version though since I made a few customizations to the old one and I already forgot what they were so if I updated now, it's not gonna be fully updated or if I chose to overwrite I'll lose my customizations.
Anyway, what do you think might be causing this? Can you suggest some possible solution?
Thanks.
Re: Rock5's Mail Mods
Do you mean the patch that just happened? If you meant the last patch, too slow. Already updating to new patch. If you still have problems with new patch remind me again and I'll check it out.
- 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
I'm using rock5's modified version with patch 5.0.7 - no problems. Maybe some of your customizations cause the conflict?Hey, rock. Since the 5.0.7 patch, taking mail either manually or by bot gives error saying bag is full when my inventory still has at least about 6 spaces left.
Currently still using RC3, though. Would switching back to regular version make a lot of difference? I'm trying to avoid the regular version though since I made a few customizations to the old one and I already forgot what they were so if I updated now, it's not gonna be fully updated or if I chose to overwrite I'll lose my customizations.
If you no longer remember, what your changes are, simply download the version from the forum and compare with your version. There are excellent tools available for file and directory comparison: BeyondCompare => http://www.scootersoftware.com/
I'm using it frequently. You can easily sync files and also merge changes with a single mouse click.
Re: Rock5's Mail Mods
Yeah, I use KDiff3 which comes with "Git Extensions" which I have installed.
Anyway, I finished updating to the new patch and tested it. 8 different items in the mailbox and only 7 slots left. It filled them all up then got stuck. Did it always used to get stuck if your bags get full? With some users that would happen often, wouldn't it? How do they deal with it?
Anyway, I finished updating to the new patch and tested it. 8 different items in the mailbox and only 7 slots left. It filled them all up then got stuck. Did it always used to get stuck if your bags get full? With some users that would happen often, wouldn't it? How do they deal with it?
- 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
Hey guyz, thanks for the input.
Well anyway, I'm hoping my problem gets fixed by the hotfix patch they released today. If not, then I guess I'll really have to go back to regular version of the bot.
Thanks for the link. Will try it out later.Jandrana wrote: There are excellent tools available for file and directory comparison: BeyondCompare => http://www.scootersoftware.com/
I'm using it frequently. You can easily sync files and also merge changes with a single mouse click.
From my experience, yes, it always got stuck when bag is full. But now, even when it isn't full I get a full bag warning.rock5 wrote:8 different items in the mailbox and only 7 slots left. It filled them all up then got stuck. Did it always used to get stuck if your bags get full? With some users that would happen often, wouldn't it? How do they deal with it?
Well anyway, I'm hoping my problem gets fixed by the hotfix patch they released today. If not, then I guess I'll really have to go back to regular version of the bot.
-
- Posts: 11
- Joined: Mon Jan 23, 2012 2:41 pm
Re: Rock5's Mail Mods
Hello,
i install the Mail mod, because I use the Arrowheads Waypoint.
My Problem is I dont understand what I do wrong.
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
Wir benutzen nun die normale Wegepunktdatei Arrowheads-KBN.xml.
Wegepunkt #39 ist näher als #1. Wir starten daher mit Wegepunkt #39.
Wir gehen zum Wegpunkt #39, (-7657, -17233)
Wir versuchen den NPC 119274 zu finden:
Der NPC 'Postfach' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
Sending items by name or id.
Pfeilspitze mit slot112 Sent
Pfeilspitze mit slot113 Sent
Miller-Spezialk slot181 Bound
"Geisterhafte L slot182 Bound
Gildenstein slot183 No item name match
Einfacher Repar slot184 No item name match
Grasland-Allerl slot186 BoundSending items to Musterman... Did not find any crash
ed game clients.
3:38am - IGF:\UMMFrameTab1:Hide()\ [string "local a={UMMFrameTab1:Hide()} return
a"]:1: attempt to index global 'UMMFrameTab1' (a nil value)
------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
What did I have to do that it work?
i install the Mail mod, because I use the Arrowheads Waypoint.
My Problem is I dont understand what I do wrong.
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
Wir benutzen nun die normale Wegepunktdatei Arrowheads-KBN.xml.
Wegepunkt #39 ist näher als #1. Wir starten daher mit Wegepunkt #39.
Wir gehen zum Wegpunkt #39, (-7657, -17233)
Wir versuchen den NPC 119274 zu finden:
Der NPC 'Postfach' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
Sending items by name or id.
Pfeilspitze mit slot112 Sent
Pfeilspitze mit slot113 Sent
Miller-Spezialk slot181 Bound
"Geisterhafte L slot182 Bound
Gildenstein slot183 No item name match
Einfacher Repar slot184 No item name match
Grasland-Allerl slot186 BoundSending items to Musterman... Did not find any crash
ed game clients.
3:38am - IGF:\UMMFrameTab1:Hide()\ [string "local a={UMMFrameTab1:Hide()} return
a"]:1: attempt to index global 'UMMFrameTab1' (a nil value)
------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
What did I have to do that it work?
Sorry my Bad English! Google Translate and I will do the best we can! ^^
Re: Rock5's Mail Mods
Maybe you didn't install it properly.
The UltimateMailMod goes in the "Runes of Magic\interface\addons" folder. Make sure you restart the game afterwards.
The userfunction "addon_Rock5s_Mail_Functions.lua" goes in the "rom\userfunctions" folder.
The UltimateMailMod goes in the "Runes of Magic\interface\addons" folder. Make sure you restart the game afterwards.
The userfunction "addon_Rock5s_Mail_Functions.lua" goes in the "rom\userfunctions" folder.
- 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
Who is online
Users browsing this forum: No registered users and 1 guest