aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Better timing of MaintenanceThread's tasks (uses less CPU)Tedd Hansen2008-02-221-20/+39
| | | | | | Updated OpenSim.ini.example
* Bugfixes - wasn't counting threads right++Tedd Hansen2008-02-223-17/+17
|
* Minor annoying Exception-bug fixedTedd Hansen2008-02-222-2/+3
|
* Execution threads are now shared between regions too. Default thread count ↵Tedd Hansen2008-02-223-242/+229
| | | | | | | regardless of number of regions is now 3. This will save you around 33 threads for a normal 3x3 region server. But, this is totally completely untested. So it probably won't work for another patch or five.
* Maintenance thread in charge of loading/unloading of scripts. 1 thread less ↵Tedd Hansen2008-02-222-17/+28
| | | | | | | | per region. Total so far: 2 threads less per region Note: Currently causes delay in load/unload of scripts
* Now last commit will compile too... The features just keep on coming!Tedd Hansen2008-02-223-6/+12
|
* From this commit and a few hours into the future ScriptEngine will be unstable:Tedd Hansen2008-02-225-79/+87
| | | | | | | | * Speeding up ScriptEngine shutdown * Sharing threads so that minimum total thread count for any amount of regions will be 2. (1 maintenance, 1 script execution) You can choose more script exec threads if you want of course. In this commit: Sharing maintenance thread between all regions.
* Fixes to ScriptEngine thread cleanup on destructorTedd Hansen2008-02-214-17/+14
|
* ScriptEngine changes in locking. Another step in direction of shared threads.Tedd Hansen2008-02-212-24/+22
|
* "threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen2008-02-214-0/+4
| | | | compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
* div+Tedd Hansen2008-02-201-1/+1
| | | | | threads console command will list all threads. This + yesterdays naming threads patch will give a good overview of what threads we have running.
* Minor cleanup.Jeff Ames2008-02-2022-86/+57
|
* llSetTimerEvent updated to use ticks instead of DateTime for internal timing.Tedd Hansen2008-02-203-24/+41
|
* llSetTimerEvent was setting seconds as milliseconds causing major problems ↵Tedd Hansen2008-02-202-2/+2
| | | | in timed scripts...
* From: Michael Osias <mosias@us.ibm.com>Sean Dague2008-02-194-50/+118
| | | | | | | | This patch implements the llSendRemoteData command and fixes mantis 552, and possibly 586.
* bring back some script engine debugging, hoping this will help track down ↵Sean Dague2008-02-183-18/+18
| | | | the randoms segfaults
* Patch from Michael Osias IBM (jimbo2120)Justin Clarke Casey2008-02-181-0/+7
| | | | | | | | In his own words: If a prim becomes a listener or remote channel and the script is deleted, it cannot become a listener or channel again with a new script. This patch fixes that.
* Thank you very much, Hashbox for:Charles Krinke2008-02-183-8/+15
| | | | | | | | | | Changed the public IsAdministrator back to protected, now checks Config to see whether it is allowed to run or not. Defaults to false (not allowed). To use add the following to OpenSim.ini [LL-Functions] AllowosConsoleCommand=true
* Thank you Hashbox for adding the Charles Krinke2008-02-173-2/+18
| | | | | osConsoleCommand Feature to ll-functions.
* Added copyright notices.Jeff Ames2008-02-171-1/+29
|
* Update svn properties.Jeff Ames2008-02-162-118/+118
|
* Forgot one small but important line .. ;)Tedd Hansen2008-02-161-0/+1
|
* Fixed ScriptEngine config in OpenSim.ini.example that was out of place.Tedd Hansen2008-02-165-62/+123
| | | | | | | Added some info to failure on GridServices listening port so people can see what actually went wrong. Moved most of the function/event execution module to a baseclass so other execution methods (instead of reflection) can be used with custom script modules run by ScriptEngine.Common. + some accumulated patches
* * Made new Framework.Constants class, added RegionSize member.Adam Frisby2008-02-141-1/+1
| | | | | | * Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize. * Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
* state_entry is now executed on state change.Tedd Hansen2008-02-102-1/+18
|
* We now support LSL stateTedd Hansen2008-02-105-7/+9
|
* Implements llListStatistics() and a bunch-o-LSL_Types.list statistical ↵alondria2008-02-103-4/+282
| | | | methods. Added LIST_STAT_HARMONIC_MEAN in addition to LL's LIST_STAT_*
* Implemented llGetParcelFlags() and llGetRegionFlags(). I don't think the ↵alondria2008-02-101-4/+2
| | | | RegionFlags are currently implemented within EstateSettings, thus this is always 0.
* Implements llGetObjectMass()alondria2008-02-101-1/+5
|
* Thank you very much, Hashbox for :Charles Krinke2008-02-101-1/+1
| | | | | | | Add scene-debug command to Enable/Disable scripting, collision, and physics from console.
* Missed one event message that needed to beCharles Krinke2008-02-081-8/+9
| | | | | commented out.
* Make timer events from scripts a little less chatty. Charles Krinke2008-02-082-12/+16
| | | | | DEBUG is defined by default in the Linux build.
* Cleaned up some unreachable code warnings.Jeff Ames2008-02-061-10/+0
|
* Fixed typo in Mag() (Thanks lc_tuco for pointing this out)Jeff Ames2008-02-061-1/+1
|
* * Added Active Scripts to report the number of scripts running to Sim Stats Teravus Ovares2008-02-061-6/+340
| | | | | | | * Added Script Performance to report the number of functions run per second to Sim Stats. * Removed a few warnings (@.@ up to 50 now)
* Somehow llList2Float never made it into LSL_BaseClass and ↵alondria2008-02-063-1/+6
| | | | LSL_BuiltIn_Commands_Interface - it is now (and foxes Mantis 395)
* Converted logging to use log4net.Jeff Ames2008-02-0511-88/+72
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* Added explicit Quaternion->string and list->string conversions.alondria2008-02-053-2/+116
| | | | | Some preliminary work on llSetStatus and llGetStatus.
* * Refactored the sound calls to SceneObjectPart Teravus Ovares2008-02-051-114/+5
| | | | | | * Fixed a few bugs * Wrote an example module to make certain event systems more mature.
* Added copyright statements.Jeff Ames2008-02-053-12/+88
|
* Patch from mikkopa/_someone Thanks! adds support for llPreloadSound, ↵Teravus Ovares2008-02-041-4/+92
| | | | | | | llTriggerSound, llPlaySound, llPreloadSound. * Time to make music boxes?
* * Whole buncha stuff.Adam Frisby2008-02-041-0/+12
|
* Added llRot2Fwd, llRot2Left, and llRot2Up as well as explicit vector->string ↵alondria2008-02-032-3/+8
| | | | | | | casting. (Thanks to dalien on informing me how easy the math was for these).
* Temporarily disabled shared threads because of a bug. Script were only ↵Tedd Hansen2008-02-032-2/+4
| | | | | | | working on 1 region. :) Using default warning level on C#/VB compile
* Implements LSL function llDialog().alondria2008-02-021-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.
* Added llParseString2List (and a few extra methods to LSL_Types.list).alondria2008-02-024-5/+74
|
* * Added Full support for llSetTextureAnim. To ckrinke: Let the fountains ↵Teravus Ovares2008-02-021-1/+10
| | | | | | | | of Wright Plaza flow! * Fixed another bug in LibSL. This is the same version, as before just with a bug fix.
* fixed a timing bug in config re-read. Apparently there is 1000000000 ns in ↵Tedd Hansen2008-02-022-9/+10
| | | | one second...
* Added commands to change config file from console:Tedd Hansen2008-02-021-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.
* Updated svn properties.Jeff Ames2008-02-024-800/+800
|