mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
*Moved region loading into its own interface IRegionLoader
*Added ability to load regioninfo remotely from a webserver from a single file. See share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt for more info and an example file.
This commit is contained in:
9
share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt
Normal file
9
share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
The remote region loading ability allows easier management of what regions a simulator run s from a webserver.
|
||||
In OpenSim.ini, change the 'region_info_source = filesystem' under [Startup] to 'region_info_source = web'.
|
||||
Then change the line 'regionload_webserver_url = ' to 'regionload_webserver_url = http://127.0.0.1/default.xml'
|
||||
replacing 'http://127.0.0.1/default.xml' with the URL of the region XML file.
|
||||
|
||||
The XML file of a remote region is similar to the filesystem version, except it is in one file instead of multiple
|
||||
region_xxx.xml files.
|
||||
|
||||
See example_web.xml for an example on how to make a web version for region loading.
|
||||
8
share/RegionLoading/example_web.xml
Normal file
8
share/RegionLoading/example_web.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<Regions>
|
||||
<Root>
|
||||
<Config sim_UUID="18fb66dbf6274279885228f1c4064f8c" sim_name="OpenSim Test" sim_location_x="1000" sim_location_y="1000" datastore="OpenSim.db" internal_ip_address="0.0.0.0" internal_ip_port="9000" external_host_name="127.0.0.1" master_avatar_first="Test" master_avatar_last="User" master_avatar_pass="test" />
|
||||
</Root>
|
||||
<Root>
|
||||
<Config sim_UUID="111111dbf6274219881228f1c1061f8c" sim_name="OpenSim Test2" sim_location_x="1001" sim_location_y="1000" datastore="OpenSim2.db" internal_ip_address="0.0.0.0" internal_ip_port="9001" external_host_name="127.0.0.1" master_avatar_first="Test" master_avatar_last="User" master_avatar_pass="test" />
|
||||
</Root>
|
||||
</Regions>
|
||||
Reference in New Issue
Block a user