Commit Graph

1693 Commits (f8ddf7429eaeae3a3aae88d4560473c3516d20fd)

Author SHA1 Message Date
MW c16aafee09 Taken the old scripting engine out of Region.Environment and moved it into a separate module: OpenSim.Region.ExtensionsScriptModule (named as such because the purpose of it is to script server extensions, rather than "user scripting" like Tedd's engine.) 2007-08-28 18:30:28 +00:00
Tedd Hansen 5a149084d4 startup event on script added to object, not all inside object. 2007-08-28 18:22:48 +00:00
MW 31b895681a As part of our "we aim to please" commitment, have added the ability to create a user in one command line: "create user firstname secondname passwrd regionX regionY". This allows the use of the "command-script" feature. So to add a bunch of new accounts, just create a text file, and add a line as above for each account. Then in the opensim console, type: "command-script filename". 2007-08-28 18:09:36 +00:00
Sean Dague 2b3b1faf6d use order by ParentID to ensure root prims are selected first 2007-08-28 15:33:22 +00:00
MW 9a09b7532d Removed last commit, as sdague has also done a fix. 2007-08-28 15:29:37 +00:00
MW 1c503ad270 Attempt to track down the loading prims error. So Temporary fix to see if it is what we think. 2007-08-28 15:27:27 +00:00
Sean Dague 6bd4c6fee6 some changes which get us closer to Sqlite storage for users 2007-08-28 15:11:56 +00:00
MW e4fea6d11b Moved XferModule to OpenSim.Region.Environment.Modules namespace/directory. 2007-08-28 14:26:23 +00:00
MW 8e3b2392d1 Start of trying to make Region/Scene more modular.
Added preliminary IRegionModule interface.
Also have a work in progress way of Modules registering optional API methods (kind of like Apache optional functions). But there must be a cleaner/nicer way in c# of doing these than the current way.
Added three work in progress modules: ChatModule (simple handles in world chat, but by moving this to a module, we could support other types of chat modules, ie like a irc - opensim bridge module. ) , AvatarProfilesModule and XferModule. 
Moved most of the code from  Scene.ModifyTerrain() into the BasicTerrain library, as the start of trying to make that more modular. 
Stopped Child agents showing up as part of the "show users" command.
2007-08-28 14:21:17 +00:00
Sean Dague c1a899b651 Ensure that UserProfileData doesn't pass down null values.
These cause some issues with the ADO.NET mapping
2007-08-28 13:02:51 +00:00
Sean Dague 6dd6ef3fa2 sqlite is storing now, uint64 makes things "interesting".
however lookup isn't working
2007-08-28 12:34:00 +00:00
Sean Dague 5363549bf4 added some more types that will be needed 2007-08-28 11:49:25 +00:00
Sean Dague d5c5aff919 sqlite user datastore "should" be functionally complete
with this checkin, though it's not tested.  Will do that 
tommorrow.
2007-08-28 02:25:44 +00:00
Brian McBee f41f6daa57 reverting to old case sensitive username behavior. As sdague pointed out,we are moving away from db4o to sql, and this won't work. 2007-08-28 01:57:38 +00:00
Brian McBee a415472ae3 Avatar login names are no longer case sensitive 2007-08-28 01:16:33 +00:00
Sean Dague e92f2accad first pass implementation of sqlite storage for user data. This
isn't functional enough to use yet, but does compile.  Should be
ready for testing in another day or so.
2007-08-27 22:03:21 +00:00
Sean Dague d929915d6b remove sqlite3-inventory, this db is autocreated now 2007-08-27 20:39:34 +00:00
Sean Dague e29e064fa6 remove inventory, this is auto created now 2007-08-27 20:13:57 +00:00
Sean Dague 211116ec7e enable sqlite storage by default 2007-08-27 19:16:00 +00:00
MW a45c4626fe Fixed the bug that sent a region port as the CAPS url, instead of sending the httpListener port. 2007-08-27 16:21:16 +00:00
Sean Dague ac0d58fd33 get rid of my debugging, it causes a crash on multiple backups 2007-08-27 16:14:48 +00:00
Sean Dague 247b9c3573 some debugging to see if there are easy optimizations here for update 2007-08-27 15:51:39 +00:00
MW 653a4ff22d Deleted a few old files that are no longer used.
Deleted the GridInterfaces projects, and for now moved the old local asset server into Framework.Communications, as we prepare to rewrite the asset cache and asset server.
Deleted Framework.manager as I am sure this is no longer in use.
2007-08-27 15:34:21 +00:00
MW 6181191a03 Stopped EntityBase from implementing IScriptHost, as don't think it should, multiple objects are based on entitybase and they all don't want the baggage from IScriptHost. SceneObjectPart already implements it anyway.
Added llGetOwner function, and tested the ll functions that I added in last commit.
2007-08-27 11:18:50 +00:00
MW 4c3be4e91f Another small tweak to image sending.
Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
2007-08-27 10:34:28 +00:00
Brian McBee 67d2571301 Here is your ocean back. You will probably need to delete your regionassets.yap, and will lose your uploaded assets. 2007-08-27 05:18:07 +00:00
Brian McBee 6e35ff2822 Tweaks to assetcache to make texture downloading better (I hope) 2007-08-27 04:20:14 +00:00
Brian McBee f6706e6cf8 Fixing llList2double issue (Thanks ldvoipeng) 2007-08-27 01:58:56 +00:00
Tedd Hansen 7e06df5f83 llList-commands from ldvoipeng, new Default.lsl from dalien 2007-08-26 21:21:21 +00:00
MW b9346844c1 See if this fixes the 0x0 texture size problems, and speeds up texture downloads in general a little bit. 2007-08-26 20:34:14 +00:00
MW 291eb48fb0 Another attempt to fix the image sending bug (next week, I intend to rewrite the assetcache and asset server).
Attempt to fix bug # 326. (crashing when using save-xml and hollow prims)
Attempt to fix bug # 328 (limit of 50 items in a folder)
2007-08-26 17:57:25 +00:00
Tedd Hansen 87711c5869 Danxors patch for >30prims with ODE 2007-08-26 15:56:42 +00:00
Tedd Hansen 83d5df3979 in-world run-time error-message no-w con-tains function-name. 2007-08-26 14:04:22 +00:00
Tedd Hansen ebb0099816 Run-time script errors are now shown in-world. No line number though, might require script to be compiled with (slow) debug information. 2007-08-26 13:31:58 +00:00
Tedd Hansen fda97aa3c5 Bugfix for last commit, { instead of ( 2007-08-26 08:43:46 +00:00
Tedd Hansen 25e200c46a Fixed bug that occurs sometimes on script unload where queued script event was attempted executed after AppDomain was unloaded. 2007-08-26 08:20:48 +00:00
Tedd Hansen 0cd6d26adb Fixed error on shutdown caused by ThreadAbortException sending message through already disposed logger. Thanks ckrinke 2007-08-25 22:26:27 +00:00
Tedd Hansen 53ef427e9e Forgot mutex lock on List<> for timers 2007-08-25 21:50:28 +00:00
Tedd Hansen d9b9b16513 Script compiler should now show error on correct line number in original LSL-script. 2007-08-25 21:35:03 +00:00
MW 2fd0e53425 Applied dalien's libsl login patch (should now allow libsl clients to once again login to opensim) [Seems I was the one who broke it...sorry ] 2007-08-25 20:50:32 +00:00
MW 9bb22e3f06 Applied dalien's "show users" patch 2007-08-25 20:44:06 +00:00
MW 4b42bc5311 oops , shouldn't have committed my local testing changes 2007-08-25 20:38:57 +00:00
MW fafe70bba4 Second attempt to commit : Test to see if this change improves or makes worse the texture sending bug 2007-08-25 20:35:51 +00:00
Tedd Hansen 80234b98e5 Removal of script that was unable to compile no longer crashes server.
Displays script compile error messages in-world.
2007-08-25 20:34:54 +00:00
MW 65d6ef1bc1 Test to see if this change improves or makes worse the texture sending bug 2007-08-25 20:33:53 +00:00
Tedd Hansen 05a7f44d73 testing Tedds temporary CIA-standin 2007-08-25 20:07:46 +00:00
Tedd Hansen 370f36e4e1 testing Tedds temporary CIA-standin 2007-08-25 20:04:05 +00:00
Brian McBee 5ce230ccee Added texture set for the library. To enable, delete your regionassets.yap. WARNING: IF YOU DELETE THIS FILE YOU WILL LOSE ANY ASSETS THAT YOU HAVE UPLOADED. 2007-08-25 19:29:30 +00:00
Tedd Hansen b75c1b2191 Added class for "long commands" (command that returns as event) with dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error). 2007-08-25 19:08:15 +00:00
Tedd Hansen 53be4774b3 Scripts no longer crash sim after 5 minutes (override InitializeLifetimeService). Loading/Unloading of scripts are now handled in separate thread so server is no delayed because of this. Each script is loaded into a single AppDomain (temporary test for script unload, eats ~15KB more memory for each script). Unload of scripts has been verified to free up memory. 2007-08-25 15:31:47 +00:00