aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-03Reinsert a 2000ms delay before closing a no longer required agent on the ↵Justin Clark-Casey (justincc)1-2/+7
source region after teleport to resolve Imprudence teleport problems. Viewers 1 and 3 are fine with doing this immediately. However, Imprudence has a small delay (<200ms, >500ms) after receiving the AgentCompleteMovement reply packet on the destination region before regarding that region as the currnet region. If Imprudence receives a DisableSimulator in this period, it quits. We are not restoring the full 5000ms delay since this brings back a bug where teleports permanently fail if an avatar tries to teleport back too quickly. This commit also sends the AgentCompleteMovement packet to the client before telling the source region to release its old agent, in order to further cut down any possibility of the DisableSimulator being recieved before the AgentMovementComplete.
2012-05-03minor: resolve some mono compiler warningsJustin Clark-Casey (justincc)1-6/+1
2012-05-01Comment out the five second sleep in etm.DoTeleport() if the old agent needs ↵Justin Clark-Casey (justincc)1-1/+1
to be closed because it is no longer in the child's view distance. This sleep appears unnecessary since a sleep has already occurred in WaitForCallback() whilst waiting for the destination region to notify of teleport success. There are no async operations between this sleep and the WaitForCallback() If this sleep is present, then teleporting back to the source region within 5 seconds results in a disconnection. If this sleep is commented out then teleporting quickly back and forth between two simulators appears to work without issue. Tested on standalone, local grid and distributed grid. Please revert if there's something that I've missed.
2012-05-01Remove some test code that accidentally crept in with 9d2e1c67Justin Clark-Casey (justincc)1-3/+0
2012-05-01Add regression test for teleporting between neighbouring regions on the same ↵Justin Clark-Casey (justincc)2-7/+30
simulator This adds a non-advertised wait_for_callback option in [EntityTransfer]. Default is always true. Teleport tests disable the wait for callback from the destination region in order to run within a single thread.
2012-05-01Move max teleport distance check down into etm.DoTeleport() since this ↵Justin Clark-Casey (justincc)1-40/+41
should apply to all teleport calls, not just those through Teleport()
2012-05-01refactor: Split most of EntityTransferModule.Teleport() into its same region ↵Justin Clark-Casey (justincc)2-122/+159
and different region teleport components. DoTeleport() now retrives IEventQueue itself rather than requiring it to be passed in.
2012-04-27If a Grid God teleports then include the Godlike teleport flag. This can ↵Oren Hurvitz1-0/+6
affect the starting position in the destination region.
2012-04-27Minor change in error message (HG teleport failures)Diva Canto1-1/+1
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)2-2/+3
the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
2012-04-26Tweak log messages on local region to region teleport path to help with ↵Justin Clark-Casey (justincc)2-18/+36
problem resolution.
2012-04-24Slight rewording of output messages.Diva Canto1-1/+1
2012-04-24HG: Moved User-level code down to the HGEntityTransferModule where it belongs.Diva Canto2-14/+14
2012-04-25zero out SP velocity before calling SP.Teleport(), as the client expects ↵Justin Clark-Casey (justincc)1-0/+1
(though this is also effectively done by physics at the moment)
2012-04-25Add regression test TestSameRegionTeleport()Justin Clark-Casey (justincc)1-1/+1
2012-04-25Improve teleport log debug and error messages to tell us who is teleporting.Justin Clark-Casey (justincc)1-3/+14
2012-04-06Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto3-150/+159
HGInventoryAccessModule where it belongs. They need to exchange some events, so added those to EventManager. Those events (TeleportStart and TeleportFail) are nice to have anyway.
2012-04-07Rather than having a FromFolderID property on every single prim and only ↵Justin Clark-Casey (justincc)1-3/+3
ever using the root prim one, store on SOG instead. This reduces pointless memory usage.
2012-04-07Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)1-1/+1
only ever using the root part entry. This eliminates some pointless memory use.
2012-04-06Deleted the unused and commented code from 2 commits ago.Diva Canto1-241/+1
2012-04-06WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto1-21/+295
purpose; it's an historical record of what works and what doesn't wrt manipulating inventory at the viewer. I'll remove the unused code in a subsequent commit, but wanted to place it in history. The uncommented code works.
2012-04-03Eliminate race condition where many callers would check SOP.PhysicsActor != ↵Justin Clark-Casey (justincc)1-4/+4
null then assume it was still not null in later code. Another thread could come and turn off physics for a part (null PhysicsActor) at any point. Had to turn off localCopy on warp3D CoreModules section in prebuild.xml since on current nant this copies all DLLs in bin/ which can be a very large number with compiled DLLs No obvious reason for doing that copy - nothing else does it.
2012-03-31minor: small message adjustment and unnecessary code elimination when ↵Justin Clark-Casey (justincc)1-1/+1
notifying client of no build permission
2012-03-31fix Infinite loading on No Rez http://opensimulator.org/mantis/view.php?id=5932PixelTomsen1-0/+5
2012-03-28HG 2.0 Suitcase inventory: proof of concept now working properly with the ↵Diva Canto1-10/+11
heavy SendBulkInventoryUpdate message. Waiting for Melanie to finish the light-weight version of that message.
2012-03-28HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the ↵Diva Canto1-7/+61
hack away from ScenePresence. This is better but it still doesn't restore the inventory upon arrival.
2012-03-27HG: Switch root folders from under the viewer. Towards HG 2.0. This is ↵Diva Canto1-10/+44
guarded by an obscure config that no one but me should be using at this point.
2012-03-28Add "friends show cache <first-name> <last-name>" command for debugging ↵Justin Clark-Casey (justincc)1-0/+29
purposes. This adds a reverse lookup (name -> ID) to IUserManagement instead of hitting the UserAccountService directly.
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer1-0/+15
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
2012-03-27HG: beginning of a more restrictive inventory access procedure (optional). ↵Diva Canto2-3/+29
Experimental: we'll try switching the root folder from under the viewer.
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto2-42/+54
co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
2012-03-17Added GetUUID(first, last) on UserAgentsService so that we can finally make ↵Diva Canto2-7/+34
direct user connections.
2012-03-17Amend to previous commit: normalize strings ToLower.Diva Canto1-2/+6
2012-03-17More on HG access control. This commit splits the UserManagementModule into ↵Diva Canto2-40/+181
the Basic one and the HG one, so that we can do everything that needs to be done for HG ACLs to work without interfering with the vanilla opensim. For the moment, it finds foreign users who have left a trace in the region, e.g. an object. This makes it possible to ban/IM/etc these users using the regular avatar picker. TODO: contact the UAS directly given a name of the form First.Last @foo.com.
2012-03-17Moved HandleAvatarPickerRequest from the generic Scene.PacketHandlers to the ↵Diva Canto1-0/+62
UserManagementModule where it belongs. No functional changes.
2012-03-13Teleports: bounce off repeated requests of teleporting the same agent. Some ↵Diva Canto1-0/+13
scripts do that, and that fails the whole thing.
2012-03-09More on HG inventory transfers. Move the FireAndForget higher up.Diva Canto1-1/+1
2012-03-08More on the freeze on HG inventory transfers: spawn a threadlet on the ↵Diva Canto1-1/+1
functional asset posts so that the client threads doesn't freeze (but the network posts are serialized).
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)3-4/+5
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-02-25HG: Remove async in posting assets to foreign grid. Mono hates concurrency ↵Diva Canto1-1/+1
there.
2012-02-23Add a position parameter to region crossing of objects. This avoids theMelanie1-5/+4
potential bad update that places an object at the opposite side of the origin sim for a moment before actually crossing it. Especially important in grids like OSG where lag between sims is high.
2012-02-19One more tweak related to the previous 2 commits.Diva Canto1-1/+3
2012-02-19A few more tweaks on position updates and create child agents. Mono hates ↵Diva Canto1-4/+8
concurrent uses of the same TCP connection, and even of the connections to the same server. So let's stop doing it. This patch makes movement much smoother when there are lots of neighbours.
2012-02-16minor formatting changes from last commit (4486n7d)Justin Clark-Casey (justincc)1-4/+3
2012-02-16Fix: Object owned by the group does not return to the last owner ↵PixelTomsen1-0/+6
http://opensimulator.org/mantis/view.php?id=5404
2012-02-10Fix bug where somebody taking a copy of an object they didn't own that was ↵Justin Clark-Casey (justincc)1-2/+10
rezzed before the region was restarted would wrongly place the copy in the object owner's inventory. Addresses http://opensimulator.org/mantis/view.php?id=5825
2012-02-10When an asset is uploaded (e.g. a mesh) set individual copy/move/transfer ↵Justin Clark-Casey (justincc)1-4/+15
permissions, not PermissionMask.All Setting PermissionMask.All will cause next permissions to replace current permissions when the object is rezzed, since bit 4 will be set. This is not correct behaviour for a freshly uploaded mesh. Freshly rezzed in-world prims also do not have bit 4 set (don't yet know exactly what this is). Should resolve http://opensimulator.org/mantis/view.php?id=5651
2012-01-31HG: This hopefully fixes the HG teleports back home to OSGrid. Looks like ↵Diva Canto1-1/+1
Uri.ToString() drops the port when it's port 80.
2012-01-28Send CHANGED_TELEPORT during local TP again - partially revert ↵Bo Iwu1-2/+1
cf73afec356eed30e169be3ce71edad89b4fdb37 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-01-13Fix improper code formatting introduced in 6214e6a217cfBo Iwu1-24/+40
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>