aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-04Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)14-5/+166
allow different default regions for HG and direct grid logins. This requires a new GridService.GetDefaultHypergridRegions() so ROBUST services require updating but not simulators. This method still returns regions flagged with just DefaultRegion after any DefaultHGRegions, so if no DefaultHGRegions are specified then existing configured defaults will still work. Immediate use is for conference where we need to be able to specify different defaults However, this is also generally useful to send experienced HG users to one default location and local users whose specified region fails (e.g. no "home" or "last") to another.
2013-09-04Fix exception thrown after a region has been restarted through scheduling.Justin Clark-Casey (justincc)1-10/+22
This exception was very likely harmless since it occurred after the restart had taken place, but still misleading. Thanks to SCGreyWolf for the code change suggestion in http://opensimulator.org/mantis/view.php?id=6747, though I did this in a slightly different way.
2013-09-04Fix a printing of exception error in InventoryArchiveModule that onlyRobert Adams1-1/+1
printed the error message and not the call stack.
2013-09-04Rename pCampbot.ini -> pCampBot.ini (and example file) to be consistent with ↵Justin Clark-Casey (justincc)1-1/+1
other capitalizations of pCampBot
2013-09-04minor: shortern warning messages in EntityTransferModule when UpdateAgent() ↵Justin Clark-Casey (justincc)1-4/+4
fails
2013-09-04Make pCampbot "show bot" command take the bot number instead of the full bot ↵Justin Clark-Casey (justincc)1-4/+9
name Shorter and can do this because bot names are uniform
2013-09-04remove redundant return at end of HandleDeregisterRegion()Justin Clark-Casey (justincc)1-2/+0
2013-09-04Make it possible for the "deregister region id" command to accept more than ↵Justin Clark-Casey (justincc)1-24/+27
one id
2013-09-04Remove old and unused ScenePresence.RestoreInCurrentScene()Justin Clark-Casey (justincc)1-5/+0
2013-09-04Refactor: merge SceneGraph.AddScenePresence() into ↵Justin Clark-Casey (justincc)1-28/+6
CreateAndAddChildScenePresence() since the former was only ever called from the latter This allows us to remove dead code relating to adding root agents directly to the scenegraph, which never happens.
2013-09-04minor: Correct typo on "debug stats record start" messageJustin Clark-Casey (justincc)1-1/+1
2013-09-02Fix bug where users teleporting to non-neighbour regions could continue to ↵Justin Clark-Casey (justincc)5-15/+85
hear chat from their source region for some time after teleport completion. This occurs on v2 teleport since the source region now waits 15 secs before closing the old child agent, which could still receive chat. This commit introduces a ScenePresenceState.PreClose which is set before the wait, so that ChatModule can check for ScenePresenceState.Running. This was theoretically also an issue on v1 teleport but since the pause before close was only 2 secs there, it was not noticed.
2013-09-02Comment out warning about agent updating without valid session ID for now.Justin Clark-Casey (justincc)1-4/+4
This causes extreme console spam if a simulator running latest master and one running 0.7.5 have adjacent regions occupied by avatars.
2013-08-27Also check user authorization if looking to upgrade from a child to a root ↵Justin Clark-Casey (justincc)1-0/+13
agent. Relevant if a child agent has been allowed into the region which should not be upgraded to a root agent.
2013-08-26Potential fix for access control bug on login introduced with SeeIntoRegion ↵Diva Canto1-1/+1
commit.
2013-08-26For a Hypergrid user, delay estate access checks until NewUserConnection() ↵Justin Clark-Casey (justincc)1-2/+6
so that they work. This is necessary because the hypergrid groups checks (as referenced by estates) require an agent circuit to be present to construct the hypergrid ID. However, this is not around until Scene.NewUserConnection(), as called by CreateAgent() in EntityTransferModule. Therefore, if we're dealing with a hypergrid user, delay the check until NewUserConnection()/CreateAgent() The entity transfer impact should be minimal since CreateAgent() is the next significant call after NewUserConnection() However, to preserve the accuracy of query access we will only relax the check for HG users.
2013-08-23minor: remove mono compiler warning from LLClientViewJustin Clark-Casey (justincc)1-4/+0
2013-08-22Fix a further bug in pCampbot connect where ignoring already connected bots ↵Justin Clark-Casey (justincc)1-6/+14
was wrongly counted as a connect Also, only sleep when we actually perform a connection
2013-08-22Make it possible to adjust the pCampbot login delay via the [BotManager] ↵Justin Clark-Casey (justincc)1-0/+7
LoginDelay parameter of pCampbot.ini
2013-08-22Add "set bots" command to make it possible to set SEND_AGENT_UPDATES on all ↵Justin Clark-Casey (justincc)1-0/+27
bots whilst pCampbot is running
2013-08-22Stop "handle sit user name" command from trying to sit avatars on objects ↵Justin Clark-Casey (justincc)1-0/+3
which have sit positions but are attachments
2013-08-22Stop error messages being misleadingly generated when on client connection ↵Justin Clark-Casey (justincc)1-2/+19
activity timeout, a root connection triggers a CloseAgent to a neighbour region which has already closed the agent due to inactivity. Also separates out log messages to distinguish between close not finding an agent and wrong auth token, and downgrades former to debug and latter to warn
2013-08-22In pCampbot, don't try and reconnect bots that are already connected on ↵Justin Clark-Casey (justincc)1-1/+2
console "connect" command
2013-08-22Stop "sit user name" and "stand user name" console commands from trying to ↵Justin Clark-Casey (justincc)1-2/+8
sit/stand avatars already sitting/standing
2013-08-22minor: Make logging in GatekeeperService.LoginAgent() a bit more detailed so ↵Justin Clark-Casey (justincc)1-4/+8
that we can distinguish between simultaneous logins
2013-08-22Revert "Implement ability for hg logins to try fallback regions just like ↵Justin Clark-Casey (justincc)1-39/+5
local logins." This approach does not work - it is taking place too far down the login process where really the region checking could only be done when the hg map tiles are linked on the main map (messy and probably impossible) or possibly when the final destination is fetched at the very first stage of teleport (which couldn't be done without a protocol change to pass the agentID as well as the requested regionID) This reverts commit 3d9b73c47a15cf00150ac80570fea88de8cecbdf.
2013-08-21Implement ability for hg logins to try fallback regions just like local logins.Justin Clark-Casey (justincc)1-5/+39
These would be specified in the [GridService] section of Robust.HG.ini, which already lists these in the example text. Untested patch so that Neb can easily pull in for testing, though shouldn't disrupt existing hg logins since fallback processing is a bit of code stuck on the end of the login sequence.
2013-08-21Don't allow users to attempt to sit on objects in a child region without ↵Justin Clark-Casey (justincc)2-0/+29
going to that region first. If this is attempted, they get a "Try moving closer. Can't sit on object because it is not in the same region as you." message instead, which is the same as current ll grid. Sitting on ground is okay, since viewer navigates avatar to required region first before sitting.
2013-08-20* Fix some threading issues in BulletXNA (the managed bullet library), this ↵teravus2-3/+48
should better allow you to run it in multiple region scenarios (but why would you really want to do that?) Source in OpenSimLibs. * Fixed a null ref during shutdown.
2013-08-20Fix build break from last commit a3e1b27 on mono 2.4.3Justin Clark-Casey (justincc)1-1/+1
Looks like this level of mono doesn't have a string.Join() which will take a list rather than an array (or some implicit conversion isn't happening)
2013-08-20Add pCampbot "show bot" console command to show more detailed information on ↵Justin Clark-Casey (justincc)2-2/+58
a particular bot (e.g. what sims they are connected to)
2013-08-20Add --regex options to "sit user name" and "stand user name" console ↵Justin Clark-Casey (justincc)1-50/+81
commands to sit/stand many avatars at once. Currently, first name and last name are input separate but are concatenated with a space in the middle to form a regex. So to sit all bots with the first name "ima", for instance, the command is "sit user name --regex ima .*"
2013-08-20Add experimental "sit user name" and "stand user name" console commands in ↵Justin Clark-Casey (justincc)1-0/+180
SitStandCommandsModule. "sit user name" will currently only sit the given avatar on prims which have a sit target set and are not already sat upon. Chiefly for debug purposes.
2013-08-20Add pCampbot console commands to sit all bots on ground and stand all botsJustin Clark-Casey (justincc)2-47/+51
2013-08-20Add -connect (-c) switch to pCampbot command line options.Justin Clark-Casey (justincc)1-10/+15
Now, bots will only connect at startup if this switch is specified. If it is not specified, then a separate "connect" command is required on the pCampbot command line
2013-08-19Make it possible to reconnect pCampbots with the console command "connect ↵Justin Clark-Casey (justincc)3-80/+155
[<n>]". If no n is given then all available bots are connected
2013-08-19refactor: start bot connection thread within BotManager rather than externallyJustin Clark-Casey (justincc)2-5/+27
2013-08-19refactor: restructure pCampbot multi-bot connection code.Justin Clark-Casey (justincc)1-10/+60
2013-08-19Make it possible to disconnected a specified number of bots via the pCampbot ↵Justin Clark-Casey (justincc)2-48/+82
console command "disconnect [<n>]" Bots disconnected are ascending from last in numeric order. Temporarily no way to reconnect bots.
2013-08-19Create a separate pCampbot "disconnect" console command which disconnects ↵Justin Clark-Casey (justincc)1-43/+67
connected bots. "quit" console command now requires bots to be separate disconnected first before quitting. This is to prepare the way for disconnecting/reconnecting different numbers of bots in a pCampbot session. And hopefully resolves bug where console appears not to be reset if Environment.Exit(0) is called on a different thread
2013-08-19Show number of connections each bot has established in "show bots" command.Justin Clark-Casey (justincc)2-8/+24
2013-08-18Allow updating the wearable type of wearables that have a type of 0.Melanie1-4/+16
This will allow viewers to fix broken wearables as they detect them.
2013-08-17Remove mono compiler warnings from UserProfilesModuleJustin Clark-Casey (justincc)1-19/+16
2013-08-17minor: remove mono compiler warning from AttachmentsModuleJustin Clark-Casey (justincc)1-2/+1
2013-08-17Remove some mono compiler warnings from OpenSim/Server/HandlersJustin Clark-Casey (justincc)3-10/+4
2013-08-17minor: remove mono compiler warnings from OpenSim/Services/Connectors/SimianGridJustin Clark-Casey (justincc)2-9/+2
2013-08-17minor: remove mono compiler warnings from ScenePresenceJustin Clark-Casey (justincc)1-4/+3
2013-08-17remove mono compiler warnings from PollServiceRequestManagerJustin Clark-Casey (justincc)1-4/+2
2013-08-17minor: remove mono compiler warning in StatsManagerJustin Clark-Casey (justincc)1-1/+1
2013-08-17minor: Make log messages consistent in NeighbourServicesConnectorJustin Clark-Casey (justincc)1-6/+6