aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-01-29Apply http://opensimulator.org/mantis/view.php?id=3334Justin Clark-Casey (justincc)1-1/+6
Send continuous touch() events if the left mouse button is held down while moving over an object This conforms with Linden Lab practice Thanks Revolution
2010-01-25Fix a problem where llDie() calls were sometimes leaving dead objects behind.Justin Clark-Casey (justincc)1-6/+3
When an object was deleted, the remove script instance call was aggregating the scripting events as normal. This would queue a full update of the prim before the viewer was notifed of the deletion of that prim (QuitPacket) On some occasions, the QuitPacket would be sent before the full update was dequeued and sent. In principle, you would think that a viewer would ignore updates for deleted prims. But it appears that in the Linden viewer (1.23.5), a prim update that arrives after the prim was deleted instead makes the deleted prim persist in the viewer. Such prims have no properties and cannot be removed from the viewer except by a relog. This change stops the prim event aggregation call if it's being deleted anyway, hence removing the spurious viewer-confusing update.
2010-01-12Bug in llGetNumberOfPrims always returns to script when no clients are ↵Dan Lake1-14/+3
connected to the simulator.
2010-01-11minor: formattingJustin Clark-Casey (justincc)1-1/+5
2010-01-11Whitespace cleanupMelanie3-14/+14
2010-01-11Adds llRotTarget and the events at_rot_target and not_at_rot_target.Revolution3-16/+22
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-10Adds land collision events.Revolution1-17/+54
CRs cleaned from patch Signed-off-by: Melanie <melanie@t-data.com>
2010-01-03Cause llSetText to send prim updates.Melanie1-0/+1
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames6-113/+113
2010-01-02Add virtual method StateChange to ScriptBaseClassMelanie1-0/+4
2009-12-31Readds llCollisionFilter and adds llPassCollision.Revolution1-2/+17
Applied with whitespace cleanup Signed-off-by: Melanie <melanie@t-data.com>
2009-12-31This patch caused serialization errors and needs to be reexaminedMelanie1-44/+4
Revert "[PATCH] Adds llCollisionFilter" This reverts commit eab2b4c6a96cd5b2a0f079f27a9c2ac15273d3f0.
2009-12-31[PATCH] Adds llCollisionFilterMelanie1-4/+44
Thank you, Revolution. Applied with minor changes.
2009-12-31Adds osKickUser and osSetSpeedunknown3-0/+97
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-30Fix an omission in LSL that causes a viewer crashMelanie1-0/+5
2009-12-24Clear Shape.SculptEntry if prim type is not a sculptie in ↵dahlia1-0/+4
llSetPrimitiveParams() - addresses Mantis #4462
2009-12-24Add the LSL List Size propertyMelanie1-1/+40
2009-12-22Remove GetState. It is really unused and was reinstated by the revertMelanie1-7/+0
2009-12-22Revert "Remove an insterface member that was never used"Melanie2-0/+16
It was used. By the API, which is dynamically loaded. So it didn't complain until it hit Bamboo This reverts commit 33d5018e94e52cb875bf43bced623bdc6aa41ef0.
2009-12-22Remove an insterface member that was never usedMelanie2-16/+0
2009-12-22FINALLY! Script compile errors now appear in the script error pane,Melanie5-75/+98
not in a funky debug window.
2009-12-22Add a data path for error messagesroot1-0/+5
Committed from my other box where git is not configured properly Signed-off-by: Melanie <melanie@t-data.com>
2009-12-22Glue code for a couple of new LSL function implementationsMelanie1-2/+4
2009-12-21Fixes some incorrect values returned by llGetPrimitiveParams() and ↵Jeff Lee1-7/+20
osGetLinkPrimitiveParams(). Signed-off-by: Melanie <melanie@t-data.com>
2009-12-21Script State Fix: Part 2Melanie1-16/+20
Change the reader to wrap old-style definitions in new style wrappers. Change importer to not check irrelevant data that can't be reconstructed This removes the last bit of knowledge of XEngine's .state files from core.
2009-12-21Remove extra checking on the itemID of saved state, since it changes duringMelanie1-4/+5
rez from inventory.
2009-12-21Script State Fix: Step 1Melanie1-0/+6
Add Engine=xxx attribute and check for it's presence. Ignore state data written bby another engine
2009-12-15random drive-by minor math optimization. No need for concern, bitshed was ↵dahlia1-2/+2
within acceptable limits
2009-12-15Prevent OSSL from crashing if the sim was loaded from a remote config andMelanie1-3/+3
osGetGridName, osGetGridNick or osGetGridLoginURI is used.
2009-12-13* Mistaken ThreatLevel classification on osGetSimulatorMemory - should have ↵Adam Frisby1-1/+1
been MODERATE.
2009-12-13* Implements OSSL function: osGetSimulatorMemory - returns the current ↵Adam Frisby3-0/+25
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-06Eliminate multiple updates on link/unlinkMelanie1-0/+8
2009-11-28Add some conditionals to references to the WorldComm module, so that theMelanie2-8/+18
module can be disabled without crashing the sim
2009-11-27minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2009-11-27Make locking of timers and listeners in script related functions consistentJustin Clark-Casey (justincc)1-1/+4
See http://opensimulator.org/mantis/view.php?id=4316 Thanks KittyLiu!
2009-11-27Make llDie virtual, since it's functionality is engine specificMelanie1-1/+1
2009-11-26Added osGetRegionStats() function, to return a number of sim statisticsJeff Lee1-1/+8
2009-11-26Added osGetRegionStats() function, to return a number of sim statisticsJeff Lee5-0/+45
2009-11-26Fix a small bug. Trusted script crossings now work againMelanie1-1/+1
2009-11-26Remove the old (Remoting) region crossing code. Fix the new code toMelanie3-14/+116
pass script state and assembly again properly. Reintroduce respecting tht TrustBinaries flag. Changes the interregion protocol! No version bump because it was broken anyway, so with a version mismatch it will simply stay broken, but not crash. Region corssing still doesn't work because there is still monkey business with both rezzed prims being pushed across a border and attached prims when walking across a border. Teleport is untested by may work.
2009-11-26Remove GetAssemblyName and friends from the SE interface. It's now handledMelanie1-9/+86
internally
2009-11-26* Re-enable the AbsolutePosition = AbsolutePosition in the LSL_Api in the ↵Teravus Ovares (Dan Olivares)1-0/+12
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-25Change osTeleportAgent parameters from long to int. That numerical range isMelanie3-5/+5
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-23Formatting cleanup.Jeff Ames2-15/+15
2009-11-20Fix http://opensimulator.org/mantis/view.php?id=3874 - parenthesis in for ↵Justin Clark-Casey (justincc)1-1/+19
statements cause script compile failures This fixes a problem in OpenSim where statements of the form for ((i = 0); (i < 10); (++i)) { ... } do not compile even though they are valid lsl.
2009-11-17refactor: move AnimationSetJustin Clark-Casey (justincc)1-1/+2
2009-11-17refactor: move most animation methods from ScenePresence into a new ↵Justin Clark-Casey (justincc)2-14/+18
ScenePresenceAnimator class
2009-11-12Apply patch http://opensimulator.org/mantis/view.php?id=4369Justin Clark-Casey (justincc)3-32/+81
Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
2009-11-10Add IScriptModuleComms interface and region module to handle dispatch ofMelanie1-3/+16
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-10Add modSendCommand function (note, this is a new API module, using the APIMelanie4-0/+234
extension mechanism, it's not a osFunction!