Commit Graph

3370 Commits (5b3897a4af247a14dfd36fa00bb6999e0a1078d5)

Author SHA1 Message Date
lbsa71 5b3897a4af * Caught HttpListenerException and swallowed if with output
* Moved Flush into Close since it's always done in that order.
* Minor renamings
* Reversed if for clarity
2008-02-25 15:36:24 +00:00
Jeff Ames cda8b013ec Updated paths in classaudit script. 2008-02-25 11:53:21 +00:00
Tedd Hansen 66cc8f99f6 I'm the stupidest stupid in the whole world. :)
Fixed a bug in new Prim where I actually ADDED new values to old values instead of directly assigning them... Now that was a waste of time! :P
2008-02-25 11:29:24 +00:00
Teravus Ovares b831a91852 * Message Server Linkages (still not ready for use so don't start it yet) 2008-02-25 06:33:14 +00:00
Jeff Ames 61200b469c Update svn properties. 2008-02-25 01:59:14 +00:00
Tedd Hansen 909796f615 Added limits to Prim.Position.X/Y/Z (0-255) so that your prims won't wander off into eternity 2008-02-24 17:46:28 +00:00
Tedd Hansen 4f4dfa8e82 Fixed startup logo size to match a Win CMD window.
Fixed bugs in new OOP commands.
Prim.Rotation.X += 45;
Prim.Position.X += 10;
Now how do I find the prim I asked to += 10 every 1 second???
2008-02-24 17:29:59 +00:00
Tedd Hansen f10d895105 Ok, so NOW scripts work. New patch to break them coming soon. 2008-02-24 17:01:20 +00:00
Tedd Hansen 8af64c979f By now you all have learned that when I'm committing scripting usually doesn't work, so no big surprise. :)
Modified baseclass for compiled script to incorp new OSSL commands class and renamed it to follow standards and all that. Scripts may work again. :)
2008-02-24 16:41:56 +00:00
Tedd Hansen 952c8de189 Forgot to change what class compiled scripts must inherit from to get their commands :) 2008-02-24 16:23:02 +00:00
Tedd Hansen 08131614c9 Implemented object oriented Prim.Position, Prim.Rotation and Prim.Text.
Example:
Prim.Position.X += 10;
2008-02-24 16:16:00 +00:00
Tedd Hansen 05dd1759c7 I keep forgetting that my Linux OpenSim has the wrong version of libopenjpeg-libsl-2.1.2.0.so 2008-02-24 15:56:22 +00:00
Tedd Hansen b533517037 eol 2008-02-24 15:55:04 +00:00
Tedd Hansen 2cd85e15dc Changed so "BuiltIn_Commands" given to scripts is easily extendable. Added new OSSL_BuilIn_Commands class where we can start adding our own modular commands. 2008-02-24 15:45:20 +00:00
Teravus Ovares 95def8c636 * Adds unit test glue to the OdePlugin.
* Adds one unit test. CreateAndDropPhysicalCube.
* More unit tests will be done
* Let me know if this breaks Linux build..
2008-02-24 04:06:01 +00:00
lbsa71 e626288059 * deleted .user file 2008-02-23 20:20:08 +00:00
Jeff Ames 8d57f2e30a Update svn properties. 2008-02-23 13:50:31 +00:00
Teravus Ovares bbb8b66908 * Made Physics updates a teensy bit more responsive. A previous CPU optimization of mine slowed the speed of updates using the 'poll' method in certain circumstances. 2008-02-23 12:46:23 +00:00
Teravus Ovares db264013d4 * One more fix to the selected feature
* Don't act immediately on a physical prim unless it's moving.
* This helps when you're trying to make a box stack and you select the bottom most box.
2008-02-23 12:26:37 +00:00
Teravus Ovares 27508c1ad8 * Added Support within the ODEPlugin for Selected. Which means that;
* When you select a physical prim, it stops while you've got it selected.
* When you move or alter a prim in some manner, it doesn't become collidable until you de-select it
* When you select a prim, it doesn't become temporarily 'phantom' until you make some change to it while it's selected. (this prevents accidental selections in prim floor from causing it to go phantom on you(but don't move it or you'll fall))
* There's one major difference, and that's a physical object won't stop if you don't have permission to edit it.  This prevents people who don't have edit permissions on a prim from stopping it while it's moving.
2008-02-23 11:42:55 +00:00
Adam Frisby f710dec6cd * Reduced size of 'startup complete message' by several thousand lines. 2008-02-23 02:40:20 +00:00
Tedd Hansen 5eff68e6bb Fix for error message during startup (shared thread started processing region queue before queue objects were fully operational) 2008-02-22 23:45:17 +00:00
Tedd Hansen c485d56512 Trying to fix SVN update error: 2/2 2008-02-22 23:29:46 +00:00
Tedd Hansen a4ad602e1d Trying to fix SVN update error: 1/2 2008-02-22 23:29:12 +00:00
Tedd Hansen 840bf28be6 Removed LaunchSLClient from Prebuild - it can be added to solution on manually by whoever is working on it. :) 2008-02-22 23:21:22 +00:00
Justin Clarke Casey f95ad65189 * Improve alignment of packet queue stats headigns
* Correct asset cache stats table heading
* Correct spelling mistake in AssetCache (thanks ChrisD!)
2008-02-22 23:15:00 +00:00
Justin Clarke Casey fed46ba6a7 * Winnow the debug and info messages associated with stat fetching
* As such, only a request for a non cached asset, the response and failures show up now.
* I know lbsa71 only put these in not long ago, so if they are really still required, I think we should think whether we can move the default log4net level off 'Debug'
2008-02-22 22:54:50 +00:00
Tedd Hansen 46cfc475aa ScriptEngine works again (startup-nully-error gone) 2008-02-22 22:53:19 +00:00
Tedd Hansen f06a6573bb One more: Async LSL command thread is also shared now. 2008-02-22 22:24:12 +00:00
Teravus Ovares 9b675a6888 * Converted the last of the events to the private delegate instance method to avoid race conditions. 2008-02-22 21:18:08 +00:00
Justin Clarke Casey b483faddf2 * Downgrade texture exception to a warning. 2008-02-22 21:13:23 +00:00
Tedd Hansen 0fc6b2a429 Bugfixes - Scripting works again 2008-02-22 20:58:25 +00:00
Justin Clarke Casey 3994a96783 * Oops! Add missing interface 2008-02-22 20:56:28 +00:00
Justin Clarke Casey 30eea2618d * Implement packet queue statistics
* This will show the packets waiting in each queue for each client logged into a region server
* These are displayed using 'show stats' on the region command line
* This is in pursuit of a memory leak.
* This will require a prebuild
2008-02-22 20:50:30 +00:00
Tedd Hansen e741dcde6a Some misplaced code made scripts never start :) 2008-02-22 20:06:44 +00:00
Tedd Hansen 0fb4374c1a Better timing of MaintenanceThread's tasks (uses less CPU)
Updated OpenSim.ini.example
2008-02-22 19:46:13 +00:00
Teravus Ovares 582964800c * Moved all events except gridcomms and regioncomms over to Event Delegate instances to prevent event race conditions 2008-02-22 19:44:46 +00:00
Teravus Ovares ddffcb4673 * Moved the EventManager over to delegate instances to prevent race conditions. 2008-02-22 19:08:24 +00:00
MW b842ab3927 fixed it so that the different types of trees now work (show up in the clients), problem is that we don't seem to be persisting PrimitiveBaseShape.State in the datastore, so after restart of server, they all turn back into pine trees. 2008-02-22 18:27:08 +00:00
Tedd Hansen 42bcd76b36 Bugfixes - wasn't counting threads right++ 2008-02-22 16:15:08 +00:00
Tedd Hansen 879a260498 Minor annoying Exception-bug fixed 2008-02-22 14:53:26 +00:00
Tedd Hansen a43bb10000 Execution threads are now shared between regions too. Default thread count regardless of number of regions is now 3. This will save you around 33 threads for a normal 3x3 region server.
But, this is totally completely untested. So it probably won't work for another patch or five.
2008-02-22 14:09:38 +00:00
Tedd Hansen 3bb0fe098f Maintenance thread in charge of loading/unloading of scripts. 1 thread less per region.
Total so far: 2 threads less per region
Note: Currently causes delay in load/unload of scripts
2008-02-22 13:23:45 +00:00
Tedd Hansen 9f7366210a Now last commit will compile too... The features just keep on coming! 2008-02-22 13:15:01 +00:00
Tedd Hansen a040008cb9 From this commit and a few hours into the future ScriptEngine will be unstable:
* Speeding up ScriptEngine shutdown
* Sharing threads so that minimum total thread count for any amount of regions will be 2. (1 maintenance, 1 script execution)
You can choose more script exec threads if you want of course.
In this commit: Sharing maintenance thread between all regions.
2008-02-22 12:50:24 +00:00
Teravus Ovares ff12395a3d * Relative large ClientView refactoring of packet Events into .Net recommended format. 2008-02-22 11:30:34 +00:00
Tedd Hansen f75e418211 Fixes to ScriptEngine thread cleanup on destructor 2008-02-21 23:43:58 +00:00
Teravus Ovares d4905812bc * Fixed an issue where the client thread was aborted before the UDP server sends a message back to ClientView to close it a second time. (yes we call close twice because there are times when the client closes with a logout and disconnects immediately which causes the UDP server to send a close request to the client thread)
* This update might make things better, it might expose another issue.
2008-02-21 20:22:25 +00:00
Jeff Ames 0103c43697 Update svn properties. 2008-02-21 15:14:39 +00:00
Teravus Ovares 640ad259d4 * A few additional null checks in the Physics Scene and PhysicsActor so we don't try to enumerate dead null ODECharacter objects when things get *really* slow. 2008-02-21 14:51:39 +00:00