Loading...
 

General


Bot's name

Hi!

I'm trying to asign a different name to each bot i create using the following methods:

new UT2004BotRunner(SmartBot.class, nameBot()).setMain(false).startAgents(4);
new UT2004BotRunner(SmartBot.class, "MasterBot").setMain(true).startAgent();

I undertand that the first 4 bots will have the same name followed by a number:

bot1
bot2
..

but i don't see why MasterBot's name it's "MasterBot5" if i wrote only "MasterBot". Any clue?

Thank you!
Yeah,

actually when your starting the agent and rely on the name set by the runner, you will always get number suffix.

Use getBotInitialized() and set custom name for your bot there.

Cheers!
Jimmy
Hi!

Thanks Jimmy! It works nicely :-)

Joan Marc
 

News

News RSS RSS feed for News link



Pogamut

Quarterly RSS RSS feed for quarterly reports

Acknowledgement

This work is supported by GA UK 1053/2007/A-INF/MFF (2007-8), GA UK 351/2006/A-INF/MFF (2006-8), the Ministry of Education of the Czech Republic (grant MSM0021620838) (2008-9), by the Program "Information Society" under project 1ET100300517 (2006-9), and the project Integration of IT Tools into Education of Humanities (2006-8) and by the project CZ.2.17/3.1.00/31162, which are financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.