Addendum to Assignment 4
This addendum is particularly relevant for those of you documenting connectors, but all are welcome to try this out and have a deeper knowledge of what is actually happening inside the simulator.
Add your debug messages in the parts of the code that you want to probe, re-build, re-run, and re-login.
Instructions for connecting your simulator to the ucigrid03
resource services
0 – Open port 9000, both TCP and UDP, on your computerÕs firewall. Please search on Google how to do this for your particular operating system. If this port is not open, the login service wonÕt be able to send you to your world when you login.
1 - Clone the opensim project and cd to its root folder.
2 – runprebuild.bat (Windows) or runprebuild.sh (Linux/Mac)
3 – Open the .sln file and build (Windows); nant (Linux/Mac)
4 – cd bin
5 – Copy this exact file OpenSim.ini into the bin directory
6 – On a terminal window, run the simulator:
Windows, 32-bit: $ ./OpenSim.exe
Windows, 64-bit: $ ./OpenSim.32BitLauncher.exe
Linux/Mac: as above, but run under mono (so $ mono program)
7 – You will then be prompted for some information the first time you run. HereÕs what the questions look like, and what you should answer:
=====================================
We are now going to ask a couple of questions about your region.
You can press 'enter' without typing anything to use the default
the default is displayed between [ ]: brackets.
=====================================
New region name []: Crista's Laptop (enter whatever name you want)
Region UUID [167d5d35-b9fe-4583-afb7-41dcce5c7b4c]: (enter)
Region Location [1000,1000]: 1000,999 (see your coordinates below)
Internal IP address [0.0.0.0]: (enter)
Internal port [9000]: (enter)
Allow alternate ports [False]: (enter)
External host name [SYSTEMIP]: 169.234.11.21 (enter your IP address *)
É
Your region is not part of an estate.
Do you wish to join an existing estate? [no]: (enter)
New estate name [My Estate]: (enter)
....
The current estate has no owner set.
Estate owner first name [Test]: Diva (enter your first name you set in Wifi)
Estate owner last name [User]: Canto (enter your last name you set in Wifi)
ThatÕs it! Once you get the prompt, you can login.
* To find out your IP address: http://www.myipaddress.com/show-my-ip-address/
Note that, if you are on a laptop, your IP address may vary as you turn it on/off. If/when it changes, edit
bin/Regions/Region.ini
and change the ExternalHostName.
The IP address is important the rest of us to be able to see
your world.
Instructions for logging in
Windows: Make a copy of the Second Life shortcut on your desktop, and call it UCIGrid03.
Right-click ˆ Properties change or set
–loginuri http://ucigrid03.nacs.uci.edu:9002
Then double-click that new shortcut.
Mac/Linux: cp your previous launch script of homework 1 to ucigrid03.sh and change the loginuri there to –loginuri http://ucigrid03.nacs.uci.edu:9002. Then run that script.
Your login credentials are those that you created in Wifi in the previous homework. If you donÕt remember your password, get another account there:
http://ucigrid03.nacs.uci.edu:9004/wifi
If you want to login directly to your simulator, and not mine, enter your region name in the ÒStart regionÓ. In order to see this option in the login screen, you may need to
EditˆPreferencesˆ Start location : Show start location on Login Screen
If you happen to land on my simulator, pull up the map and search for your region, then teleport there. When you get to your region, you should see a lot of action on your server console.
Attention Mac users
As usual, your mileage may vary. Even though you are connected to my resource server, your simulator still has some local storage using SQLite. You will likely run into problems with SQLite sooner or later. I have encountered problems when running the simulator for the second time. If you run into the same problem:
$ sqlite3 OpenSim.db
> delete from regionsettings;
> .quit
And try again.
Also, your objects inworld wonÕt survive sim restarts. This doesnÕt matter for the homework, but if you want it to run smoothly let me know, and IÕll send instructions for how to use MySql.
Coordinates
|
Student |
Coordinates |
|
BENSON, JAMES RICHARD |
998, 998 |
|
CHILINGARYAN, STEPHAN |
999, 998 |
|
CHUNG, ALEX RYAN |
1000, 998 |
|
DAI, ZIMING |
1001, 998 |
|
DANIELSON, JESSE MAYORGA |
1002, 998 |
|
DAO, STACEY THUY VI |
999, 998 |
|
GASKILL, JEFFREY MICHAEL |
999, 999 |
|
HEJAZI, SOHRAB |
999,1000 |
|
HSU, RYAN CHRISTOPHER |
999, 1001 |
|
KAUFMAN, SAMUEL JAMES |
999, 1002 |
|
KIM, ERIC HYUNJIN |
1000, 998 |
|
KIM, GARRETT |
1000, 999 |
|
KIM, TAE SUNG |
1000, 1001 |
|
LU, PATRICK CHAO-CHENG |
1000, 1002 |
|
LUTZE, KYLE STEPHEN |
1001, 998 |
|
MERCHANT, MICHAEL IDRIS |
1001, 999 |
|
MORALES, FRANCISCO |
1001, 1000 |
|
MUSLER, KYLE PHILLIP |
1001, 1001 |
|
ONO, HIROE |
1001, 1002 |
|
PALMER, MATTHEW JAMES |
1002, 998 |
|
PAPA, JOSHUA ALEXANDER |
1002, 999 |
|
WILKINSON, KEVIN MICHAEL |
1002, 1000 |
|
WOLK, JORDANIEL CHARLES |
1002, 1001 |