aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-04* Whole buncha stuff.Adam Frisby1-0/+12
2008-02-03Added llRot2Fwd, llRot2Left, and llRot2Up as well as explicit vector->string ↵alondria1-3/+3
casting. (Thanks to dalien on informing me how easy the math was for these).
2008-02-02Implements LSL function llDialog().alondria1-1/+13
The ScriptDialogReply packet handler is a bit of a hack job. It is currently handled similar to ChatFromViewer, which will trigger the listen() event, however this is not exactly how LL's implementation works and will/can be fixed up later.
2008-02-02Added llParseString2List (and a few extra methods to LSL_Types.list).alondria1-2/+48
2008-02-02* Added Full support for llSetTextureAnim. To ckrinke: Let the fountains ↵Teravus Ovares1-1/+10
of Wright Plaza flow! * Fixed another bug in LibSL. This is the same version, as before just with a bug fix.
2008-02-02* Committing some untested stuff regarding texture animations. This won't ↵Teravus Ovares1-1/+10
break anything, but the llSetTextureAnim function is completely untested.. (though it may be functional once the script engine works again)
2008-02-01SCRIPTING STILL BROKENTedd Hansen1-2/+2
Added comments and regions, restructured code Changed a lot of AppDomain junk from console from using Console.Write to Log.Verbose and set it to #if DEBUG All modules should now refresh their configuration runtime Made all logging in ScriptEngine.Common get script name from actual engine Renamed LSLLongCmdHandler to AsyncLSLCommandManager Added auto-recover with 5 sec throttle for new MaintenanceThread
2008-02-01Fixed errors being thrown by invalid PSYS_SRC_TARGET_KEY's in ↵alondria1-1/+9
llParticleSystem - defaults to source prim (consistent with LL grid). Should fix mantis 427.
2008-02-01Thanks to Hashbox for a patch to:alondria1-0/+8
Implementing llStringTrim and hooking in osRegionNotice
2008-02-01* Added more supported feature to particlesystems. While this appears to ↵Teravus Ovares1-3/+28
have a libsl update... it's really a fix to the libsl version we're already using because of a bug in the particlesystem implementation * Added two new simstat counters in the simstat enum for the RCCS. (I'll find something cool to put in them) * fixed a time waster in ODEPlugin.cs
2008-01-31* Adding limited support for LLParticleSystem.Teravus Ovares1-14/+38
* We still need to set the 'default particle' texture as, a particle system with no texture set doesn't work. * The particle System Flags don't seem to be quite right yet as some flags don't seem to have an effect. So no alpha in/out, color change, affected by the wind, etc.. yet * Thanks to Alondria for some massive work here. This update just tweaks a few things that she did.
2008-01-31Hit a dead end with llParticleSystem (libsecondlife issues) so no ↵alondria1-23/+48
functionality added yet, but did not want to loose work.
2008-01-21Surround the "non implemented" in an else clause if face is inappropriate for:Charles Krinke1-16/+34
llSetColor, llSetAlpha, llGetColor, llSetTexture, llOffsetTexture, llRotateTexture & llGetTexture
2008-01-17Added data structure to be passed through event execution queue so that ↵Tedd Hansen1-1/+2
events can use llDetect*-commands to find information about event.
2008-01-17* Added llApplyImpulse in the global frame. The object must be physical ↵Teravus Ovares1-1/+16
before this'll do anything. Be careful with this function as it's easy to loose prim.
2008-01-15* Mother of all commits:Adam Frisby1-29/+29
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-12Thank you very much, Kinoc for implementing llGetSubString and ↵Charles Krinke1-6/+35
llDeleteSubString: from the c# implementations of string.SubString(start,len) and string.Remove(start,len). Especially since negative indexing and exclusion are included in the LSL versions. This patch is closer to the LSL version. Maybe an osSubString and osRemoveString would be appropriate?
2008-01-12Set eolTedd Hansen1-3002/+3002
2008-01-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen1-3015/+3003
ScriptEngine.Common, only .Net-specific code in DotNetEngine. AppDomains, event handling, event execution queue and multithreading, script load/unload queue, etc has been moved to ScriptEngine.Common. Loads of things has been put into interfaces instead of the specific class. We are now one step closer to ScriptServer, and its very easy to implement new script languages. Just a few lines required to make them a OpenSim script module with all its glory.
2008-01-12Implements llModifyLand() - Still needs some tweaking to match LL's effect ↵alondria1-0/+59
on how much to effect the land.
2008-01-11Fix some warnings under mono.Jeff Ames1-2/+2
2007-12-31Correction of last commitTedd Hansen1-96/+96
2007-12-31Changed type comparison from String to object typeTedd Hansen1-9/+9
2007-12-30Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen1-0/+6
2007-12-27* Optimized usingslbsa711-2/+0
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-27* AssetServerBase: _ProcessRequest is now called GetAssetlbsa711-16/+17
* PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility. * Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
2007-12-27* Fixed compile issue caused by half-refactoring (sorrry!)Adam Frisby1-1/+12
2007-12-27* Added osRegionRestart(float secs) to LSL CommandsAdam Frisby1-2/+27
* Added osRegionNotice(string msg) to LSL Commands * Added PermissionManager checks for osTerrainSetHeight, osRegionRestart.
2007-12-27* Added osTerrainSetHeight(int x, int y, double val) to LSL commandsAdam Frisby1-0/+11
* Added osTerrainGetHeight(int x, int y) to LSL commands
2007-12-27* Added slightly better object sit handlingTeravus Ovares1-3/+11
* Added sit handling for sit targets * Implemented llSitTarget() * Implemented llAvatarOnSitTarget() * Sit targets do not persist sim restart.
2007-12-24Again, great thanks to Alondria for:Charles Krinke1-22/+79
Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel()
2007-12-23* Patch from Alondria - Added LLFunctions llGetMass(), llGetLandOwnerAt(), ↵Teravus Ovares1-8/+6
llGetVel(), llGround()
2007-12-22Thank you, Alondria for:Charles Krinke1-3/+32
Reverts the LSL Texture/Color functions back to the original code, allowing them to function again
2007-12-20Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames1-25/+11
Works with LibSL rev>1532
2007-12-19Thank you very much, CharlieO for:Charles Krinke1-4/+114
Added: llSetLinkAlpha() and finished off llSetLinkColor() by adding the ability to use LINK_SET.
2007-12-19Thanks to CharlieO for:Charles Krinke1-2/+47
llSetLinkColor() and a temp place holder for llOwnerSay() since many example scripts that are copy/pasted from outside sources have llOwnerSay() and its obnoxious to change in scripts each time.
2007-12-18Many Thanks to Alondria for adding:Charles Krinke1-180/+285
The list type and a bunch of support functions to LSL Added/ReImplmented: llGetListLength(), llList2Integer(), osList2Double() (note rename), llList2Float(), llList2String(), llList2Key(), llList2Vector(), llList2Rot(), llList2List(), llDeleteSubList(), llGetListEntryType(), llList2CSV(), llCSV2List(), llListInsertList(), llDumpList2String(), Borked Still: llListSort(), llListRandomize(), llList2ListStrided(), llListFindList(), Changed: llHTTPRequest() (Made wrapper of LSL_Types.list->List<string>)
2007-12-17Again, thanks to Alondria for:Charles Krinke1-9/+26
Added: LinkNum to SceneObjectPart Added: Bunch-o settings of LinkNum in SceneObjectGroup Added: llGetNumberOfPrims() Added: llGetLinkNumber() Added: llGetLinkKey() Added: llGetLinkName() (and change to string return type)
2007-12-15Thanks again to Alondria for adding: math support forCharles Krinke1-16/+24
rot * rot, vec / rot, == and != overriders for Rotations and Vectors. Also: llRotBetween(), llGetRegionTimeDilation(). And fixing: Error in LSL2CSConverter that botched a variable with a type name in it (ex: rotationCenter) Fixed: Error in LSL2CSConverter that parsed which() loops incorrectly. Fixed: Changed definition of Quaternion to <x, y, z, r> from <x, y, z, t> (As per LSL) Finished: llEuler2Rot()
2007-12-14Again, thanks to Alondria for: adding llGetTime, llResetTime, and ↵Charles Krinke1-5/+7
llGetAndResetTime. Also for fixing Rot/Vector Regex from being too greedy by removing bug in the LSL->C# converter that was causing the vector and rotation parser.
2007-12-13From Michael Osias (IBM)Sean Dague1-3/+6
This patch makes some enhancements to the llRemoteData functions. The module is now a shared module, and allows remote data channels to be created among multiple regions in the same sim. The port is controlled from the remoteDataPort property under the [Network] section in OpenSim.ini. If this setting is not present or = 0, the module is disabled and no port is opened. llRemoteData commands have not effect when module is disabled.
2007-12-12From Michael Osias (IBM)Sean Dague1-2/+11
This patch implements the llHttpRequest function via a region module, HttpScriptsRequest. There were bits and peices in LSLLong_cmd_handler, which I moved into the region module, and just check for completed requests and dispatch the http_response callback event instead. works for me as of r2674
2007-12-12Thanks to Alondria for:Charles Krinke1-0/+4
llResetScript() is now functional. With this patch, Kan-script 0000003 should run. Noted the llListen(0,"","","") errored due to "" != UUID - patched to set to NULL_KEY which then works to listen to everything.
2007-12-12Thanks to Alondria for: Adding vector->string and rotation->string,Charles Krinke1-53/+53
float * vector, vector * float, vector / float, vector + vector, vector - vector, vector * vector, vector % vector and changing x, y, z, (and r) parts of vector and rotation to be lower case (similar to LL's LSL vectors/rots). With these changes we should expect to run kan-ed#1, kan-ed#2 and most of kan-ed#3.
2007-12-10Great Salutations to Alondria for providing implementations for:Charles Krinke1-27/+244
llFrand, llSetColor, llGetColor, llSetTexture, llGetTexture, llSetAlpha, llGetAlpha, llRotateTexture, llScaleTexture, llOffsetTexture, llGetTextureOffset, llGetTextureScale, llGetTextureRot. With these changes the "kan-ed" script #2 should be working.
2007-12-10added musings on llInstantMessageJeff Ames1-0/+8
2007-12-10refactored ChatModule a bit.Jeff Ames1-6/+1
misc cleanup and code convention fixes.
2007-12-09Added a call to m_host.SendFullUpdateToAllClients().Charles Krinke1-4/+5
Thank you to Alondria for suggesting this solution to getting kan-ed#2 to work with the llSetScale call.
2007-12-09Some progress on 4 of the llParticleSystem membersCharles Krinke1-4/+4
that needed to be cast to libsecondlife.LLColor.
2007-12-09"list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. ↵Charles Krinke1-1/+1
Thanks to ChrisD/Gromit for pointing these out.