Help with volcanic mud and mailbox
Help with volcanic mud and mailbox
Trying to farm the 20 items for the quest, use my convenient mailbox, send to my alt, then continue harvesting. I've loaded the two addons from rock5 from http://www.solarstrike.net/phpBB3/viewt ... =27&t=1561 but whenever my waypoint file finishes farming at point 18 it errors out. The mailbox is opened. Could someone please help me script this out?
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 18 --><waypoint x="-11235" z="22618">
player:target_Object("Mailbox",1000)
UMM_SendByNameOrId ("XXX", {Flaming Volcanic Mud})
</waypoint>
</waypoints>
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 18 --><waypoint x="-11235" z="22618">
player:target_Object("Mailbox",1000)
UMM_SendByNameOrId ("XXX", {Flaming Volcanic Mud})
</waypoint>
</waypoints>
Last edited by smike47 on Mon Jan 10, 2011 7:54 pm, edited 1 time in total.
Re: Help with volcanic mud and mailbox
Firstly, don't forget to put any code in code tags.
Secondly, an error message would be helpful.
Thirdly, 'player:target_Object("Mailbox",1000)' can only be used if there is a mailbox nearby. If you are using the convenient mailbox you wouldn't use that.
I'm not sure what command you would use to open the convenient mailbox. How would you normally use it? Right click it? If so then this should work,
Secondly, an error message would be helpful.
Thirdly, 'player:target_Object("Mailbox",1000)' can only be used if there is a mailbox nearby. If you are using the convenient mailbox you wouldn't use that.
I'm not sure what command you would use to open the convenient mailbox. How would you normally use it? Right click it? If so then this should work,
Code: Select all
inventory:useItem("Convenient Mailbox")- 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
Re: Help with volcanic mud and mailbox
thanks for the quick response...
" don't forget to put any code in code tags"
- What do you mean? Was i already missing a code tag?
"an error message would be helpful"
I incorrectly inserted the code to send mail before ending waypoint #18. Fixed that. now just trying to get it to send to my alt
As for the mailbox:
-I manually open the first convienent mailbox and just leave it open on the screen... will i need to open a new one each time?
So would I be running:
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 18 --><waypoint x="-11235" z="22618">
</waypoint>
UMM_SendByNameOrId ("XXX", {Flaming Volcanic Mud}
</waypoints>
" don't forget to put any code in code tags"
- What do you mean? Was i already missing a code tag?
"an error message would be helpful"
I incorrectly inserted the code to send mail before ending waypoint #18. Fixed that. now just trying to get it to send to my alt
As for the mailbox:
-I manually open the first convienent mailbox and just leave it open on the screen... will i need to open a new one each time?
So would I be running:
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 18 --><waypoint x="-11235" z="22618">
</waypoint>
UMM_SendByNameOrId ("XXX", {Flaming Volcanic Mud}
</waypoints>
Re: Help with volcanic mud and mailbox
Whenever you write code in a post, select it all and click the Code button at the top of the edit box. Code should look like this.smike47 wrote: " don't forget to put any code in code tags"
- What do you mean? Was i already missing a code tag?
Code: Select all
command line 1
command line 2In that case that should work. The mail functions just require that the UMM mail interface be open.smike47 wrote:As for the mailbox:
-I manually open the first convienent mailbox and just leave it open on the screen... will i need to open a new one each time?
So would I be running:
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints> <!-- # 18 --><waypoint x="-11235" z="22618"> </waypoint> UMM_SendByNameOrId ("XXX", {Flaming Volcanic Mud} </waypoints>
So that is how they work? Once open, they stay open for the whole session? So if you were playing manually it would be a nuisance because it covers most of the screen? There's no way to minimize it or something?
- 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
Re: Help with volcanic mud and mailbox
Correct.. its Gigantic. But not a problem if i'm just farming mud. However, its not sending to my character. it seems to completely skip that part. No errors or anything. It just continues to waypoint 1.
UMM_SendByNameOrId ("XXX", {Flaming Volcanic Mud}
is how its listed, with my alts name as "XXX" of course
UMM_SendByNameOrId ("XXX", {Flaming Volcanic Mud}
is how its listed, with my alts name as "XXX" of course
Re: Help with volcanic mud and mailbox
On second glance that wont work because you have the command outside of the waypoint tags. All lua code has to be between 'waypoint' or 'onLoad' open and close tags. This is a waypoint open tag "<waypoint>" and this is a waypoint close tag "</waypoint>". And of course everything has to be between 'waypoints' tags.
So
I hope that makes things clearer.
So
Code: Select all
<waypoints>
<onLoad> code here will execute </onload>
code here will not execute
<waypoint x="nn" z= "nn"> code here will execute </waypoint>
<waypoint x="nn" z= "nn">
code here will execute
</waypoint>
code here will not execute
</waypoints>- 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
Re: Help with volcanic mud and mailbox
You are also missing a bracket and quotes around the item name. And if you are only sending 1 item it's not necessary to put it in table brackets.smike47 wrote:UMM_SendByNameOrId ("XXX", {Flaming Volcanic Mud}
Code: Select all
UMM_SendByNameOrId ("XXX", "Flaming Volcanic Mud")- 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
Re: Help with volcanic mud and mailbox
So should it look like this? If not, then im not following where that command should fall... in my waypoint file or in my characterprofile.xml in the onload section?
Last edited by smike47 on Tue Jan 11, 2011 8:13 pm, edited 1 time in total.
Re: Help with volcanic mud and mailbox
Yes, that's correct but you are still missing a bracket at the end of the command.smike47 wrote:So should it look like this? If not, then im not following where that command should fall... in my waypoint file or in my characterprofile.xml in the onload section?Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints> <!-- # 17 --><waypoint x="-11235" z="22618">player:target_Object("Volcanic Mud", 6000, false, false) </waypoint> <!-- # 18 --><waypoint x="-11235" z="22618"> UMM_SendByNameOrId ("XXX", "Flaming Volcanic Mud" </waypoint> </waypoints>
- 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
Re: Help with volcanic mud and mailbox
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 17 --><waypoint x="-11235" z="22618">player:target_Object("Volcanic Mud", 6000, false, false) </waypoint>
<!-- # 18 --><waypoint x="-11235" z="22618">UMM_SendByNameOrId ("XXX", "Flaming Volcanic Mud")
</waypoint>
</waypoints>
Code: Select all
/addon_Rock5s_Mail_Functions.lua:190: Argument #2 to UMM_SendByNameOrId<>: Expected type 'table', got 'string'Re: Help with volcanic mud and mailbox
That's strange. I could have swore that if it's a string it would put it in a table automatically. I must be remembering doing something similar elsewhere. In player:target_Object() for example. 
Just put the item back in table brackets again.
Just put the item back in table brackets again.
Code: Select all
UMM_SendByNameOrId ("XXX", {"Flaming Volcanic Mud"})- 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
Re: Help with volcanic mud and mailbox
Yeah, i finally got it... and it starts to work... however now i get:
Also, how can i add a quantity limit before sending... once quantity hits 20, then sent items.
Code: Select all
Sending items to XXX...
...ts/rom/userfunctions/addon_Rock5s_Mail_Functions.lua:204: attempt to index lo
cal 'slotitem' (a nil value)
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
Also, how can i add a quantity limit before sending... once quantity hits 20, then sent items.
Last edited by smike47 on Tue Jan 11, 2011 8:13 pm, edited 1 time in total.
Re: Help with volcanic mud and mailbox
Try this,
For the error I was going to suggest doing an inventory:update() but itemTotalCount does it when it runs.
Code: Select all
if inventory:itemTotalCount("Flaming Volcanic Mud") > 19 then
UMM_SendByNameOrId ("XXX", "Flaming Volcanic Mud")
end- 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
Re: Help with volcanic mud and mailbox
I just thought of something else. Make sure you have the latest version of the mailmods userfunctions. It's currently version 1.52.
- 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
Re: Help with volcanic mud and mailbox
Still and error:
Rock, thanks for helping man.
edit. I do if its the one in the main thread "Attachment:
File comment: Version 1.52
Fixed typo.
addon_Rock5s_Mail_Functions.lua [11.71 KiB]
Downloaded 79 times "
Code: Select all
moving to waypoint #18, <-1124, 22433>
Sending items to XXX
...ts/rom/userfunctions/addon_Rock5s_Mail_Functions.lua:204: attempt to index local 'slotitem' <a nil value>
edit. I do if its the one in the main thread "Attachment:
File comment: Version 1.52
Fixed typo.
addon_Rock5s_Mail_Functions.lua [11.71 KiB]
Downloaded 79 times "
Re: Help with volcanic mud and mailbox
still failing with the nil value problem
Last edited by smike47 on Tue Jan 11, 2011 8:14 pm, edited 1 time in total.
Re: Help with volcanic mud and mailbox
Hm.. I'm a bit confused by this.
What version of the bot are you using? Is it installed correctly? ie. no conflicts.
What version of the bot are you using? Is it installed correctly? ie. no conflicts.
- 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
Re: Help with volcanic mud and mailbox
Using micromacro, modified Ultimate Mail Mod addon with Version 1.52 addon_Rock5s_Mail_Functions.lua
I get no operations errors. I've restarted the PC as well. The bot harvests 20 of the items, then tries to send using the convenient mailbox. However i notice it never types in the name of who i'm sending it to. It highlights the item, then stops.
I get no operations errors. I've restarted the PC as well. The bot harvests 20 of the items, then tries to send using the convenient mailbox. However i notice it never types in the name of who i'm sending it to. It highlights the item, then stops.
Re: Help with volcanic mud and mailbox
Now we're getting somewhere. So it highlights the item before getting the error? That implies the error is with the range. Does it highlight the correct item? Did you change the UMM_FromSlot or UMM_ToSlot at the beginning of the file? Have you ever edited inventory.lua line 12?smike47 wrote:Using micromacro, modified Ultimate Mail Mod addon with Version 1.52 addon_Rock5s_Mail_Functions.lua
I get no operations errors. I've restarted the PC as well. The bot harvests 20 of the items, then tries to send using the convenient mailbox. However i notice it never types in the name of who i'm sending it to. It highlights the item, then stops.
Code: Select all
self.MaxSlots = 240Code: Select all
if slotitem == nil then print(item) endI gotta go. I'll be back later.
- 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
Re: Help with volcanic mud and mailbox
So it highlights the item before getting the error? That implies the error is with the range. Does it highlight the correct item? Did you change the UMM_FromSlot or UMM_ToSlot at the beginning of the file? Have you ever edited inventory.lua line 12?
Yeah, it highlights the right it item. I haven't changed anything with the addon.lua
Yeah, it highlights the right it item. I haven't changed anything with the addon.lua