Page 1 of 1
Suggestion: Auto load default profile.
Posted: Sat May 07, 2011 10:55 pm
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?
Re: Suggestion: Auto load default profile.
Posted: Sat May 07, 2011 11:18 pm
by Alkaiser
Yes! I've always wondered why the default profile wasn't loaded when a named profile wasn't found.
Re: Suggestion: Auto load default profile.
Posted: Sun May 08, 2011 1:57 am
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.
Re: Suggestion: Auto load default profile.
Posted: Sun May 08, 2011 2:43 am
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?
Re: Suggestion: Auto load default profile.
Posted: Sun May 08, 2011 5:52 am
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 =)
Re: Suggestion: Auto load default profile.
Posted: Sun May 08, 2011 8:20 am
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.
Re: Suggestion: Auto load default profile.
Posted: Sun May 08, 2011 9:10 am
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
Re: Suggestion: Auto load default profile.
Posted: Sun May 08, 2011 10:02 am
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.
Re: Suggestion: Auto load default profile.
Posted: Sun May 08, 2011 11:11 am
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

Re: Suggestion: Auto load default profile.
Posted: Sun May 08, 2011 11:38 am
by rock5
Ok. Committed to rev 603.