Commit Graph

591 Commits (45493171b01c1a623edc70fcb92c48e307c7f89f)

Author SHA1 Message Date
Justin Clark-Casey (justincc) 08721be374 minor: rename GetScriptPrimType() to GetPrimType() 2010-02-01 22:33:15 +00:00
Justin Clark-Casey (justincc) 5432925a3b move hollow sphere faces bug back up to LSL_Api.cs 2010-02-01 22:29:21 +00:00
Justin Clark-Casey (justincc) ecc068fbe0 remove now duplicated shape code from LSL_Api.cs 2010-02-01 22:08:00 +00:00
Justin Clark-Casey (justincc) 3863cd1d23 Copy prim face color setting code from LSL_Api down into SOP so that non-LSL callers can use it 2010-02-01 21:35:05 +00:00
John Hurliman a8b1a57cd1 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2010-01-12 10:27:21 -08:00
Dan Lake a4a0512011 Bug in llGetNumberOfPrims always returns to script when no clients are connected to the simulator. 2010-01-12 10:23:36 -08:00
Justin Clark-Casey (justincc) 9c668558d4 minor: formatting 2010-01-11 15:00:16 +00:00
Melanie 2320b17ca9 Whitespace cleanup 2010-01-11 02:04:05 +00:00
Revolution a0859754c0 Adds llRotTarget and the events at_rot_target and not_at_rot_target.
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-11 02:00:40 +00:00
Melanie e69ec1108f Cause llSetText to send prim updates. 2010-01-03 21:42:22 +00:00
Jeff Ames 70d5b1c34c Formatting cleanup. Add copyright headers. 2010-01-04 06:17:30 +09:00
Melanie 9f273717a2 Add virtual method StateChange to ScriptBaseClass 2010-01-02 19:43:54 +00:00
Revolution 3ec502f551 Readds llCollisionFilter and adds llPassCollision.
Applied with whitespace cleanup

Signed-off-by: Melanie <melanie@t-data.com>
2009-12-31 23:29:32 +00:00
Melanie 9c4e6f060a This patch caused serialization errors and needs to be reexamined
Revert "[PATCH] Adds llCollisionFilter"

This reverts commit eab2b4c6a9.
2009-12-31 06:41:10 +00:00
Melanie eab2b4c6a9 [PATCH] Adds llCollisionFilter
Thank you, Revolution. Applied with minor changes.
2009-12-31 04:48:59 +00:00
unknown 87959464c9 Adds osKickUser and osSetSpeed
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-31 03:56:55 +00:00
Melanie 917fad40da Fix an omission in LSL that causes a viewer crash 2009-12-30 00:36:54 +00:00
dahlia 7a06ab834d Clear Shape.SculptEntry if prim type is not a sculptie in llSetPrimitiveParams() - addresses Mantis #4462 2009-12-24 11:00:08 -08:00
Melanie e530180c1e Glue code for a couple of new LSL function implementations 2009-12-22 00:26:12 +00:00
Jeff Lee d04f6688e4 Fixes some incorrect values returned by llGetPrimitiveParams() and osGetLinkPrimitiveParams().
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-21 15:48:30 +00:00
dahlia 9485f17bf9 random drive-by minor math optimization. No need for concern, bitshed was within acceptable limits 2009-12-15 19:12:24 -08:00
Melanie 0f616d2ffe Prevent OSSL from crashing if the sim was loaded from a remote config and
osGetGridName, osGetGridNick or osGetGridLoginURI is used.
2009-12-15 15:42:51 +00:00
Adam Frisby 87e89efbf9 * Mistaken ThreatLevel classification on osGetSimulatorMemory - should have been MODERATE. 2009-12-13 03:49:22 +11:00
Adam Frisby 963cf25813 * Implements OSSL function: osGetSimulatorMemory - returns the current amount of memory allocated to the simulator process (Moderate Threat Level).
* Cleans redundant information out of the Simulator Version. Versions now look like:
"OpenSimulator 0.6.9(dev) Unix/Mono"
* [Minor] additional log info for MySQLInventoryData
2009-12-13 03:04:16 +11:00
Melanie e3a22ff37d Eliminate multiple updates on link/unlink 2009-12-06 02:53:34 +00:00
Melanie 9fd9211a38 Add some conditionals to references to the WorldComm module, so that the
module can be disabled without crashing the sim
2009-11-28 09:23:26 +00:00
Justin Clark-Casey (justincc) 2e47e51475 Make locking of timers and listeners in script related functions consistent
See http://opensimulator.org/mantis/view.php?id=4316
Thanks KittyLiu!
2009-11-27 19:01:45 +00:00
Melanie 3ae3cd0a5b Make llDie virtual, since it's functionality is engine specific 2009-11-27 08:16:47 +00:00
Jeff Lee 9d05962029 Added osGetRegionStats() function, to return a number of sim statistics 2009-11-26 17:43:17 +00:00
Jeff Lee d39c300d11 Added osGetRegionStats() function, to return a number of sim statistics 2009-11-26 17:43:00 +00:00
Teravus Ovares (Dan Olivares) a5f2803c79 * Re-enable the AbsolutePosition = AbsolutePosition in the LSL_Api in the SetRot method if the object is not active physical. This is important for scripted rotating doors. without AbsolutePosition = AbsolutePosition, the door won't rotate. It's also important that we do not use AbsolutePosition = AbsolutePosition if the object is active physical because that would cause a complete rebuild of the object which would break vehicles. This is the best of both worlds right now. Doors as child prim should work again so long as you don't check the Physical box.
* Thanks talentraspel
* Thanks NixNerd
* Thanks KittoFlora
* Thanks lockd
2009-11-26 01:34:46 -05:00
Melanie 0b380f68d8 Change osTeleportAgent parameters from long to int. That numerical range is
not even supported by the underlying type, so there is no need to ask
for a type the script can not even supply.
2009-11-25 17:02:45 +00:00
Jeff Ames 9f5c2acd12 Formatting cleanup. 2009-11-23 11:26:06 +09:00
Justin Clark-Casey (justincc) 61c76d1810 refactor: move AnimationSet 2009-11-17 15:20:02 +00:00
Justin Clark-Casey (justincc) 1324082b90 refactor: move most animation methods from ScenePresence into a new ScenePresenceAnimator class 2009-11-17 15:05:40 +00:00
Justin Clark-Casey (justincc) fe82471c2b Apply patch http://opensimulator.org/mantis/view.php?id=4369
Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
2009-11-12 19:42:35 +00:00
Melanie ba99081bbe Add IScriptModuleComms interface and region module to handle dispatch of
script messages to region modules and sending back replies.
Hook IScriptModuleComms.OnScriptCommand to see commands and use
DispatchReply to reply to the script. It is recommended to pass the "id"
parameter from the event as the "k" parameter of the reply.
The script will receive the reply as a link message from link -1.
2009-11-10 03:36:43 +00:00
Melanie 7df7e6a0bb Add modSendCommand function (note, this is a new API module, using the API
extension mechanism, it's not a osFunction!
2009-11-10 01:22:14 +00:00
John Hurliman afef1ac191 Changing the AssetBase constructors to avoid initializing assets with an unknown asset type, and log an error if it ever does happen 2009-11-05 13:10:58 -08:00
John Hurliman ec2ebf2598 Removing EntityBase.Rotation 2009-11-04 16:08:10 -08:00
John Hurliman 67ac9881fa Removing duplicate SceneObjectPart.RotationalVelocity property 2009-11-02 11:28:35 -08:00
Diva Canto 58c260140c Patch + minor formatting fixes. 2009-10-31 19:10:33 -07:00
Douglas R. Miles 7f4d646aea http://opensimulator.org/mantis/view.php?id=4337 2009-10-31 19:05:02 -07:00
Dan Lake 33448e4ba8 Optimizations 2009-10-29 05:39:18 -07:00
John Hurliman d199767e69 Experimental change of PhysicsVector to Vector3. Untested 2009-10-26 18:23:43 -07:00
unknown 71c929137f Inconsistent locking of SenseRepeaters in Script Engine.
When I attempt to 'save oar' on a region with thousands of scripts with timers, I get a NullReferenceException every time. The problem comes from inconsistent locking in SensorRepeat.cs of the SenseRepeaters List. It is iterated and modified in many places and these places are all wrapped in a lock except in the GetSerializationData(). This is the function throwing the exception because an item in the list becomes null during iteration.

The attached patch locks SenseRepeatListLock in GetSerializationData()
2009-10-23 11:25:06 +01:00
John Hurliman 588361e2a2 Experimental change to use an immutable array for iterating ScenePresences, avoiding locking and copying the list each time it is accessed 2009-10-23 01:02:36 -07:00
John Hurliman b2ed348aa2 Implemented a Watchdog class. Do not manually create Thread objects anymore, use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated 2009-10-22 12:33:23 -07:00
Melanie fc4ff09181 Merge branch 'vehicles' 2009-10-22 17:39:19 +01:00
Snowcrash 84ac0f56f5 Fixing the patch to the patch 2009-10-22 17:36:52 +01:00