for stress testing i needed to create 100 avatar accounts quickly. instead of going via opensim’s console i started ipython and entered the following python script:
[python]
import xmlrpclib
os = xmlrpclib.Server('http://127.0.0.1:9000/')
for i in range(100):
os.admin_create_user(dict(password = 'SECRET',
user_firstname = 'Bot%d' % i,
user_lastname = 'Dude',
user_password = 'b0tb0tb0t',
start_region_x = 1000,
start_region_y = 1000,
model = 'Bot Dude'))
[/python]
a couple of minutes later i had successfully created 100 avatar accounts, ‘’Bot0 Dude’’ to ‘’Bot99’, all wearing the same outfit as ‘’Bot Dude’‘, an avatar i had prepared earlier.
voila! avatar machine :-)
