aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase (unfollow)
Commit message (Collapse)AuthorFilesLines
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 Hansen10-395/+595
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 Hansen3-9/+55
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-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 Hansen4-44/+67
events can use llDetect*-commands to find information about event.
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 Frisby4-4/+4
* 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-12Set eolTedd Hansen7-1689/+1689
2008-01-12Added license to new filesTedd Hansen6-10/+16
2008-01-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen7-0/+1690
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.