Commit Graph

262 Commits (afrisby-rexmerge)

Author SHA1 Message Date
Tedd Hansen f06a6573bb One more: Async LSL command thread is also shared now. 2008-02-22 22:24:12 +00:00
Tedd Hansen 0fb4374c1a Better timing of MaintenanceThread's tasks (uses less CPU)
Updated OpenSim.ini.example
2008-02-22 19:46:13 +00:00
Jeff Ames f02b314765 Fix exception when reading OpenSim.ini file. 2008-02-20 18:32:41 +00:00
Tedd Hansen 69b1edebf6 Added to OpenSim.ini.example:
; Should avatars in neighbor
 sims see objects in this sim?
see_into_this_sim_from_neighbor=True
2008-02-19 18:41:26 +00:00
Dalien Talbot 905251fc07 More distinct startup logo + include the link to FAQ. 2008-02-19 01:03:03 +00:00
Dalien Talbot 75fe826d57 A bit more prominent sign of start up completion :-) thanks HashBox for the ASCII! 2008-02-18 23:31:48 +00:00
Charles Krinke 3df36523cb Thank you very much, Hashbox for:
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
2008-02-18 03:14:31 +00:00
Tedd Hansen 94ecea52da Back with old libopenjpeg-libsl-2.1.2.0.so 2008-02-17 11:59:11 +00:00
Tedd Hansen f6aebe8aab SVN propset thingie 2008-02-17 11:54:11 +00:00
Charles Krinke 9e828ab168 Thank you very much, Taoki for additions to pCampBot to improve walking, talking
and adding additional sentences for communications with pCampBot.
2008-02-17 01:57:07 +00:00
Tedd Hansen 169032b4a4 Fixed ScriptEngine config in OpenSim.ini.example that was out of place.
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
2008-02-16 07:53:02 +00:00
Justin Clarke Casey 57cfd5e8d1 * Two (combined) patches from Dr Schofield (dirk husemann). Ta very much :)
* Patch 1 stops OpenSim.32BitLaunch.exe and ScriptEngines/Default.lsl being deleted on nant clean
* Patch 2 resolves a building problem with pCampBot
* This will require a prebuild rerun
2008-02-15 11:11:03 +00:00
lbsa71 4880bd121e * Split out MSSQLManager Test/Init into each provider.
* Made regions table name configurable (MSSQL only)
* Added a note in ini.example pointing out that the sql resources have to change if you change table names
* Removed duplicate picker method from GridData interface
[Provided by openlifegrid.com]
2008-02-13 13:39:51 +00:00
lbsa71 bcd3a5b28b * Introduced customizable table names on MySQL and MSSQL UserData plug-ins.
[Provided by openlifegrid.com]
2008-02-13 12:06:09 +00:00
Teravus Ovares d773ca5147 * Made physical prim stable enough for the general population to turn on. (though I still don't recommend it for welcome regions unless object build is off.
* Updated the ode.dll for windows with a more reasonable stack space reserve.  Linux users will need to type ulimit -s 262144 before starting up OpenSimulator if using Physical Prim to protect against stack collisions. or run the included ./bin/opensim-ode.sh to start up OpenSimulator in ODE mode.
* Added internal collision score and am keeping track of 'high usage' prim.
* Tweaked collisions some more
* Tested up to 460 physical prim in extremely close quarters (which was previously impossible in OpenSim).  After 460 in tight quarters, physics slows down enough to make it hard to do any moving, however..  non physics things still work, such as logging on to the simulator, etc.
2008-02-13 07:50:15 +00:00
Sean Dague fdc42481ed default to appending for log files per Mantis 530, and per
previous OpenSim behavior.
2008-02-12 00:39:08 +00:00
Tedd Hansen d1e0b642f4 * Renamed and moved avatar appearance config keys. Everyone who has appearance persistence needs to set new params for it (check OpenSim.ini.example)
New keys "appearance_persist" and "appearance_connection_string" are now under [Startup].
* Reorganized OpenSim.ini slightly
2008-02-11 18:04:12 +00:00
Teravus Ovares e6453d9b9d * Changed child_get_tasks to see_into_this_sim_from_neighbor.
* Turned on see_into_this_sim_from_neighbor by default.
* Fix Race Condition with parts being added to a group while the simulator is starting up.
2008-02-11 05:19:54 +00:00
Justin Clarke Casey 42c5a49572 Move TESTING.txt from bin to root 2008-02-08 18:11:47 +00:00
Adam Frisby f9094fe066 * Forced nunit.framework.dll into the repo 2008-02-08 17:56:41 +00:00
Adam Frisby 9d0cc904cb * Added TESTING.txt 2008-02-08 17:55:23 +00:00
Jeff Ames 9bfd4ec83d Missed the appender change on the previous log4net config file sync. 2008-02-07 04:59:29 +00:00
Jeff Ames 87e2dd7c80 Convert pCampBot to use log4net 2008-02-07 04:53:42 +00:00
Jeff Ames c2c5cd42ec Sync other log4net config files with region server config. 2008-02-07 04:31:44 +00:00
Sean Dague caa255bcdf make a couple more changes to get us back very close to old color scheme 2008-02-06 20:59:31 +00:00
Sean Dague b3e85daf02 pass 1 on getting colors back to the console 2008-02-06 20:32:37 +00:00
Jeff Ames 7801227547 Shortened console log messages. 2008-02-06 17:08:30 +00:00
Sean Dague da0655b3a5 change the console logging format a little bit to look more like
it did before (still no colors)
2008-02-06 16:51:00 +00:00
Jeff Ames 355d0fdb95 Revert color console changes until a cross-platform method is found. 2008-02-06 07:36:14 +00:00
Jeff Ames d76d604ce9 Added colors back to console output.
Fixed line duplication in console output.
2008-02-06 03:52:36 +00:00
Jeff Ames 6ed5283bc0 Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Tedd Hansen 1d95f0521d Reverted MySQLDataStore.cs to not use static mutexes any more, patch didn't work anyway.
Added js to OpenSim.ini.example.
2008-02-05 12:18:50 +00:00
MW 755ad9e3e0 First part of avatar persistence, currently only really works in standalone mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed.
To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure).
This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. 
But the work to move the code to one of the grid servers shouldn't be too much.
2008-02-04 12:04:02 +00:00
Adam Frisby 760ece2595 * Chat Message format patch from kinoc (#443) Thanks! 2008-02-04 10:23:13 +00:00
Teravus Ovares ab2c7ea371 * Made sure the excuses are up to date and properly attributed.(pCampBot uses them) 2008-02-03 17:46:39 +00:00
Teravus Ovares b0c6baaeb0 * Adding the PhysicsCamperBot load testing app to the SVN in it's own folder. You'll have to build it separately to take advantage of it. *read the Readme file*. The bots created by this application roam around amusingly to simulate load.
* Be smart, Don't use this on a public grid, lest you get banned permanently.
2008-02-03 04:13:46 +00:00
Teravus Ovares 2d6c21e8fc * Added Full support for llSetTextureAnim. To ckrinke: Let the fountains of Wright Plaza flow!
* Fixed another bug in LibSL.  This is the same version, as before just with a bug fix.
2008-02-02 08:11:14 +00:00
Tedd Hansen 785b641272 fixed a timing bug in config re-read. Apparently there is 1000000000 ns in one second... 2008-02-02 07:53:13 +00:00
Tedd Hansen 2db5de3e72 Added commands to change config file from console:
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.
2008-02-02 07:35:51 +00:00
Jeff Ames b1a6f4821b Updated svn properties. 2008-02-02 07:13:37 +00:00
Tedd Hansen b089ccfa3d Hopefully fixed MySQL DB crash on startup issue (so we can remove 3 sec wait).
Added option to try alternate UDP ports if the one configured is in use.
UDP packets are now bound to the actual outside IP address and hopefully won't "randomly" select IP on multihomed systems.
2008-02-02 06:34:07 +00:00
Tedd Hansen 41516fa2c3 Last patch was a disaster... reset terrain whenever bug occurred. Trying again with some modifications on Mutex. 2008-02-02 05:28:39 +00:00
Tedd Hansen 1fa510d26d And one more patch before sleep
This annoying sleep during startup-problem still sometimes causes exceptions, so added some retry...
2008-02-02 05:14:50 +00:00
Tedd Hansen b57d9be856 Re-enabled AllowedCompilers function
Added notice in OpenSim.ini that config refresh function is disabled
2008-02-02 05:07:02 +00:00
Tedd Hansen a004ea5f17 Almost forgot to check in:
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 :))
2008-02-02 05:03:28 +00:00
Tedd Hansen 7bd3ecfc2a Bugfixes. Now it even reads configuration before it uses it! ;) 2008-02-02 04:35:08 +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 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 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