| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
events can use llDetect*-commands to find information about event.
|
|
|
|
| |
before this'll do anything. Be careful with this function as it's easy to loose prim.
|
|
|
|
|
|
|
| |
* An example changed event syntax is at: http://opensimulator.org/wiki/Changed_Event_Example
* You can use this to trigger actions in your script if someone sits on your object_rez
* You can use this to figure out all of the CHANGED_ constants except for CHANGED_REGION, CHANGED_TELEPORT, and CHANGED_ALLOW_DROP
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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?
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
can not access Scene it sort of crashes right away ;)
Added some sample placeholders for implementing rest of LSL events.
|
| |
|
|
|
|
| |
LSL_BaseClass to allow them to be called in LSL scripts.
|
| |
|
|
|
|
|
| |
Still needs hooking up for all commands in both ends, separation of local and remote LSL-commands, etc.
|
| |
|
|
|
|
|
| |
ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
|
| |
|
|
|
|
|
| |
Some debug info for startup added to find bugs. ++
|
| |
|
| |
|
|
|
|
| |
(nant)
|
|
|
|
| |
because of dependencies. Made some changes to new LSLString.
|
|
|
|
| |
string/integer/float functions too.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Adding some more support to Vectors and Rotations
Description * String->Vector/Rotation added
* Vector * and / a double added.
|
|
|
|
|
|
|
| |
* shortened references
* Removed redundant 'this'
* Normalized EOF
|
|
|
|
|
|
|
|
| |
Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(),
llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(),
llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(),
llWater(), llGetLocalRot(), and llGetAccel()
|
|
|
|
|
|
|
| |
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>)
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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()
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
notice of doom
|
|
|
|
|
|
|
| |
extra-super-sure) on script load/unload, removed experimental Grid-scriptengine from compile because of dynamic module loader, and added random string to script filename to bypass module loader file lock.
Please delete your copy of bin/ScriptEngine/OpenSim.Grid.ScriptEngine.DotNetEngine.dll.
|
|
|
|
|
|
| |
* Shortened type references
* Removed redundant 'this' qualifier
|
| |
|
| |
|
|
|
|
|
| |
Implemented: llHTTPRequest (queue, thread, etc -- but not actuall call)
|
|
|
|
|
|
| |
will happen on the windows side now that eol-style is correct
|
| |
|
|
|
|
|
|
|
|
| |
Some more modules templates classes (hoping that someone will pick some of these and work on implementing them).
Early version of the "Dynamic Texture Module", although currently there are no render modules included (so not really functional without them).
Added osSetDynamicTextureURL script function, for attaching a dynamic texture to a prim.
Some work on the console command handling. Added "change-region <regionname>" and "exit-region" so that after the use of change-region, the commands entered will apply to that region only. Then use exit-region to return to the top level (so commands then function as they did before and either apply to all regions or to the first region) (Note: this hasn't been tested very much)
|
|
|
|
| |
require script to be compiled with (slow) debug information.
|
|
|
|
| |
LSL-script.
|
|
|
|
| |
dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
|
|
|
|
| |
InitializeLifetimeService). Loading/Unloading of scripts are now handled in separate thread so server is no delayed because of this. Each script is loaded into a single AppDomain (temporary test for script unload, eats ~15KB more memory for each script). Unload of scripts has been verified to free up memory.
|
|
|
|
| |
in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
|