aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-05-25 02:02:53 +0100
committerJustin Clark-Casey (justincc)2012-05-25 02:02:53 +0100
commit40c78b06246d1131e07982dc6a9366666d9ea031 (patch)
tree094bc14aabd790bb97127a6406c17d80a469ceb0 /Prebuild
parentIn remote QueryAccess, also receive the actual status (true|false) instead of... (diff)
downloadopensim-SC-40c78b06246d1131e07982dc6a9366666d9ea031.zip
opensim-SC-40c78b06246d1131e07982dc6a9366666d9ea031.tar.gz
opensim-SC-40c78b06246d1131e07982dc6a9366666d9ea031.tar.bz2
opensim-SC-40c78b06246d1131e07982dc6a9366666d9ea031.tar.xz
Stop it being possible for an agent to teleport back to its source region before the source region has finished cleaning up old agent data and structures.
If this is allowed, then the client usually gets forcibly logged out and data structures might be put into bad states. To prevent this, the binary state machine of EMT.m_agentsInTransit is replaced with a 4 state machine (Preparing, Transferring, ReceivedAtDestination, CleaningUp). This is necessary because the source region needs to know when the destination region has received the user but a teleport back cannot happen until the source region has cleaned up. Tested on standalone, grid and with v1 and v3 clients.
Diffstat (limited to 'Prebuild')
0 files changed, 0 insertions, 0 deletions