Page 31 of 39
Re: Rock5's Mail Mods
Posted: Fri Apr 11, 2014 9:10 pm
by rock5
It doesn't matter what name it has, it should work. If you are relogging near the mail box, make sure you do a player:update()before accessing the mail box. And make sure you close the mail box before relogging. Use RoMScript("UMMFrame:Hide()") before relogging.
Re: Rock5's Mail Mods
Posted: Sat Apr 12, 2014 10:43 am
by Desmond
No I do not use. Generally not only the mail does not open nothing not even buy stones shop.Here is the code
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="31870" z="4581" y="3"> </waypoint>
<!-- # 2 --><waypoint x="31912" z="4529" y="4"> </waypoint>
<!-- # 3 --><waypoint x="31984" z="4419" y="21"> </waypoint>
<!-- # 4 --><waypoint x="31938" z="4360" y="33"> </waypoint>
<!-- # 5 --><waypoint x="31872" z="4298" y="39"> </waypoint>
<!-- # 6 --><waypoint x="31824" z="4182" y="34"> </waypoint>
<!-- # 7 --><waypoint x="31823" z="4055" y="11"> </waypoint>
<!-- # 8 --><waypoint x="31798" z="3914" y="-7"> </waypoint>
<!-- # 9 --><waypoint x="31784" z="3760" y="-14"> </waypoint>
<!-- # 10 --><waypoint x="31782" z="3598" y="-15">
</waypoint>
accountpw = {
[1] = "km80673460297",
[2] = "km80681852902",
[3] = "di628781",
}
BuyFromItemShop(829, accountpw[getAcc()], 1)
UMM_TakeMail ()
Fusion_MakeMaxManaStones ()
UMM_SendByNameOrId("Islan","202844",9)
<!-- # 11 --><waypoint x="31771" z="3607" y="-16"> </waypoint>
<!-- # 12 --><waypoint x="31769" z="3728" y="-14"> </waypoint>
<!-- # 13 --><waypoint x="31799" z="3928" y="-6"> </waypoint>
<!-- # 14 --><waypoint x="31833" z="4134" y="28"> </waypoint>
<!-- # 15 --><waypoint x="31848" z="4299" y="38"> </waypoint>
<!-- # 16 --><waypoint x="31959" z="4356" y="36"> </waypoint>
<!-- # 17 --><waypoint x="31955" z="4430" y="15"> </waypoint>
<!-- # 18 --><waypoint x="31904" z="4516" y="4"> </waypoint>
<!-- # 19 --><waypoint x="31873" z="4579" y="3"> </waypoint>
</waypoints>
Re: Rock5's Mail Mods
Posted: Sat Apr 12, 2014 11:29 am
by rock5
Desmond wrote:UMM_SendByNameOrId("Islan","202844",9)
You wrote the id as a string instead of a number. This is a string, "202844". This is a number, 202844. Try
Code: Select all
UMM_SendByNameOrId("Islan",202844,9)
Didn't I already show you how to write this properly? Why did you add the quotes?
Re: Rock5's Mail Mods
Posted: Sat Apr 12, 2014 12:15 pm
by Desmond
tiper not know that that last waypoint tiper identity not working
Re: Rock5's Mail Mods
Posted: Tue May 27, 2014 8:46 am
by noobbotter
Yesterday, I noticed while running some new code in the new port (can't remember name. It's the Wailing Fjord main area), Although I was standing right next to the mailbox, the bot used a convenient mailbox ticket when it ran the UMM_SendAdvanced command. It seems to be doing it every time in that area, but in Varanas Central, it is working normal (opening mailbox vice using a ticket). Was there an update to fix this or is this something that needs to be done yet? Thanks.
Re: Rock5's Mail Mods
Posted: Tue May 27, 2014 9:04 am
by rock5
Nearly all mailboxes have the same mail icon which is what the userfunction looks for. This icon has the same id even if the mailbox doesn't. There is an exception to this, it's the Hyern mailbox. If I remember correctly it didn't have the icon so an exception was added to the userfunction. Maybe the Wailing Fjord one needs an exception added for it as well.
The mail icon has an id of 110986. If you do a search for this using player:findNearestNameOrId and don't find it then we'll have to add the mailbox id as an exception like the Hyern one. I don't have access to Wailing Fjord myself so I can't check it.
Re: Rock5's Mail Mods
Posted: Tue May 27, 2014 9:14 am
by noobbotter
Ok, I'll check the ID of it tonight. Thanks.
Re: Rock5's Mail Mods
Posted: Tue May 27, 2014 4:50 pm
by noobbotter
The ID of the mailbox in Muckgale Port (In Wailing Fjord) is 123006.
Re: Rock5's Mail Mods
Posted: Tue May 27, 2014 8:22 pm
by rock5
So there was no mail icon? Also, do you know if there are any other mailboxes in Wailing Fjord?
Re: Rock5's Mail Mods
Posted: Tue May 27, 2014 8:35 pm
by ZZZZZ
Only the 1 mail box in Wailing Fjord. The ID is 123006 as noobbotter said, but the difference with this mail box is that you have to target it first, then click a second time to open it. Doesn't just open on first click like the majority do.
Re: Rock5's Mail Mods
Posted: Tue May 27, 2014 9:23 pm
by rock5
ZZZZZ wrote:the difference with this mail box is that you have to target it first, then click a second time to open it
That shouldn't be a problem because the open mailbox function uses target_NPC which double clicks anyway. So that wouldn't be the reason it didn't work.
Re: Rock5's Mail Mods
Posted: Fri May 30, 2014 12:40 am
by ZZZZZ
I'm not sure what is going on, but my UMM won't take all mail or delete any of the already opened/taken mail. redownloaded both the files on 1st page again and it was the same deal, tried the latest UMM release on Curse and it did the same thing too.
It takes 5-6 items and leaves the rest, when I had 63 items to collect and leaves empty mail. It had been leaving empty mail for a while on my alts that receive daily items via mail, that didn't bother me but now that im trying to make a heap of T11 stones it's becoming an issue

Re: Rock5's Mail Mods
Posted: Fri May 30, 2014 2:09 am
by rock5
Seems the last changes I made to the userfunction, to fix a problem with it getting stuck, doesn't work like I intended. I'm working on it.
Re: Rock5's Mail Mods
Posted: Fri May 30, 2014 2:59 am
by rock5
See if this works. BTW I think the problem was introduced in version 1.83. And to those who already reported this, sorry I didn't fix this earlier.
- -- Attachment deleted. First post updated --
Re: Rock5's Mail Mods
Posted: Fri May 30, 2014 3:43 am
by ZZZZZ
Got this with both your UMM and the Curse 1:
Code: Select all
The game client did not crash.
2014-05-30 18:42:24 - IGF:\UMMFrameTab1Tools:ButtonClick('take');\:IGF [string "
?"]:54: attempt to concatenate field 'Subject' (a nil value)
Re: Rock5's Mail Mods
Posted: Fri May 30, 2014 5:02 am
by rock5
I don't know. That doesn't really make sense. Are you sure? Something you need to remember is if you are trying different addons you can't just rename them because they will still be loaded.
Re: Rock5's Mail Mods
Posted: Fri May 30, 2014 7:15 am
by ZZZZZ
Wasn't due to multiple addons, deleted the other before putting the next 1 in....but then, I have no idea what caused it anyway, when I ran UMM_TakeMail() it worked fine, then after that it worked in waypoint too.....so im completely lost on that one lol.
So far the fix to the Userfunction is working, takes all and delete mail properly.
Re: Rock5's Mail Mods
Posted: Fri May 30, 2014 8:23 am
by rock5
I've done some extra stuff.
- - Added a function to delete empty mails, UMM_DeleteEmptyMail().
- Made it so it closes any open mails if you accidentally left 1 open.
- Increased the pause in the loop in the take function.
Version 1.84b3
- -- Attachment deleted. First post updated --
BTW I noticed it doesn't work properly if "Delete mails when done taking" isn't checked. Just something to keep in mind. I had a bit of a look to see if i could make it work but it was too hard. I don't know if the curse version is the same or not.
Re: Rock5's Mail Mods
Posted: Fri May 30, 2014 8:29 am
by ZZZZZ
damn haha, I just added my own delete function and was trying to figure out how to count empty mail xD
Only had this so far lol
Code: Select all
function UMM_DeleteAllEmptyMail()
RoMCode("UMMFrameTab1Tools:ButtonClick('tagempty');")
yrest(100);
RoMCode("UMMFrameTab1Tools:ButtonClick('Delete');");
yrest(2000);
end
Will look at how you did it

(Once the download link is fixed ;D )
Re: Rock5's Mail Mods
Posted: Fri May 30, 2014 8:32 am
by rock5
Sorry. Last minute decided to add a longer yrest.