Page 1 of 1
do you have to use the .xml named after the character
Posted: Fri Aug 27, 2010 7:41 am
by fred55555
I am still farly new to the scripting, but i have a few working fine.
I was wondering is there a way to run different .xlm scripts on the same character with out having to rename them to the "character name".xml
or
is there an option to select what waypoint.xml you want to use every time you run the "character name".xml each time you run it.
just have quite a few waypoint scripts and dont want to have to edit the waypont name each time i start up the "character name".xml
thnx for the help
Re: do you have to use the .xml named after the character
Posted: Fri Aug 27, 2010 7:53 am
by rock5
fred55555 wrote:I am still farly new to the scripting, but i have a few working fine.
I was wondering is there a way to run different .xlm scripts on the same character with out having to rename them to the "character name".xml
or
is there an option to select what waypoint.xml you want to use every time you run the "character name".xml each time you run it.
just have quite a few waypoint scripts and dont want to have to edit the waypont name each time i start up the "character name".xml
thnx for the help
It sounds like you have been using the 'WAYPOINTS="filename"' option in your profile. If you leave that out you will be presented with a list of waypoint files to choose from.
If you still want to know, you can load any profile like this,
For that matter you could also specify the waypoint file,
Code: Select all
rom/bot profile:profilename path:waypointname
Re: do you have to use the .xml named after the character
Posted: Fri Aug 27, 2010 9:36 am
by Nebojsha
And if your name contains some accent, you must load it with rom\bot.lua profile:profilename

cuz it doesnt understand accents

Re: do you have to use the .xml named after the character
Posted: Sun Aug 29, 2010 7:53 am
by MiesterMan
Nebojsha wrote:And if your name contains some accent, you must load it with rom\bot.lua profile:profilename

cuz it doesnt understand accents

I think there's a naming scheme setup so it recognizes your profile with the alternate spelling. At least that's how my character with an accented letter loads his profile.
Re: do you have to use the .xml named after the character
Posted: Mon Aug 30, 2010 10:37 am
by fred55555
thank you rock5
Re: do you have to use the .xml named after the character
Posted: Thu Sep 02, 2010 9:58 am
by fred55555
now same question but in reverse..
can you
/rob/bot.lua "selectfromlist.xml" profile "selectfromlist"
was interested as I have three waypoint scripts i run by the same character but i want the character to use the character.xml that matchs the script
for example when doing the chickens i dont need a pet or have to buff
leveling/harvesting i need pet and buff and special attacks
pet egg hunting i need pet, but not buffs or special (mana drain only slows character down)
or again if say the character name was pokaroo
could you just have
rom/bot.lua profile:pokaroo1.xml
" pokaroo2.xml
would that work???
Re: do you have to use the .xml named after the character
Posted: Fri Sep 03, 2010 2:54 am
by rock5
fred55555 wrote:now same question but in reverse..
can you
/rob/bot.lua "selectfromlist.xml" profile "selectfromlist"
was interested as I have three waypoint scripts i run by the same character but i want the character to use the character.xml that matchs the script
for example when doing the chickens i dont need a pet or have to buff
leveling/harvesting i need pet and buff and special attacks
pet egg hunting i need pet, but not buffs or special (mana drain only slows character down)
or again if say the character name was pokaroo
could you just have
rom/bot.lua profile:pokaroo1.xml
" pokaroo2.xml
would that work???
If you want to use a specific profile with a specific waypoint file then use
Code: Select all
rom/bot.lua profile:specificprofile path:specificpath
And no, there is no way to bring up a list of profiles.
Re: do you have to use the .xml named after the character
Posted: Fri Sep 03, 2010 1:06 pm
by fred55555
does the profile name have to match the character name... i guess is the main quesiton i have
Re: do you have to use the .xml named after the character
Posted: Fri Sep 03, 2010 2:43 pm
by Strange_d
No the profile name doesn't have to match. If you start the script rom/bot it will use the charactername.xml by default if it is there. Naming the xml file the same name as your character just means you don't have to put profile:XXXX in when you start rom/bot.
For example these would all work:
rom/bot path:Millerschickenranch <-- This one would use pokaroo.xml by default
rom/bot profile:pokaroo1 path:Millerschickenranch
rom/bot profile:pokaroo2 path:Millerschickenranch