Commit Graph

7155 Commits (3efdccbb12fc2d5339870ade39e1b1d54da4fe9b)

Author SHA1 Message Date
Teravus Ovares ed8a20dd60 * Fixed UDP server (again)
* Guys, there's an endless loop there *ON PURPOSE*.  Please don't try to *fix* it.  We must continue to process the UDP stream buffer on clients that disconnected nastily until it ends or the UDP server accept thread will die a horrible death.
2008-10-19 17:02:39 +00:00
Homer Horwitz 1ee10d919a Added calling cards. Fixes Mantis#2409 and part of #1515. 2008-10-19 16:49:10 +00:00
Jeff Ames 7812133138 Update svn properties. 2008-10-19 09:51:10 +00:00
Dahlia Trimble b6396bc9a7 More progress towards implementing vertex normals - not complete yet. 2008-10-19 09:04:25 +00:00
Teravus Ovares 6362760d30 * Null check before UseCircuitCode Check or the server crashes on packet loss! 2008-10-19 01:06:50 +00:00
Teravus Ovares 692f4259fb * Add root agent list/check for mapitem requests. 2008-10-19 00:29:37 +00:00
Melanie Thielker 16d8c40a93 A small attempt to make persisting prims more reliable 2008-10-19 00:06:33 +00:00
Melanie Thielker af7fcb540c Add a resource file on Strawberry's patch I missed 2008-10-18 16:31:05 +00:00
Teravus Ovares 11fd935038 * Changed the dupe collision depth limiter to be slightly more restrictive. (less chance for a dupe) 2008-10-18 16:20:02 +00:00
Melanie Thielker 1bd33aa51a Prevent a null root part from stopping objects from being persisted, also
remove any such objectsd from backup
2008-10-18 15:43:02 +00:00
Homer Horwitz 3a75a54da1 - Fix Util.UnixTimeSinceEpoch:
* Unix epoch starts at midnight, not at 8:00am
  * All date/time handling should be done in UTC in the server, not in
    the local timezone.
  * Refactor out repeated computation of a constant value
- Added setting of CreationTime to some places where inventoryitems
  are created
This fixes Mantis#2390.
2008-10-18 15:26:41 +00:00
Melanie Thielker 48890ea349 Guard against a null ref that can prevent objects from being persisted 2008-10-18 15:23:29 +00:00
Melanie Thielker c3ba97c80a Thank you, Strawberry Fride, for a patch that brings MSSQL even with MySQL 2008-10-18 13:04:35 +00:00
Melanie Thielker 264eeffd02 Fix thingd so that autoreturn also works when the user is not in the sim.
Also add experimental distance ordering for prims
2008-10-18 07:27:39 +00:00
Melanie Thielker efe3f3eb2a Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.
Add rezzing time to objects. Add Object return and traffic fields to land
database. Add plumbing for auto return. Implement auto return.
Contains a migration. May contain nuts.
2008-10-18 05:51:36 +00:00
Teravus Ovares 0916b38b83 * Fix an over compensation for bounciness on flat Primitive
* Implement the linear impulse portion of llPushObject.  We should have a lsl compatible implementation of that portion of the push.  Angular..   well.  still have yet to implement a torque accumulator.
* llPushObject respects the region and parcel settings for Restrict Push, it also respects GodMode as is defined in the LSL spec.
2008-10-17 23:19:00 +00:00
Justin Clarke Casey 739f1591da * Remove mono warnings 2008-10-17 20:45:07 +00:00
Justin Clarke Casey 400314e884 * Finally, don't worry about doing containment checks on other dictionaries if we are adding a client
* Regarding an earlier change, I think it would be possible to eliminate the creation of new IPEndPoints on every end receive if we did the client circuit lookup before starting 
the next receive.  However, this would be a performance trade off and hence not worth trying without performance testing
2008-10-17 20:38:00 +00:00
Justin Clarke Casey 4ccac88cf6 * Don't worry about trying to populate the other dictionaries if a client's circuitcode is already found in the first one 2008-10-17 20:30:50 +00:00
Justin Clarke Casey 90d69a0523 * close two potential race conditions where a new asynchronous UDP recieve could overwrite an existing endpoint that had not yet been used by the previous thread
* in practice these race conditions were probably pretty rare
2008-10-17 20:14:31 +00:00
Homer Horwitz 5f4cad62c5 Add two missing settings to OpenSim.ini.example. 2008-10-17 19:28:49 +00:00
Justin Clarke Casey 84492fee01 * Temporarily resume creation of IPEndPoint on every call
* This widened what I think is an existing race condition where asynchronous recieves could potentially stomp on each other's end points (though this must occur very rarely, if at 
all, in reality)
2008-10-17 19:08:53 +00:00
Homer Horwitz 9e46d5e207 Fixed llDeleteSubList; the indices were swapped (Fixes Mantis#2399). 2008-10-17 19:01:01 +00:00
Justin Clarke Casey 7891f821e2 * Instead of creating a new IPEndPoint on every udp packet receive, reuse the existing one
* This requires copying details into a new endpoint when it needs to be stored in client/circuit code hashes
2008-10-17 17:57:18 +00:00
Justin Clarke Casey e4b8912296 * reverse part of a change that accidentally crept in with the last revision 2008-10-17 17:08:14 +00:00
Justin Clarke Casey 138bcf6fff * Apply a modified version of http://opensimulator.org/mantis/view.php?id=2290
* This allows multiple user profile providers to be specified in OpenSim.ini separated by commas
* If multiple providers are specified then a request for a user profile will query each in turn until the profile is either found or all have been queried
* Unfortunately I don't believe this order can currently be specified, which if true is something that will need to be fixed.
* Thanks to smeans for the original patch.
2008-10-17 16:44:05 +00:00
Teravus Ovares a6df2011f7 * Adds a lot of stability and performance to the physics engine. The avatar bounces less and things are a bit less explosive.
* Additionally, you can probably get more physical prim now together..  though, I think this puts us back on par with where we were in the beginning of the year on number of physical objects.   Experiment.  Make videos.  Send Feedback.  Enjoy.
2008-10-17 05:09:23 +00:00
Jeff Ames f5c9600eb7 Update svn properties, minor formatting cleanup. 2008-10-17 02:50:39 +00:00
Teravus Ovares c26d0ebc19 * Added missing dependencies that was causing build to fail in windows. Mono doesn't seem to care. 2008-10-17 01:59:43 +00:00
Homer Horwitz ae9e38bf3f Fixed (mono-)script handling for SL viewer 1.21:
- Added two missing caps (UpdateScriptAgent, UpdateScriptTask)
- Added one missing EventQueue event (ScriptRunningReply)
- Changed DNE and XEngine to use this new event
As we only use the mono engine anyway, the "Mono" checkbox is set by
default but doesn't have any function.
2008-10-16 21:46:03 +00:00
Melanie Thielker 4bbc28e445 Split the currency module into currency and a new Combat module, because
the combat function really doesn't belong into currency
2008-10-16 20:50:28 +00:00
Justin Clarke Casey 82b7374ed2 * minor: get rid of pointless ipeSender 2008-10-16 19:50:12 +00:00
Sean Dague a29d8b9abb - Removed debug print method 2008-10-16 19:05:32 +00:00
Sean Dague b61f124cc3 more fun with rebasing 2008-10-16 18:41:24 +00:00
Sean Dague 43928d5253 resorting out this merge from arthur, sorry for so many commits here. 2008-10-16 17:46:46 +00:00
Sean Dague 8795bb623d - Enforced no user or agent with UUID 0 on agent DB insertion 2008-10-16 17:46:43 +00:00
Justin Clarke Casey 4df08aed30 * Apply http://opensimulator.org/mantis/view.php?id=2401
* Removes spacers that are also separators in llParseString2List
* Thanks idb
2008-10-16 17:14:02 +00:00
Sean Dague 7f721ae20c fix line endings, as apparently the bot didn't do this yet 2008-10-16 15:58:07 +00:00
Sean Dague 24822ab890 - New attempt after merging problem 2008-10-16 15:58:06 +00:00
Sean Dague fa3d8220f2 - Enforced no user or agent with UUID 0 on agent DB insertion 2008-10-16 15:58:05 +00:00
Sean Dague b9a736f0b8 - Removed a Console.Writeline and added a Test that will be changed
if the last commit is accepted
2008-10-16 15:58:03 +00:00
Sean Dague 8621303ea9 - Removed debug print method 2008-10-16 15:58:01 +00:00
Sean Dague 72725a0894 - Enforced no user or agent with UUID 0 on agent DB insertion 2008-10-16 15:57:59 +00:00
Tedd Hansen 9a200da0d2 Updated 32Bit launcher so it works in Visual Studio again. (So developers on 64-bit os can run OpenSim in 32-bit mode) 2008-10-16 15:09:02 +00:00
Justin Clarke Casey 6789234335 * Apply http://opensimulator.org/mantis/view.php?id=2405
* Implement llGetRegionFPS()
* Thanks idb
2008-10-16 13:17:31 +00:00
Teravus Ovares 68d85497ad * Releases the inter-region thread synchronization between physics in ODE on the same instance.
* If you are hosting many regions on a single instance, you will probably notice a decrease in region startup time and maybe a slight increase in performance.
* Single regions won't notice anything different
2008-10-16 12:57:29 +00:00
Homer Horwitz 641de2f404 Check for terrain size=256x256 on "terrain load <file>". This fixes
(the rest of) Mantis#1813.
2008-10-15 21:20:07 +00:00
Sean Dague ceb5830142 clean up a merge conflict and remove a console message 2008-10-15 21:00:08 +00:00
Homer Horwitz d77ebb5761 Thanks, idb, for a patch that fixes Mantis#2400:
llSensor() range ignored with AGENT.
2008-10-15 20:49:28 +00:00
Justin Clarke Casey 98245e4bfa * minor: Oh go on, one more warning. Oooh, you are naughty 2008-10-15 20:46:39 +00:00