Commit Graph

7221 Commits (1b3a3ffc7781a468f40841ee291d3f1e0fe22957)

Author SHA1 Message Date
Melanie Thielker 1b3a3ffc77 Finally make attachments stay put. Randomize local ID generation to
prevent adjacent sims from using identical Local IDs for the attachment
Thanks to Mana Janus (Hippo Viewer) for providing the crucial bit of
information, namely that, due to a bug in the viewer, adjacent sims can't
use the same local ids.
2008-11-29 13:17:21 +00:00
Melanie Thielker a00d346aab Add the lifetime management back into the LSL_Api, since that will also
expire and take the scripts down
2008-11-29 11:20:06 +00:00
Dahlia Trimble fdd2388331 Update meshing code to sync with current PrimMesher.cs on forge.
Migrate sculpt meshing code to primMesher version. This should result in more accurate physical sculpted prim proxies.
Remove much obsolete code from Region/Physics/Meshing
2008-11-29 11:02:14 +00:00
Melanie Thielker 1952a67ceb Comment the ScriptSponsor and restore the indefinite lifetime for
scripts until that can be better debugged
2008-11-29 07:10:00 +00:00
Melanie Thielker e1153394c1 Stop attachments from twisting away. Thismakes attachments phantom, which
is the proper way to handle this
2008-11-29 07:05:33 +00:00
Melanie Thielker 179d114daa Try to prevent attachments twisting/moving 2008-11-29 04:01:46 +00:00
Melanie Thielker ef4a80eeaf Should have tried with something other than attachments. Make normal prim
render again :)
2008-11-29 03:18:06 +00:00
Melanie Thielker 287c724b55 A try to better attachment crossing. 2008-11-29 01:33:10 +00:00
Justin Clarke Casey 7823ca5c8b * minor: Stop startup complaining about a missing MyAssetSet.xml all the time by creating a blank file 2008-11-28 21:12:20 +00:00
Justin Clarke Casey 8527f23c59 * Stop console misleadingly reporting an error if it cannot find a startup commands file 2008-11-28 21:09:20 +00:00
Justin Clarke Casey 4356fc1006 * minor: remove mono compiler warning 2008-11-28 21:05:35 +00:00
Justin Clarke Casey 5f9ccd486f * test: Extend take object test to finally check that the object made it into user inventory and that it was removed from the scene 2008-11-28 20:58:12 +00:00
Teravus Ovares c9a5215d6d * Fixes Location == Location, and Location != Location 2008-11-28 20:37:21 +00:00
Justin Clarke Casey dfbec673a4 * simplify AddNewClient since making this root without using MakeRootAgent() no longer sets everything up properly 2008-11-28 20:11:17 +00:00
Teravus Ovares 86b75d1617 * Committing a new test, that will fail until someone decides to fix Location == Location. Obviously, if that is failing then many other things that test location will fail. 2008-11-28 20:07:13 +00:00
Teravus Ovares 414bf2aaf1 * The equals override of 'Location' is not working as expected. This caused sim restarts to fail because the test that searches for and shutsdown the UDP server listener for that region never found and shutdown the udp server. hence the error message, "only one listener on port".
* This is a high profile candidate for a unit test. (big)
2008-11-28 19:44:44 +00:00
Justin Clarke Casey 71e05a5707 * test: Add a wodge of code in order to be able to slightly extend a test to deliver a taken object to a user inventory folder without throwing an exception
* test doesn't actually double check for the presence of the item yet
2008-11-28 19:39:46 +00:00
Justin Clarke Casey abfb7bd2cf * test: Separate out async deletion methods to test delete and take copy separately.
* The take copy test doesn't currently actually test the take
2008-11-28 17:41:45 +00:00
Justin Clarke Casey df9b0e9e11 * refactor: Replace derez destiation magic numbers with an enumeration 2008-11-28 17:18:10 +00:00
Justin Clarke Casey a199d9b955 * minor: remove unused JId class 2008-11-28 16:10:30 +00:00
Justin Clarke Casey 18974b7766 * refactor: rename UserServiceAdmin to UserAdminService 2008-11-28 16:04:01 +00:00
Justin Clarke Casey 63851f1441 * refactor: move ResetUserPassword into UserServiceAdmin 2008-11-28 15:47:01 +00:00
Justin Clarke Casey 7b49c711e9 * minor: Eliminate unused paramter in LocalUserServices constructors 2008-11-28 15:40:44 +00:00
Justin Clarke Casey 0862627b34 * refactor: move CreateUser into UserServiceAdmin 2008-11-28 15:34:30 +00:00
lbsa71 27d9e715c0 * Changed name of auth function to better reflect actual use 2008-11-28 12:31:30 +00:00
Melanie Thielker 09281fb55c Correct wrong inverted logic on settings goup 2008-11-28 09:54:27 +00:00
Melanie Thielker dd3f87ceb5 Revert setting the parent local is explicitly, as that caused even more
failures
2008-11-28 04:50:50 +00:00
Melanie Thielker 0afbb6cb3e Omit parcel checks for attachments. 2008-11-28 04:31:39 +00:00
Melanie Thielker 3ff34579e4 Force regioncrossed prims to get a new LocalID. Reset parent local ID to new
avatar local ID when corssing.
2008-11-28 03:28:39 +00:00
Melanie Thielker a7f3d2fbc2 Invert a test to allow prims to region-cross again 2008-11-28 02:31:43 +00:00
Melanie Thielker 48149f36c0 Reinstate a check that i overzealously removed. Permissions are not slammed
without owner change anymore
2008-11-28 01:07:22 +00:00
Melanie Thielker d50c752dbe Fix build break 2008-11-27 22:46:20 +00:00
Melanie Thielker 8089935681 And take away a now unnecessare swap elsewhere. We should not be swapping
them anywhere but at the point of transmission
2008-11-27 22:37:04 +00:00
Melanie Thielker d20a3c6e5a Cause attachment nibbles to be swapped in terse object updates, too.
This error may have been the root cause of the head attachment bug.
2008-11-27 22:30:54 +00:00
Justin Clarke Casey a3a4c16294 * minor: rename m_parent to m_commsManager to make it a little clearer what it actually is 2008-11-27 20:46:10 +00:00
Justin Clarke Casey 9b03802189 * test: Inch forward with another test by using a skeletal in memory inventory data plugin 2008-11-27 20:33:18 +00:00
Justin Clarke Casey 8ba6b2b11a * minor: remove mono compiler warnings 2008-11-27 19:51:11 +00:00
Justin Clarke Casey 45c50998c2 * Remove unused and largely unimplemented UpdateUserCurrentRegion()
* please say if this causes you a problem
2008-11-27 19:43:26 +00:00
Justin Clarke Casey 1cd727614d * Add a file I forgot in the last commit. 2008-11-27 19:31:19 +00:00
Justin Clarke Casey 7c6c776ff7 * test: Add the ability to add a plugin directory to the user and inventory services in order to extend unit tests for user and inventory information
* I can't spend any longer in trying to get Mono.Addins to work with the unit tests, so this is not a proper plugin at this time
2008-11-27 19:28:04 +00:00
Justin Clarke Casey 5867f9c11f * minor: remove the ability to change the client in ScenePresence to reduce the scope of possible bugs - currently unused in the core code
* if this is being used then please say and we can see if there is a better accomodation of this
2008-11-27 15:14:27 +00:00
lbsa71 4a54e3412d * Opened the registration of http handlers up for subclassing 2008-11-27 14:39:44 +00:00
Tedd Hansen 1eeffcd89e Test commit.. just contains div trace and other stuff. 2008-11-27 13:41:26 +00:00
Teravus Ovares f7beef3283 * Adds texture download requests to pcampbot to more accurately represent load. 2008-11-27 06:54:20 +00:00
Teravus Ovares 7bf1452a61 * Fix some tests 2008-11-27 06:07:17 +00:00
Charles Krinke 921692a15f Thank you kindly, Nlin for a patch that:
Adds a new method to IClientAPI to allow adding message handlers 
for GenericMessages (of which "autopilot" is one). Part 2 adds a 
specific autopilot handler in ScenePresence.cs.
2) Removing unused variables and functions.
3) Simplifying the navigation logic in ScenePresence.cs. The 
original patch was somewhat complex because it included orientation
logic for a future enhancement of orienting the avatar to point 
towards the direction being walked. Currently this isn't working, 
though, so I removed the orientation code, which leaves just the 
smaller and hopefully simpler-to-understand movement code.
2008-11-27 05:16:47 +00:00
Melanie Thielker 714ca971d6 Unconditionally set the slam bit oon all object to agent inventory transfers.
Closes a possible exploit with prims containing other prims
2008-11-27 03:56:21 +00:00
Melanie Thielker d9c05a6def Cause the slam bit to be set in transferred inv items 2008-11-27 03:54:43 +00:00
Melanie Thielker 6b7ba29986 Fix permission propagation that was broken some revision back, causing
sold/given prim to become full perm.
2008-11-27 03:17:00 +00:00
Homer Horwitz 557559abd3 Added local lookup before we ask the messaging server.
Still not tested. May contain bugs.
2008-11-26 19:50:03 +00:00