Commit Graph

3184 Commits (c1044039d49d51b39005762aa138346b78a0b390)

Author SHA1 Message Date
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
Tedd Hansen 3a6405d2f7 In an attempt to solve multihomed UDP problem I seem to have bound UDP socket to external IP instead of internal :) 2008-02-02 16:03:10 +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 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