aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connectedJustin Clark-Casey (justincc)2013-09-031-1/+2
|
* Make pCampbot "add behaviour" and "remove behaviour" console commands work ↵Justin Clark-Casey (justincc)2013-09-031-45/+78
| | | | for all bots if no bot number is given
* Consistently give responsibility for thread sleeping to behaviours rather ↵Justin Clark-Casey (justincc)2013-09-033-1/+7
| | | | | | | than controlling from the main action loop This is to avoid excessive and inconsistent delays between behaviours that currently need to embed sleeps in other actions (e.g. physics) and other behaviours. Might need a more sophisticated approach in the long term.
* Add Close() method to IBehaviour to allow behaviours to cleanup when removed ↵Justin Clark-Casey (justincc)2013-09-034-1/+30
| | | | | | or bot it disconnected. In this case, it is used to turn off jump when physics testing behaviour is removed.
* Add pCampbot "remove behaviour" console command for removing bot behaviours ↵Justin Clark-Casey (justincc)2013-09-032-5/+60
| | | | | | during operation. Doesn't currently work very well as stopping physics, for instance, can leave bot travelling in old direction
* Add ability to adjust pCampbot bot behaviours whilst running with "add ↵Justin Clark-Casey (justincc)2013-09-032-41/+157
| | | | behaviour <behaviour-name> <bot-number>" console commad
* And fix break in "show bot" from commit 9c65207Justin Clark-Casey (justincc)2013-09-031-1/+1
|
* Fix build break from last commit 9c65207. Mono 2.4 lacks ↵Justin Clark-Casey (justincc)2013-09-031-1/+1
| | | | string.join(string, List<string>), or some auto casting is missing
* Show behaviours of pCampbot bots in "show bots" and "show bot" console commandsJustin Clark-Casey (justincc)2013-09-038-12/+45
|
* minor simplification of some unix date functions in Util. No functional change.Justin Clark-Casey (justincc)2013-09-031-5/+3
|
* Fix logic errors in "show grid users online" console command which didn't ↵Justin Clark-Casey (justincc)2013-09-031-3/+2
| | | | | | actually filter out users shown continuously online for more than 5 days Remove confusion in command output.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2013-09-031-5/+1
|\
| * Remove test that gives issue on Windows, just let the try/catch do the work.BlueWall2013-09-021-5/+1
| |
* | Add experimental "show grid users online" console command to show grid users ↵Justin Clark-Casey (justincc)2013-09-032-4/+43
|/ | | | | | | | online from a standalone/robust instance. This is not guaranteed to be accurate since users may be left "online" in certain situations. For example, if a simulator crashes and they never login/logout again. To counter this somewhat, only users continuously online for less than 5 days are shown.
* Fix bug where users teleporting to non-neighbour regions could continue to ↵Justin Clark-Casey (justincc)2013-09-025-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.
* Comment out warning about agent updating without valid session ID for now.Justin Clark-Casey (justincc)2013-09-021-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.
* Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)2013-09-0215-10/+172
| | | | | | | | | | 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.
* Profiles: Clean up some log entries caused when visiting HG avatar is using ↵BlueWall2013-08-291-16/+26
| | | | legacy profiles
* Initialization: move key expansion out to operate on all sources and not ↵BlueWall2013-08-291-2/+2
| | | | just environment variables
* Do not add a port zero to end of the hypergrid gateway host name.Robert Adams2013-08-281-1/+4
| | | | | | If the port is specified it is added but a ":0" is not added if the port is zero. This enables the hypergrid address short form "hypergridGateway:regionName" which is handled by the parser but failed because of this zero port addition.
* BulletSim: add some protections for processing when shutting down.Robert Adams2013-08-271-2/+2
| | | | Attempt to fix Mantis 6740 (http://opensimulator.org/mantis/view.php?id=6740).
* Revert "Make HG logins fall back to fallback regions if the desired region ↵Justin Clark-Casey (justincc)2013-08-261-24/+3
| | | | | | | | fails." This is very similar to my earlier revert in bcb8605f8428a9009a2badf9c9eed06d9f59962c and fails for the same reasons. Reverting this change because it causes a problem if access is denied to the user. This reverts commit c7a8afbb8da40e09252d58d95c89b8a99a684157.
* Revert "Added some more debug messages."Justin Clark-Casey (justincc)2013-08-261-4/+1
| | | | | | | | Fallback doesn't work at this level as the change of destination isn't communicated to the source region/viewer Reverting because this introduces a bug when access does fail. More detail in revert of main commit. This reverts commit ec32c1d4b69e4219fe44a38bcbc411e7996641f1.
* Fix exception thrown after a region has been restarted through scheduling.Justin Clark-Casey (justincc)2013-08-251-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.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2013-08-254-6/+30
|\
| * Added some more debug messages.Diva Canto2013-08-241-1/+4
| |
| * Potential fix for access control bug on login introduced with SeeIntoRegion ↵Diva Canto2013-08-241-1/+1
| | | | | | | | commit.
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2013-08-2412-84/+132
| |\
| | * Fix a printing of exception error in InventoryArchiveModule that onlyRobert Adams2013-08-231-1/+1
| | | | | | | | | | | | printed the error message and not the call stack.
| * | Make HG logins fall back to fallback regions if the desired region fails.Diva Canto2013-08-241-3/+24
| | |
| * | Whitespace fubar.Diva Canto2013-08-241-1/+1
| | |
* | | Rename pCampbot.ini -> pCampBot.ini (and example file) to be consistent with ↵Justin Clark-Casey (justincc)2013-08-232-1/+1
| |/ |/| | | | | other capitalizations of pCampBot
* | minor: shortern warning messages in EntityTransferModule when UpdateAgent() ↵Justin Clark-Casey (justincc)2013-08-231-4/+4
| | | | | | | | fails
* | Make pCampbot "show bot" command take the bot number instead of the full bot ↵Justin Clark-Casey (justincc)2013-08-231-4/+9
| | | | | | | | | | | | name Shorter and can do this because bot names are uniform
* | remove redundant return at end of HandleDeregisterRegion()Justin Clark-Casey (justincc)2013-08-231-2/+0
| |
* | Make it possible for the "deregister region id" command to accept more than ↵Justin Clark-Casey (justincc)2013-08-231-24/+27
| | | | | | | | one id
* | Remove old and unused ScenePresence.RestoreInCurrentScene()Justin Clark-Casey (justincc)2013-08-231-5/+0
| |
* | Refactor: merge SceneGraph.AddScenePresence() into ↵Justin Clark-Casey (justincc)2013-08-231-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.
* | minor: Correct typo on "debug stats record start" messageJustin Clark-Casey (justincc)2013-08-231-1/+1
| |
* | minor: remove mono compiler warning from LLClientViewJustin Clark-Casey (justincc)2013-08-231-4/+0
| |
* | Fix a further bug in pCampbot connect where ignoring already connected bots ↵Justin Clark-Casey (justincc)2013-08-221-6/+14
| | | | | | | | | | | | was wrongly counted as a connect Also, only sleep when we actually perform a connection
* | Make it possible to adjust the pCampbot login delay via the [BotManager] ↵Justin Clark-Casey (justincc)2013-08-222-0/+11
| | | | | | | | LoginDelay parameter of pCampbot.ini
* | Add "set bots" command to make it possible to set SEND_AGENT_UPDATES on all ↵Justin Clark-Casey (justincc)2013-08-221-0/+27
| | | | | | | | bots whilst pCampbot is running
* | Stop "handle sit user name" command from trying to sit avatars on objects ↵Justin Clark-Casey (justincc)2013-08-221-0/+3
| | | | | | | | which have sit positions but are attachments
* | Stop error messages being misleadingly generated when on client connection ↵Justin Clark-Casey (justincc)2013-08-221-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
* | In pCampbot, don't try and reconnect bots that are already connected on ↵Justin Clark-Casey (justincc)2013-08-221-1/+2
| | | | | | | | console "connect" command
* | Stop "sit user name" and "stand user name" console commands from trying to ↵Justin Clark-Casey (justincc)2013-08-221-2/+8
|/ | | | sit/stand avatars already sitting/standing
* minor: Make logging in GatekeeperService.LoginAgent() a bit more detailed so ↵Justin Clark-Casey (justincc)2013-08-221-4/+8
| | | | that we can distinguish between simultaneous logins
* Revert "Implement ability for hg logins to try fallback regions just like ↵Justin Clark-Casey (justincc)2013-08-221-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.
* Implement ability for hg logins to try fallback regions just like local logins.Justin Clark-Casey (justincc)2013-08-211-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.