Rock5's Mail Mods

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Mail Mods

#601 Post by rock5 » Fri Apr 11, 2014 9:10 pm

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.
  • 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

User avatar
Desmond
Posts: 184
Joined: Wed Jan 08, 2014 4:39 pm
Location: Ukraine

Re: Rock5's Mail Mods

#602 Post by Desmond » Sat Apr 12, 2014 10:43 am

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>

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Mail Mods

#603 Post by rock5 » Sat Apr 12, 2014 11:29 am

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?
  • 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

User avatar
Desmond
Posts: 184
Joined: Wed Jan 08, 2014 4:39 pm
Location: Ukraine

Re: Rock5's Mail Mods

#604 Post by Desmond » Sat Apr 12, 2014 12:15 pm

tiper not know that that last waypoint tiper identity not working

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Rock5's Mail Mods

#605 Post by noobbotter » Tue May 27, 2014 8:46 am

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.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Mail Mods

#606 Post by rock5 » Tue May 27, 2014 9:04 am

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.
  • 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

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Rock5's Mail Mods

#607 Post by noobbotter » Tue May 27, 2014 9:14 am

Ok, I'll check the ID of it tonight. Thanks.

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Rock5's Mail Mods

#608 Post by noobbotter » Tue May 27, 2014 4:50 pm

The ID of the mailbox in Muckgale Port (In Wailing Fjord) is 123006.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Mail Mods

#609 Post by rock5 » Tue May 27, 2014 8:22 pm

So there was no mail icon? Also, do you know if there are any other mailboxes in Wailing Fjord?
  • 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

ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Rock5's Mail Mods

#610 Post by ZZZZZ » Tue May 27, 2014 8:35 pm

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.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Mail Mods

#611 Post by rock5 » Tue May 27, 2014 9:23 pm

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.
  • 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

ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Rock5's Mail Mods

#612 Post by ZZZZZ » Fri May 30, 2014 12:40 am

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 :?

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Mail Mods

#613 Post by rock5 » Fri May 30, 2014 2:09 am

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.
  • 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

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Mail Mods

#614 Post by rock5 » Fri May 30, 2014 2:59 am

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 --
  • 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

ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Rock5's Mail Mods

#615 Post by ZZZZZ » Fri May 30, 2014 3:43 am

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)


User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Mail Mods

#616 Post by rock5 » Fri May 30, 2014 5:02 am

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.
  • 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

ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Rock5's Mail Mods

#617 Post by ZZZZZ » Fri May 30, 2014 7:15 am

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.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Mail Mods

#618 Post by rock5 » Fri May 30, 2014 8:23 am

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.
  • 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

ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Rock5's Mail Mods

#619 Post by ZZZZZ » Fri May 30, 2014 8:29 am

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 :D (Once the download link is fixed ;D )

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Mail Mods

#620 Post by rock5 » Fri May 30, 2014 8:32 am

Sorry. Last minute decided to add a longer yrest.
  • 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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest