aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-02from krtaylorSean Dague1-3/+6
Fixe for Mantis 821
2008-03-30**Big ass update warning**Adam Frisby3-0/+14
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>". * Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax. * New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class. * Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-29Patches llAvatarOnSitTarget to return NULL_KEY opposed to a blank string. ↵alondria1-6/+7
Should fix Mantis 838
2008-03-28fixes mantis #778 and shoots himself for making such a mistake to begin ↵MW1-2/+2
with, but also blames Tedd for the way the script functions have wrapper methods that call the same named method in a different class, is it my fault if in two such functions, I forget to add "m_LSL_Functions." and instead cause a recursive loop until the stack overflows.
2008-03-28From: Michael Osias <mosias@us.ibm.com>Sean Dague1-3/+176
This patch implements llMessageLinked. I had to make a change to llGetLinkNumber to return m_host.LinkNum + 1 for link sets of more than 1 prim, or 0 for a single object, since according to: http://rpgstats.com/wiki/index.php?title=LlMessageLinked linksets with 2 or more prims start the link numbering at 1, but a single prims link number is 0.
2008-03-25Comment out unused private methods.Jeff Ames2-46/+49
2008-03-25* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.Teravus Ovares1-2/+4
* It doesn't generate at_target events, because they don't exist yet in the script engine. * The Tau is different, however, compatible with scripts I tested. * Not perfect... but pretty good.
2008-03-24* Added llApplyImpulse in the local frame.Teravus Ovares1-9/+11
2008-03-24Implements llGetInventoryPermMask()alondria3-5/+25
2008-03-24Modified llGetInventoryName() so it indexes inventory in the same manner the ↵alondria1-3/+3
LL grid does. (Thanks Teravus for pointing this out.)
2008-03-24Implements llGetInventoryName() - the order is based upon inventory key, ↵alondria1-1/+17
which probably doesn't match 100% with LL's grid.
2008-03-24Implements llGetInventoryNumber()alondria1-2/+9
2008-03-24Implements llGetInventoryType()alondria1-2/+8
2008-03-24Implements llGetInventoryCreator()alondria1-1/+9
2008-03-23Implements llGetParcelPrimOwners()alondria1-2/+12
2008-03-23Implements (I hope): llRemoveFromLandBanList, llRemoveFromLandPassList, ↵alondria1-6/+83
llAddToLandBanList, llAddToLandPassList, llResetLandPassList, llResetLandBanList
2008-03-23Fix llParseString2List bug when separator is longer than 1 character.Jeff Ames1-10/+8
2008-03-22*Moved LandManagement into its own region module (spiffy!)mingchen1-1/+1
2008-03-22Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). alondria1-5/+8
2008-03-21Adds in +, -, and / operators for Rotations (and fixes Mantis 671)alondria1-0/+17
2008-03-21Woops - forgot to call m_host.AddScriptLPS(1) in llGetObjectDetails....alondria1-0/+1
2008-03-21Implements llGetObjectDetails()alondria3-0/+95
2008-03-21Implements llKey2Name().alondria1-1/+12
2008-03-21Implemented llOverMyLand() and correct llGetOwnerKey() to properly return ↵alondria1-4/+28
the information for the argument key, opposed to the object the script is in.
2008-03-21* Converted a large number of ASCII encodings to UTF8.Adam Frisby1-1/+0
* We should not be using ASCII anywhere except for legacy compatibility reasons. * A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT * This should fix Mantis#799 - Japanese Profile Text does not work.
2008-03-21* Fix for #499: linked primsets don't rotate properly when using a door ↵Teravus Ovares1-0/+2
script that works OK on SL * Fix for #693: llSetRot malfunction in linked prims causing instance of invisible prim
2008-03-19* Patch to add llSetLinkPrimitiveParams stubJustin Clarke Casey3-0/+12
* Thanks krtaylor
2008-03-19* Documentation patch from krtaylor. Thanks!Justin Clarke Casey1-0/+5
2008-03-19Fixed some comparisons of LLUUIDs to null.Jeff Ames1-3/+3
Thanks to DrSchofld for pointing this out.
2008-03-18Formatting cleanup.Jeff Ames1-3/+3
2008-03-18Formatting cleanup. Minor refactoring.Jeff Ames1-2/+2
2008-03-18* Applied Grumly57 patch for #781; Thanks, Grumly!lbsa711-7/+7
2008-03-18Patch from DrSchofld (IBM). In his own wordsJustin Clarke Casey1-2/+2
structs (such as LLUUID) are considered values by mono. comparing them against null makes no sense and the mono compiler will flag that as evaluating to always false --- except if "cleverly" disguised. the attached patch fixes such an occurrence in OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/SensorRepeat.cs. [yes, i'm on a crusade against comparing structs against null, go ask jradford from libsl ;-)]
2008-03-18Formatting cleanup.Jeff Ames33-878/+833
2008-03-17Fix a few mono compiler warnings. Minor cleanup.Jeff Ames1-1/+1
2008-03-17From: Alan M Webb <awebb@vnet.ibm.com>Sean Dague3-90/+370
Here's a diff of the changes I have made in support of the following LSL script functions. llSetScriptState llGetScriptState llCSV2List llListRandomize llList2ListStrided llListFindList llResetOtherScript llGetScriptName It was necessary to modify ExecutorBase in support of the ScriptState implementations. I also modified SceneObjectPart and SceneObjectPart.Inventory to corrects a quoting mismatch in the commentary that through off live parsing of the files. I also simplified the State definition at the start of BuiltinCommands.
2008-03-15added some os helper functions for the texture drawing module. see ↵MW3-0/+140
http://opensimulator.org/wiki/OSSL_TextureDrawing for function prototypes and example script. Will expand that page later.
2008-03-14* Added proper handling of llSetStatus(STATUS_PHYSICS,BOOL)Teravus Ovares1-2/+9
2008-03-14* Preliminary work with the ODEPlugin to collect collision data.Teravus Ovares1-3/+3
2008-03-12there was a single instance where the log4net object was notSean Dague1-1/+1
static readonly. I suspect this was the cause of mantis #500.
2008-03-11Refactor out some duplicate code.Jeff Ames2-5/+5
2008-03-11* Applying patch #754 - Fix for Vector Magnitude operation. Thanks cmickeyb!Adam Frisby1-2/+2
2008-03-10* Added Linear Acceleration reporting to the ODEPlugin.Teravus Ovares1-2/+1
* Added support for LSL llGetOmega (Rotational/Angular Velocity)- ODEPlugin is the only physics plugin that reports it.
2008-03-10ODEPluginTeravus Ovares3-0/+20
* Added osSetPrimFloatOnWater(BOOL) to make Physical prim float at the water level. * osSetPrimFloatOnWater(TRUE); or osSetPrimFloatOnWater(FALSE); * By default, prim do not float at the water level. * More work is needed on the floating, but it's a start.
2008-03-10* Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.Teravus Ovares2-1/+8
* Added WaterLevel support to the ODEPlugin. More on this later.
2008-03-08Remove two warnings with unused variables.Charles Krinke1-2/+0
2008-03-08Thank you very much, Ldviopeng for :Charles Krinke1-3/+54
Patch to implement the following LSL functions: llGetObjectPermMask() llSetObjectPermMask()
2008-03-08Added Frist basic version on the VectorRenderModule, that allows scripts to ↵MW3-0/+89
do some basic drawing onto textures. Currently the method the scripts have to use is most likely not the most user friendly, but this should improve soon. And hope to allow SVG files (either loaded from a web site, or even script created) to be used. I will add a page to the wiki tomorrow, until then http://www.pastebin.ca/934425 is a example c# script that can be used to get a bit of a idea. Also added osSetDynamicTextureDataBlend and osSetDynamicTextureURLBlend that will allow the various textures to be blended together, but currently there are still a few bugs in them. So not ready for use yet.
2008-03-08Thank you kindly, Ldviopeng for:Charles Krinke3-3/+130
Patch to implement the following LSL / OS functions llParcelPrimCount(60%) osSetParcelMediaURL
2008-03-07* Applied patch #719 from lvoidpeng.lbsa711-2/+3
* Implements llGetOwnerKey Thanks, lvoidpeng!