Commit Graph

3260 Commits (3df36523cb8814b71b8327c19185d73075ee41dc)

Author SHA1 Message Date
Teravus Ovares d842699ef3 * Put the script run limiter on the SceneObjectPart as otherwise you can drop scripts in prim and they'll still run with scripts disabled. 2008-02-06 09:53:59 +00:00
Teravus Ovares 9d6ea497e2 * Added the ability to start and stop all scripts in the simulator using the debug tab on the estate tools. This along with the disable physics via the debug tab are persistant across reboots. That means that if it's disabled when you shut down the simulator, the simulator will come up again when you start it up without loading the scripts. Turning them back on is as simple as unchecking 'disable scripts' in the debug tab of the estate tools. 2008-02-06 09:38:14 +00:00
Jeff Ames 4ec4e2cb32 Cleaned up some unreachable code warnings. 2008-02-06 08:31:29 +00:00
Jeff Ames b68d2bd09a Fixed typo in Mag() (Thanks lc_tuco for pointing this out) 2008-02-06 08:26:09 +00:00
Teravus Ovares 9cd9e90e7f * Added Active Scripts to report the number of scripts running to Sim Stats
* Added Script Performance to report the number of functions run per second to Sim Stats.
* Removed a few warnings (@.@ up to 50 now)
2008-02-06 08:03:22 +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
alondria 52af264948 Fixed regex in LSL2CSConverter so it will properly handle casting to (string) part of vector (eg. vector.z)
This fixes Mantis 388
2008-02-06 02:30:05 +00:00
alondria 31576c8a26 Somehow llList2Float never made it into LSL_BaseClass and LSL_BuiltIn_Commands_Interface - it is now (and foxes Mantis 395) 2008-02-06 02:04:00 +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
Brian McBee 7a61bcff86 Cut down on the number of packets sent during terraforming. Terraforming should be much more responsive. 2008-02-05 18:27:40 +00:00
alondria 36f7a087e6 Added explicit Quaternion->string and list->string conversions.
Some preliminary work on llSetStatus and llGetStatus.
2008-02-05 15:06:37 +00:00
MW 542cd417c8 Small refactoring on Terrain Update sending, so that other code can force terrain updates to be sent to clients. 2008-02-05 15:03:08 +00:00
MW 33c4631c6d some small changes, like adding a couple of extra methods to IInventoryServices so that a check can be done to see if a inventory set exists for a certain user. 2008-02-05 13:02:03 +00:00
Justin Clarke Casey 80b8630e19 * Fix Mantis 457
* Show stats, users, etc. should now work again on the region console.
2008-02-05 12:37:46 +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
Teravus Ovares ca5aadfbff * Refactored the sound calls to SceneObjectPart
* Fixed a few bugs
* Wrote an example module to make certain event systems more mature.
2008-02-05 05:26:18 +00:00
Jeff Ames 99844ee4c0 Added copyright statements. 2008-02-05 03:20:51 +00:00
Jeff Ames 5c4ddc15e4 Updated svn properties. 2008-02-05 02:23:21 +00:00
Teravus Ovares ba142c0410 * Fixing the console write on shutdown where the object is already disposed. 2008-02-05 02:10:01 +00:00
lbsa71 ffb6198380 * added missing project reference
* ignored some bins
2008-02-04 20:41:01 +00:00
Justin Clarke Casey baefa05b57 * Rebase all current servers on common abstract BaseOpenSimServer class
* The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc)
* DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers.  More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
2008-02-04 18:52:24 +00:00
Justin Clarke Casey 5db5630ec9 Change sim command from "stats" to "show stats" for consistency 2008-02-04 18:01:55 +00:00
Justin Clarke Casey bde363b572 * Synchronize asset storage operations to mysql as well as reads
* This may help with asset server mysql problems, since both the previous osgrid failures occurred when both a read and write were attempted in the same second
2008-02-04 17:30:53 +00:00
Justin Clarke Casey cd658ea845 A smidgen more error info for the asset server 2008-02-04 17:07:37 +00:00
Justin Clarke Casey a1c9349d47 Refactor only: serve stats objects directly through StatsManager singleton 2008-02-04 16:22:58 +00:00
Teravus Ovares ffaf160362 * Added note in CONTRIBUTORS.txt for _someone/mikkopa - RealXtend 2008-02-04 14:44:13 +00:00
Teravus Ovares 3ff5ad1ed3 Patch from mikkopa/_someone Thanks! adds support for llPreloadSound, llTriggerSound, llPlaySound, llPreloadSound.
* Time to make music boxes?
2008-02-04 14:40:46 +00:00
Adam Frisby 5ffc225545 * Replacing missing break statement from DotNetEngine/Compiler/LSL/Compiler.cs 2008-02-04 13:43:42 +00:00
Adam Frisby ba16daff7c * Added JavaScript support to OpenSim scripting. Totally Untested. Enjoy. :) 2008-02-04 12:43:07 +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 6fbc64af5e * Whole buncha stuff. 2008-02-04 10:39:30 +00:00
Adam Frisby 35a8c95e1d * Lowered maxchunk from 1500 bytes to 1250 bytes to make sure packets fit below the average maximum MTU of 1500 bytes inc. header. Thanks Alex for reporting this. 2008-02-04 10:28:39 +00:00
Adam Frisby d12f253cca * Default inventory permissions patch (#444), courtesy of alex_carnell -- thanks! 2008-02-04 10:24:37 +00:00
Adam Frisby 760ece2595 * Chat Message format patch from kinoc (#443) Thanks! 2008-02-04 10:23:13 +00:00
Charles Krinke 8213297999 Added daTwitch into the CONTRIBUTORS.txt file. 2008-02-03 18:10:38 +00:00
Charles Krinke c61d0075c1 Thanks to Brianw for pointing out the definition of OwnerUUID
needed to be consistent with the definition of owner_uuid.
They are both varchar(36) now.
2008-02-03 18:05:59 +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
alondria bc3d0217af Added llRot2Fwd, llRot2Left, and llRot2Up as well as explicit vector->string casting.
(Thanks to dalien on informing me how easy the math was for these).
2008-02-03 16:42:43 +00:00
Tedd Hansen 5a99a96fed Temporarily disabled shared threads because of a bug. Script were only working on 1 region. :)
Using default warning level on C#/VB compile
2008-02-03 09:35:50 +00:00
Teravus Ovares fc02dbc6bc * Updated the readme of PhysicsCamperBot to have documentation regarding a few extra steps for Linux builds and the console commands. 2008-02-03 04:34:37 +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
alondria 742ed9537d Implements LSL function llDialog().
The ScriptDialogReply packet handler is a bit of a hack job. It is currently handled similar to ChatFromViewer, which will trigger the listen() event, however this is not exactly how LL's implementation works and will/can be fixed up later.
2008-02-02 22:53:01 +00:00
alondria 0ea708c133 Added llParseString2List (and a few extra methods to LSL_Types.list). 2008-02-02 18:52:07 +00:00
Brian McBee e2680342d1 Turn on fastMode for map block queries to grid server if and only if grid is running MYSQL as the data source. 2008-02-02 18:25:17 +00:00
Brian McBee bd32563c4c fix for error on null owner_uuid field 2008-02-02 18:20:25 +00:00
Teravus Ovares 7476b26ae7 * Added a way to temporarily disable physics using the estate tools
* Added a method for Tedd to hook to in scene to disable the Scripting engine that currently says, [TOTEDD] Here is the method to trigger disabling of the scripting engine.
2008-02-02 17:43:21 +00:00
Charles Krinke 281245f433 Change casting slightly for reading owner_uuid from mysql. 2008-02-02 17:33:12 +00:00
Charles Krinke 6a1d9e8da1 Thank you very much daTwitch for your first contribution to the C# simulator.
This is the beginnings of support for storage of region owner in the MySQLManager
table and the use of "owner_uuid".
2008-02-02 16:43:57 +00:00
Teravus Ovares f26cdfd057 * Fixed llSetTextureAnim to respect rate and Length and Start 2008-02-02 16:42:46 +00:00