in UltimateMailMod.lua depends on the ~=nil or >0 value, but I'm not a lua expert like U or some other guys here, so my efforts to use this function always causes compilation errors
Maybe another one find the solution.. I'm just trying to use the AdvanceAuctionHouse - similar to your UMM-addon- to get my bot adding auction automatically, or are there already any scripts posted?
How hard would be it to manually retrieve mails (to get specific items and maybe a specific amount of each) instead of using UMM's "Take All" button ?
Mainly thinking about auto-transmuting on alts with a lot of charges and limited inventory space (if I need to send 60 belts & 60 fusion stones on a char and it fills inventory with one of those, it will end up stuck with nothing to transmute and no way to get the other item)
Ok, I don't know how possible such an idea would be but I figured I'd throw it out there.
Sometimes when I'm out farming mobs I get multiple item types that I'd like to mail to a mule alt. Instead of specifying each type of item is there a possibility to add the functionality of auto selecting everything on a certain page in UMM? Maybe adding that function so the bot can pick up on it? Something like UMM_SendByPage (first page to send, second page to send, etc)
Something like this, as I see it, could be helpful in such a way as to have a universal send that could be added into any waypoint script without having to specify items to send for each one. This could also avoid the need of storing items of like type located in other bag pages into your bank or chests by using the UMM_SendAdvanced(_recipient, _nameorid, _quality, _reqlevel, _worth, _objtype) function. What I mean by this is like if I want it to send level 61 and above of green or higher quality items it will not attempt to mail the items I have on page 6. It's kind of disturbing that it keeps trying to mail my Rhinoceros Blood and War Insignias or other similar equipment types that I want to keep on the originating character when I'm farming for T4 items.
if (meincounter == true) then
meincounter = false;
sendMacro("OpenMail()");
yrest(390);
UMM_SendByNameOrId("Atrekfohe",{207438,207437});
yrest(330);
sendMacro("CloseAllWindows()");
end
E:/micromacro/scripts/rom/classes/player.lua:1254: Fehler im Profile bei der Zei
tpunktverarbeiten: onLeaveCombat error ...ts/rom/userfunctions/addon_Rock5s_Mail
_Functions.lua:214: bad argument #1 to 'lower' (string expected, got table)
then 'nam' will equal 207438 and then 207437. Neither are tables.
'slotitem.Name' is the item name in the inventory. That should never equal a table unless you used some code somewhere that messes with inventory item names.
Edit: Wait, I think I see a mistake. I'm surprised no one has mentioned it before. Line 194
I have been struggling with this addon, i keep trying to mail stuff, and it doesnt seem to work, it usually crashes out when the mailbox is open and it tries to send stuff... "scripts\rom\bot.lua:760: filed to compile and run Lua code for waypoint # 3"
the line it screws up on is this <!-- # 1 --><waypoint x="-5831" z="3239" y="566"> </waypoint>
<!-- # 2 --><waypoint x="-5851" z="3256" y="570">
sendMacro("OpenMail()");
UMM_SendByNameOrId ("NAMEHERE",{Link Rune,activate rune,purify rune,frost rune,disenchant rune,guild rune,oak wood,moxa}); yrest(390);
sendMacro("CloseAllWindows()");
</waypoint>
There is no function to send items from particular slots. There shouldn't really be any need for one.
What exactly do you want to send or not send. Maybe I can help your formulate a command using UMMSendAdvanced if the other functions are not appropriate.
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.
I am farming Cyclopes Lair for items but I dont want to wait until all 6 bags are full and run back to sell them.
I want my character to send everything in bag 1 to my other character. I tried using UMM_SendAdvance but no luck.
Thanks
ps: check this link and you will know what I mean with the umm_SendBelow
rompros.com/rom-general/2307-gold-farming-cyclops-lair.html
if inventory:itemTotalCount(0,"bag1") == 0 then -- bag 1 is full
-- load mailer waypoint file
end
If you want a command to mail all the items you collected? Looks like UMM_SendAdvanced wont let you send without using one of the options.
I would just use the "type" setting but it looks like I haven't updated this function since I updated the item types system in rombot.
I think the easiest solution would be to change lines 284-285,
elseif _recipient == nil or (_nameorid == nil and _quality == nil and _reqlevel == nil and _worth == nil and _objtype == nil) then
error("You must specify a recipient and at least 1 of the search serms to use UMM_SendAdvanced()")
The last code is working except it tries to send one item at a time and going through bag 1 even if there is nothing in the bag but with no errors though.
It would be nice to just open the mail and mass send the items.
Here is the code from the other script that is supposed to be doing the job but isnt, what did I do wrong?
function UMM_SendBelow(_recipient, _quality, _reqlevel)
----------------------------------
-- Sends if all search terms match
-- Error checks
repeat UMMOpen = RoMScript("UMMFrame:IsVisible()") until UMMOpen ~= nil
if UMMOpen ~= true then
error("The UMM mail interface needs to be open first before using the UMM_SendMoney() function.")
elseif _quality ~= nil and type(_quality) ~= "number" then
error("Argument #2 to UMM_SendAdvanced(): Expected type 'number', got '" .. type(_quality) .. "'")
elseif _reqlevel ~= nil and type(_reqlevel) ~= "number" then
error("Argument #3 to UMM_SendAdvanced(): Expected type 'number', got '" .. type(_reqlevel) .. "'")
end
printf("Sending items to ".._recipient.."...\n")
-- Open correct tab
RoMScript("UMMFrameTab1:Hide()") yrest(50)
RoMScript("UMMFrameTab2:Hide()") yrest(50)
RoMScript("UMMFrameTab3:Show();") yrest(50)
yrest(1000)
-- Selecting items
for item = 1, 30, 1 do -- for each inventory
local slotitem = inventory.BagSlot[item];
local slotNumber = slotitem.SlotNumber
-- Check all search terms
if (_quality == nil or slotitem.Quality <= _quality) and
(_reqlevel == nil or slotitem.RequiredLvl <= _reqlevel) then
-- mark to send
bagid = math.floor((slotNumber-1)/30+1)
slotid = slotNumber - (bagid * 30 - 30)
RoMScript("UMMMassSendItemsSlotTemplate_OnClick(_G['UMMFrameTab3BagsBag"..bagid.."Slot"..slotid.."'])")
yrest(250)
end
end
Hey Rock5, what happened to your Curse- Outpost regarding UMM? It suddenly disappeared, UMM is not downloadable from Curse anymore and the project page also doesnt exist
C3PO wrote:I have already seen, that there was a discussion about the sending gold, but the solution was linked to curse.com where it isn't available anymore.
I'm not sure what you are talking about. My mail userfunctions and my edited version of UltimateMailMod is on the first post of this thread. One of the userfunctions is for sending gold.
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.