Commit Graph

4276 Commits (80cbd468ea4dca31c0bf28607f4ab3ed3963f765)

Author SHA1 Message Date
Adam Frisby 80cbd468ea * Some refactorings.
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
2008-05-08 04:34:02 +00:00
Justin Clarke Casey d8aaf2ccf1 * For no good reason (since there are a hundred million other things to fix), change formatting of version information printed to the log
* Push printing down into OpenSimMain so both console and consoleless configurations will get it
2008-05-07 23:59:57 +00:00
Justin Clarke Casey e49bdd2628 * Change LSL -> C# translated script console output to use the logger (at DEBUG level) rather than Console.Writeline 2008-05-07 23:21:24 +00:00
Justin Clarke Casey be02107ea8 * Increasing ScenePresences locking to prevent race conditions such as those seen in one of the crashes of mantis 1163
* It's not impossible that this could lead to deadlock where sessions simply appear to freeze, even though the region console still responds.
* If this is the case, please file a mantis
2008-05-07 22:59:30 +00:00
Adam Frisby 95fbf63b3b * Temporary fix for Mantis 1177. 2008-05-07 22:19:30 +00:00
mingchen e364c64583 *Fixed bug causing Object Duplication to not correctly follow permissions 2008-05-07 21:52:11 +00:00
Teravus Ovares 28e6e018a2 * Doh! scripts that get controls should get controls even when you're sitting on an object. 2008-05-07 21:50:37 +00:00
Justin Clarke Casey 611a1634f4 * Fix minor local inventory service log typo 2008-05-07 21:45:25 +00:00
Adam Frisby 5843f595a7 * Fixed some compiler warnings
* Fixed prebuild.xml to remove DB4o references (more compiler warnings)
2008-05-07 21:42:23 +00:00
Adam Frisby 17366af846 * Added Obsolete() tag to IClientAPI.OutPacket.
* Increased compiler warnings by a whoppingly large number.
2008-05-07 21:31:15 +00:00
Adam Frisby a95f13a646 * Removes references to libsecondlife.Packets from IClientAPI. BAD PROGRAMMERS. NAUGHTY.
* Thanks to Andrew (DeepThink) for working on this one.
2008-05-07 20:31:48 +00:00
Sean Dague 02b1d908e8 enable velocity on our full update, as I think I know why
this didn't previously work
2008-05-07 19:48:34 +00:00
Sean Dague 0574355b4b seriously hope this gives us rotation and rotational velocity 2008-05-07 19:44:22 +00:00
Teravus Ovares 86669a1664 * Other then the prim update experiments that are going on now, llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D. 2008-05-07 19:41:03 +00:00
Sean Dague b77aa39d64 check in a new approach to this 2008-05-07 19:37:37 +00:00
Sean Dague 30077bf717 ok, reverting the bad packet fill in, going to try this again
slightly differently
2008-05-07 19:34:06 +00:00
Sean Dague 37172afe31 make prims reliable to see how that effects this update path 2008-05-07 19:19:38 +00:00
Sean Dague fd8defcebb this change probably causes an earthshattering kaboom, and
sends all your prims to mars.  or it fixes llTargetOmega.  
place your bets quickly before I have a chance to test it.
2008-05-07 18:57:43 +00:00
Sean Dague 5ff3c03c12 get all the right bits to SendPrimitiveToClient so we can actually
set vel, acc, and rvel in the packet (though this isn't done yet).
2008-05-07 18:40:18 +00:00
Teravus Ovares ab5556055e * Theoretically, everything is in place for scripted take controls... Theoretically.
* I've still got to test, it's still theoretical code :D.   Good thing it isn't enabled by default!
2008-05-07 18:23:46 +00:00
Sean Dague edd6577f84 while I'm not convinced this is causing my current run away
loop, this queue manipulation is dead wrong as Queue is not
a synchronized data structure.  Hopefully this helps.
2008-05-07 18:10:18 +00:00
mingchen 1b2415325a *Fixed Missing SceneExternalChecks.cs 2008-05-07 18:06:55 +00:00
Sean Dague 7203648588 if we are aborting the client loop we should tell someone 2008-05-07 18:05:18 +00:00
mingchen d8e33ec914 *Added CanRunScript to SceneExternalChecks 2008-05-07 17:44:48 +00:00
mingchen 6551f17966 *Added SceneExternalChecks.cs that is used to manage checking the results of multiple functions that register with the class and return the result (usually true/false) based on those results. This is useful for module wanting to put their opinion in decisions such as 'can the user rez this object?' 2008-05-07 17:33:57 +00:00
Justin Clarke Casey 5afe6c3ed9 From: Kurt Taylor <krtaylor@us.ibm.com>
Implements the show version command.
If you type show version at the console, you will get the revision that opensim is running, assuming you have the .svn/entries file in your base directory (e.g. you are running from code extracted from our SVN repository)
A patch to also send this to the client should follow shortly
2008-05-07 16:48:29 +00:00
Justin Clarke Casey 250fb6f5db * Move shutdown processing to base OpenSimServer, overriding the method where appropriate
* This also means that the command quit (as well as shutdown) will now close down grid servers (instead of only being in place for the region server)
2008-05-07 16:24:15 +00:00
Charles Krinke 2cf025d9cb Thank you very much, Xantor for a patch to improve
llParticleSystem().
2008-05-07 16:05:42 +00:00
Justin Clarke Casey e35e83312d * Increase number of poll attempts an inventory items request will make under CAPS 2008-05-07 15:53:27 +00:00
Charles Krinke dc80fd2048 Thank you, Middelink for a patch that fixes the regular expresion
missing the numbers after the initial letter of the identifier.
2008-05-07 15:51:50 +00:00
Sean Dague e1e4fe7361 replace 2 instances of "0000...." with LLUUID.Zero.ToSting() because
I was in the file and noticed them.
2008-05-07 15:07:46 +00:00
Sean Dague 3792827cf3 revert 4546, I definitely didn't understand what I was doing here
and awebb says he's close to a functional patch for 1166
2008-05-07 15:01:02 +00:00
Sean Dague 4999b00294 attempted fix of http://opensimulator.org/mantis/view.php?id=1166. This
is currently untested and may result in weirdness.  Beware this changeset.
2008-05-07 14:41:59 +00:00
Justin Clarke Casey 382b9c18ed From: Alan M Webb <awebb@vnet.ibm.com>
The attached patch moves the sun module incrementally nearer where it
needs to be. Default behavior, i.e. no overriding configuration is to
match Second Life's diurnal/nocturnal rhythm.

All designated values are now sent to the client.There remain a couple
of unanswered questions about how this SHOULD be implemented though.
2008-05-07 14:15:59 +00:00
Jeff Ames 0ea48cf786 De-tabify source. 2008-05-06 22:41:38 +00:00
Sean Dague 0b09966c7e send actual velocity and angular velocity in terse updates
instead of hardcoding to zero when the primitive is non physical.
llTargetOmega should work now.
2008-05-06 22:17:00 +00:00
Jeff Ames be024e1e93 Restored svn:keywords to prebuild.xml.
Set svn properties script to ignore this property from now on.
Update svn properties on some other file types.
Minor formatting cleanup.
2008-05-06 22:14:15 +00:00
Sean Dague 94a3442baf this should fix zariok's issue 2008-05-06 19:22:05 +00:00
Sean Dague ffe6b71f61 reduce log messages from nhibernate 2008-05-06 19:07:14 +00:00
mingchen d8e02d9e5c *LLClientView is now pushed the EstateSettings instead of pulling it from the scene...more to standards
*LandChannel no longer requires libsecondlife.Packets (it should have never needed it in the first place)
2008-05-06 18:29:58 +00:00
Sean Dague 81056717e0 added nhibernate examples 2008-05-06 18:22:26 +00:00
Adam Frisby 31cd162d34 * Cleaning up code, making it conform to OpenSim standards. 2008-05-06 04:56:48 +00:00
Teravus Ovares add13276a9 * Committing a bunch of work for control snatching. Not done yet. No visible features. 2008-05-06 02:47:14 +00:00
Teravus Ovares 240e8646da * If you llApplyImpulse on an attachment, it applies impulse on the avatar, not the attachment. 2008-05-06 00:23:19 +00:00
Justin Clarke Casey 9655cf2807 * Refactor: Break out permissions code into a separate region PermissionsModule 2008-05-05 20:14:53 +00:00
Justin Clarke Casey 60a83574f4 * Just some tidy up and documentation before I make my first ever attempt to extract a lump of code out to a region module 2008-05-05 18:53:07 +00:00
mingchen c535f3947d *Standardized the Land module by removing all references to libsecondlife.packets 2008-05-05 17:44:40 +00:00
Teravus Ovares ce19234dc8 * Unraveled the DEBUG_CHANNEL mystery.
* Moved script errors to the debug channel.
* Typing '/2147483647 OK' results in a debug_channel message.
* Expanded the available parameters that are send-able through IClientAPI
2008-05-05 15:53:11 +00:00
Teravus Ovares 1130c3067c * A bit of spice from here, a pinch of salt from there, some brains that attracts zombies.. a recipe for llRezObject
* Original patch by YZh Thanks YZH!!!!
* object_rez event patch by Melanie, Thanks Melanie!!!
* Some fixups, some missing things(velocity,rotation)
* script delay
* Recoil
* Standard error messages
* Standard silent failures
* Easter egg management
2008-05-05 00:03:30 +00:00
Teravus Ovares 7b446aba91 * Implemented DIE_AT_EDGE and Temporary objects don't save to the database. 2008-05-04 22:55:52 +00:00