Suggestion: Auto load default profile.

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Suggestion: Auto load default profile.

#1 Post by rock5 »

Is there any reason why we can't have the bot load a default profile if no character specific one exists?

This would mainly be useful for people that create temporary characters for transmutor charge farming for example. It saves them from having to type "rom/bot profile:default" all the time.

I see a problem auto loading default.xml. If the user tweaks it, it will conflict when updated. What I suggest is the bot checks for a different file name such as "userdefault.xml". If it exists then it gets loaded. If a user wants it to be able to auto load a default profile they would copy default.xml to userdefault.xml and modify userdefault.xml to their needs. That way default.xml can remain unchanged.

Is that clear enough? How does it sound?
  • 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
Alkaiser
Posts: 222
Joined: Sat Sep 25, 2010 2:03 pm

Re: Suggestion: Auto load default profile.

#2 Post by Alkaiser »

Yes! I've always wondered why the default profile wasn't loaded when a named profile wasn't found.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Suggestion: Auto load default profile.

#3 Post by lisa »

So if no profile is stated in the rom/bot.lua then it will check for the playersname.xml and if doesn't exist it would load userdefault.xml and if doesn't exist would error out just like it does now?

I just have a generic name for such things like, arc.xml and just use rom/bot.lua profile:arc. and arc.xml loads the WP i want for that char.

Because either way you need to specify a profile or a path.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Suggestion: Auto load default profile.

#4 Post by rock5 »

lisa wrote:So if no profile is stated in the rom/bot.lua then it will check for the playersname.xml and if doesn't exist it would load userdefault.xml and if doesn't exist would error out just like it does now?
Yes, exactly like that.

So do you like the idea?
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Suggestion: Auto load default profile.

#5 Post by lisa »

For some it would probably make it easier for them to do what they do. I rarely use the same WP though so it wouldn't do much for me.
I think if people did a lot of diff chars on same WP they could easily make a .bat file to start it up with profile set.
You never know it might come in very handy in the future =)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Suggestion: Auto load default profile.

#6 Post by rock5 »

lisa wrote:I rarely use the same WP though so it wouldn't do much for me.
What does WPs have to do with profiles?
lisa wrote:I think if people did a lot of diff chars on same WP they could easily make a .bat file to start it up with profile set.
Yeh maybe. I'm not suggesting that my suggestion would solve everyone's problems, I'm just saying it would be a useful feature to save having to use "profile:default" in some situations. This way people wont feel the need to create a character profile, just to avoid having to use a forced profile. They can wait until they actually need one.

Just to make it clear how this will work, what will happen is, if the user types "rom/bot" with a character that doesn't have a profile yet and userdefault.xml exists, then it will load userdefault.xml and then display the waypoint list.
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Suggestion: Auto load default profile.

#7 Post by lisa »

rock5 wrote:
lisa wrote:I rarely use the same WP though so it wouldn't do much for me.
What does WPs have to do with profiles?
Well you would add in a WP name into the profile so you can just do "rom/bot.lua" if you don't add the WP name into the profile then you would need to do "rom/bot.lua path:eggs.xml"

I figure if you want to reduce typing then adding the WP name to profile is a good way to do it =)

I personally just have different profiles for different farming like that.
So egg.xml for the millers ranch and in the profile it has the WP name so I just do "rom/bot.lua profile:egg"
"rom/bot.lua profile:110human" for my human 1-10 WP files.
that sort of thing
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Suggestion: Auto load default profile.

#8 Post by rock5 »

I see. So you could have a batch file run the bot with that profile to make it even easier.

There are probably lots of ways that users could implement ways to make things easier for themselves, yours is one way. And I guess this suggested feature wouldn't help you.

I think this feature would mostly only be helpful to users who use the bot the normal way, ie. "rom/bot" then selecting a waypoint file.

So I take it you're not against the idea just don't need it? So that's 1 positive comment and 1 neutral. I was expecting more interest. I think I'll implement it anyway, it wouldn't hurt. I've already written it up anyway.
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Suggestion: Auto load default profile.

#9 Post by lisa »

yeah I'm deffinately not against the idea, I'm sure there are people who will find it helpful and as I said you never know it might become very helpful in the future ;)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Suggestion: Auto load default profile.

#10 Post by rock5 »

Ok. Committed to rev 603.
  • 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