Page 4 of 39

Re: Rock5's Mail Mods

Posted: Tue Oct 05, 2010 1:53 am
by Lorelei
Thanks Rock, you found the problem. I was using the include function, and it was interfering. Thanks so much! :)

Re: Rock5's Mail Mods

Posted: Wed Oct 06, 2010 4:10 pm
by Giram
Is it possible to exclude some items when using this command UMM_SendByQuality (Recipient, Quality)?

If i set it to send green items it also sends all guild runes and ancient mementos. At least tries to send mementos. Those are bound so it will skip those. I don't know if it might send other items also.

Re: Rock5's Mail Mods

Posted: Wed Oct 06, 2010 7:32 pm
by rock5
Giram wrote:Is it possible to exclude some items when using this command UMM_SendByQuality (Recipient, Quality)?

If i set it to send green items it also sends all guild runes and ancient mementos. At least tries to send mementos. Those are bound so it will skip those. I don't know if it might send other items also.
I would have to implement an "omit list". The command would look like UMM_SendByQuality (Recipient, Quality, OmitTable). It would be used like this,

Code: Select all

UMM_SendByQuality ("JoeBlack", 1, {"guild runes", "ancient mementos"})
Seems overly complex to me. And then of course some of the other mail functions might benefit from an omit list too.

These functions were primarily designed for 1-10 scripts so this function is working as intended. Are you sure you can't use different functions to select your items? What type of items do you send anyway?

Also what is the demand for this? Anyone else have a need for this functionality?

Re: Rock5's Mail Mods

Posted: Thu Oct 07, 2010 2:34 am
by Giram
I founded place where i can farm 3 types of dailies and those mobs drops lvl 60 green and blue items that is t4 stones so i send all items to alt when i go send dailies to other char. Now its sending also items that i don't want to be sent to other chars. Not very big problem. I can allways send them back.

Re: Rock5's Mail Mods

Posted: Thu Oct 07, 2010 2:59 am
by rock5
Giram wrote:I founded place where i can farm 3 types of dailies and those mobs drops lvl 60 green and blue items that is t4 stones so i send all items to alt when i go send dailies to other char. Now its sending also items that i don't want to be sent to other chars. Not very big problem. I can allways send them back.
I didn't think of that. Wouldn't white level 60 items also make t4s?

Re: Rock5's Mail Mods

Posted: Thu Oct 07, 2010 3:12 am
by Giram
I think white lvl 60 are t3. One of my guildie know those lvl's but i havent never learned how they go.

Blue lvl 54+ = t4
Purple lvl 50+ = t4
Green lvl 58+ = t4

Re: Rock5's Mail Mods

Posted: Tue Oct 12, 2010 2:50 pm
by atroxa
Just wanted to ask if its still working ?
Somehow by useing it withe the SendByNameOrId it doesn't find my Items, neither ID nor name.
perfectly say Items send, but nothing was send ;-)

UMM_SendByNameOrId ("character", {"german itemname"}); yrest(500);
with a little debuging it says slotNumber = -1, bagid = 0, slotid = 29
when I mark the item by hand it gets send.
Testet it with several items or ids but nothing happend. besides pbinfo i should have any addon interfering with the Bag slots.

Any Ideas, someone with the same Problem ?

Thanks

Re: Rock5's Mail Mods

Posted: Tue Oct 12, 2010 8:44 pm
by rock5
Giram wrote:I think white lvl 60 are t3. One of my guildie know those lvl's but i havent never learned how they go.

Blue lvl 54+ = t4
Purple lvl 50+ = t4
Green lvl 58+ = t4
That looks right. The way I understand it is
A white item level 60+ makes a t4, level 40 to 59 makes a t3, level 20 to 39 makes a t2 and level 1 to 19 makes a t1.

Green is equivalent to +2
Blue is equivalent to +6
Purple is equivalent to +10

So all your examples would be equivalent to level 60 whites which are t4. That's why I thought actual white level 60 items would make t4 mana stones. I guess it wouldn't be expensive to try. Just get a cheap random fusion stone and use it with a level 60 item and see what you get.

Re: Rock5's Mail Mods

Posted: Wed Oct 13, 2010 2:00 am
by swietlowka
u have preview also ;)

Re: Rock5's Mail Mods

Posted: Wed Oct 13, 2010 2:22 am
by rock5
swietlowka wrote:u have preview also ;)
You talking of ItemPreview? I didn't think of that. I can't check it now as my database is out of date. Does it show level 60 white items as t3? If so, I still wonder if fusing a white level 60 item will give you a t4 anyway?

Re: Rock5's Mail Mods

Posted: Wed Oct 13, 2010 4:14 am
by swietlowka
nope, i was talking about preview in the arcane transmutor ;P
i heard that lvl 60 whites give a t4 ms, but i can't tell for sure since i never had any lvl 60 white item myself, it seems they are rear for some reason, anyway those 58+ green doesnt show as t4 untill put in AT and look at preview

Re: Rock5's Mail Mods

Posted: Wed Oct 13, 2010 10:04 am
by Giram
I think there isn't lvl 60 white items. There is also bug or feature where lvl 54+ blue crafted items are t3.

Re: Rock5's Mail Mods

Posted: Wed Oct 13, 2010 8:22 pm
by poper
I cant get this to work correctly at all... It will sent the mail if I manually select the Item. But it wont Select the Item Auto. I Made a Test Script that just Re-sends one item over and over. This doesn't work I am standing Next to the Mail box with it open. It will put the characters name into the sent slot, but wont Select the Item.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>

<!-- #  1 --><waypoint x="-4227" z="6795">
    UMM_SendByNameOrId("character Name",{"Simple First Aid Potion"})
	</waypoint>
	
</waypoints>

Any tips would be great. (This is my test one, My real WP is a bit longer)

EDIT: I just had to update ROM to 506... LOL working Great now!!!

Re: Rock5's Mail Mods

Posted: Sun Oct 17, 2010 7:16 am
by WhiteTiger
I'm getting an error sometimes when I use it. Says its on line 295 in ur function. Can u look it up?:/

Re: Rock5's Mail Mods

Posted: Sun Oct 17, 2010 6:58 pm
by rock5
WhiteTiger wrote:I'm getting an error sometimes when I use it. Says its on line 295 in ur function. Can u look it up?:/
I don't know what you mean. My functions file only goes upto line 262.

Maybe posting the error message might be helpful?

Re: Rock5's Mail Mods

Posted: Sat Oct 30, 2010 5:18 am
by uelkfr

Code: Select all

inventory:update();
yrest(200);
player:target_Object(112113);
yrest(200);
UMM_SendByNameOrId("Mylittletwink", {207438});
It's strange. It worked yesterday, but today something happened:

Code: Select all

ROMBot/scripts/rom/userfunctions/addon_Rock5s_Mail_Functions.lua:203: bad argument #1 to 'lower' (string expected, got nil)
After 1 hour: Hmm, working again.

Re: Rock5's Mail Mods

Posted: Sat Oct 30, 2010 6:42 pm
by rock5
uelkfr wrote:

Code: Select all

inventory:update();
yrest(200);
player:target_Object(112113);
yrest(200);
UMM_SendByNameOrId("Mylittletwink", {207438});
It's strange. It worked yesterday, but today something happened:

Code: Select all

ROMBot/scripts/rom/userfunctions/addon_Rock5s_Mail_Functions.lua:203: bad argument #1 to 'lower' (string expected, got nil)
After 1 hour: Hmm, working again.
That seems to indicate a problem with the name of an item in your inventory. I believe some items have problems with their names, like recipes for instance.

Edit: I've added item names to recipes in revision 516.

Re: Rock5's Mail Mods

Posted: Wed Nov 03, 2010 6:47 pm
by bolli
Sry a very short question i will set the subject by myself when i send gold. After a short look in the code i think this should work:

-- Set Subject
RoMScript("UMMFrameTab2ComposerHeaderSubject:SetText(".._subject..");")

but nothing happen. I don't found a solution, do you have a hint for me.


Thx

Re: Rock5's Mail Mods

Posted: Wed Nov 03, 2010 10:22 pm
by rock5
bolli wrote:Sry a very short question i will set the subject by myself when i send gold. After a short look in the code i think this should work:

-- Set Subject
RoMScript("UMMFrameTab2ComposerHeaderSubject:SetText(".._subject..");")

but nothing happen. I don't found a solution, do you have a hint for me.


Thx
The servers are down at the moment but...

The Subject changes when the money is added so you would have to change the Subject after adding the money. Did you add those lines after the "Set Money" section?

Also did you assign a value to _subject(I'm assuming you changed the function start to 'function UMM_SendMoney(_recipient, _amount, _subject)' or something like that)?

Re: Rock5's Mail Mods

Posted: Fri Nov 12, 2010 5:31 am
by bolli
Thx for the answer,

yes i copy your function and set the subject after the set money part. I don't find a solution for that, but i use now files to communicate between the chars.

hf