MW
c29df824c2
Converted the LSL scripting engine into a IRegionModule, so now all "modules" share a common base interface and are loaded from the single loader. (It seems to work fine, but I have left the old scriptengine loader, incase we have to change back).
...
Removed the reference to OpenJpeg in the DynamicTextureModule, to see if that was causing the build problem someone is having.
Added a Temporary fix for the "existing connection was forcibly closed by the remote host" exception on windows when a user logs out of a multiregion instance.
Some early work to prepare for improving the way clients are updated (about prims etc).
2007-09-08 07:50:31 +00:00
Tedd Hansen
b75c1b2191
Added class for "long commands" (command that returns as event) with dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
2007-08-25 19:08:15 +00:00
Tedd Hansen
5a86fd2c31
(Untested) Scripts are individually loaded into objects (on rez), and event fired likewise. Bugfixes coming in next commit.
2007-08-22 18:09:38 +00:00
lbsa71
5403153c15
A case of 'while I was working someone set me up the bomb'.
2007-08-22 16:04:04 +00:00
lbsa71
22537aa620
* Added stub OnRezScript handler with plentiful of comments
2007-08-22 15:29:47 +00:00
Tedd Hansen
37446b0392
Moved in-AppDomain event execution from Script to OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
2007-08-18 23:24:38 +00:00
Tedd Hansen
1284369a32
Started on AppDomains for ScriptEngine. Moved llFunctions in LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
2007-08-18 18:18:14 +00:00
Tedd Hansen
fcf7db7272
Pimped up Default.lsl. Now featuring a touch counter.
...
Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.
2007-08-17 21:24:38 +00:00
lbsa71
e53d680d41
* Now sending manager, host and root host to Script in constructor.
...
* Changed how Script accesses World
* Implemented llSay, llWhisper and llShout
* Added SetText() to IScriptHost, implemented llText
* Minor renamings to conform with code conventions
2007-08-16 18:40:44 +00:00
Tedd Hansen
16defc30eb
krinkec's updates to ll* interface and functions
2007-08-14 19:06:57 +00:00
Tedd Hansen
9573aa7582
llSay() works again. Cleanup of debug messages.
2007-08-14 16:14:19 +00:00
Tedd Hansen
afaa12a9e2
ScriptEngine: Some error handling, logs to logger
2007-08-14 15:59:36 +00:00
Tedd Hansen
79dc1a4f7d
Common script for all objects (Default.lsl). ScriptEngine touch_start event now works, but llSay only outputs to server console.
2007-08-13 20:55:07 +00:00
Tedd Hansen
876f71cf93
(DotNet) ScriptEngine is now loaded and added to Scene during startup.
2007-08-13 19:39:51 +00:00
Tedd Hansen
6829c45cb3
ScriptEngine just needs 2 events hooked up and llSay() implemented to work. See TODO.txt for details.
2007-08-09 18:57:41 +00:00
Tedd Hansen
2a0e157985
Added ScriptEngine.DotNetEngine
2007-08-08 14:05:13 +00:00