Page 1 of 1

How to do a forced profile?

Posted: Sun Jul 05, 2015 4:47 pm
by miahiscool34
I was dumb when I created my account and used a accented E
now when I try to use ROmBOT I get this error message

2015-07-05 17:39:30 - Due to technical reasons, we can't use the character/profi
le name 'Goldenstrikés' as a profile name. Please use profile name 'Goldenstrike
s.xml' instead or start the bot with a forced profile: 'rom\bot.lua profile:xyz'


how do I "Start the bot with a forced profile?


THANKS!

Re: How to do a forced profile?

Posted: Sun Jul 05, 2015 8:45 pm
by Bill D Cat
Exactly as the error message said. Just rename your profile to something without the accented character

Code: Select all

Goldenstrikés.xml --> Goldenstrikes.xml
Then start the bot with the extra parameter to use it with that particular character.

Code: Select all

rom/bot profile:Goldenstrikes.xml 
For all other characters, you can start the bot with the basic command

Code: Select all

rom/bot

Re: How to do a forced profile?

Posted: Sun Jul 05, 2015 11:53 pm
by rock5
I believe the bot converts the player name then checks if it exists. So if you name the profiles what it expects to see then you don't have to force load it. What it actually uses is a function called convertProfileName. So you can see what the bot expects the profile name to be called by doing the following command at the commandline prompt.

Code: Select all

print(convertProfileName(player.Name))
Name your profile whatever it prints out and it should automatically use it when botting with that character.