Page 39 of 39

Re: Rock5's Mail Mods

Posted: Wed Feb 28, 2018 5:29 am
by nerf
I copied and pasted this,

Code: Select all

UMM_SendByNameOrId("CharacterName",{"123456"})
and it works, but it sends all the elements to the recipient, what I want is to send a stack of 50, I know it is possible, but I do not know how to add what is missing.

Re: Rock5's Mail Mods

Posted: Wed Feb 28, 2018 4:54 pm
by Rickster
Try this:

UMM_SendAdvanced(_recipient, _itemTable, _quality, _reqlevel, _worth, _objtype, _statNo, _dura, _amount, _stacksize, _fusedtier)

Code: Select all

UMM_SendAdvanced("CharacterName",{"123456"}, nil, nil, nil, nil, nil, nil, nil, 50, nil)

Re: Rock5's Mail Mods

Posted: Thu Mar 01, 2018 9:38 am
by nerf
thanks Rickster!

Re: Rock5's Mail Mods

Posted: Thu Nov 05, 2020 2:20 pm
by lolilol666
Hello,

I try to use Mail mod,

But i Have this error :
2020-11-05 20:15:19 - ...cripts/rom/userfunctions/addon_Rock5s_Mail_Functions.lua:57: attempt to concatenate local 'slotid' (a nil value)

When I use this

Code: Select all

UMM_SendByRange("Charaname", 61, 240)
Do you know why?

Best regards

Re: Rock5's Mail Mods

Posted: Thu Nov 05, 2020 4:49 pm
by Administrator
Just took a look and it seems like it was because there was a misalignment with the slot numbers and so it intended to mark an item from your bag (slot 61, for example) but was instead attempting to mark an item from itemshop bag (slot 1) which may or may not exist; if it didn't, you'd get that error.

Easy fix. However, keep in mind that as of a few months ago, they changed how the inventory slot numbers work. As you're using it, it isn't very problematic though. But if you had configured a range of say, 61-66, you might expect that to correspond to the top row of your first bag, when it actually will be seemingly random items in the first bag (RoM jumbles the indexes around every time you "organize" a bag).

Anyways, go ahead and update your RoM bot files then re-copy the mailmod folder over to the RoM interface addons folder, restart the game, and it should be working again.

Re: Rock5's Mail Mods

Posted: Sat May 14, 2022 1:20 pm
by mattstar81
Hello,
i have this Problem

2022-05-14 20:18:50 - ...xxx/addon_Rock5s_Mail_Functions.lua:118: bad argument #1 to 'tonumber' (value expected)

this is my wp

UMM_SendByRange("xxx",61, 120)

could someone help me

Re: Rock5's Mail Mods

Posted: Sat May 21, 2022 9:23 am
by Administrator
I'm not able to reproduce this issue.

Please ensure that you have the RoM bot scripts fully updated; either download the latest source and overwrite ALL local files (will not modify your profiles or anything), or use the rombot_updater tool included in the rom-bot folder (if you don't see it, you're out of date).

If that doesn't work, please try re-copying all of the contents (the 4 folders) of the
devtools
folder into your Runes of Magic
Interface/Addons/
directory.