aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-12Move some interfaces to a more apropriate placeBlueWall2-0/+0
2012-01-13Change the default osNpcCreate() to create an 'owned' npc rather than an ↵Justin Clark-Casey (justincc)1-1/+1
'unowned' one. An owned NPC is one that only the original creator can manipulate and delete. An unowned NPC is one that anybody with access to the osNpc* methods and knowledge of the avatar id can manipulate. This is to correct an oversight I made in the original reimplementation where I mistakenly assumed that avatar IDs could be treated as private. I am not anticipating that many people were deliberately making use of unowned npcs due to their insecure nature. If you do need an unowned NPC please call the new overloaded osCreateNpc() function with the option OS_NPC_NOT_OWNED.
2012-01-13Removing osNpcCreateOwned(). Please use osNpcCreate(string user, string ↵Justin Clark-Casey (justincc)3-12/+0
name, vector position, string notecard, int options) instead with option OS_NPC_CREATOR_OWNED Please note that correct option name is OS_NPC_CREATOR_OWNED not OS_NPC_CREATE_OWNED as mistakenly put in a previous commit.
2012-01-12Add missing assert to confirm owner delete succeeded to the end of ↵Justin Clark-Casey (justincc)1-0/+2
TestOsNpcRemoveOwned()
2012-01-12Add api level test for removing an owned npcJustin Clark-Casey (justincc)1-2/+55
2012-01-12Add ossl level test for removing an unowned npcJustin Clark-Casey (justincc)1-0/+115
2012-01-12Add remove test for unowned avatarsJustin Clark-Casey (justincc)1-0/+20
2012-01-12Add osNpcCreate(string firstname, string lastname, LSL_Vector position, ↵Justin Clark-Casey (justincc)4-0/+15
string notecard, int options) variant. This will be documented soon. Options can currently be OS_NPC_CREATE_OWNED - creates a 'creator owned' avatar that will only respond to osNpc* functions made by scripts owned by the npc creator OS_NPC_NOT_OWNED - creates an avatar which will respond to any osNpc* functions that a caller has permission to make (through the usual OSSL permission mechanisms). options is being added to provide better scope for future extensibility without having to add more functions The original non-options osNpcCreate() function will continue to exist.
2012-01-12Allow all NPCs to show up on sensors as all osNpc* script methods now check ↵Justin Clark-Casey (justincc)1-6/+9
for ownership permission before executing. As per #opensim-dev irc discussion.
2012-01-12Add permissions checks for owned avatars to all other osNpc* functions.Justin Clark-Casey (justincc)3-25/+52
This is being done outside the npc module since the check is meaningless for region module callers, who can fake any id that they like.
2012-01-12Renamed one var and deleted commented code. No functional changes.Diva Canto2-34/+3
2012-01-12refactor: Move existing npc owner checks to NPCModule.CheckPermissions() ↵Justin Clark-Casey (justincc)3-18/+45
methods and expose on interface for external calls.
2012-01-12HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵Diva Canto8-27/+40
location of the user's UAS. This corrects an earlier design which had some cases pointing to the profile server. WARNING: CONFIGURATION CHANGES in both the sims (*Common.ini) and the Robust configs (Robust.HG.ini). Please check diff of the example files, but basically all vars that were pointing to profile should point to the UAS instead and should be called HomeURI.
2012-01-12Allow update of stored entries within User Management Module-this is needed ↵Bo Iwu1-48/+52
for proper work of HG friends. See http://opensimulator.org/mantis/view.php?id=5847
2012-01-11If deserializing a scene object fails during IAR load then ignore the object ↵Justin Clark-Casey (justincc)2-2/+5
rather than halting the IAR load with an exception.
2012-01-10Add a check to see if an asset exists before recreating it whileMic Bowman1-0/+6
loading an archive. This does add an extra roundtrip to the asset server if loading new assets but it protects against overwriting (and potentially corrupting) existing assets.
2012-01-10minor: Fix wrong column length in image queues reportJustin Clark-Casey (justincc)1-2/+2
2012-01-10rename "show image queue" to "show image queues" in line with other udp info ↵Justin Clark-Casey (justincc)1-29/+8
commands. Eliminate redundant one line methods
2012-01-10Add "show image queue <first-name> <last-name>" region console commandJustin Clark-Casey (justincc)3-6/+107
This is so that we can inspect the image download queue (texture download via udp) for debugging purposes.
2012-01-10HG landing points: this hopefully fixes some confusion that was making HG ↵Diva Canto1-5/+6
avies always land in 0,0
2012-01-10Add avatar names to appearance log messagesJustin Clark-Casey (justincc)1-3/+3
2012-01-10correct very minor typo in "debug scene" helpJustin Clark-Casey (justincc)1-1/+1
2012-01-10Teleport DebuggingBlueWall2-2/+17
Move setting from ini to existing facitilies - thanks justincc toggle with console command: debug teleport
2012-01-10Add "app find <uuid-or-start-of-uuid>" command to find the appearance using ↵Justin Clark-Casey (justincc)1-0/+50
a particular baked texture, if any. This is for debugging to relate texture console entries back to particular users on the simulator end.
2012-01-10HG Friends: fixed bug introduced by 571efeddb20f38bb4164074b3c217be5387ca2e0 ↵Diva Canto1-2/+2
(r/17672)
2012-01-09Add some run-time debugging supportBlueWall2-1/+6
Add configuration option - DEBUG to enable debugging methods. This is temporary for helping users testing teleport routing be able to report back the data with the test cases. We can remove when finished with this, or leave it if it proves to be useful. Users: set DEBUG = true in OpenSim.ini to get more information from teleport routing. The default is false. It presently prints the TeleportFlags value.
2012-01-09Use our TeleportFlagsBlueWall2-22/+30
Switch to our TeleportFlags enum instead of LibOMV because we need to define a type for HG Logins. Also moved some debugging in ScenePresence into a function to make it simpler to enable/disable.
2012-01-09TP Routing debugBlueWall1-2/+5
Fix test to checking against bitfield instead of int
2012-01-09Fix teleport routing for incoming HG+OwnerBlueWall1-18/+19
Incoming HG owner/estate manager, etc. is routed according to the rules defined for teleports within the local grid. Left some commented debugging code inside so we can test other cases. Will remove when tings are settled in.
2012-01-09Debugging HG teleport routingBlueWall1-0/+18
Add some temporary debugging to the teleport routing to get a better view of what happens when HG jumps are made.
2012-01-09Fix HG teleport routingBlueWall1-2/+4
Needed to breakout the ViaHGLogin check to it's own section. For some reason it would not factor in when combined with the other teleport flag types.
2012-01-09Fix a build breakMelanie1-1/+1
2012-01-09Add the HG case to landing point checksMelanie1-1/+1
2012-01-08Update teleport routing to match AvinationMelanie1-16/+58
2012-01-08Fix teleport routingBlueWall1-0/+17
Route non-owner avatars according to land settings
2012-01-07Fix threat level setting on osNpcPlayAnimationMelanie1-1/+1
2012-01-07Don't try to save a NPCs attachment states on NPC deleteMelanie1-0/+8
2012-01-06fix a typo "osNpcCreated" to "osNpcCreate" in OSSL threat level checknebadon1-1/+1
2012-01-07minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2012-01-07Add method doc to SPA.Falling and use automatic private get propertyJustin Clark-Casey (justincc)1-13/+14
2012-01-07Fix bug where tapping home to stop falling would stop any avatar movement ↵Justin Clark-Casey (justincc)2-9/+10
other than falling again. Addresses http://opensimulator.org/mantis/view.php?id=5839
2012-01-06Fix some syntax issuesMelanie2-4/+4
2012-01-06Add osNpcPlayAnimation and osNpcStopAnimation which respect ownership as wellMelanie3-0/+56
2012-01-06Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the ↵Melanie9-20/+94
owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.
2012-01-06Allow RemoteAdmin to deal with all the different kinds of region id ↵Justin Clark-Casey (justincc)1-215/+191
parameter that have been used in different methods. See http://opensimulator.org/mantis/view.php?id=5814 Thanks Michelle Argus!
2012-01-06Fixed llAngleBetween() to allow denormal rotationsJohn Cochran2-20/+41
2012-01-06Add script instruction count back to llRot2Euler. Other minor ↵Justin Clark-Casey (justincc)2-16/+32
formatting/doc changes.
2012-01-06Replaced llRot2Euler function.John Cochran2-36/+92
The original function suffered from unexpected results due to rounding errors. An error of only 1 or 2 ulps would cause the code to not detect a singularity at Y rotation +/- PI/2 and take the non-singularity code path. The replacement code does not suffer from wildly inaccurate results at the +/- PI/2 singularity. The check in the code for the singularity isn't strictly needed, but gives more consistent results At the singularity, the X and Z rotations add. The if check simply forces the X rotation to be zero so the entirety of the X+Z rotation is carried by Z. Additionally, the test code has been updated to include test cases that caused the old code to fail. The test algorithm is also updated to perform a more meaningful test. The original code checked if the values against expected values. This could fail at +/- PI rotations since a rotation around an axis by PI causes the identical effect as a rotation by -PI. The new test code checks that the returned angles can be used to recreate a quaternion that causes the same rotation.
2012-01-06Implement the FetchInventory2 capability. This accompanies the existing ↵Justin Clark-Casey (justincc)5-2/+378
FetchInventoryDescendents2 capability. Not yet enabled by default. You can enable this by setting Cap_FetchInventory2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini Enabling both FetchInventory2 and FetchInventoryDescendents2 improves the situation with properly fetching attachments and hud objects Probably because viewers are never expecting the odd situation where FetchInventoryDescendents2 is present but not FetchInventory2 However, for some reason attachments and hud objects occasionally fail to appear, though their status is correct in inventory For attachments, focussing on the avatar makes them appear. Hud objects have to be reattached.
2012-01-06If dragging a script that is no copy from prim inventory into agentMelanie1-16/+39
inventory, stop it first in scene. If deleting from prims, move to trash rather then making it poof.