Page 1 of 1

RoM-Bot Feature Suggestion

Posted: Sun Aug 18, 2013 6:33 pm
by Bill D Cat
I've been getting more and more into coding simple waypoints to automate some repetitive tasks. Right now I think I'll leave Instance runs and such to the more advanced users. My suggestion involves adding another field to the <waypoint> </waypoint> declarations. What I'd like to see is some type of comment or note tag that would be appended in the MicroMacro window after each "Moving to waypoint #x" message if present. Of course a user profile setting to suppress the printing of these comments could be done as well.

I've spent quite a bit of time creating detailed waypoints for a full run-through of Howling Mountains, and this would have been a great help in debugging them. I think the comment should be limited to around 30 characters or so otherwise it would cause some wordwrap issues and make the output window a little more difficult to read.

So here's my suggestion for how this might look in a waypoint file:

Code: Select all

	<!-- #  2 --><waypoint x="6315" z="4995" y="168" note="Enter Inferno Gardens">	</waypoint> 
And in the MicroMacro output window you would see:

Code: Select all

Moving to waypoint #2, (6315, 4995) >> Enter Inferno Gardens
Or even just give the note a different color like cyan or yellow so it stands out.

Re: RoM-Bot Feature Suggestion

Posted: Sun Aug 18, 2013 11:20 pm
by rock5
Hm... I think it's unnecessary. I know the waypoint number it says it's going to is usually wrong but you can look at the coordinates to know for sure which way point it is.

If you do want it to print messages to help you keep track of where you are you can just do

Code: Select all

<!-- #  2 --><waypoint x="6315" z="4995" y="168"> print("Enter Inferno Gardens")   </waypoint> 
Which is just as easy to write.

Re: RoM-Bot Feature Suggestion

Posted: Sun Aug 18, 2013 11:37 pm
by Bill D Cat
True, but it prints the comment on the next line, which is what I had hoped to avoid. And if I want to turn it back off later I'd have to edit all those lines again which would make toggling the output a bit difficult. Just figured it would help anyone who release their waypoints to the public a better way to see what's going on in screen grabs or text captures. I guess I'm just one of those people who likes options upon options :twisted:

I'll figure something out for my personal use regardless.

Re: RoM-Bot Feature Suggestion

Posted: Mon Aug 19, 2013 4:04 am
by rock5
Bill D Cat wrote:but it prints the comment on the next line, which is what I had hoped to avoid
True but it would still be effective and can be done without adding to the bots code complexity.
Bill D Cat wrote:And if I want to turn it back off later I'd have to edit all those lines again which would make toggling the output a bit difficult.
Wouldn't you also have to edit all those lines again to remove note="Enter Inferno Gardens"? Or are you talking about disabling the option? Well you could do something like this.

Code: Select all

<onload>
printNoteEnabled = true

function printnote(text)
    if printNoteEnable then
        print(text)
    end
end
</onload>
Then you can use

Code: Select all

<!-- #  2 --><waypoint x="6315" z="4995" y="168"> printnote("Enter Inferno Gardens")   </waypoint>
And you can easily enable/disable it by changing printNoteEnabled . You don't even need to open another file like you would if you were using a profile option.
Bill D Cat wrote: I guess I'm just one of those people who likes options upon options :twisted:
I would guess there are a lot more noobs using the bot than advanced users who know what they are doing. So one of our main objectives is to keep thing simple and not add complexity if not necessary. I think this is one of those times.