aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-28Remove mono compiler warning. Adjust message log to error from infoJustin Clark-Casey (justincc)1-2/+2
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)2-2/+2
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-26Add a version of osNpcSay that takes a channel number Mantis 5747Talun2-9/+55
osNpcSay(UUID npc, string message) left untouched New functions:- osNpcSay(UUID npc, int channel, string message) osNpcShout(UUID npc, int channel, string message) osNpcWhisper(UUID npc, int channel, string message) Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-04-25Add try/catch around Json script method registration to avoild some issuesMic Bowman1-15/+24
with .NET 3.5 vs 4.0 differences. See http://opensimulator.org/mantis/view.php?id=5971
2012-04-25refactor: Combine ScenePresence.Teleport() and TeleportWithMomentum()Justin Clark-Casey (justincc)1-1/+1
These are identical apart from setting Velocity = zero, which has no practical effect anyway since this is zeroed when the avatar is added back to the physics scene.
2012-04-24Minor improvements to loggingOren Hurvitz1-2/+2
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
2012-04-24Add online/offline indicator to "friends show" region console command.Justin Clark-Casey (justincc)1-3/+14
Improve output table formatting.
2012-04-18Allow scripts in attachments owned by the NPC to control the NPCMelanie1-1/+7
2012-04-17clean up some more logging spam in the jsonstore modulesMic Bowman2-2/+4
2012-04-17Fix the Csharp 3.0 vs 4.0 problem in JsonStore initialization.Mic Bowman3-5/+7
Cut down on the logging spam.
2012-04-17This commit adds a new optional region module, JsonStore, that provides ↵Mic Bowman3-0/+1416
structured storage (dictionaries and arrays of string values) for scripts and region modules. In addition, there are operations on the storage that enable "real" distributed computation between scripts through operations similar to those of a tuple space. Scripts can share task queues, implement shared locks or semaphores, etc. The structured store is limited to the current region and is not currently persisted. However, script operations are defined to initialize a store from a notecard and to serialize the store to a notecard. Documentation will be posted to the opensim wiki soon.
2012-04-17make the namespace for the ScriptModuleComms consistent with its file system ↵Mic Bowman1-1/+1
location
2012-04-05Added missing refresh of group membership client side cache to the groups ↵Snoopy Pfeffer1-1/+2
module. Before memberships of non active groups often were not stored in the cache (n_groupPowers).
2012-03-31refactor: Rename SOG.GetChildPart() to GetPart() since it can also return ↵Justin Clark-Casey (justincc)1-1/+1
the 'root' part.
2012-03-30minor: remove some now unneeded code from FriendsCommandsModuleJustin Clark-Casey (justincc)1-55/+0
2012-03-30Make default "show friends" console command show friends fetched from the ↵Justin Clark-Casey (justincc)1-4/+83
friends service. There is no a --cache option which will show friends from the local cache if available.
2012-03-30refactor: Move "friends show cache" console command out into separate ↵Justin Clark-Casey (justincc)1-0/+165
FriendsCommandsModule. Expose required methods on IFriendsModule. Rename GetFriends() -> GetFriendsFromCache() for self-documentation
2012-03-29Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)2-3/+3
caching. This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin() Also add a code comment as to why we're caching friend information for child agents.
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)2-3/+3
functions require caching for child agents." We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators. This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
2012-03-28Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)2-3/+3
require caching for child agents. This allows us to avoid unnecessary multiple calls to the friends service. All friends functions originate from the root agent and only go to other root agents in existing code. This also allows us to eliminate complex ref counting.
2012-03-27minor: clean up some code formatting in VivoxVoiceModule.csJustin Clark-Casey (justincc)1-54/+25
2012-03-27Two new scripting functions osInviteToGroup(userID) and ↵Snoopy Pfeffer1-23/+99
osEjectFromGroup(userID) that invite/eject users to/from groups the object containing the script is set to. These functions also work for closed groups.
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer1-2/+20
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
2012-03-26Add some more overloads to allow registering overloaded methods and listsMelanie1-4/+14
of methods.
2012-03-26Add a hust UUID to the script invocationsMelanie1-7/+8
2012-03-25Fix compile error in ScriptModuelComms and add some debugging into the modInvokeMic Bowman1-2/+12
routines to simplify finding method registration issues.
2012-03-26Fix TypoMelanie1-1/+1
2012-03-26Further simplify ScriptCommsMelanie1-1/+3
2012-03-26Dynamically create the delegate type to reduce complexity in the callerMelanie1-1/+21
2012-03-26Correct the design error I introduced into ScriptComms. Untested but about toMelanie1-14/+22
be.
2012-03-26Dynamically create the delegate type to reduce complexity in the callerMelanie1-1/+21
2012-03-26Correct the design error I introduced into ScriptComms. Untested but about toMelanie1-14/+22
be.
2012-03-25Simplify the module invocation registration. The types and method nameMelanie1-2/+18
can be pulled fromt he delegate so we don't need to pass them explicitly
2012-03-24Add support for key, vector, rotation and list types for bothMic Bowman1-0/+8
arguments and return values to the modInvoke family of functions. See http://opensimulator.org/wiki/OSSL_Script_Library/ModInvoke
2012-03-23Have the PhysicsParameters module output console command responsesRobert Adams1-5/+5
directly to the console rather than logging at INFO (which doesn't output anything for WARN). There should really be a WriteLine method on ICommandConsole so all of the different commands don't have to figure out where the command output should go.
2012-03-22RegionReady loggingBlueWall1-10/+5
Some maintenance to clean up logging messages
2012-03-21Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)2-10/+0
AvatarAnimations, load just in AvatarAnimations instead. This lets us remove the dependency of OpenSim.Framework.dll on data/avataranimations.xml, which is not necessary for ROBUST. This commit also takes care of the odd situation where animations are stored and used internally with uppercase names (e.g. "STAND") but scripts refer to them with lowercase names (e.g. "sit").
2012-03-20Move frame loop entirely within Scene.Update() for better future performance ↵Justin Clark-Casey (justincc)1-7/+5
analysis and stat accuracy. Update() now accepts a frames parameter which can control the number of frames updated. -1 will update until shutdown. The watchdog updating moves above the maintc recalculation for any required sleep since it should be accounted for within the frame.
2012-03-15Adds a new script command 'modInvoke' to invoke registered functionsMic Bowman1-2/+97
from region modules. The LSL translator is extended to generate the modInvoke format of commands for directly inlined function calls. A region module can register a function Test() with the name "Test". LSL code can call that function as "Test()". The compiler will translate that invocation into modInvoke("Test", ...)
2012-03-15 added ObjectPhysicsProperties http event message to send viewer that data. ↵UbitUmarov2-0/+10
For now on caps/EventQueue, and still only used on a material change...
2012-03-10BIG MESS. changed Iclient interface so only one event is used to inform ↵UbitUmarov2-0/+2
scene about position scale or rotation change by client (others can be added). Its served at SceneGraph that does permition checks, undostore and sends down to SOG. changed values are stored in a class (ObjectChangeData) and what is changed as a enum (ObjectChangeWhat) with bit fields and 'macros' of this for better readability (at top of scenegraph.cs lasy to find better place for now) this can be extended for other things clients changes and need undo/redo. SOG process acording to what is changed. Changed UNDO/redo to use this also (warning is only storing what is changed, previus stored all, this must be checked for side efects. to save all PRS change commented line in scenegraph). Still have excessive calls to ScheduleGroupForTerseUpdate. **** UNTESTED ****
2012-03-09Factor out common default animations code into SLUtil. LLClientView now ↵Justin Clark-Casey (justincc)1-34/+2
makes use of the SLUtil copy via a method rather than each LLClientView loading a separate copy. As per opensim-users mailing list discussion.
2012-03-09fix for NPC not playing internal animationssatguru srivastava1-1/+36
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)5-27/+27
<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-03-06Prevent scripted region crossings from crashing with prim limits enabledMelanie1-1/+7
2012-03-06Simplify NPCModuleTests code by putting the NPCModule in an instance ↵Justin Clark-Casey (justincc)1-61/+56
variable rather than making each test fetch it seperately. Also rename instance variables in the test to conform to naming standards and for understandability
2012-03-06Go back to setting appearance directly in NPCModule.SetAppearance() to fix ↵Justin Clark-Casey (justincc)2-9/+57
mantis 5914 The part reverted is from commit 2ebb421. Unfortunately, IAvatarFactoryModule.SetAppearance() does not transfer attachments. I'm not sure how to do this separately, unfortunately I'll need to leave it to Dan :) Regression test added for this case. Mantis ref: http://opensimulator.org/mantis/view.php?id=5914
2012-02-27Fix NPC appearance setting to include attachments againMelanie1-1/+4
2012-02-24Stop spurious scene loop startup timeout alarms for scenes with many prims.Justin Clark-Casey (justincc)2-2/+2
On the first frame, all startup scene objects are added to the physics scene. This can cause a considerable delay, so we don't start raising the alarm on scene loop timeouts until the second frame. This commit also slightly changes the behaviour of timeout reporting. Previously, a report was made for the very first timed out thread, ignoring all others until the next watchdog check. Instead, we now report every timed out thread, though we still only do this once no matter how long the timeout.
2012-02-16Remove some debugging output form the loggerBlueWall1-2/+4