diff options
author | Justin Clark-Casey (justincc) | 2011-06-24 19:49:05 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-06-24 19:49:05 +0100 |
commit | de20f0603fa419ba16c56d16c2ad55301cad8b83 (patch) | |
tree | d93ef87605cc632744ec21f8fb6ea035e083e1c0 /bin/config-include | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-de20f0603fa419ba16c56d16c2ad55301cad8b83.zip opensim-SC_OLD-de20f0603fa419ba16c56d16c2ad55301cad8b83.tar.gz opensim-SC_OLD-de20f0603fa419ba16c56d16c2ad55301cad8b83.tar.bz2 opensim-SC_OLD-de20f0603fa419ba16c56d16c2ad55301cad8b83.tar.xz |
Tell hypergridders when their teleports fail because of the 4096 limit rather than just saying "destination not found"
Instead of performing the 4096 check when the region is linked (and subsequently removing the link), leave the link in place and perform the check in the entity transfer module
This allows us to explicitly tell the hypergridder why the teleport failed (region out of range).
It also allows people on regions that are within range (on a large source grid) to teleport.
The Check4096 config parameter in the [GridService] section is replaced by a max_distance paramter in a new [EntityTransfer] section in OpenSimDefaults.ini
Since the parameter is in OpenSimDefaults.ini no action needs to be taken unless you want to increase this limit. It could also be decreased.
The check is being made in the base entity transfer module, since I believe the viewer problem occurs both on extremely large grids and while hypergridding.
Diffstat (limited to 'bin/config-include')
-rw-r--r-- | bin/config-include/StandaloneCommon.ini.example | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index cbe3fa0..ee0523f 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example | |||
@@ -63,9 +63,6 @@ | |||
63 | ;;--- For MySql region storage (alternative) | 63 | ;;--- For MySql region storage (alternative) |
64 | ;StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData" | 64 | ;StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData" |
65 | 65 | ||
66 | ;; With hypergrid, perform distance check for the creation of a linked region | ||
67 | ; Check4096 = true | ||
68 | |||
69 | ;; Directory for map tile images of remote regions | 66 | ;; Directory for map tile images of remote regions |
70 | ; MapTileDirectory = "./maptiles" | 67 | ; MapTileDirectory = "./maptiles" |
71 | 68 | ||