aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen2008-02-023-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
* Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen2008-02-026-30/+40
| | | | | | | OpenSim in 32-bit mode. Fixed ScriptEngine.Common startup problems.
* Forgot to create an object before use. Now why can't .Net just do that ↵Tedd Hansen2008-02-021-7/+10
| | | | itself? :)
* Added some error checking to MaintenanceThread, no-crash (just log) loading ↵Tedd Hansen2008-02-021-27/+31
| | | | of script engines, and support to load multiple script engines
* Moved iniFilePath to a static and put it in OpenSim.Application.iniFilePath.Tedd Hansen2008-02-011-2/+9
| | | | | | Refreshing config based on this. Temporarily disabled feature to refresh config file while running.
* Bugfix, maybe it won't crash during startup and crash somewhere else instead? :)Tedd Hansen2008-02-011-1/+2
|
* SCRIPTING STILL BROKENTedd Hansen2008-02-0116-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
* SCRIPT SUPPORT IS STILL BROKEN.Tedd Hansen2008-02-014-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
* Config option to set number of scripts per AppDomainTedd Hansen2008-02-012-2/+3
|
* Added config options:Tedd Hansen2008-02-012-2/+46
| | | | | | ScriptThreadPriority to set script thread priority DeactivateScriptOnTimeout to remove script if it is executing too long
* Removed "Loading inventory for Primitive" message.Tedd Hansen2008-02-011-1/+1
| | | | | Fixed small bug in thread counter.
* ExperimentalTedd Hansen2008-02-015-9/+67
| | | | | | Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
* Highly experimentalTedd Hansen2008-02-012-149/+300
| | | | | A separate thread is used to enforce max function (event) execution time for scripts.
* Fixed errors being thrown by invalid PSYS_SRC_TARGET_KEY's in ↵alondria2008-02-011-1/+9
| | | | | | | llParticleSystem - defaults to source prim (consistent with LL grid). Should fix mantis 427.
* Thanks to Hashbox for a patch to:alondria2008-02-013-2/+25
| | | | | | Implementing llStringTrim and hooking in osRegionNotice
* * Added more supported feature to particlesystems. While this appears to ↵Teravus Ovares2008-02-011-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
* * Adding limited support for LLParticleSystem.Teravus Ovares2008-01-311-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.
* Hit a dead end with llParticleSystem (libsecondlife issues) so no ↵alondria2008-01-313-25/+50
| | | | functionality added yet, but did not want to loose work.
* Giving Mantis #388 a shotTedd Hansen2008-01-221-2/+3
|
* Small bug in ResetScriptTedd Hansen2008-01-212-11/+1
|
* Surround the "non implemented" in an else clause if face is inappropriate for:Charles Krinke2008-01-211-16/+34
| | | | | | llSetColor, llSetAlpha, llGetColor, llSetTexture, llOffsetTexture, llRotateTexture & llGetTexture
* * Potential fix to the 'can't run a script anymore bug'Teravus Ovares2008-01-191-6/+7
|
* Added data structure to be passed through event execution queue so that ↵Tedd Hansen2008-01-179-47/+85
| | | | events can use llDetect*-commands to find information about event.
* * Added llApplyImpulse in the global frame. The object must be physical ↵Teravus Ovares2008-01-171-1/+16
| | | | before this'll do anything. Be careful with this function as it's easy to loose prim.
* * Added and implemented the LSL changed event.Teravus Ovares2008-01-171-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
* * Mother of all commits:Adam Frisby2008-01-1518-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.
* ZERO_ROTATION set to 0,0,0,1 -- not 0,0,0,0 ;)Tedd Hansen2008-01-141-2/+2
|
* Thank you very much, Kinoc for implementing llGetSubString and ↵Charles Krinke2008-01-121-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?
* Set eolTedd Hansen2008-01-1212-3006/+3006
|
* Welcome back LSO.Tedd Hansen2008-01-1212-0/+3018
| | | | | Added old LSO code, will use it as base to create new LSO VM.
* Set eolTedd Hansen2008-01-129-6855/+6855
|
* Added license to new filesTedd Hansen2008-01-1213-18/+192
|
* Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen2008-01-1216-6894/+6941
| | | | | | | | 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.
* ScriptServer communication is ok. Script is creatd on onrez. But since it ↵Tedd Hansen2008-01-127-28/+69
| | | | | | | can not access Scene it sort of crashes right away ;) Added some sample placeholders for implementing rest of LSL events.
* ScriptServer protocol now correctly casts datatypes -- ready for implementingTedd Hansen2008-01-121-5/+33
|
* Implements llModifyLand() - Still needs some tweaking to match LL's effect ↵alondria2008-01-121-0/+59
| | | | on how much to effect the land.
* Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to ↵alondria2008-01-122-0/+18
| | | | LSL_BaseClass to allow them to be called in LSL scripts.
* Set svn:eol-style.Jeff Ames2008-01-125-489/+489
|
* New ScriptServer protocol successfully implemented.Tedd Hansen2008-01-122-10/+52
| | | | | Still needs hooking up for all commands in both ends, separation of local and remote LSL-commands, etc.
* ScriptServer communication protocol (v1), primitive RPC-like TCP client/serverTedd Hansen2008-01-127-11/+489
|
* Fix some warnings under mono.Jeff Ames2008-01-111-2/+2
|
* Added const definintions for sculpted prims.Tedd Hansen2008-01-101-1/+7
|
* Dynamic loading of ScriptEngine in ScriptServerTedd Hansen2008-01-092-1/+11
| | | | | ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
* Set svn:eol-style.Jeff Ames2008-01-061-52/+52
|
* Only one queue is used for load/unload of scripts.Tedd Hansen2008-01-051-19/+22
| | | | | So loading/unloading of scripts are now done in same sequence as they are called.
* Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.Tedd Hansen2008-01-055-403/+225
| | | | | Some debug info for startup added to find bugs. ++
* Fixed nant compile problemTedd Hansen2008-01-011-8/+17
|
* Trying to fix nant compile errorTedd Hansen2008-01-011-327/+318
|
* Temp removed new data types patch from Mantis #272, causing compile problems ↵Tedd Hansen2008-01-011-336/+337
| | | | (nant)
* Minor changes. Changed Prebuild.xml to avoid first-time-compile error ↵Tedd Hansen2008-01-011-306/+330
| | | | because of dependencies. Made some changes to new LSLString.