Commit Graph

1572 Commits (247b9c3573a806dd9e9b38d88ceec47161756eb5)

Author SHA1 Message Date
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
MW 573fb3a609 Hopefully fixed the bugs in primitives rotation editing 2007-08-25 14:12:40 +00:00
Sean Dague c35e3b1f35 updated to include saving of object flags.
People will need to blow away their databases after this point.
2007-08-25 13:06:09 +00:00
MW 6555ffb591 Set some default values for "create user" in case anyone just pressing return as the answer to some of the settings. 2007-08-24 21:15:23 +00:00
MW e53ba00212 Now also enabled Inventory persistence in standalone mode when account Authentication is turned off. 2007-08-24 20:58:24 +00:00
Sean Dague 2ca00ba47e add some better verbose statements to get a better feel for what is going
on in the data paths
2007-08-24 18:52:41 +00:00
MW 8b4955f6c1 Hopefully fixed the issue of inventory not working for the master account. (Note you will need to delete userprofile.yap for this to take effect.) 2007-08-24 16:30:27 +00:00
MW 4276a352bc Small bit of refactoring to the startup command script code (moved it into a separate method), so that I could add a new CLI command of "command-script <fileName>", so that as well as the startup command script still being processed on startup. A user can create other command scripts and use the single command ("command-script <filename>") to run them at any time. Could be useful for trying out various configurations etc. 2007-08-24 16:17:57 +00:00
Sean Dague 487a54ffc0 it helps to actually call TestTables to get the new tables created 2007-08-24 15:51:31 +00:00
Sean Dague 5c8fe0602a setting to native line ending for new files 2007-08-24 15:48:44 +00:00
Sean Dague a70fac535f updated SQLite Inventory to newer model data definition,
and add automatic generating of the inventory table
2007-08-24 15:42:53 +00:00
MW 82e2ec60d5 Fixed a problem where some prims didn't show up when you crossed or teleported into another region. 2007-08-24 14:32:22 +00:00
MW bbc7b5b847 Added temporary fix for the sqlite datastore exception in windows .Net, Added a Try catch block around "shapeDa.Fill(ds.Tables["primshapes"]);" line. Seems if the database file is empty (ie opensim has just created it or nothing has been stored in it yet.) then the exception will be fired and catch, then opensim can continue and have no problems (it will still save prims fine), then on next restart if the database file has entries in it, the exception will no longer be thrown. 2007-08-24 13:35:51 +00:00
MW 39a8cc43c7 Had "using OpenSim.Physics.Manager;" defined twice in SceneObjectGroup.cs, so removed one of them. 2007-08-24 12:38:48 +00:00
MW d79b0ba269 Hopefully fixed mantis bug #318 (exception when a prim moves across a border, for now have stopped prims moving beyond a regions area, will add sending prims from one region to another soon). 2007-08-24 12:34:00 +00:00
Sean Dague c296ad684b attempted fix for .NET issue with the database 2007-08-24 12:02:52 +00:00
MW df73446bee Scripts are now copied into a prim (ie new copy placed in the prim) rather than moved into there. 2007-08-24 11:42:44 +00:00
MW a53125aae0 Updated sqlite3.dll to version 3.4.2
Fixed it so now when you move a script to a Prim or delete a script from a prim the change should show up in the prims inventory straight away (without having to close the edit window and reopen it).
When linking prims, all parts except for the root part of the new group are removed from the physics engine, as currently we only really support root parts in the physics engine.
2007-08-24 11:04:07 +00:00
Sean Dague f6e0791e04 Add region to db 2007-08-23 19:48:21 +00:00
Sean Dague ff7164196d I think this fixes blob save/load issues (though I'm still not convinced this
will handle > 8k textures yet).  Need MW to test to see if this gets rid of his
issue.  

There is commented code left in here for now until we know it is fixed
2007-08-23 19:28:09 +00:00
Tedd Hansen 07836b890c Lowered priority of script threads. Executing state_entry() event on script rez. 2007-08-23 18:43:11 +00:00
MW 0d5311e49b Added RemovePrim method to the physics plugins interface.
Implemented that method in ODE plugin.
Hooked it up so when deleting/taking prims into your inventory they will be removed from physics engine.
Enabled the other physics hook ups in Scene.cs (and also added registering prims with physics plugin when they are rezzed from Inventory.)
So now to get the avatar to prim collision testing working, just change to use the ODE plugin (in the OpenSim.ini file, physics = OpenDynamicsEngine). Remember though ODE only really works (without problems) when running with a single region.
2007-08-23 17:21:08 +00:00