| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
script to publish the events anymore.
* Introduces a language(regex) independent event recognizer and publishes the events the script listens.
|
|
|
|
|
|
|
| |
explicitly in many cases Thanks Melanie!
* Also, I moved the event parser and re-writer to a separate static object. More work will be done here shortly.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Fixes event reporting on states with no state_entry in lsl scripts.
|
|
|
|
| |
(this took a while to run).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* All objects are not touchable by default now
* When a script listens for one of the touch events in the state, an object becomes touchable.
* All LSL scripts report which events they consume now
** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event.
** Tedd may figure out a better way to do this in the future. For now, this works for LSL.
|
|
|
|
|
|
|
|
| |
* Re-applied Tedd's patch that got overwritten.
* Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s])
* Added a state(string) method to BuiltIn_Commands_BaseClass
|
|
|
|
|
|
|
|
| |
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>".
* Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax.
* New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class.
* Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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. :)
|
|
|
|
| |
commands :)
|
| |
|
|
|
|
|
|
| |
* 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 default;" rewrite to "state ("default");"
|
| |
|
|
|
|
|
|
| |
Replaced (?<s1>(?![a-zA-Z_]+)\s*)" + @"([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){ with (?<s1>(?![a-zA-Z_]+)\s*)" + @"(state\s+)?([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){
Lets see what happens now... :)
|
|
|
|
| |
<0,0,0,0> Quaternion and Vector
|
|
|
|
|
|
|
| |
Add scene-debug command to Enable/Disable scripting,
collision, and physics from console.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
for later removal/replacement.
|
|
|
|
|
|
|
| |
(string) part of vector (eg. vector.z)
This fixes Mantis 388
|
|
|
|
|
|
| |
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
|
| |
|
| |
|
|
|
|
|
|
|
| |
working on 1 region. :)
Using default warning level on C#/VB compile
|
|
|
|
|
| |
Added notice in OpenSim.ini that config refresh function is disabled
|
|
|
|
|
|
| |
OpenSim.32BitLaunch.exe is a 32-bit application that loads OpenSim.exe using .Net framework, hence it is JIT-compiled to 32-bit.
Use this app to start OpenSim on 64-bit systems (works great on Vista 64 :))
|
|
|
|
| |
bughunting SO much easier! *jeesh*
|
| |
|
|
|
|
|
| |
Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
|
|
|
|
|
| |
Added some logging on what is happening during compile.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
on how much to effect the land.
|
|
|
|
| |
LSL_BaseClass to allow them to be called in LSL scripts.
|
| |
|
| |
|