Merge branch 'master' into careminster

avinationmerge
Melanie 2010-01-16 00:15:26 +00:00
commit 8c39392eaa
5 changed files with 84 additions and 27 deletions

30
BUILDING.txt Normal file
View File

@ -0,0 +1,30 @@
== Building OpenSim ==
=== Building on Windows ===
Steps:
* runprebuild.bat
* Load OpenSim.sln into Visual Studio .NET and build the solution.
* chdir bin
* copy OpenSim.ini.example to OpenSim.ini and other appropriate files in bin/config-include
* run OpenSim.exe
=== Building on Linux ===
Prereqs:
* Mono >= 2.4.2
* Nant >= 0.85
* On some Linux distributions you may need to install additional packages.
See http://opensimulator.org/wiki/Dependencies for more information.
From the distribution type:
* ./runprebuild.sh
* nant
* cd bin
* copy OpenSim.ini.example to OpenSim.ini and other appropriate files in bin/config-include
* run mono OpenSim.exe
=== References ===
Helpful resources:
* http://opensimulator.org/wiki/Build_Instructions

View File

@ -78,5 +78,13 @@ namespace OpenSim.Framework
/// </summary> /// </summary>
public UUID SessionID; public UUID SessionID;
public byte State; public byte State;
public Vector3 ClientAgentPosition;
public bool UseClientAgentPosition;
public AgentUpdateArgs()
{
UseClientAgentPosition = false;
}
} }
} }

View File

@ -67,7 +67,7 @@ namespace OpenSim.Services.Connectors
IConfig authorizationConfig = source.Configs["AuthorizationService"]; IConfig authorizationConfig = source.Configs["AuthorizationService"];
if (authorizationConfig == null) if (authorizationConfig == null)
{ {
m_log.Info("[AUTHORIZATION CONNECTOR]: AuthorizationService missing from OpenSim.ini"); //m_log.Info("[AUTHORIZATION CONNECTOR]: AuthorizationService missing from OpenSim.ini");
throw new Exception("Authorization connector init error"); throw new Exception("Authorization connector init error");
} }
@ -86,6 +86,7 @@ namespace OpenSim.Services.Connectors
bool responseOnFailure = authorizationConfig.GetBoolean("ResponseOnFailure",true); bool responseOnFailure = authorizationConfig.GetBoolean("ResponseOnFailure",true);
m_ResponseOnFailure = responseOnFailure; m_ResponseOnFailure = responseOnFailure;
m_log.Info("[AUTHORIZATION CONNECTOR]: AuthorizationService initialized");
} }
public bool IsAuthorizedForRegion(string userID, string firstname, string surname, string email, string regionName, string regionID, out string message) public bool IsAuthorizedForRegion(string userID, string firstname, string surname, string email, string regionName, string regionID, out string message)

View File

@ -10,41 +10,38 @@ C#, and can run under Mono or the Microsoft .NET runtimes.
This is considered an alpha release. Some stuff works, a lot doesn't. This is considered an alpha release. Some stuff works, a lot doesn't.
If it breaks, you get to keep *both* pieces. If it breaks, you get to keep *both* pieces.
== Installation on Windows == == Compiling OpenSim ==
Prereqs: Please see BUILDING.txt if you downloaded a source distribution and
* runprebuild.bat need to build OpenSim before running it.
* Load OpenSim.sln into Visual Studio .NET and build the solution.
* chdir bin
* edit OpenSim.ini and appropriate files in bin/config-include
* OpenSim.exe
Helpful resources:
* http://opensimulator.org/wiki/Build_Instructions
See configuring OpenSim == Running OpenSim on Windows ==
== Installation on Linux == We recommend that you run OpenSim from a command prompt on Windows in order
to capture any errors, though you can also run it by double-clicking
bin/OpenSim.exe
Prereqs: To run OpenSim from a command prompt
* Mono >= 2.4.2
* Nant >= 0.86 beta 1 (if building with the .NET framework on Windows), 0.85 (if building with the mono framework) * cd to the bin/ directory where you unpacked OpenSim
* sqlite3 or mysql 5.x (you'll need a backend database) * run OpenSim.exe
Now see the "Configuring OpenSim" section
== Running OpenSim on Linux ==
You will need Mono >= 2.4.2 to run OpenSim. On some Linux distributions you
may need to install additional packages. See http://opensimulator.org/wiki/Dependencies
for more information.
To run OpenSim, from the unpacked distribution type:
From the distribution type:
* ./runprebuild.sh
* nant
* cd bin * cd bin
* edit OpenSim.ini and appropriate files in bin/config-include
* mono ./OpenSim.exe * mono ./OpenSim.exe
See configuring OpenSim Now see the "Configuring OpenSim" section
== Configuring OpenSim == == Configuring OpenSim ==
Helpful resources:
* http://opensimulator.org/wiki/Configuration
* http://opensimulator.org/wiki/Configuring_Regions
* http://opensimulator.org/wiki/Mysql-config
When OpenSim starts for the first time, you will be prompted with a When OpenSim starts for the first time, you will be prompted with a
series of questions that look something like: series of questions that look something like:
@ -62,11 +59,21 @@ Once you are presented with a prompt that looks like:
You have successfully started OpenSim. You have successfully started OpenSim.
Before you can log in you will need to create a user account. You can do
this by running the "create user" command on the OpenSim console. This will
ask you a series of questions such as first name, last name and password.
Helpful resources:
* http://opensimulator.org/wiki/Configuration
* http://opensimulator.org/wiki/Configuring_Regions
* http://opensimulator.org/wiki/Mysql-config
== Connecting to your OpenSim == == Connecting to your OpenSim ==
By default your sim will be running on http://127.0.0.1:9000. To use By default your sim will be running on http://127.0.0.1:9000. To use
your OpenSim add -loginuri http://127.0.0.1:9000 to your second life your OpenSim add -loginuri http://127.0.0.1:9000 to your second life
client (running on the same machine as your OpenSim). client (running on the same machine as your OpenSim). To login, use the
same avatar details that you gave to the "create user" console command.
== Bug reports == == Bug reports ==

View File

@ -290,7 +290,18 @@
[StandAlone] [StandAlone]
; If this is set to true then OpenSim only allows in users who already have accounts.
; An account can be created using the "create user" console command.
;
; If this is set to false then an account is automatically created for a user who logs in
; without one. PLEASE NOTE THAT IN THIS MODE NO PASSWORD CHECKS ARE PERFORMED.
; Therefore, any user can log into any account. If accounts_authenticate is later switched to
; true then the passwords will need to be reset (using the "reset user password" console command) since
; automatically created accounts have their password set to the string "test".
;
; This setting applies to standalone mode only, not grid or other modes. Default is true.
accounts_authenticate = true accounts_authenticate = true
welcome_message = "Welcome to OpenSimulator" welcome_message = "Welcome to OpenSimulator"
; Inventory database provider ; Inventory database provider