aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (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 ↵alondria2-3/+8
casting. (Thanks to dalien on informing me how easy the math was for these).
2008-02-03Temporarily disabled shared threads because of a bug. Script were only ↵Tedd Hansen3-3/+5
working on 1 region. :) Using default warning level on C#/VB compile
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).alondria4-5/+74
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-02fixed a timing bug in config re-read. Apparently there is 1000000000 ns in ↵Tedd Hansen2-9/+10
one second...
2008-02-02Added commands to change config file from console:Tedd Hansen1-6/+6
CONFIG SET section key value value value CONFIG GET section key CONFIG SAVE (it saves, but does it save correctly?:) ScriptEngine will react correctly to any config change made while it is running.
2008-02-02Updated svn properties.Jeff Ames4-800/+800
2008-02-02Re-enabled AllowedCompilers functionTedd Hansen1-1/+1
Added notice in OpenSim.ini that config refresh function is disabled
2008-02-02Almost forgot to check in:Tedd Hansen1-1/+1
OpenSim.32BitLaunch.exe is a 32-bit application that loads OpenSim.exe using .Net framework, hence it is JIT-compiled to 32-bit. Use this app to start OpenSim on 64-bit systems (works great on Vista 64 :))
2008-02-02Note to self: Next time read debug-files on correct computer. It makes ↵Tedd Hansen1-1/+1
bughunting SO much easier! *jeesh*
2008-02-02Bugfixes. Now it even reads configuration before it uses it! ;)Tedd Hansen4-16/+27
2008-02-02Temporarily disabled AllowedCompilers so all 3 compilers are allowed.Tedd Hansen2-37/+31
Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
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-02Added header/footer of scripts to make C# and VB scripts much easier to write.Tedd Hansen2-8/+49
Added some logging on what is happening during compile.
2008-02-02Bugfix: LSL was mapped to VB.Net compiler ... that didn't work out so well :)Tedd Hansen1-3/+3
2008-02-02Added load/unload queue size limitTedd Hansen5-21/+86
Added option to share script load/unload thread between regions Added event execution queue size limit + some bugfixes from all the changes
2008-02-02Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen3-37/+236
OpenSim in 32-bit mode. Added VISUAL BASIC.NET-support //cs, //lsl and //vb as first characters of script will determine what compiler is used. Compile warnings are no longer treated as errors. Script will still run. Added a few useless and useful config options: Write script source to harddisk for debug, Default compile language, Allowed compilers (languages), compile in release or debug mode, clean up old scripts on startup Loads of warnings for incorrect config
2008-02-02Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen6-30/+40
OpenSim in 32-bit mode. Fixed ScriptEngine.Common startup problems.
2008-02-02Forgot to create an object before use. Now why can't .Net just do that ↵Tedd Hansen1-7/+10
itself? :)
2008-02-02Added some error checking to MaintenanceThread, no-crash (just log) loading ↵Tedd Hansen1-27/+31
of script engines, and support to load multiple script engines
2008-02-01Moved iniFilePath to a static and put it in OpenSim.Application.iniFilePath.Tedd Hansen1-2/+9
Refreshing config based on this. Temporarily disabled feature to refresh config file while running.
2008-02-01Bugfix, maybe it won't crash during startup and crash somewhere else instead? :)Tedd Hansen1-1/+2
2008-02-01SCRIPTING STILL BROKENTedd Hansen16-402/+602
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-01SCRIPT SUPPORT IS STILL BROKEN.Tedd Hansen4-189/+412
Bugfix: Scripts exceeding max and set to be killed were not killed, only removed. Added ability to re-read configuration while OpenSim is running All regions now sharing one MaintenanceThread New MaintenanceThread: - checks for script execution timeout - re-reads config - starts/stops threads if thread active count becomes too high/low compared to config Speed increase on event execution: - Reuse of try{}catch{} blocks - Time calculation on event execution
2008-02-01Config option to set number of scripts per AppDomainTedd Hansen2-2/+3
2008-02-01Added config options:Tedd Hansen2-2/+46
ScriptThreadPriority to set script thread priority DeactivateScriptOnTimeout to remove script if it is executing too long
2008-02-01Removed "Loading inventory for Primitive" message.Tedd Hansen1-1/+1
Fixed small bug in thread counter.
2008-02-01ExperimentalTedd Hansen5-9/+67
Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
2008-02-01Highly experimentalTedd Hansen2-149/+300
A separate thread is used to enforce max function (event) execution time for scripts.
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:alondria3-2/+25
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 ↵alondria3-25/+50
functionality added yet, but did not want to loose work.
2008-01-22Giving Mantis #388 a shotTedd Hansen1-2/+3
2008-01-21Small bug in ResetScriptTedd Hansen2-11/+1
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-19* Potential fix to the 'can't run a script anymore bug'Teravus Ovares1-6/+7
2008-01-17Added data structure to be passed through event execution queue so that ↵Tedd Hansen9-47/+85
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-17* Added and implemented the LSL changed event.Teravus Ovares1-0/+7
* 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
2008-01-15* Mother of all commits:Adam Frisby18-67/+180
* 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-14ZERO_ROTATION set to 0,0,0,1 -- not 0,0,0,0 ;)Tedd Hansen1-2/+2
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 Hansen12-3006/+3006
2008-01-12Welcome back LSO.Tedd Hansen12-0/+3018
Added old LSO code, will use it as base to create new LSO VM.
2008-01-12Set eolTedd Hansen9-6855/+6855
2008-01-12Added license to new filesTedd Hansen13-18/+192