5ce230cceeAdded 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.
Brian McBee
2007-08-25 19:29:30 +0000
b75c1b2191Added 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).
Tedd Hansen
2007-08-25 19:08:15 +0000
53be4774b3Scripts 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.
Tedd Hansen
2007-08-25 15:31:47 +0000
573fb3a609Hopefully fixed the bugs in primitives rotation editing
MW
2007-08-25 14:12:40 +0000
c35e3b1f35updated to include saving of object flags. People will need to blow away their databases after this point.
Sean Dague
2007-08-25 13:06:09 +0000
6555ffb591Set some default values for "create user" in case anyone just pressing return as the answer to some of the settings.
MW
2007-08-24 21:15:23 +0000
e53ba00212Now also enabled Inventory persistence in standalone mode when account Authentication is turned off.
MW
2007-08-24 20:58:24 +0000
2ca00ba47eadd some better verbose statements to get a better feel for what is going on in the data paths
Sean Dague
2007-08-24 18:52:41 +0000
8b4955f6c1Hopefully fixed the issue of inventory not working for the master account. (Note you will need to delete userprofile.yap for this to take effect.)
MW
2007-08-24 16:30:27 +0000
4276a352bcSmall 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.
MW
2007-08-24 16:17:57 +0000
487a54ffc0it helps to actually call TestTables to get the new tables created
Sean Dague
2007-08-24 15:51:31 +0000
5c8fe0602asetting to native line ending for new files
Sean Dague
2007-08-24 15:48:44 +0000
a70fac535fupdated SQLite Inventory to newer model data definition, and add automatic generating of the inventory table
Sean Dague
2007-08-24 15:42:53 +0000
82e2ec60d5Fixed a problem where some prims didn't show up when you crossed or teleported into another region.
MW
2007-08-24 14:32:22 +0000
bbc7b5b847Added 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.
MW
2007-08-24 13:35:51 +0000
39a8cc43c7Had "using OpenSim.Physics.Manager;" defined twice in SceneObjectGroup.cs, so removed one of them.
MW
2007-08-24 12:38:48 +0000
d79b0ba269Hopefully 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).
MW
2007-08-24 12:34:00 +0000
c296ad684battempted fix for .NET issue with the database
Sean Dague
2007-08-24 12:02:52 +0000
df73446beeScripts are now copied into a prim (ie new copy placed in the prim) rather than moved into there.
MW
2007-08-24 11:42:44 +0000
a53125aae0Updated 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.
MW
2007-08-24 11:04:07 +0000
f6e0791e04Add region to db
Sean Dague
2007-08-23 19:48:21 +0000
ff7164196dI 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.
Sean Dague
2007-08-23 19:28:09 +0000
07836b890cLowered priority of script threads. Executing state_entry() event on script rez.
Tedd Hansen
2007-08-23 18:43:11 +0000
0d5311e49bAdded 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.
MW
2007-08-23 17:21:08 +0000
8c9f006dd3grouping of functions to make the overall logic easier to grasp for people, and start to show how this can be super classed with some common elements.
Sean Dague
2007-08-23 15:16:53 +0000
63c56f71a8remove this sqlite file as the database is actually autogenerated from the MonoSqlite module, and the schema is evolving over there.
Sean Dague
2007-08-23 14:54:04 +0000
742846d9e6fix typo
Sean Dague
2007-08-23 13:08:52 +0000
edd50f2e8eImplemented Resize Method in OdePrim. attached the links to that from SceneObject, so now resizing works (as much as resizing currently works in opensim, fixing resizing in general is on my todo list for today). Rotation of a root prim also now updates the physics engine. So think there really is only deleteprim left, then it should be usable (Different shapes (other than boxes that it currently uses) can wait a little bit longer). [of course there are still the other issues of ODE not really working when there is more than one region in a instance of opensim].
MW
2007-08-23 11:38:50 +0000
8264ba849fAdded a PhysicsActor PhysActor member to SceneObjectPart, and made it so this is set when registering the prims with the physics engine. Position changes of the prim is now updated straight away to physic engine. (note at the moment, only root prim is registered with physics engine. Think we need to decide how we are going to manage child prims and physics.) As before this is all currently disabled (in scene.cs) until its in a bit more working condition.
MW
2007-08-23 11:18:16 +0000
9a8742e838Added danx0r's physics patch, although for now have disabled the lines in Scene.cs, as any changes to prims (like size or position changes) are only updated to the physics engine when you restart opensim. Also prims aren't deleted from the physics engine. These shouldn't be hard to fix.
MW
2007-08-23 10:53:42 +0000
107469ed93More lsl functions (thanks to ldviopeng and wjordan!)
Brian McBee
2007-08-23 05:26:02 +0000
1f45f688b2setup test tables function which lets us make sure that everything we are going to ask for from the database is actually there. This will let us bail early with a useful error message, instead of late with a hard to understand one.
Sean Dague
2007-08-22 21:45:26 +0000
1fa2d487aaBit of refactoring of the sqlite storage code to build the data definition in ado.net objects up front. This makes auto generating the sql commands work a lot more reliably.
Sean Dague
2007-08-22 21:09:38 +0000
caee73353dDebug shows how many bytes (total) a script (assembly) uses after compile and load.
Tedd Hansen
2007-08-22 20:01:04 +0000
9566444a6aCorrect OpenSim.ini and inventoryStore.db
Tedd Hansen
2007-08-22 19:49:36 +0000
ffa8bd6cddSeems like I commited OpenSim.ini and inventoryStore.db unintentionally in last commit...
Tedd Hansen
2007-08-22 19:40:30 +0000
4beef91d00GC.GetTotalMemory(true) was blocking. We now support individual scripts on individual prims. Do the script dance... \o/ \o\ /o/ \o/ .o.
Tedd Hansen
2007-08-22 19:33:10 +0000
0eadb7591eAdded OnRemoveScript event handler to ScriptEngine. Fixed event queuing of empty objects crash.
Tedd Hansen
2007-08-22 18:41:31 +0000
47c6d8ae8fAdded OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a script in a primitive is deleted.
MW
2007-08-22 18:36:47 +0000
5a86fd2c31(Untested) Scripts are individually loaded into objects (on rez), and event fired likewise. Bugfixes coming in next commit.
Tedd Hansen
2007-08-22 18:09:38 +0000
001d5a5c92Made SceneObjectGroup.GetChildPrim() public, for now so that script engine can get ref to the SceneObjectPart/ IScriptHost.
MW
2007-08-22 17:40:26 +0000
5ea6d8d739A little bit of cleaning up.
MW
2007-08-22 16:59:13 +0000
5403153c15A case of 'while I was working someone set me up the bomb'.
lbsa71
2007-08-22 16:04:04 +0000
22537aa620* Added stub OnRezScript handler with plentiful of comments
lbsa71
2007-08-22 15:29:47 +0000
a3648b6862added ParentPartID to TaskInventoryItem class to make it easier to store them in database.
MW
2007-08-22 15:07:21 +0000
f02ebb6476Added forgotten file. Made a change to the Scene.EventManager OnRezScript event, it now includes the itemID as a param. This uuid is unique to each instance of a script, so can be used for tracking changes/editing, stopping and deleting a script.
MW
2007-08-22 14:47:01 +0000
b5921e2b95Start of Task Inventory (ie prim's inventory). For now, you can only move scripts into a prim (from your user inventory) and although the script will now show up in the prims inventory, you can't make any changes to it (or delete it). Also a prim's inventory is currently not saved between restarts.
MW
2007-08-22 14:37:54 +0000
de2432b73eFix for un-encrypted master avatar password in user database
Brian McBee
2007-08-22 05:00:25 +0000
6f6432864dauto create sqlite database if it doesn't exist. This works, but needs some cleaning up prior to release. However this should make it easy for people to start using sqlite storage.
Sean Dague
2007-08-21 22:01:30 +0000
921ac14e86Added OnRezScript event to Scene.EventManager.Which the script engine should subscribe to. This is triggered whenever a script is moved into a primitive (and includes the localid of the prim and the script text as params) . Currently though the script item isn't deleted from a users inventory, nor does it actually show up in the objects inventory (this will be fixed soon.) So that means that it isn't currently possible to edit a script (or delete it) once it has been added to a primitive.
MW
2007-08-21 21:03:18 +0000
73a67feaa3changed the comment lines from # to ; in opensim.ini. added a serverside_object_permissions = false entry (set to true to enable permission checking on prim editing etc). set the default for standalone account authentication to be turned on (so we don't get lots of people asking why inventory doesn't work). Just remember to use "create user" to create the accounts.
MW
2007-08-21 19:03:44 +0000
4dd40151a6self document how to enable prim storage
Sean Dague
2007-08-21 18:34:49 +0000
0e6f57a303Hopefully fixed the problem of users avatars not always showing up when either you or another user has crossed from one region to another. (however a avatar's appearance isn't kept across regions, but we need to add that to inter-regions communications so for now people will have to put up with some other user's avatars appearing as the bald(ish) fat man
MW
2007-08-21 18:11:45 +0000
249826893dOld group is now deleted from datastore when you link groups/prims, so that the new group can be stored correctly.
MW
2007-08-21 17:47:01 +0000
16f75978ceThink linking prims should now work correctly (if its not then please someone let me know) and the rotations are kept. [Now just need to fix the editing (rotation and position) of individual prims of a group]
MW
2007-08-21 16:46:10 +0000
76379a415bA bit more work on prim building related code. Think most of the building tools are now connected up and its now just a case of doing some bug fixing.
MW
2007-08-21 16:32:31 +0000
b7134c834cShift and Drag copying should now work correctly. [This was one of those stupid little one line bugs that was so much fun to track down that I decided to spend a few hours on it) Linking groups should now work better than it did, but still a bit of work to do on getting the rotations of all the parts after linking right. Added part of dalien's #301 patch (xml loading/saving related parts with some small changes)
MW
2007-08-21 16:25:57 +0000
252b48fb3eCan now turn on/off server side permission checking (on prim editing etc) from the opensim.ini file. Just add a line to the Startup section like : serverside_object_permissions = true Changes /editing that are made to clothing/ body parts in your inventory should now be saved between logins/ restarts.
MW
2007-08-21 13:21:03 +0000
18d1031a88Added Property to SceneObjectGroup to allow the UUID of the region it is in to be read.
MW
2007-08-20 16:07:37 +0000
31a81e17beThe regionUUID is now being passed to the datastore calls.
MW
2007-08-20 15:49:06 +0000
4af33c4da6Instant Messages between users in the same region should actually now work.
MW
2007-08-20 11:52:55 +0000
33326c1a70Some minor changes + krinkec's updates to ll* functions.
Tedd Hansen
2007-08-20 10:58:51 +0000
4b55de3e42Creating branch for Physics development
physics
Brian McBee
2007-08-19 18:27:09 +0000
1b826c2fdcAdded "StopScriot()" to ScriptManager. Stops Executor from executing events in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
Tedd Hansen
2007-08-19 17:47:47 +0000
c89db49f3cSqlite datastore should now save the textures and extraparams data (used by sculpties) correctly. [Really need to add a ExtraParams field to the sqlite database though, but for now I have combined their data so that we don't lose backward compatibility, know a couple of people have been using the datastore already]. Now have a rough day/night cycle (the movement of the sun needs to be made smoother but for now it is better than we had I think). Added dalien's patch (issue 294) for saving and loading prims to a xml file (think he will be modifying these to be import/export functions and maybe writing a xml datastore for backups). Some preliminary work on task inventory (ie object's/prim's inventory). Added place holder data for AvatarProperties (ie a avatar's profile). Should we store this sort of data on the user server or have another server for it (a normal webserver should work). Added a few more method to IClientAPI. Sure there is something I'm forgeting.
MW
2007-08-19 13:35:20 +0000
eeaac68d73Code comments on recent changes in EventQueueManager
Tedd Hansen
2007-08-19 11:38:58 +0000
7770c65a7eSped up EventQueueManager response time (scripts now respond quickly). Added support for multiple threads executing events on objects, but only one thread on one script at the time (to utilize MultiCore/hyperthreading CPU's).
Tedd Hansen
2007-08-19 11:09:54 +0000
e70cdbc5acAdded event method invoke cache to Executor. "Bind once, Invoke multiple times". Will speed up script event execution considerable. But at the cost of some memory (will be optimized later with RuntimeXHandle).
Tedd Hansen
2007-08-19 10:28:27 +0000
1893164d26Moved script loading from ScriptManager to AppDomainManager. Now increases scripts loaded count in AppDomain properly.
Tedd Hansen
2007-08-19 06:52:59 +0000
75f6c3d364More prep work for adding prims to ODE physics
Brian McBee
2007-08-19 06:14:36 +0000
489803e6bcDid I forget to add IScript.cs? Yes I did...
Tedd Hansen
2007-08-18 23:38:03 +0000
37446b0392Moved in-AppDomain event execution from Script to OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
Tedd Hansen
2007-08-18 23:24:38 +0000
318376707dstarting to add bits and pieces to physics prims that we will eventually need for collisions. not hooked in yet.
Brian McBee
2007-08-18 23:05:02 +0000
240712ca9fScripts are working again. Scripts are now loaded into limited AppDomains (no security yet). *phew* that only took me 12 hours of coding...
Tedd Hansen
2007-08-18 22:09:07 +0000
6faa8d8d68Script loads into separate AppDomain without errors. Events and llFunctions not working yet.
Tedd Hansen
2007-08-18 21:31:35 +0000
f444fe4f87Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ folder - hopefully solves compile problem on Linux.
Tedd Hansen
2007-08-18 21:10:40 +0000
551f2af39fLSL Compiler now only referring required assemblies (DotNetEngine and Common). Changed Vector and Rotation to custom types (stored in Common) that needs to be changed later. No longer using Axiom. Script support still broken.
Tedd Hansen
2007-08-18 20:53:13 +0000
1d41fd4984Working on AppDomains. Scripting is now officially broken. :]
Tedd Hansen
2007-08-18 19:54:04 +0000
6d10c65358Moved LSL_BuiltIn_Commands_Interface.cs to a separate library (OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs).
Tedd Hansen
2007-08-18 18:53:03 +0000
1284369a32Started on AppDomains for ScriptEngine. Moved llFunctions in LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
Tedd Hansen
2007-08-18 18:18:14 +0000
6c7f828833When teleporting to distant region, you can now go to the point you want to go to, instead of the default 128,128
Brian McBee
2007-08-18 17:10:54 +0000
fdd5602422llstrenglength (thanks ldvoipeng!)
Brian McBee
2007-08-18 16:56:05 +0000
8eb9952e5flsl test cases, and llregioncorner (thanks Dalien!)
Brian McBee
2007-08-18 02:15:21 +0000
4177f5c485* Applied dalien's terrain help patch (thanks!)
Adam Frisby
2007-08-17 22:57:46 +0000
d2e48c8014* Added new terrain-sim <simname> <terrain commands...> function to run terrain commands on a specific sim. * Made arguments for terrain save grdmap optional. Uses defaultstripe if no argument specified.
Adam Frisby
2007-08-17 22:44:34 +0000
fcf7db7272Pimped up Default.lsl. Now featuring a touch counter. Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.
Tedd Hansen
2007-08-17 21:24:38 +0000
577fb1a987Removed RAIL test from startup for now...
Tedd Hansen
2007-08-17 19:47:40 +0000
3998c1611c(2/2) Added DotSets.dll and Mono.PEToolkit.dll
Tedd Hansen
2007-08-17 18:42:54 +0000
4e8536588f(1/2) removed DotSets.dll and Mono.PEToolkit.dll
Tedd Hansen
2007-08-17 18:42:07 +0000
f2dd6c86f7Added RAIL.dll Updated DotSets.dll and Mono.PEToolkit.dll Started on microthreading - currently display exception during startup
Tedd Hansen
2007-08-17 18:39:04 +0000
66695ded13krinkec's updates to ll* interface and functions.
Tedd Hansen
2007-08-17 17:33:18 +0000
d3660ed269*Moved network_servers_info.xml into OpenSim.ini under [Network]
mingchen
2007-08-17 15:45:49 +0000
4a9e40ea47* Added support for the IMG-format loader to terrain's load-tile function.
Adam Frisby
2007-08-16 23:29:28 +0000
e53d680d41* Now sending manager, host and root host to Script in constructor. * Changed how Script accesses World * Implemented llSay, llWhisper and llShout * Added SetText() to IScriptHost, implemented llText * Minor renamings to conform with code conventions
lbsa71
2007-08-16 18:40:44 +0000