aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Applied patch #719 from lvoidpeng.lbsa712008-03-071-2/+3
| | | | | | * Implements llGetOwnerKey Thanks, lvoidpeng!
* * Disabled ancient TerrainEngine.Adam Frisby2008-03-061-57/+3
| | | | | | | * Enabled new TerrainModule. (The king is dead, long live the king!) * Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format. * MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.
* Added copyright heaaders. Minor cleanup.Jeff Ames2008-03-0416-80/+41
|
* * Removed a bunch of compiler warnings.Adam Frisby2008-03-035-5/+4
|
* Thank you very much, Kinoc for:Charles Krinke2008-03-012-21/+101
| | | | | | | | | * Impelements llInstantMessage * Reimplements llOwnerSay as llInstantMessage(llGetOWner(),msg). * Try's to better identify the "True Name" of objects in llDetectedName by checking for avatar name, scene Object Part name and entity name. * Uses similar logic in the llSensor and llSensorRepeat functions.
* From: Alan M Webb <awebb@vnet.ibm.com>Sean Dague2008-02-281-9/+418
| | | | | | | | | | | | | | | This patch is intended to implement the following functions: llIntegerToBase64 llBase64ToInteger llParseStringKeepNulls None of these functions are dependent upon state elsewhere in the SIM, so they are appropriately self-contained. I've tested them out of context, and from a script attached to an object in my test region.
* Moved AsyncCommandManager into separate classes under "plugins".Tedd Hansen2008-02-257-519/+744
|
* eolTedd Hansen2008-02-256-727/+727
|
* Step 1 in reorganizing AsyncCommandManagerTedd Hansen2008-02-257-679/+729
|
* Initial patch for llSensor*Tedd Hansen2008-02-252-22/+397
| | | | | | llSensor, llSensorRepeat, llSensorRemove, llDetectedName, llDetectedKey, llDetectedOwner, llDetectedType, llDetectedPos, llDetectedVel, llDetectedRot Thank you very much kinoc! :)
* I'm the stupidest stupid in the whole world. :)Tedd Hansen2008-02-252-22/+23
| | | | | Fixed a bug in new Prim where I actually ADDED new values to old values instead of directly assigning them... Now that was a waste of time! :P
* Update svn properties.Jeff Ames2008-02-251-2216/+2216
|
* Added limits to Prim.Position.X/Y/Z (0-255) so that your prims won't wander ↵Tedd Hansen2008-02-241-0/+12
| | | | off into eternity
* Fixed startup logo size to match a Win CMD window.Tedd Hansen2008-02-241-18/+160
| | | | | | | | Fixed bugs in new OOP commands. Prim.Rotation.X += 45; Prim.Position.X += 10; Now how do I find the prim I asked to += 10 every 1 second???
* Ok, so NOW scripts work. New patch to break them coming soon.Tedd Hansen2008-02-242-1/+3
|
* By now you all have learned that when I'm committing scripting usually ↵Tedd Hansen2008-02-246-2278/+2284
| | | | | | | doesn't work, so no big surprise. :) Modified baseclass for compiled script to incorp new OSSL commands class and renamed it to follow standards and all that. Scripts may work again. :)
* Forgot to change what class compiled scripts must inherit from to get their ↵Tedd Hansen2008-02-241-3/+3
| | | | commands :)
* Implemented object oriented Prim.Position, Prim.Rotation and Prim.Text.Tedd Hansen2008-02-241-9/+20
| | | | | | Example: Prim.Position.X += 10;
* eolTedd Hansen2008-02-243-165/+165
|
* Changed so "BuiltIn_Commands" given to scripts is easily extendable. Added ↵Tedd Hansen2008-02-247-7/+170
| | | | new OSSL_BuilIn_Commands class where we can start adding our own modular commands.
* Fix for error message during startup (shared thread started processing ↵Tedd Hansen2008-02-222-1/+4
| | | | region queue before queue objects were fully operational)
* ScriptEngine works again (startup-nully-error gone)Tedd Hansen2008-02-224-19/+18
|
* One more: Async LSL command thread is also shared now.Tedd Hansen2008-02-224-248/+275
|
* Bugfixes - Scripting works againTedd Hansen2008-02-222-2/+17
|
* Some misplaced code made scripts never start :)Tedd Hansen2008-02-221-14/+13
|
* 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-2027-91/+62
|
* 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-172-2/+58
|
* Update svn properties.Jeff Ames2008-02-163-140/+140
|
* 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-166-62/+145
| | | | | | | 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-142-24/+42
| | | | | | * 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
|