Tedd Hansen
1ecdaf333f
Note to self: Next time read debug-files on correct computer. It makes bughunting SO much easier! *jeesh*
2008-02-02 04:45:18 +00:00
Tedd Hansen
7bd3ecfc2a
Bugfixes. Now it even reads configuration before it uses it! ;)
2008-02-02 04:35:08 +00:00
Charles Krinke
599f8b884b
Add last entry "owner_uuid" back into regions table definition.
2008-02-02 04:17:38 +00:00
Tedd Hansen
b1f97f9e77
Temporarily disabled AllowedCompilers so all 3 compilers are allowed.
...
Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
2008-02-02 04:06:51 +00:00
Teravus Ovares
d4f32649cd
* Committing some untested stuff regarding texture animations. This won't break anything, but the llSetTextureAnim function is completely untested.. (though it may be functional once the script engine works again)
2008-02-02 03:57:57 +00:00
Tedd Hansen
8dc5153ad7
Added header/footer of scripts to make C# and VB scripts much easier to write.
...
Added some logging on what is happening during compile.
2008-02-02 03:42:35 +00:00
Tedd Hansen
5c8abed450
Bugfix: LSL was mapped to VB.Net compiler ... that didn't work out so well :)
2008-02-02 03:17:38 +00:00
Tedd Hansen
e06ee9fd4b
Added load/unload queue size limit
...
Added option to share script load/unload thread between regions
Added event execution queue size limit
+ some bugfixes from all the changes
2008-02-02 03:11:06 +00:00
Tedd Hansen
8ccc12d642
Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run 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
2008-02-02 02:35:56 +00:00
Tedd Hansen
667197f24d
Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run OpenSim in 32-bit mode.
...
Fixed ScriptEngine.Common startup problems.
2008-02-02 00:59:22 +00:00
Charles Krinke
a9b69f3880
Thank you very much, Kinoc for : Moved the Listener loop try/catch to a better position.
...
Uses the IRC nick as the default when user location cannot be determined.
2008-02-02 00:47:28 +00:00
Tedd Hansen
ea74f97e9b
Forgot to create an object before use. Now why can't .Net just do that itself? :)
2008-02-02 00:20:31 +00:00
Tedd Hansen
34d21ac94b
Added some error checking to MaintenanceThread, no-crash (just log) loading of script engines, and support to load multiple script engines
2008-02-02 00:09:55 +00:00
Tedd Hansen
694642a482
Moved iniFilePath to a static and put it in OpenSim.Application.iniFilePath.
...
Refreshing config based on this.
Temporarily disabled feature to refresh config file while running.
2008-02-01 23:56:09 +00:00
Tedd Hansen
4715453159
Bugfix, maybe it won't crash during startup and crash somewhere else instead? :)
2008-02-01 23:44:02 +00:00
Tedd Hansen
d02a90823f
SCRIPTING STILL BROKEN
...
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
2008-02-01 23:36:36 +00:00
Tedd Hansen
a6726b0c9d
SCRIPT SUPPORT IS STILL BROKEN.
...
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
2008-02-01 22:18:55 +00:00
Charles Krinke
8a4e8a8e31
Thank you, Kinoc for the ChatModule.cs updates.
2008-02-01 22:15:40 +00:00
Tedd Hansen
0c0286911d
Config option to set number of scripts per AppDomain
2008-02-01 20:52:00 +00:00
Tedd Hansen
e14c8f59f7
Added config options:
...
ScriptThreadPriority to set script thread priority
DeactivateScriptOnTimeout to remove script if it is executing too long
2008-02-01 20:45:15 +00:00
Tedd Hansen
f4ddf5cf28
Removed "Loading inventory for Primitive" message.
...
Fixed small bug in thread counter.
2008-02-01 20:19:29 +00:00
Tedd Hansen
a9c1f3fdb4
Experimental
...
Moved DotNetScriptEngine configuration to config file.
Added option to share script execution threads between regions.
2008-02-01 20:12:25 +00:00
Tedd Hansen
5d6e89eaf9
Highly experimental
...
A separate thread is used to enforce max function (event) execution time for scripts.
2008-02-01 19:07:05 +00:00
alondria
43ecb1b4d2
Fixed errors being thrown by invalid PSYS_SRC_TARGET_KEY's in llParticleSystem - defaults to source prim (consistent with LL grid).
...
Should fix mantis 427.
2008-02-01 15:22:11 +00:00
alondria
0eb4e85988
Thanks to Hashbox for a patch to:
...
Implementing llStringTrim and hooking in osRegionNotice
2008-02-01 14:18:00 +00:00
Teravus Ovares
96f6add4ad
* ODE:Fix copy and paste bug in space calculation limits
2008-02-01 14:05:22 +00:00
MW
5099be8072
Temporary try catch around calculateSpaceForGeom() , to see if it gets past mantis issue #435 (for now)
2008-02-01 13:10:40 +00:00
Teravus Ovares
64a1a1f059
* Committing random physics stuff to the SVN for use later
2008-02-01 07:39:19 +00:00
Teravus Ovares
bec71977ab
* Added more supported feature to particlesystems. While this appears to 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
2008-02-01 04:22:20 +00:00
Teravus Ovares
e2f783789c
* Adding limited support for LLParticleSystem.
...
* 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.
2008-01-31 18:27:11 +00:00
Sean Dague
61ed12c4d8
revert last IRC bridge changes as this broke chat on my test environment.
...
Going to sift through the diff later to sort out what the root cause is here.
2008-01-31 17:15:41 +00:00
lbsa71
f72b834b25
* setting some readonlies
2008-01-31 10:56:40 +00:00
alondria
62ae3c9bf5
Hit a dead end with llParticleSystem (libsecondlife issues) so no functionality added yet, but did not want to loose work.
2008-01-31 06:59:48 +00:00
Justin Clarke Casey
a4bf98f4ba
* Add asset/texture cache statistics to region server console
...
* You can type 'stats' at the REGION# prompt to get this information in grid or standalone mode
* Don't take these numbers as gospel yet, since for some reason textures displayed from inventory which require downloading from the server are being recorded as assets
rather than textures
* But I don't have any reason to believe they aren't broadly accurate.
* I've put these in so I can tell whether the high memory usage on regions is down to the asset/texture cache
* This will require a prebuild
* DEV: Only adds needed to be implemented since, as far as I can tell, assets cached are currently never released. For my part, seeing large cache memory numbers will
provoke me to think about doing something about this.
* DEV: Now switched to using a singleton to get the stats reporters rather than threading the object through various layers
* DEV: Will refactor the other server stats reporters to do this in one of the next commits
2008-01-31 00:42:31 +00:00
Justin Clarke Casey
881f295e70
* Add 'asset not found' statistics to grid asset server stats
2008-01-30 22:13:47 +00:00
Justin Clarke Casey
a70e9c8c2c
* Minor asset server message tweak
2008-01-30 18:36:59 +00:00
Justin Clarke Casey
a5b719e161
* Deal with asset requests with malformed guids to the asset server in more user-friendly way than throwing an Exception
...
* Compact status messages to reduce verbosity and be more informative
2008-01-30 18:33:44 +00:00
Justin Clarke Casey
dee0d1e55d
* Print out exception information when a mysql asset fetch fails
...
* Attempt reconnection on fetch and create exceptions.
2008-01-30 17:39:40 +00:00
Justin Clarke Casey
ce07854a45
* Insert 'assets served per hour' speed to asset server stats
2008-01-30 17:19:32 +00:00
Jeff Ames
8f5c55c79b
Updated ODE lib for OS X (built from opensim-libs r27)
2008-01-30 09:27:25 +00:00
Teravus Ovares
9722b6ad53
Updating ODE.NET as the version I used possibly caused the slowness.
2008-01-30 08:58:44 +00:00
Teravus Ovares
02d672de36
* See if this helps Nebadon.
2008-01-30 08:30:22 +00:00
Teravus Ovares
cb05b76b83
* This update restores *nix support
...
* This stability optimization is disabled on Apple Computers until the .dylib library is updated.
2008-01-30 07:46:48 +00:00
Teravus Ovares
fc9b3ec5a8
* Experimental ODE Update to make ODE more stable
...
* WARNING: This update will break *nix support. Will be restored in the next revision
2008-01-30 07:09:58 +00:00
Teravus Ovares
8aa796595c
* Fixed a crash if the server is unable to connect to the UserServer when a user logs off
2008-01-29 17:16:38 +00:00
Teravus Ovares
c4687116ad
* Implemented grab and throw in ODE. It's a little strong still so toss gently at first to test the waters or you'll lose prim to the pit at the edge of the sim. Make sure the object is physical before trying to toss it or it'll just move to the new location.
2008-01-29 15:10:18 +00:00
Justin Clarke Casey
55dc0dc267
* Patch from Ansi (IBM)
...
* Allows the creation of a user via the RemoteAdminPlugin.
* Many thanks!
2008-01-29 14:43:45 +00:00
Teravus Ovares
832243c6e8
* No more massive spires and massive pits when editing land using Select + tool + amount + apply;
2008-01-29 06:16:06 +00:00
Teravus Ovares
da0fa4253b
Thanks kinoc for your improved IRC Gateway patch as referenced in mantis issue 390.
2008-01-29 04:35:01 +00:00
Teravus Ovares
47761a4a5e
* Commenting out the 'collision notifications' on BulletX, as there hasn't been an update on bullet in a while and the console notifications consume the entire CPU to make bullet completely unusable.
2008-01-29 02:08:30 +00:00