Is language[15] still usefull?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Is language[15] still usefull?

#1 Post by Bill D Cat » Sun Nov 23, 2014 1:20 pm

Code: Select all

	[15] = "Waypoint #%d is closer then #1. Hence we start with waypoint #%d.\n",
Referenced in functions.lua around line 650.

I was playing around with some of my older waypoint scripts and noticed that this was still in the bot. With the implementation of the resume feature, I was curious if this was still a useful feature to have in the bot. Most of my waypoint files now start with this code in the <onload> section.

Code: Select all

	<onload>
		if not __WPL.ResumePoint then
			__WPL:setWaypointIndex(1)
		end
	</onload>
If this code wasn't present, the bot would be trying to start a waypoint file somewhere in the middle even if the resume option wasn't selected from the menu. Most noticeable to me are my Elven Island and Yrvandis Hollows waypoint series. Is there any other reason to start a waypoint file somewhere in the middle of it without explicitly using the resume feature?

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: Is language[15] still usefull?

#2 Post by BlubBlab » Sun Nov 23, 2014 2:19 pm

I'm not sure I don't know much about the resume function but in theory it allow you to start the script somewhere else along the road which can go crazy when you have a (one)script with multiply zones.

Because of this I want to add in my DP bot not only xyz but also the zone.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

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

Re: Is language[15] still usefull?

#3 Post by rock5 » Sun Nov 23, 2014 9:11 pm

Using the resume option is optional. By default the bot finds the nearest waypoint to start from. So it can be resumed if stopped in the middle of a script. This is by design.

The purpose of the resume feature is for waypoints that crisscross over itself that might resume from the wrong waypoint when you need it to resume from the right one. Probably most waypoint files either don't crisscross or it doesn't matter which waypoint it resumes from, so the old feature is still very useful. It's mainly for chained complex waypoint files, such as your Elven Island and Yrvandis Hollow series, that the resume feature is needed.
  • 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: Bing [Bot] and 3 guests