Commit Graph

17162 Commits (42e52f544df5210b41b96176c364d1f1d2d96b00)

Author SHA1 Message Date
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
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 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
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 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
Sean Dague 8c9f006dd3 grouping 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.
2007-08-23 15:16:53 +00:00
Sean Dague 742846d9e6 fix typo 2007-08-23 13:08:52 +00:00
MW edd50f2e8e Implemented 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].
2007-08-23 11:38:50 +00:00
MW 8264ba849f Added 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.
2007-08-23 11:18:16 +00:00
MW 9a8742e838 Added 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. 2007-08-23 10:53:42 +00:00
Brian McBee 107469ed93 More lsl functions (thanks to ldviopeng and wjordan!) 2007-08-23 05:26:02 +00:00
Sean Dague 1f45f688b2 setup 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.

Do some other cleanups to get rid of debug input I put in
2007-08-22 21:45:26 +00:00
Sean Dague 1fa2d487aa Bit 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.
2007-08-22 21:09:38 +00:00
Tedd Hansen caee73353d Debug shows how many bytes (total) a script (assembly) uses after compile and load. 2007-08-22 20:01:04 +00:00
Tedd Hansen 4beef91d00 GC.GetTotalMemory(true) was blocking.
We now support individual scripts on individual prims. Do the script dance... \o/ \o\ /o/ \o/ .o.
2007-08-22 19:33:10 +00:00
Tedd Hansen 0eadb7591e Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of empty objects crash. 2007-08-22 18:41:31 +00:00
MW 47c6d8ae8f Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a script in a primitive is deleted. 2007-08-22 18:36:47 +00:00
Tedd Hansen 5a86fd2c31 (Untested) Scripts are individually loaded into objects (on rez), and event fired likewise. Bugfixes coming in next commit. 2007-08-22 18:09:38 +00:00
MW 283468caa0 Added Scene.GetSceneObjectPart(uint localID) 2007-08-22 17:46:23 +00:00
MW 001d5a5c92 Made SceneObjectGroup.GetChildPrim() public, for now so that script engine can get ref to the SceneObjectPart/ IScriptHost. 2007-08-22 17:40:26 +00:00
MW 5ea6d8d739 A little bit of cleaning up. 2007-08-22 16:59:13 +00:00
lbsa71 5403153c15 A case of 'while I was working someone set me up the bomb'. 2007-08-22 16:04:04 +00:00
lbsa71 22537aa620 * Added stub OnRezScript handler with plentiful of comments 2007-08-22 15:29:47 +00:00
MW a3648b6862 added ParentPartID to TaskInventoryItem class to make it easier to store them in database. 2007-08-22 15:07:21 +00:00
MW f90bd59708 Fixed typo. 2007-08-22 14:48:53 +00:00
MW f02ebb6476 Added 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.
2007-08-22 14:47:01 +00:00
MW b5921e2b95 Start 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. 2007-08-22 14:37:54 +00:00
Brian McBee de2432b73e Fix for un-encrypted master avatar password in user database 2007-08-22 05:00:25 +00:00
Sean Dague 6f6432864d auto 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.
2007-08-21 22:01:30 +00:00
MW 921ac14e86 Added 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. 2007-08-21 21:03:18 +00:00
MW 0e6f57a303 Hopefully 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 2007-08-21 18:11:45 +00:00
MW 249826893d Old group is now deleted from datastore when you link groups/prims, so that the new group can be stored correctly. 2007-08-21 17:47:01 +00:00
MW 16f75978ce Think 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] 2007-08-21 16:46:10 +00:00
MW 76379a415b A 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. 2007-08-21 16:32:31 +00:00
MW b7134c834c Shift 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)
2007-08-21 16:25:57 +00:00
MW 252b48fb3e Can 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.
2007-08-21 13:21:03 +00:00
MW 18d1031a88 Added Property to SceneObjectGroup to allow the UUID of the region it is in to be read. 2007-08-20 16:07:37 +00:00
MW 31a81e17be The regionUUID is now being passed to the datastore calls. 2007-08-20 15:49:06 +00:00
MW 4af33c4da6 Instant Messages between users in the same region should actually now work. 2007-08-20 11:52:55 +00:00
Tedd Hansen 33326c1a70 Some minor changes + krinkec's updates to ll* functions. 2007-08-20 10:58:51 +00:00
Tedd Hansen 1b826c2fdc Added "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). 2007-08-19 17:47:47 +00:00
MW 3dffc3e3f6 small clean up. 2007-08-19 14:55:43 +00:00
MW c89db49f3c Sqlite 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.
2007-08-19 13:35:20 +00:00
Tedd Hansen eeaac68d73 Code comments on recent changes in EventQueueManager 2007-08-19 11:38:58 +00:00
Tedd Hansen 7770c65a7e Sped 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). 2007-08-19 11:09:54 +00:00
Tedd Hansen e70cdbc5ac Added 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). 2007-08-19 10:28:27 +00:00
Tedd Hansen 1893164d26 Moved script loading from ScriptManager to AppDomainManager. Now increases scripts loaded count in AppDomain properly. 2007-08-19 06:52:59 +00:00
Brian McBee 75f6c3d364 More prep work for adding prims to ODE physics 2007-08-19 06:14:36 +00:00
Tedd Hansen 489803e6bc Did I forget to add IScript.cs? Yes I did... 2007-08-18 23:38:03 +00:00
Tedd Hansen 37446b0392 Moved 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). 2007-08-18 23:24:38 +00:00
Brian McBee 318376707d starting to add bits and pieces to physics prims that we will eventually need for collisions. not hooked in yet. 2007-08-18 23:05:02 +00:00
Tedd Hansen 1ae73931da Added (theoretical) AppDomain cleanup code. 2007-08-18 22:33:06 +00:00
Tedd Hansen 240712ca9f Scripts are working again. Scripts are now loaded into limited AppDomains (no security yet).
*phew* that only took me 12 hours of coding...
2007-08-18 22:09:07 +00:00
Tedd Hansen 6faa8d8d68 Script loads into separate AppDomain without errors. Events and llFunctions not working yet. 2007-08-18 21:31:35 +00:00
Tedd Hansen f444fe4f87 Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ folder - hopefully solves compile problem on Linux. 2007-08-18 21:10:40 +00:00
Tedd Hansen 551f2af39f LSL 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. 2007-08-18 20:53:13 +00:00
Tedd Hansen 1d41fd4984 Working on AppDomains. Scripting is now officially broken. :] 2007-08-18 19:54:04 +00:00
Tedd Hansen 6d10c65358 Moved LSL_BuiltIn_Commands_Interface.cs to a separate library (OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs). 2007-08-18 18:53:03 +00:00
Tedd Hansen 1284369a32 Started on AppDomains for ScriptEngine. Moved llFunctions in LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded. 2007-08-18 18:18:14 +00:00
Brian McBee 6c7f828833 When teleporting to distant region, you can now go to the point you want to go to, instead of the default 128,128 2007-08-18 17:10:54 +00:00
Brian McBee fdd5602422 llstrenglength (thanks ldvoipeng!) 2007-08-18 16:56:05 +00:00
Brian McBee 8eb9952e5f lsl test cases, and llregioncorner (thanks Dalien!) 2007-08-18 02:15:21 +00:00
Adam Frisby 4177f5c485 * Applied dalien's terrain help patch (thanks!) 2007-08-17 22:57:46 +00:00
Adam Frisby 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.
2007-08-17 22:44:34 +00:00
Tedd Hansen fcf7db7272 Pimped 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.
2007-08-17 21:24:38 +00:00
Tedd Hansen 577fb1a987 Removed RAIL test from startup for now... 2007-08-17 19:47:40 +00:00
Tedd Hansen f2dd6c86f7 Added RAIL.dll
Updated DotSets.dll and Mono.PEToolkit.dll
Started on microthreading - currently display exception during startup
2007-08-17 18:39:04 +00:00
Tedd Hansen 66695ded13 krinkec's updates to ll* interface and functions. 2007-08-17 17:33:18 +00:00
mingchen d3660ed269 *Moved network_servers_info.xml into OpenSim.ini under [Network] 2007-08-17 15:45:49 +00:00
Adam Frisby 4a9e40ea47 * Added support for the IMG-format loader to terrain's load-tile function. 2007-08-16 23:29:28 +00:00
lbsa71 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
2007-08-16 18:40:44 +00:00
MW cb90510e16 Had to rename Rotation in SceneObjectGroup to GroupRotation to stop conflict with Rotation in entitybase (couldn't override as they are different types (LL vs Axiom) and didn't want to add new).
When you take prims into inventory (or delete them), they should now be removed from the prim datastore, so they no longer reappear in-world when you restart opensim.
2007-08-16 18:22:08 +00:00
lbsa71 25fd8d0273 * Introduced IScriptHost as an interface to fetching object data from scripts.
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
2007-08-16 17:08:03 +00:00
MW 67873b8614 Deleted old inventoryCache.cs 2007-08-16 16:57:30 +00:00
MW 531f64a53b Taking Prims (SceneObjectGroups) in and out of inventory should now work and if left in inventory will still be there after restarts. (as with the rest of inventory it will only fully work in standalone mode with account authentication turned on). 2007-08-16 16:31:32 +00:00
MW b6c48c53b2 Can now set the plugins for standalone mode's Inventory database (default sqlite) and for its user database (default DB4o). Currently changing the user plugin to MySql should work (if you have MySql setup (should be same as for grid mode). There is also a MySql provider for the inventory but not 100% certain if that is finished and functional (will need to check with Adam on that). 2007-08-16 11:24:40 +00:00
lbsa71 94af938742 The 'Party Party Groupie Groupie Life is a game' commit:
* Added prototypical MoneyBalance support
  * Finalized konceptual touch wiring
  * Turned SimpleApp into a tedious harvesting game.
2007-08-15 21:24:25 +00:00
Tedd Hansen 6831c42fe2 compile error removed :) 2007-08-15 19:30:19 +00:00
Tedd Hansen 9c3251b177 Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) and double (instead of float). 2007-08-15 19:25:29 +00:00
mingchen ae20503dae *Added the ability to run commands after all regions have started up
*By default, it is set to startup_commands.txt. Simply add a list of commands separated by a new line to be run or change the file by changing the path of a startup commands file in OpenSim.ini
2007-08-15 19:08:27 +00:00
MW 94dded470d More work on inventory, can now create other inventory types, like Clothes and body parts. [Note while you can edit these, at the moment your changes won't be saved between restarts. This will be fixed very soon.] 2007-08-15 18:34:36 +00:00
lbsa71 2a5a8c48c3 * We now have a field of spinning objects. 2007-08-15 18:13:32 +00:00
lbsa71 a4602515ce * Added more spinning parts to ComplexObject.
* We now have CylinderShape
* This commit dedicated to the birth of techno house.
2007-08-15 18:02:05 +00:00
lbsa71 2fe9b8139c * Again, FileSystemObject reports filename.
* SimpleApp now featuring spinning box with spinning parts.
* Damn. That's cool.
2007-08-15 17:15:41 +00:00
lbsa71 c47bca94d2 * Exploring Group/Part from an app perspective. 2007-08-15 16:57:47 +00:00
Adam Frisby 226339cd40 * Applying ckrinke's LSL baseclass changes (Thanks!) 2007-08-15 16:57:01 +00:00
Adam Frisby bf60577e57 * Fixed bug with llModPow
* Implemented llSleep
* Implemented llGetEnergy (always returns 1.0)
* Implemented llGetRegionName
* Implemented llGetRegionTimeDilation (always returns 1.0)
* Implemented llGetRegionFPS (always returns 10.0)
2007-08-15 16:52:24 +00:00
Adam Frisby ceb1c12bd1 * New LSL functions
+ llAsin / llAcos
+ llMD5String
+ llModPow
+ llGetUnixTime
2007-08-15 16:44:00 +00:00
Adam Frisby c170c60df7 * Division of parcel boundaries occurs in double space rather than decimal. 2007-08-15 16:17:40 +00:00
MW 217d511077 Temporary fix for the region crossing crash, Although we need to start to change and improve how we handle caps. 2007-08-15 15:24:37 +00:00
Adam Frisby 5699bb2e64 * Permissions! - You can now only perform certain functions (such as editing other peoples objects) if you have permission to do so.
* Moved OnPermissionError to EventManager - now triggers a standard blue alert.
* Terraforming now requires permission via the permissions manager. [Defaults to admin-only]
* Permissions manager is now substantiated in Scene
* Buttload of new permissions added.
* Estate manager operations now require various levels of permission to operate
* OGS1 now produces 'summary reports' for a commsManager of each scene it maintains connections for. Reduces grid network traffic for ping checks.
* Added new "permissions true" / "permissions false" console command to enable or disable permissions.
2007-08-15 14:10:26 +00:00
MW a4fc02d790 Partial fix for the permissions on edited notecards/scripts (now you might still see the messages next to the items of no copy or whatever, but they shouldn't stop you doing thing like reading etc) 2007-08-14 20:05:39 +00:00
Tedd Hansen 6b72ed01e3 Minor change to LSL_BaseClass adding pseudocode to World.SimChat 2007-08-14 19:36:43 +00:00
MW ea5d414170 Added public RegionInfo RegionsInfo property to SceneBase (so scripts can access it). 2007-08-14 19:30:57 +00:00
MW a979808493 preliminary support for editing notecards and scripts.
Although there seems to sometimes be a problem of when you login again, old notecards and scripts will have their permissions messed up and you won't be able to even view their text. This seems to be related to the client's cache, and if you clear your client's cache, on the next login they should be fine again. [I have a couple of ideas about what might be causing this so hopefully will have it fixed soon.]
2007-08-14 19:19:09 +00:00
Tedd Hansen 16defc30eb krinkec's updates to ll* interface and functions 2007-08-14 19:06:57 +00:00
MW 20b50489c0 Can now create some new empty inventory items (like notecards and scripts) from the create menu in the inventory window. Although currently you can't update/edit them (and have those changes saved). 2007-08-14 17:48:25 +00:00
MW 181a90967e Start of inventory items, when you upload a texture the data will now be stored in the inventory database and you will still have that texture in inventory on later logins (Again only in standalone mode with authentication.)
Also there might be some problems if you upload textures in other regions to the start one (due to us not updating the CAPS url properly).
2007-08-14 17:29:15 +00:00
Tedd Hansen 09e1f5f22e Correct caps of Default.lsl for Linux. Thanks again krinkec. :) 2007-08-14 16:42:00 +00:00
Tedd Hansen 2a892eb736 Removed some debugging. Removed *.lso from project include in prebuild.xml. 2007-08-14 16:25:22 +00:00
Tedd Hansen 9573aa7582 llSay() works again. Cleanup of debug messages. 2007-08-14 16:14:19 +00:00
Tedd Hansen afaa12a9e2 ScriptEngine: Some error handling, logs to logger 2007-08-14 15:59:36 +00:00
MW ff08d4d016 More inventory work, should be able to now create new inventory folders and them be stored in database (so are there on next login). Again only works in standalone mode with Account/password authentication turned on. [Creating new inventory items should be working very soon.]
The test is to make sure that it hasn't broke grid mode at all.
2007-08-14 14:57:52 +00:00
MW a228b5984e Start of Inventory service, currently only (partially) functional in standalone mode and using sqlite).
In standalone mode, if you have account authenticate turned on (setting in opensim.ini) then when you create a new account, a set of inventory is created for that account and stored in database (currently only a set of empty folders). Then during login the database is search for that set and sent to the client in the login response.
More functions will be added soon, like creating new folders (and a bit later items) from the client inventory window.
2007-08-14 13:54:46 +00:00
Tedd Hansen 7b2663a41e Disabled ScriptEngine until I add error handling tomorrow 2007-08-13 21:25:16 +00:00
Tedd Hansen 79dc1a4f7d Common script for all objects (Default.lsl). ScriptEngine touch_start event now works, but llSay only outputs to server console. 2007-08-13 20:55:07 +00:00
MW 45fcbaae1b Added Scene.ConvertLocalIDToFullID() method. 2007-08-13 20:24:37 +00:00
MW b3c6920328 added Sample OnObjectGrab event to SceneEventManager for script engines to subscribe to. 2007-08-13 20:11:35 +00:00
MW fc82bd8de7 Changed ScriptLoader to use Path.combine. 2007-08-13 19:56:48 +00:00
Tedd Hansen 876f71cf93 (DotNet) ScriptEngine is now loaded and added to Scene during startup. 2007-08-13 19:39:51 +00:00
Tedd Hansen c2c21ea170 Setting culture for startup thread to invariant. Config now read correctly on alternate regional settings. 2007-08-13 18:33:03 +00:00
MW 8af12cd9a8 Some more work on SceneObjectGroup 2007-08-13 18:25:12 +00:00
Tedd Hansen 050921d7b6 krinkec's updates to ll* interface and functions 2007-08-13 17:28:08 +00:00
MW 9cd64931d6 oops , guess I should include the new files next time 2007-08-13 16:24:12 +00:00
MW 04b1767886 Separated Login Service from usermanager, which helps to clean up the code a bit and also should help to integrate the inventory server (when it is wrote/finished). 2007-08-13 15:55:36 +00:00
MW dc24317678 Added the SetPartText access method to SceneObjectGroup to set the text of member SceneObjectParts. 2007-08-13 14:39:12 +00:00
MW 7fbc3266df The Welcome message /message of the day shown in the client during login, can now be set from the .INI file for standalone mode (change the standalone_welcome = "Welcome to OpenSim" line). 2007-08-13 13:41:54 +00:00
MW 82f8ecf673 Some work to prepare for inventory server. 2007-08-13 13:39:24 +00:00
MW e34f5edb70 Deleted some unused code. 2007-08-13 13:37:50 +00:00
MW b59d9789f8 Partial Linking of prim groups should work (its partial as currently only the root prim of the child group will actually get linked, working on linking the rest now).
Multiple prim groups are now stored in the sqlite database and are reloaded correctly.
2007-08-13 13:36:42 +00:00
Tedd Hansen ed1208d043 ScriptEngine successfully compiles script, we are now even further than LSO was.
Also added C# script support.
2007-08-12 19:04:07 +00:00
Tedd Hansen 75c5bdbef9 ScriptManager now uses LSL-compiler.
LSL_BuiltIn_Commands_TestImplementation.cs no longer needs updating.
2007-08-12 18:36:42 +00:00
Tedd Hansen d715b0f66c LSL_BaseClass now receives scene during init 2007-08-12 18:27:46 +00:00
Tedd Hansen a968d05864 LSL BuiltIn implementation is now in Compiler\LSL\LSL_BaseClass. So users won't have to reference every internal command by object. 2007-08-12 18:06:02 +00:00
Tedd Hansen fd63c0cd32 Code comments and cleanup, correct datatypes for key, vector, rotation, (hopefully) reference to Axiom during compile, passing of BuiltIns during script load, BuiltIn interface added, etc etc 2007-08-12 17:37:37 +00:00
Tedd Hansen 7a5474ec28 Script now compiles unsuccessfully
(unknown datatypes, no references)
2007-08-12 17:04:09 +00:00
Tedd Hansen 734f288290 LSL ScriptEngine now only needs to inherit from BaseClass and we will be MUCH closer to complete LSL support than we were yesterday. 2007-08-12 16:44:57 +00:00
Brian McBee 95b89096c4 Hopefully fixes userprofiles.yap problem on startup. (thanks Adam!) 2007-08-12 16:17:04 +00:00
Tedd Hansen f5955ab539 Initial LSL to C# converter, not working yet! 2007-08-12 13:38:16 +00:00
MW 822881eac5 Added a new column (SceneGroupID) to sqlite3 table (sqlite3-prims.sql) so that we can tell what prims belong to the same SceneObjectGroup. If sdague has a different method in mind when he gets back then he can change it then. 2007-08-11 20:20:33 +00:00
MW cea2e45da9 A attempt to fix the user manager db4o crash bug (where you have to delete userprofiles.yap to get opensim to start) 2007-08-11 20:02:34 +00:00
MW 3520e9e3ee Applied danx0r 's ODE patch [mantis issue 263] 2007-08-11 17:54:46 +00:00
MW 114807b9d1 Made account Authentication optional in "sandbox/standalone" mode. Just change "standalone_authenticate = false" to be true in OpenSim.ini. Then as per grid mode, you can use the "create user" command to create new accounts. 2007-08-11 11:59:51 +00:00
MW f147d8e0f0 Few small fixes 2007-08-10 18:52:46 +00:00
MW afa445660e I'm sorry but it has now became a case of either it goes or I go, so I'm removing the creating a different named log file every time opensim is ran (I can't take doing a bit of developing then finding 500 log files in the bin folder), and as opensim allows multiple regions in a instance there should no longer be the need to run multiple instances of opensim from a single folder (which was I believe the reason that code was added ).
If someone else can't live without the multiple log files then I guess...
2007-08-10 17:40:57 +00:00
MW 79f0ac82e3 Some cleaning up and removed a few old files no longer in use.
Temporary have had to rename the OpenSim.DataStore.MonoSqlite project to OpenSim.DataStore.MonoSqlite1, as I'm not sure what was done to stop the old project name being included in the VS2005 solution.
Also some config changes:
OpenSim now has a INI (OpenSim.ini) file that it will read some config settings from (if the ini file exists).
Added Mono.Data.SqliteClient.dll so that we can use the same code for sqlite on Windows and mono/linux. (from what I can tell Mono class libraries have a MIT license so there should be no problems with us including this dll).
So now to get the basic prim storage working , you need to first create the sqlite database file from the sqlite3-prims.sql in share directory. Then in the OpenSim.ini file, change the storage_plugin so it points to OpenSim.DataStore.MonoSqlite1.dll (storage_plugin = OpenSim.DataStore.MonoSqlite1.dll). Then in your region.xml files change the DataStore value so it is the name of your database file (at the moment you need a different sqlite3 database file for each region).
2007-08-10 17:22:54 +00:00
Tedd Hansen 8b17e4da10 Renamed Compiler.LSL to Compiler.LSO 2007-08-10 16:22:20 +00:00
MW e7eeab90d6 Removed a piece of debug code 2007-08-10 14:04:00 +00:00
MW 427431ba17 Fixed a couple of mistakes. 2007-08-10 14:01:05 +00:00
MW 94c7e41ef1 Made a few changes so that once we enable the sqlite data store (simple line change in OpenSimMain), then basic ( with a few limits at moment) prim database backup will work. 2007-08-10 13:59:19 +00:00
Sean Dague 6063d2ce5f Couldn't leave this one alone. Data is now flowing both ways in
sqlite *but* isn't being added back to the scene on load because 
some information (like rootpart) isn't currently exposed enough
to save/restore, and I don't want to change the SceneObjectGroup
definition without MW around to discuss.

A couple of minor changes on the object interface for SceneObjectGroup
and tweaks to this class, and we have persistant prims again.
2007-08-09 23:51:26 +00:00
Sean Dague 0443723ea5 comment out load from sqlite as this blows up on object creation right now.
must run away on vacation.  See you all in a week and change.
2007-08-09 21:26:39 +00:00
Sean Dague a2a8de816b completely untest load prims from db code. Testing shortly 2007-08-09 21:07:53 +00:00
Sean Dague ad2133e5cf utility functions to convert from rows to new objects. untested 2007-08-09 20:59:37 +00:00
Tedd Hansen ae970d4171 Removed 2 warnings. Added pointer comments to where to add hooks and modify functions to get SE working. 2007-08-09 20:59:35 +00:00
Sean Dague 484121f3f4 added GroupPosition 2007-08-09 20:31:10 +00:00
Sean Dague ec0dc208dd build update clauses correctly 2007-08-09 20:07:58 +00:00
Sean Dague 9fb651932e some more typos about wrong table for shapes 2007-08-09 19:55:41 +00:00
Sean Dague 88496505b1 use correct table name for shapes 2007-08-09 19:52:02 +00:00
MW 765bd02a48 SceneObjects should now (hopefully) call datastore.StoreObject(). 2007-08-09 19:30:52 +00:00
Sean Dague 1681e3ac15 pull out some uneeded attributes, and setup keys on primshapes dataset 2007-08-09 19:06:48 +00:00
Sean Dague 2b25717c8c prim.Shape -> primshapes table 2007-08-09 19:02:32 +00:00
Tedd Hansen 6829c45cb3 ScriptEngine just needs 2 events hooked up and llSay() implemented to work. See TODO.txt for details. 2007-08-09 18:57:41 +00:00
MW e36c645729 Deleted old LSLEngine files (those under Scene.Scripting) 2007-08-09 18:45:40 +00:00
Sean Dague e53afe91ab prim object -> prims table code 2007-08-09 18:37:55 +00:00
Tedd Hansen c447c45895 Removed spaces from directory names 2007-08-09 18:07:22 +00:00
Sean Dague 21685bf304 make MonoSqliteDataStore compile with new objects
now the fun begins of connecting all the dots
2007-08-09 18:06:26 +00:00
Tedd Hansen bf69aca961 Merged OpenSim.ScriptEngine.DotNetEngine.Compiler.LSL into OpenSim.ScriptEngine.DotNetEngine to avoid the compile error 2007-08-09 18:03:24 +00:00
MW d451dddcd0 Start of replacing the old SceneObject/Primitive classes with the new versions.
PLEASE NOTE: that with this revision some prim related features may be broke for a while. (things like linking prims and the parcel prim count.)
Also this revision may not work on mono, but that will be fixed soon.
2007-08-09 17:54:22 +00:00
MW a56a17fab2 Making sure my local working copy is in sync with svn before I start the job of enabling the new SceneObject classes. 2007-08-09 12:59:42 +00:00
Brian McBee 50e3797c59 Transition between not flying / flying should be smoother 2007-08-09 06:19:41 +00:00
Sean Dague 3592043431 Start defining prim shape definition. Officially bed time now 2007-08-09 03:56:11 +00:00
Sean Dague b097d89f38 decrease insanity level significantly by factoring all the columns into
a Dictionary, and programatically building up sql commands for our dataset.
Prims done, prim shapes next
2007-08-09 02:26:34 +00:00
Sean Dague d746813130 intermediate checkin of code that compiles before I do something
stupid and nuke all this work.
2007-08-09 01:54:01 +00:00
Sean Dague 8425693076 Commit in the changes for all the parameter bindings for prims 2007-08-09 00:42:32 +00:00
lbsa71 25a6791627 * Checked in new tweaked Prebuild.exe
* Ignored binaries
2007-08-08 21:23:42 +00:00
Brian McBee 0a6628f333 worldmap now gets correctly updated when terrain changes 2007-08-08 20:47:44 +00:00
Sean Dague f732d5b2c8 sigh, Data ... not Date. I'm dumb 2007-08-08 20:30:38 +00:00
Sean Dague 672d7f7b34 name changes in MonoSqliteData store 2007-08-08 20:30:05 +00:00
Sean Dague e8e3afa8fe rename to MonoSqliteDataStore 2007-08-08 20:28:58 +00:00
Sean Dague 238fe86bc7 screwed up the move, removing this file to give us proper history tracking 2007-08-08 20:28:34 +00:00
MW ad1a8ac381 missed this file 2007-08-08 19:57:15 +00:00
MW a137703611 Fixed the asset download problem I think, solution might not be ideal but works for now. 2007-08-08 19:51:51 +00:00
Sean Dague 6ec523d5e6 moving to new namespace as this is mono only 2007-08-08 19:48:11 +00:00
Sean Dague a5f8d012b7 This chunk of code actually properly saves out some parameters of
current objects to disk, and does updates on those objects usefully.
It is now functional enough to mean that moving to new objects is 
just lots of plug and chug.
2007-08-08 19:35:16 +00:00
MW be483bc697 Hopefully improved texture downloading (including the speed at which they download), but still a few problems, it seems that the client has a quite short timeout for receiving a texture and if the whole texture isn't sent within this time, the client will request the texture again, With quite small textures this is fine, but it seems that with larger textures we can't send them fast enough and a infinite loop develops where the client keeps requesting a texture and we keep trying to send it, but are never fast enough. So I've for now put code in that so that the server will try to send a texture only once and then after that will ignore future requests from that client for that texture. 2007-08-08 18:55:58 +00:00
Brian McBee 01f4aeb520 when teleporting to a non-adjacent region, client was not getting new neighbours 2007-08-08 18:18:14 +00:00
Sean Dague 48ad7ca905 databits are actually flowing to disk 2007-08-08 17:59:16 +00:00
MW 369fb2e623 Added checks to the last commit to make sure the xml files exist before it tries to load them. 2007-08-08 17:29:37 +00:00
MW cf203cf5ee The startup set of assets in the local asset server can now be set from a xml file (OpenSimAssetSet.xml). (remember to make changes to the set, you will also need to delete the old asset .yap file, so that it is recreated).
Also the set of items in the OpenSim inventory Library can also now be set from a xml file (OpenSimLibrary.xml).
2007-08-08 17:11:02 +00:00
Tedd Hansen 1a9966abac Commit works? 2007-08-08 15:40:35 +00:00
MW a3b1a61e6a Removed System.Windows.Form reference from DotNetEngine.Compiler.LSL , it didn't seem to be needed anyway. 2007-08-08 15:26:19 +00:00
MW 6bfe911af3 Rotated the terrain textures that are created for world map by 90 degree as somehow they had got out of sync with the terrain. 2007-08-08 14:50:44 +00:00
Tedd Hansen 356f59ac45 Added ScriptEngine to solution (prebuild.xml) 2007-08-08 14:36:54 +00:00
Tedd Hansen 2a0e157985 Added ScriptEngine.DotNetEngine 2007-08-08 14:05:13 +00:00
lbsa71 ef0fea268f * Got SimpleApp working again
* Minor shape koncept experiments
2007-08-08 11:16:45 +00:00
Brian McBee 5061a703ea CAPS should now be working in standalone mode. Texture uploads will work even after you cross a region boundary. 2007-08-08 07:00:56 +00:00
Brian McBee 1b709be156 Whoops! left this out. second part of r1541 2007-08-08 05:04:22 +00:00
Brian McBee 185115ee51 OGS1GridServices.cs
Sims should crash less in gridmode just because their neighboring regions aren't available.
2007-08-08 04:59:03 +00:00
Brian McBee 029f0e4e3d Grid/GridServer/GridManager.cs
Fixed GridManager.cs so that it properly updates the database if you change some parameters in your region (X and Y, region name, etc). It still keys on the region uuid.
2007-08-08 02:41:14 +00:00
Sean Dague 013641f31d starting to push some of the actual sql commands to get this to disk.
Not working yet.
2007-08-07 19:49:43 +00:00
MW 266b272673 Some more work on new Sceneobject. 2007-08-07 18:31:20 +00:00
lbsa71 d0156b491b * koncept bugfix 2007-08-07 17:25:21 +00:00
MW 5ac5785cf2 a couple of changes in the new Sceneobject classes, just committing so things are kept in sync. 2007-08-07 17:22:15 +00:00
lbsa71 2a0a8c43ef * Removed duplicated Script residue 2007-08-07 16:37:08 +00:00
Sean Dague e4df1de58b actually transfer some data to the row definition. Going to hook
this up to the sim in my env now to make sure we're getting data flow
in a reasonable way at this point.
2007-08-07 15:45:16 +00:00
Sean Dague cf3babd988 actually get sqlite stuff to compile. This isn't connected to the
main prebuild yet.  Going to attempt to get some tracing on current
SceneObjects first
2007-08-07 15:13:27 +00:00
Sean Dague f54049ceb8 some more sqlite stuff. Checking in to get it to another computer
to do a bit more live hacking on data flow
2007-08-07 14:39:00 +00:00
Brian McBee b55e01b939 OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
One last try at getting the X and Y all set straight.
2007-08-06 20:53:45 +00:00
Sean Dague 67004b5b03 adding shell of SqliteDataStore 2007-08-06 20:36:57 +00:00
Brian McBee 565dee5e0a OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
One last array with X and Y flipped. Terrain load-tile should be working now.
2007-08-06 19:13:10 +00:00
Brian McBee 86da47dc4e OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
This time I think I have BOTH terrain rotation AND terraforming working. Could those of you with large terrain maps please test this thoroughly?
2007-08-06 18:14:48 +00:00
Brian McBee 73dadb4821 OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
Backing out previous change to GetHeights1D. Terrain should now load with the correct rotation, but terraforming is now broken again.
2007-08-06 17:45:57 +00:00
MW 4c9cc74ac2 Re-added Grid mode. (which had got removed/disabled in revision 1515) 2007-08-06 16:33:54 +00:00
lbsa71 e155dcd432 * yet another mini-shape-commit 2007-08-06 14:56:32 +00:00
lbsa71 fdbb891659 * commands are done foreach instead of by [i]
* fixed 'show users' format bug.
2007-08-06 14:14:43 +00:00
lbsa71 07b011af3a * renamed some scene to world
* passing on NotImplemented from Update()
2007-08-06 13:40:45 +00:00
lbsa71 9924f35613 * encapsulated firstname/lastname on ScenePresence
* fixed 'users' console command
* minor refactorings
2007-08-06 13:21:30 +00:00
lbsa71 1b100e17a5 * minor refactorings 2007-08-06 13:01:47 +00:00
lbsa71 ea980ca928 ... and here's the second part... 2007-08-06 12:54:58 +00:00
lbsa71 74cd26b722 Part 1 of a two-part commit to change caps of 'scripting' dir... 2007-08-06 12:54:13 +00:00
lbsa71 95de99ff0a * Now we have boxes. Yay!
* Removed unused SendPrimitiveToClient that didn't have rot.
2007-08-06 12:49:08 +00:00
lbsa71 9bdeb8af6f * SimpleApp works again:
* NetworkServersInfo settable without config file
  * DefaultHomeLoc throws if getted before setted
  * Removed nonsensical sandbox distinction
  * Refactored default config file creation

* Some more small refactorings on shapes
2007-08-06 10:48:40 +00:00
MW f1e10e555d clean up of startup config settings (command line args etc),
Now using the Nini configuration library (suggest we look into using this for the rest of our config handling, as it provides a standard interface for command line args, INI files, Xml files, .NET config files, and windows registry). 
One IMPORTANT change is that to TO START GRIDMODE , you need to now use -gridmode=true .
Also need someone to test it under mono. (there is a dll that has been compiled under mono available, just hoping that we don't have to deal with separate dlls for windows and linux.
2007-08-04 18:15:48 +00:00
Brian McBee bb60d87538 OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
Fix for terraforming: now works across the region, not just when x=y! Wahoo!
2007-08-04 14:13:02 +00:00
Adam Frisby e970ee2955 * More work on PermissionManager - going AFK for a bit. 2007-08-04 01:08:53 +00:00
Adam Frisby 3fc2d86dfe * More work on PermissionManager 2007-08-04 00:56:56 +00:00
Adam Frisby a425e92168 * Little more cleaning of EstateManager - still needs packets to be moved, but general functionality has been abstracted. 2007-08-04 00:45:55 +00:00
Adam Frisby 8c5271a6e0 * Extracted and refactored several large methods. Needs moving of packet handling into ClientView. 2007-08-04 00:29:25 +00:00
Brian McBee dc7279118f OpenSim/Region/Environment/Scenes/ScenePresence.cs
More tuning of regioncrossing variables. I made tolerances a little too tight with the last patch.
2007-08-03 22:40:33 +00:00
Brian McBee 6cb3833021 OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs, OpenSim/Region/Environment/Scenes/ScenePresence.cs
Fix for array out-of-bounds error in basicphysics.
2007-08-03 21:54:21 +00:00
lbsa71 6dabab5ef0 * a very small first step with shape wrappers 2007-08-03 20:21:53 +00:00
MW a6aea50eac changed the properties so that most of them only take up one line per get/set. 2007-08-03 20:09:55 +00:00
lbsa71 e4196ee6b8 * Changed some names 2007-08-03 18:45:42 +00:00
Brian McBee c1e88d0b8c ATTENTION!!! Change to default to "sandbox" (did we come up with a better name yet?) mode. Added -gridmode switch to run that way. 2007-08-03 18:12:55 +00:00
Brian McBee 599a6d32ee Changes to prepare for future possible configuration of separate logdir, configdir, datadir. 2007-08-03 18:01:55 +00:00
MW 0975ff6cfd Yet another commit related to the SceneObject rewrites. 2007-08-03 16:17:05 +00:00
MW c9a5d4bc4b Yet another commit related to the SceneObject rewrites. 2007-08-03 15:04:23 +00:00
MW ec5ae36fda and more work on those classes. Think they are just about ready to begin hooking them up. 2007-08-03 14:47:38 +00:00
MW ad21cb2ea8 Ditto...More work on the AllNewSceneObject* classes. 2007-08-03 12:00:24 +00:00
MW dde8aafb8a More work on the AllNewSceneObject* classes. 2007-08-03 11:44:30 +00:00
mingchen 1c68c7a37f *Estate settings are now saved in their own configuration file called estate_settings.xml using the configuration system. 2007-08-03 00:14:11 +00:00
Brian McBee 3e4d677c77 Fixes flying glitch (hang) when crossing region boundaries 2007-08-02 21:34:45 +00:00
Adam Frisby cd2a411afe * Terrain load variables now work. HiRAW exporter works wonderfully. :D 2007-08-02 20:51:06 +00:00
Adam Frisby ed0704d527 * Fixed several issues with Terrain
* RAW/HiRAW export modes now work again
* Filename variables (such as %x%) now work correctly when loading or saving multiple tiles.
2007-08-02 20:25:28 +00:00
Adam Frisby fcafbc9a4a * Added new "terrain add" command. 2007-08-02 20:07:35 +00:00
MW 5c28f3c3a2 Some more work on SceneObject/ Primitive rewrites (slowly getting there) 2007-08-02 16:40:50 +00:00
MW 5fa0821531 Changed a couple of method in PermissionManager from private to protected to fix the error that ckrinke just reported 2007-08-02 13:06:21 +00:00
Adam Frisby ad03c0dc69 * Added support for CreateLink to LSL Interpreted API
* Added new "PermissionManager" which handles access to protected resources for users. (ie editing other peoples objects, etc)
2007-08-02 12:30:40 +00:00
Adam Frisby 9e97aa20b4 * Fixed Issue#249 - Terrain reverting without baking crashes the simulator. 2007-08-01 23:12:59 +00:00
Adam Frisby a250d24492 * Attempted to Fix an issue whereby X and Y coordinates on terrain brushes were reversed. 2007-08-01 23:02:54 +00:00
Adam Frisby 38cd3bf185 * Fixed terrain fill command
* Added "terrain smooth" command
* Added "terrain clip" command
2007-08-01 22:53:05 +00:00
Adam Frisby 04d40b71d4 * Fixed an assorted group of bugs with tiled terrain import. 2007-08-01 22:45:05 +00:00
Adam Frisby a2d71904f1 * Added load-tile terrain command to correspond with previous commit. 2007-08-01 21:51:02 +00:00
Adam Frisby 61017d10d8 * F32 Terrain load function written to support loading tiles from a larger heightmap. 2007-08-01 21:46:48 +00:00
Sean Dague 32565509e2 Commiting whitespace changes, as this used hard tabs instead of the
4 spaces found everywhere else.
2007-08-01 21:28:34 +00:00
Adam Frisby d2c7bd3fff * Terrain engine now knows the region coordinates - this can be later used to allow loading of single terrain files for multiple regions. 2007-08-01 21:27:58 +00:00
Sean Dague 2507f38d07 factor out the common DeriveColor function just for good house keeping 2007-08-01 20:23:08 +00:00
Adam Frisby 5c0f1ff293 * Applied issue#254 - startpingcheck should not be reliable if it's being resent anyway. (Thanks Babblefrog!) 2007-08-01 20:17:19 +00:00
MW 1d5544a23a Little bit more work on AllNewSceneObjectPart2 2007-08-01 20:11:42 +00:00
Sean Dague 2333de33f1 Assume White as a console color just means "default", and don't use it.
This helps reduce confusion for linux people that have white background
terminals.
2007-08-01 20:06:40 +00:00
Adam Frisby 948da1d6b8 * Workaround for Mono not correctly implementing the OperatingSystemVersion class. 2007-08-01 18:16:01 +00:00
MW cdd1285e9e few small changes.
Updated libsl to latest version.
2007-08-01 18:04:31 +00:00
MW edc572dacf Some more work on SceneObject/primitive rewrites (AllNewSceneObjectGroup2 /Part2).
Updated the JavaVM to a later version I did (basically some clean up and a little bit more functional).
Added SendLoadURL method to IClientAPI.
2007-08-01 16:50:20 +00:00
Sean Dague 2e6505f38e remove Adam's work around, this shouldn't be needed any more 2007-07-31 19:39:04 +00:00
Adam Frisby 899ab4cd32 * Fix for issue#246/251 - Rescaling primitives has offset problems. (Thanks DharmaVoyager!) 2007-07-31 19:14:17 +00:00
Sean Dague 55b569069d clear userAgent state on client shutdown, which fixes the issue
where you could only login once with a given id in standalone mode.
2007-07-31 14:42:50 +00:00
Adam Frisby 7db7ad0722 * Fixed a bug where the simulator could crash if the userserver was particularly busy. 2007-07-30 22:13:21 +00:00
Adam Frisby e172e37c58 * Added GetLocalHost() to Util
* ExternalHostName supports "SYSTEMIP" again.
2007-07-30 21:12:29 +00:00
Sean Dague 74bb5282a0 mass update of files to have native line endings 2007-07-30 20:11:40 +00:00
Sean Dague a47e2d9ae7 added OnDisconnectUser event to required classes 2007-07-30 20:08:33 +00:00
Adam Frisby 3032831859 * Raised ping timeout to 150 seconds
* Ping checks are now sent every 5 seconds instead of every one if no other packets are recieved.
2007-07-29 13:29:37 +00:00
Adam Frisby 7071b5082f * Fixed an issue whereby DB4o was loading agents incorrectly (multiple logins should now work properly), done a temporary fix, but agents need to be stored seperately from userprofiles in DB4o. 2007-07-29 13:18:58 +00:00
MW 5ee2e38c11 Deleting objects should now work. But beware they aren't send to your trash folder or anything so there is at the moment no way to recover deleted objects. 2007-07-29 13:05:57 +00:00
Adam Frisby 8b3981f1fd * Primitives no longer walk around while being rescaled. 2007-07-29 12:46:41 +00:00
Adam Frisby 5146661ed1 * Experimental fix for random walking of resized prims. 2007-07-29 12:41:30 +00:00
Adam Frisby 7d2f976b14 * Fixed a potential div by zero with terrain commands. 2007-07-29 12:11:54 +00:00
Adam Frisby bdb2ad2d43 * Switched back to NullStorage until crazy DB4o error is fixed. 2007-07-29 09:59:44 +00:00
Adam Frisby 038774de30 Commit 1/2
* DB4o no longer crashes the sim on Startup
* DB4o now crashes the sim on shutdown.
* Variety of console verbosity fixes.
2007-07-29 09:37:29 +00:00
Adam Frisby c518a9e141 * Fixed an issue with Mono/UNIX filenames and DB4o storage engine. 2007-07-29 08:08:35 +00:00
Adam Frisby 2a03bea9bd * Assorted minor fixes (DB4o now properly commits saves on shutdown) 2007-07-29 07:57:26 +00:00
Adam Frisby 4d6045ba1f * Db4o Datastore is now the default. 2007-07-29 07:56:14 +00:00
Adam Frisby 50250a3a3a * Highly experimental: Added DB4o DataStore support. Untested. 2007-07-29 07:54:49 +00:00
Adam Frisby 039d46e8fa * OpenSim now performs compatibility checks at startup and warns the user if the Operating System or Platform version they are using is unsupported. 2007-07-29 07:24:20 +00:00
Adam Frisby 43507f857b * Added new compatibility functions to Util
* IsEnvironmentSupported() - returns whether the platform is supported, if not, an error message is specified (at the moment restricts 95/98/ME, Systems that lack HTTPD.SYS and versions of the .NET framework prior to 2.0)
* GetFileName() - returns a system valid filename, on windows this places data in the Application Data directory, on UNIX, the folder in which the application is calling from.
2007-07-29 07:14:04 +00:00
Adam Frisby c33b29a105 * Applying issue#230 - Avatar stuck at region edge (Thanks Babblefrog!)
* Fix for issue #237 - Sim startup cannot read a terrain file (Reported by CutterRubio)
2007-07-29 06:23:07 +00:00
Adam Frisby 0f90cdfed1 * Applying issue#238 - Console help is incomplete. (Thanks CutterRubio) 2007-07-29 06:20:46 +00:00
Adam Frisby fa32c26867 * Added Babblefrog's SL launcher (thanks!) 2007-07-29 06:19:17 +00:00
MW 3edc4cd0d5 fixed the problem with other avatar's clothes being white. 2007-07-28 14:41:52 +00:00
MW e86396ad1f You should now see the correct Avatar for other users, including their clothes, although their still seems to be a few problems with the clothes, in that sometimes other avatar's default clothes are white.
At last, removed the need for the avatar-texture.dat file. (Please never come back).
2007-07-28 13:44:12 +00:00
MW 1b850b4483 Should now have version 0.1 of our new ruth default avatar. At the moment, you only see your own avatar correctly, all other user's avatars show up as the old ruth. This will be fixed soon.
We also need better clothing for the new ruth and to edit the body shape. 
To get this working you will need to delete your asset yap file and also in grid mode the user server needs to be updated.
2007-07-27 16:23:04 +00:00
MW d143e7b074 A few changes so that the number of warnings is less but without deleting everything.
Like, I removed the Obsolete from the old caps method as at this time not all caps calls can use the new Caps stream method as it doesn't properly deal with LLSD Arrays. 
Now down to 3 warnings on the events in IClientAPI and for now I think we have to live with them as I think most of those events will be used.
2007-07-27 12:21:52 +00:00
Adam Frisby bc11fa8fda * Removing some housekeeping tagged elements.
* 6 Compiler warnings left (total) - two legacy caps warnings, four unused ScenePresence events.
2007-07-27 06:20:32 +00:00
MW f0dd115a8c More work on inventory and opensim library.
Fixed a number of bugs in the AssetCache related to asset downloading.
2007-07-26 17:41:31 +00:00
lbsa71 39b64564dc * Started renaming world to Scene
* Update and UpdateMovement now first stores array to avoid collection update exceptions
* Ignored some bins
2007-07-26 14:55:42 +00:00
MW 74654dc735 Added the default shape to the OpenSim library. Now need to get the new ruth into asset format and add that. 2007-07-25 19:18:34 +00:00
MW 2b42ea0a42 Start of the OpenSim library , for now only contains a few textures. 2007-07-25 18:19:38 +00:00
Adam Frisby 3641ef0fdd * Terrain now uses the older slower method again until the fast version can be fixed. 2007-07-25 14:44:52 +00:00
Adam Frisby 2de8f0ef3d * Fixed an issue where Terrain brushes may not update correctly. 2007-07-25 14:38:10 +00:00
Adam Frisby cd88a4914d * Assorted terrain fixes 2007-07-25 10:08:16 +00:00
Adam Frisby aa704172d1 * Several functions should now be more efficient with sending packets to the client (at the expense of some server CPU while editing) 2007-07-24 06:01:11 +00:00
Adam Frisby 2760378f7a * Users doing terraforming should see updates instantly now.
* Other viewers in the sim will see updates no more than once every 5 seconds.
2007-07-24 05:54:44 +00:00
Adam Frisby b9af2fe393 * SendLayerData overload including coords now uses patch number rather than coords directly. 2007-07-24 05:38:21 +00:00
Adam Frisby 402aa1b0d2 * Small fix, patch values should be multiplied by their size (16) 2007-07-24 05:23:28 +00:00
Adam Frisby d8997b59d3 * Terrain should now send just updated patches. 2007-07-24 05:22:33 +00:00
Adam Frisby 4b0734c4ad * Terrain Fracture Generator now produces more appropriate results.
* Terrain Flatten Brush has been optimised, now affects an appropriate sized section of terrain.
* Navier-Stokes handler bounds issue partially fixed.
2007-07-24 04:53:21 +00:00
Adam Frisby ad5548de9f * More console related changes. 2007-07-24 04:10:08 +00:00
Adam Frisby 3cbc1e011d * Reduced a significant number of compiler warnings (back down to 9 for all projects combined, all 'never used' things) 2007-07-24 03:59:32 +00:00
mingchen 87bddd32df *Added configuration plugin (OpenSim.Framework.Configuration.HTTP.dll) that fetches a file from a remote server
*Right now, values are not saved back to the remote server, but that will be changed
*Removed some warnings from invalid references that were not used anyways
2007-07-23 19:30:33 +00:00
MW f8c1366cbf Applied makomk 's patch from issue #219. 2007-07-23 17:22:23 +00:00
Adam Frisby 3abdec8d17 * Fixed a typecasting issue with Navier-Stokes algorithms in libTerrain. 2007-07-23 16:16:09 +00:00
Adam Frisby a60b2654ed * 1 line commit: Erosion functions should taint the terrain. 2007-07-23 15:47:14 +00:00
Adam Frisby 14879fead9 * Bonus commit, added a "terrain fill" command to fill a terrain with a specific height value. 2007-07-23 05:31:58 +00:00
Adam Frisby b8da9c3a64 * Major style changes in libTerrain.Channel - now uses .NET-style naming syntax.
* Issue#218 - Updated mySQL region table.
2007-07-23 05:29:52 +00:00
MW 5db16cbd9b Couple of small changes 2007-07-22 13:41:19 +00:00
MW 276011a0a1 Think I've recovered my deleted files, so hopefully it works now. 2007-07-22 13:31:08 +00:00
MW 70fa302042 * Some work in progress code: Inventory cache, start of inventory server/service, userprofile cache, inventory handling. (non of it is enabled yet (or at least it shouldn't be).
* Fixed some of the problems with crossing regions when flying: you should no longer sink to ground level when crossing (should keep roughly your right height). Should no longer sometimes get sent back to the centre of the current region when attempting to border cross. But instead sometimes you will find you avatar stop at the edge of region and you will need to start moving again to retry the crossing (which should then work). This code is partly based on Babblefrog's issue #212 patch. [I think I have some ideas of how to solve the stopping at edges problem, just want to get the inventory code done first]
* Capabilities code has now been moved to the OpenSim.Framework.Communications project as some of the caps code will be tightly tied to inventory/asset handling and it was causing a two way reference problem when it was in its own project/dll.

This is a Big commit as I was going to keep my inventory work local until I had it in a working state, in case it brakes anything, but its getting harder to keep in sync with svn.
2007-07-22 11:44:36 +00:00
Adam Frisby 98b4701647 * Aerobic erosion now uses Navier Stokes algorithms for wind calculations. 2007-07-22 02:48:53 +00:00
Adam Frisby 0d7af9bbf0 * Added Navier Stokes computational fluid dynamics algorithms to libTerrain.Channel. 2007-07-22 02:42:29 +00:00
Adam Frisby f645705851 * More navier-stokes fun. Will finish it later. 2007-07-22 02:21:10 +00:00
Adam Frisby 3f8b609831 * Ported Jos Stam's Navier Stokes algorithm from his GDC2003 Paper to C# and included in libTerrain - May I never have to do that again. 2007-07-22 02:06:46 +00:00
Adam Frisby 65f69b9a12 * Enabled hydraulic erosion command. 2007-07-21 23:48:48 +00:00
Adam Frisby 8574c5476d * Reimplemented Hydraulic Erosion routines, may be buggy. 2007-07-21 23:26:05 +00:00
Adam Frisby d72d1537e2 * Removed reference to libTerrain-BSD.dll from the terrain filter system. 2007-07-21 22:34:53 +00:00
Adam Frisby 03e116de0d * Updated licensing headers on libTerrain imported components. 2007-07-21 22:33:31 +00:00
Adam Frisby f84937367f * Deleted libTerrain-BSD.dll
* Added libTerrain to BasicTerrain directly as a subfolder
2007-07-21 22:25:42 +00:00
Adam Frisby 4eb8ca49a9 * Renamed terrain functions to match OpenSim naming styles.
* Added capability to support minimum/maximum terrain limits (from the last 'bake')
2007-07-21 22:20:22 +00:00
Adam Frisby 1f17275a20 * Fixed an issue whereby extremely tall terrains would be unable to output a gradient map.
* Renamed several terrain variable names for clarity.
2007-07-21 22:08:19 +00:00
Adam Frisby 0319cb4f46 * Issue#211 - 30 second timeout is too low. (Thanks Babblefrog) 2007-07-21 21:39:05 +00:00
MW b3cef2fc2a Re-added the ability to set the database provider (dll) in the config file for the userserver and gridserver. 2007-07-21 15:50:29 +00:00
Adam Frisby 2c90c61020 * Issue#206 - Casting of a LLUUID from XMLRPC hashtable causes an error. (Thanks Babblefrog)
* Issue#205 - MySQLManager User Creation support readded (Thanks Babblefrog + adjohn)
* Issue#204 - Clients now recieve terrain updates properly (Thanks Babblefrog) [May do some slight modifications on this to make it an event]
2007-07-21 07:29:37 +00:00
Adam Frisby 32aacd4f36 * Issue#209 - Terrain Hills Patch (Thanks Babblefrog)
* Issue#208 - Region crossing should be using External host (Thanks Babblefrog)
* Issue#207 - Prebuild.xml contains path errors (Thanks Gareth)
2007-07-21 07:23:00 +00:00
MW cd5877557c Attempt to fix the bug/crash that MetaLeo just reported. 2007-07-20 23:19:03 +00:00
mingchen 12bb7628d2 *Added ability to manually set the configuration plugin dll from ConfigurationMember 2007-07-20 17:08:01 +00:00
lbsa71 2da8a7c128 * Fixed an config issue (log not initialized in RegionInfo config)
* Added LineInfo stacktrace parser to LogBase (not used yet though)
2007-07-20 14:16:12 +00:00
Adam Frisby 765ff13f22 * Assortment of Console changes - console messages are now grouped into modules (eg "client", "grid", "terrain", "storage", etc) 2007-07-20 01:32:27 +00:00
Adam Frisby f5b24b6679 * New log functions which include the module name as an argument. 2007-07-20 01:21:39 +00:00
MW 39704bcecc opps have a setting as true when it should be false. 2007-07-19 22:59:43 +00:00
mingchen ed69e84874 *Moved XmlConfiguration to its own project
*Made it possible to load a configuration interface by DLL
*Deleted the 1024 config files until they are updated
2007-07-19 20:39:33 +00:00
MW b2c6f316e1 Some work on Inventory (not yet finished or enabled) 2007-07-19 20:21:02 +00:00
mingchen de104536c1 *Handler Functions can now refuse an object as invalid by returning false, thus forcing the user to re-enter the data
*Added TYPE_STRING_NOT_EMPTY that requires some sort of text to be entered
*Added another parameter to addConfigurationOption called use_default_no_prompt that will not ask via the console a configuration option; it will use whatever is in the config file. If nothing is in the config file for that option, it will force itself to use default
2007-07-19 15:01:14 +00:00
MW 0b6e332e16 Added some Alert methods to Scene , and a console command handler. So from the console to send alerts use : alert general <message> , for a instance wide message , or use alert firstname secondname <message> to send a alert to one user. (TODO: add region wide messages). 2007-07-19 10:44:19 +00:00
Adam Frisby e348aaa3a5 * Fixing sandbox mode crash caused by removal of LocalStorage during cleanup earlier. 2007-07-19 03:36:39 +00:00
Adam Frisby 33b4cc1bb0 * Added housekeeping comments, see mailing list in just a moment... 2007-07-19 01:08:26 +00:00
Adam Frisby 23a734d0c7 * More cleaning 2007-07-19 01:02:59 +00:00
Adam Frisby e189681095 * Added TriggerTouchStart function to Interpreted Events API
* One less compiler warning. Heh.
2007-07-19 00:55:14 +00:00
Adam Frisby 36fc7390f2 * Moved EventManager to SceneBase (from Scene)
* Added OnShutdown event to EventManager (to be used to perform cleanups, etc)
* Fixed another compiler warning.
2007-07-19 00:52:10 +00:00
Adam Frisby 5e490e0599 * Nearly back down to zero compiler warnings again... 2007-07-19 00:46:27 +00:00
Adam Frisby 920ffaf24b * Cleaned out remaining references to the old LocalStorage system in prep. to move to StorageManager. 2007-07-19 00:42:59 +00:00
Adam Frisby f29acf95b0 * Removed yet more compiler warnings
* Dropped old ILocalStorage storage engines.
2007-07-19 00:29:50 +00:00
Adam Frisby 6cf9d6da21 * Removing more compiler warnings 2007-07-19 00:25:40 +00:00
Adam Frisby 08b04810a8 * Removing more compiler warnings. 2007-07-19 00:23:06 +00:00
mingchen 30a73085c5 *Removed files that were no longer important and prevented compile
*Should compile now!
2007-07-18 23:35:24 +00:00
mingchen 222becc879 *New Configuration System, much easier and less buggy compared to the original system in place
*View RegionInfo.cs for an example on how it works!
*This hopefully copies all the files over, but who knows :)
2007-07-18 23:15:08 +00:00
Adam Frisby 4cd9a87183 * Reverting 1371 2007-07-18 22:49:11 +00:00
Adam Frisby bb55713de0 * Please to be checking you rename the strings inside the project when you rename libraries! 2007-07-18 22:38:10 +00:00
Adam Frisby 11efebd29e * Added "GetHostFromDNS" to Util to replace the various DNS resolution methods we use. Favours IPv4 addresses before IPv6 addresses to work around the Vista preference issue. 2007-07-18 21:55:24 +00:00
MW 4c8b8d22ff A script/custom application should be able to add a particle system to a prim, just create a new libsecondlife.Primitive.ParticleSystem() and then call AddNewParticleSystem() on the OpenSim particle : we really need to rename our particle class to stop conflict with the one in libsl. 2007-07-18 21:26:31 +00:00
MW d2b459b8e5 Sculpted Prims should now work. 2007-07-18 20:29:06 +00:00
MW 643a02ec60 More testing some ideas, to find best method for SceneObject Primitive classes. 2007-07-18 18:12:16 +00:00
MW e78a0ac886 Just trying things out, nothing to see here, please go back to sleep. 2007-07-18 13:55:14 +00:00
MW 04ece84d6b few small changes 2007-07-18 13:40:07 +00:00
lbsa71 f70ec1fa75 * Added a FileSystemObject to SimpleApp
* Added Some ShapeTypes (shapes doesn't work though!)
* Fixed some \0 issues
2007-07-18 09:36:47 +00:00
Adam Frisby c52f9c04e2 * One hopefully-final attempt at fixing this remoting issue. 2007-07-18 00:27:11 +00:00
Adam Frisby be11cddc00 * Once more into the breach! 2007-07-18 00:14:17 +00:00
Adam Frisby 32a82019c3 * and again... 2007-07-18 00:10:11 +00:00
Adam Frisby 3d0d7cb74c * More attempts at fixing Ckrinke's phantom remoting error. Heh. 2007-07-18 00:02:09 +00:00
Adam Frisby f9eab1f0f2 * Fixing compile 2007-07-17 23:54:33 +00:00
Adam Frisby f65808ab07 * More LSL changes (and fixing a compile warning)
* More attempted fixes for the phantom remoting bug.
2007-07-17 23:47:45 +00:00
Adam Frisby 9fc72755ce * More LSL related fun 2007-07-17 23:14:19 +00:00
Adam Frisby c287ee17ad * Working more on the Interpreted Script API (for use in scripts which have to occupy something [Hello LSL]) 2007-07-17 23:04:46 +00:00
Adam Frisby 7b7267984a * Added exception handler to deal with RemotingExceptions for Child Agents. 2007-07-17 20:40:01 +00:00
Adam Frisby 3a554de6e2 * Applying babblefrog's DNS patches from issue #188 2007-07-17 19:40:22 +00:00
Adam Frisby 7a88260851 * Added quick ping check reply system to OGS1GridServices 2007-07-17 18:53:19 +00:00
Adam Frisby 61526951ef * Attempting to fix a bug. 2007-07-17 18:25:35 +00:00
Adam Frisby 5524b96b10 * Readjusted strength of the terrain brushes from seconds / 100.0 to seconds / 5.0. (5 seconds = raise one brush radius) 2007-07-17 18:08:53 +00:00
lbsa71 fea3c20576 * renamed MySceneObject to CpuCounterObject 2007-07-17 17:57:46 +00:00
lbsa71 d95918f228 * Changed SimpleApp to use EventManager and Scene timer
* Refactored a lot of m_* and public -> wrappers
2007-07-17 17:47:23 +00:00
Adam Frisby b3830528d1 * Added "backup" console command for sdague 2007-07-17 15:43:51 +00:00
lbsa71 47ea453b32 * debugged quite a lot of db-related strangeness and various refactoring goofs 2007-07-17 00:07:26 +00:00
lbsa71 497ab5d7ab * RegionApplicationBase restructuring now complete
* Still has some weird bug in SimpleApp though.
2007-07-16 23:25:35 +00:00
Adam Frisby 6c9d9b660d * Trimmed a few hundred warnings off SimpleApp. 2007-07-16 22:09:00 +00:00
lbsa71 f35f5ddaf7 * And yet more restructuring of startup sequence... 2007-07-16 21:53:39 +00:00
Adam Frisby 1462cb1b50 * Reset IP in SimpleApp back to localhost 2007-07-16 21:47:26 +00:00
Adam Frisby c3133715aa * Fixed SimpleApp 2007-07-16 21:43:30 +00:00
Adam Frisby bcc93c0d5b * SimpleApp's IP address is slightly less hard coded (now reading from a hard coded var vs lots of use of "127.0.0.1") 2007-07-16 21:23:11 +00:00
Adam Frisby de1dd0e42f * In ur trunk adding ur assets. 2007-07-16 20:44:41 +00:00
mingchen cf9c48bf71 *No Hippos :( 2007-07-16 20:40:04 +00:00
mingchen c2bb8e3bc1 *Hippos? 2007-07-16 20:39:25 +00:00
lbsa71 85bdec5e0d * Massive restructuring of RegionApplicationBase, OpenSimMain and SimpleApp 2007-07-16 20:10:54 +00:00
mingchen 41b9baa054 *Adding some more files 2007-07-16 19:52:46 +00:00
mingchen 2873b82b78 *Renamed everything Parcels and ParcelData to Land and LandData
*Added missing files (I hope)
2007-07-16 19:40:25 +00:00
mingchen 7fabf9612a *Renamed ParcelManager to LandManager
*Made the Parcel class its own file and moved the Parcel and LandManager into their own folder in Environment
*Some renaming might need to be done so the Parcel class doesn't have issues with the libsecondlife Parcel class, but Land doesn't seem right.
2007-07-16 18:45:19 +00:00
lbsa71 d79e69d168 * Since we're discussing it, applying the m_ convention on some members... 2007-07-16 18:44:30 +00:00
lbsa71 e6dea73d1f * Removed some superfluous assigns
* Moved physics plugin scene creation into local scope
2007-07-16 18:37:31 +00:00
lbsa71 58f4d69833 * working on RegionApplicationBase
* Renamed PhysicsManager to PhysicsPluginManager because it is.
2007-07-16 18:15:54 +00:00
lbsa71 4a17587b8d * Restructured the RegionApplicationBase. 2007-07-16 18:10:27 +00:00
Adam Frisby ddf73763db * Rigged up LSL Script Engine to OpenSim - not quite fully tied yet however, still lacks connection to ScriptInterpretedAPI. (but Hello World should work!) 2007-07-16 18:06:35 +00:00
Adam Frisby ac4f8745ba * Updating internal LSL handler/compiler with Tedd's r1.
* Importing begginings of DB4oDataStore
2007-07-16 17:46:47 +00:00
Sean Dague 2a3c79df83 changed to native line ending encoding 2007-07-16 15:40:11 +00:00
mingchen d216f5779c *Trunk compiles now
*Added "RemoveEntity" and renamed "AddNewEntity" to "AddEntity"
2007-07-16 14:56:35 +00:00
lbsa71 cba02cb632 * Some minor renamings 2007-07-16 13:00:32 +00:00
mingchen 7f10179129 *Fixed bug that incorrectly tabulated 'others' prims on a parcel
*Added support for selected prims (does not yet support prims being sat on)
*Added support for listing avatars with prims on parcel with their prim count
2007-07-16 01:25:16 +00:00
MW 9685c65901 Couple of small changes to NPC test character. 2007-07-15 23:39:52 +00:00
Adam Frisby 571bd78e58 * More scripting enhancemnents and properties. 2007-07-15 22:36:35 +00:00
MW 4dbad04b9f It wasn't me who messed up flying when adding a test NPC class. (honestly!) 2007-07-15 22:11:03 +00:00
Adam Frisby f2c449f10e * Added new scripting related events, in particular a new event which is triggered by console commands so that the script can subscribe to console messages and operate when they occur.
* Added new example script (work in progress)
* Fixed typo in Scripting engines for C# and JScript.NET
2007-07-15 22:04:56 +00:00
mingchen 173c5ee79e *Fixed master avatar requesting when in grid mode. 2007-07-15 21:21:14 +00:00
MW bf2f3ea29a Hijacked simpleApp again (sorry lbsa71, guess I should create my own simpleApp), to try out a basic test npc character(/class). 2007-07-15 21:10:05 +00:00
mingchen 6510aea0ed *Added support for the "show" button that highlights objects over the selected Objects
*Known bug, client does some weird "showing" when more than 255 objects are meant to be selected (linked objects count as one object)
2007-07-15 21:02:13 +00:00
Adam Frisby 61446c0cd8 * Primitives are now loaded from Datastore during scene initialisation. 2007-07-15 18:49:11 +00:00
Adam Frisby 9fdd4946c3 * Fixed an issue where world map blocks were not transmitted correctly. 2007-07-15 18:10:49 +00:00
MW 3c326aae99 Removed the reference to ClientManager from scene, as scene really shouldn't have a direct reference to the UDP/Packet server's clientmanager, instead it should send all data through the ScenePresences.
For those functions that was using the clientManager's foreachClient(delegate) method, there is now a ForEachScenePresence(delegate) in scene. 
This change helps with the decoupling of client packet functions from the scene functions.
2007-07-15 18:05:41 +00:00
MW a87ebda895 Removed reference to Scene EventManager from primitive. In its place, primitive now has its own event (OnPrimCountTainted) that ParcelManager subscribes to.
Removed some unused code from SimpleApp.
2007-07-15 17:40:21 +00:00
Adam Frisby aebd58d75e * PROTIP: It helps to know what your doing when playing with reflection. 2007-07-15 17:32:54 +00:00
Adam Frisby 813cdd0c80 * Marked old terrain methods as obsolete.
* Missed an item using the old local storage.
2007-07-15 15:53:29 +00:00
Adam Frisby 2dea3dbd6b * Terrain now uses the new StorageManager. 2007-07-15 15:51:09 +00:00
Adam Frisby 6d455f3b6c * Storage Manager now initialises with a DB name equal to that of the region name, and DB file specified in the DataStore config item. Storage engines may ignore the DB name parameter.
* OnBackup event is now triggered using the Storage manager.
2007-07-15 15:43:53 +00:00
Adam Frisby 8fc1dfec79 * Added loading methods for NullStorage. 2007-07-15 15:40:50 +00:00
Adam Frisby 275d8c0247 * Adding example "NullStorage" DataStore engine. 2007-07-15 14:58:23 +00:00
Adam Frisby 593851eaa5 * Fixed bug where UserServer SendKey would not be saved in configuration. 2007-07-15 14:21:17 +00:00
lbsa71 e207cc615f * fixed locations both set to y (thanks to babblefro) 2007-07-15 05:07:28 +00:00
Adam Frisby c46a508945 * Fixed duplicate CAP bug when a user logs out then relogs back in in grid mode. 2007-07-14 23:06:05 +00:00
Adam Frisby e9bcc7a3fd * Fixed an issue which caused regions to crash when duplicating primitives. 2007-07-14 22:44:41 +00:00
Adam Frisby 2ccb8f7118 * Excelsior! 2007-07-14 22:35:47 +00:00
lbsa71 a04f968f8c * libterrain now builds again 2007-07-14 21:26:20 +00:00
Adam Frisby 382b6a32c1 * Upgraded MySQL Connector to support 1222 changes. 2007-07-14 21:01:31 +00:00
mingchen 4f5c1e40b4 *Updated getParcel to accept floats as well. This helps in finding the parcel under an exact point (when precision matters) 2007-07-14 19:09:00 +00:00
Adam Frisby ab32704968 * Added "quit" alias for the "shutdown" console command in RegionServer 2007-07-14 17:40:54 +00:00
mingchen bf32020693 *Removed ParcelManager from SceneObject and Primitive and replaced with events in EventManager
*Prim count and sim-wide prim count correctly reflect object bonus multiplier
2007-07-14 17:01:15 +00:00
lbsa71 eee1eb2f42 * SimpleApp finally doing something fun. :) 2007-07-14 16:01:10 +00:00
mingchen a3f2c1276a *Added support for simwide area and simwide prim count for parcels 2007-07-14 15:57:20 +00:00
lbsa71 811d2b69c9 * Worked some more on SimpleApp
* Removed SceneObject references to RegionHandle, ParcelManager, EventManager as they are public on Scene
* Moved PulseScript behaviour into MySceneObject
2007-07-14 15:33:25 +00:00
mingchen 423d03eaef *Added support for prim counting on parcels
**No restrictions yet in place, or total prim count
2007-07-14 15:11:36 +00:00
MW 5a909a2054 Set up parcel manager and the master avatar in SimpleApp. 2007-07-14 14:48:36 +00:00
lbsa71 0bb2b7f18d * encapsulated some public fields 2007-07-14 14:15:58 +00:00
lbsa71 1a92dc9073 * Apparently, we need to tell ParcelManager that there is no parcels.
* Cleaning lady cleaning build ignores (No, MW, I don't mind, anything for you)
2007-07-14 14:13:05 +00:00
MW a04602d9c1 Added AddPreCompiledScript method to ScriptManager.
Done some work on lbsa71's simpleApp(hope he doesn't mind):
now have the avatar showing up and the terrain and his pulsating box (well except its not a box, as there seems to be something wrong with our PrimitiveBaseShape..DefaultBox() settings). 
Also noticed a few other problems that I had to work around, so these need looking into.
2007-07-14 13:18:02 +00:00
mingchen d879c6e8fc *Moved the OnSignificantClientMovement event to ScenePresence.
*ParcelManager's resetSimParcels does not set any default values.
*Updated ParcelData with correct defaults previously set in resetSimParcels
*Region overrides are now sent to viewer instead of dummy'd
2007-07-13 23:13:25 +00:00
mingchen 862dc9fe97 *Reworked parcel joining to work the same way as LL's method.
**Parcels within selection now join and not the two parcels selected at each corner
*Created OnSignificantClientMovement event that is triggered when an avatar moves more than 2 meters.
2007-07-13 21:13:38 +00:00
MW 9b61def98d Chat/Shout/etc should be working again 2007-07-13 21:12:16 +00:00
Adam Frisby e6dc575bc3 * Added sample event to ScriptInterpretedEvents 2007-07-13 20:29:51 +00:00
Adam Frisby e14ef63113 * Small commit: SceneObject now registers itself with the Backup event via the function ProcessBackup. 2007-07-13 20:10:32 +00:00
Adam Frisby ad264a6b6d * Fixing issue with ParcelFlags. ParcelFlags is now a uint rather than an enum. 2007-07-13 20:01:16 +00:00
Adam Frisby c0093052b0 * Default parcel flags now allow flying, landmark creation, object entry, deeding to group, terraforming, object creation and outside scripts. 2007-07-13 19:51:05 +00:00
Adam Frisby 985e0b765a * Obsoleted ILocalStorage
* Added IRegionDataStore
* Added OnBackup event to EventManager
2007-07-13 19:27:15 +00:00
MW 401af6ad4a Prim Copying (both CTRL+D and shift-drag) should now work. 2007-07-13 19:01:09 +00:00
Adam Frisby 41cd6cdfdd * Fixed bug reported by xyzo - region assets are now stored in "regionassets.yap", asset server assets are now in "gridassets.yap" 2007-07-13 19:00:10 +00:00
lbsa71 a076369fa3 * I want to commit too! 2007-07-13 18:01:44 +00:00
Adam Frisby 3f6c4e6187 * Renamed OpenSim.Region.Enviroment.Scripting to OpenSim.Region.Scripting
* Renamed OpenSim.Scripting to OpenSim.Region.Scripting
2007-07-13 18:01:02 +00:00
Adam Frisby 08331f97d3 * Reorganising Java Virtual Machine code into a subfolder for the JVM specific parts, leaving the JVMEngine folder specifically for Script/IScript interfaces.
* Fixed a compile issue with the Interpreted Scripts API.
2007-07-13 17:53:11 +00:00
MW 07b0e2df6f Part two of Darok's Bullet physics plugin: added the actual plugin, although haven't added the project to prebuild.xml yet.
Also might have messed up some of the SVN properties on some of the folders, so if the cleaning lady has to come in again, I just hope she doesn't moan.
2007-07-13 17:52:11 +00:00
Adam Frisby 6d37fe4947 * Moved LSL-style functions to ScriptInterpretedAPI.cs and put a XML remark comment that they are defunct and best avoided at all costs.
* More wrappers: llCollisionFilter, llCollisionSprite, llCos, llCreateLink, llDeleteSubList, llDeleteSubString, llDetachFromAvatar
* More functions: osCos, osDeleteSubList, osDeleteSubString
2007-07-13 17:43:25 +00:00
Adam Frisby 946180885d * Added wrappers for:
llAbs, llAcos, llAddToLandPassList, llAdjustSoundVolume, llAllowInventoryDrop, llAngleBetween, llApplyImpulse, llApplyRotationalImpulse, llAsin, llAtan2, llAttachToAvatar, llAvatarOnSitTarget, llAxes2Rot, llAxisAngle2Rot, llBase64ToString, llBreakAllLinks, llBreakLink, llCSV2List, llCeil, llCloseRemoteDataChannel, llCloud
* Added functions for:
osAbs, osAcos, osAsin, osAtan2, osAxes2Rot, osAxisAngle2Rot, osBase64ToString, osCSV2List, osCeil.
2007-07-13 17:25:01 +00:00
Adam Frisby 9be896c8ce * Adding LSL stuff for Tedd_, implementing LSL-style functions in ScriptAPI.cs, implementing server event callbacks in ScriptInterpretedEvents.cs
* Added Tedd_'s LSL compiler thingie, although it cannot be referenced yet.
2007-07-13 17:14:30 +00:00
MW 0ac6809343 Think SceneObject/Primitive copying should now work, just need to hook it up to a event and test. 2007-07-13 16:53:31 +00:00
MW fcc7f86427 Changed simpleApp to use basic physics.
Done some work of fixing primitive/SceneObject copying.
Set DefaultHome region to 1000,1000.
2007-07-13 16:12:38 +00:00
Sean Dague 6c0779f618 rename file to not have spaces in it 2007-07-13 16:01:01 +00:00
lbsa71 d89362fe99 Shouldn't be needing explicitly adding login xmlrpc 2007-07-13 15:49:54 +00:00
lbsa71 878289ef88 * removed PrimitiveOld and CreatePrimFromObjectAdd 2007-07-13 15:20:18 +00:00
lbsa71 170b648d4d One of these days i WILL have my pulsating cube! 2007-07-13 15:09:55 +00:00
lbsa71 581ea0d92e inlined packet deserialization 2007-07-13 12:44:50 +00:00
lbsa71 33ef93f4a6 * ObjectAddPacket now confined to ClientView,´using PrimitiveBaseShape instead - w00t! 2007-07-13 12:32:34 +00:00
Adam Frisby a7e103a922 * OGS project is now back down to zero warnings. 2007-07-13 07:19:08 +00:00
lbsa71 a0ac1f06e6 * Moved SendNameReply to ClientView
* Removed unused LoginService
* Minor renames on BinaryStreamHandler
2007-07-13 07:19:00 +00:00
Adam Frisby 0f1b2f278b * Fixing compiler warnings in an attempt to reduce them back down to zero. 2007-07-13 07:17:42 +00:00
mingchen 486632986c *Parcel updates are now sent to users over newly subdivided areas and users over parcels being joined to correctly update the viewers
*NOTE: Parcel updates are packets sent to the viewer when they enter a new parcel containing information such as parcel name, media URLS, etc
2007-07-12 23:57:26 +00:00
mingchen df24ce6dfd *Parcel and estate support fully restored into Sugilite
*Significant movement (currently set to 2 meters of movement for performance reasons, even though its speedy) and initial login now sends parcel updates
2007-07-12 20:33:10 +00:00
mingchen b27924d0a5 *Found and fixed bug that crashed viewer when logging in or viewing land owners
*Reenabled estate manager; remember, the master avatar is the only one that can use this (by default: Test User with password 'test')
*Still working on readding support for updating parcel information when logging in or moving into a new parcel
2007-07-12 16:19:32 +00:00
MW 7198d7980d Next time maybe I should check it still compiles before committing. 2007-07-12 15:30:09 +00:00
MW 20a77a6d4b Fixed a number of bugs in the local InstantMessage handling, sending InstantMessages will no longer crash the server. But they still aren't really working correctly, you can't type replies to received messages. 2007-07-12 15:16:19 +00:00
MW 27c595c007 Cleaning up some of the CAPS functions, Asset uploads now use the new LLSDStreamhandler system. 2007-07-12 13:09:39 +00:00
MW 17ddb8b493 Hopefully texturing prims should now work correctly. 2007-07-11 18:32:32 +00:00
MW 2ceff87a02 More work on UserProfile and inventory cache (still currently not enabled).
Asset uploading over CAPS now works, and although inventory isn't really working yet, this should now at least enables texturing of prims.
2007-07-11 17:47:25 +00:00
MW 9d989612b0 updated libsecondlife.dll to a 1.18 version (from the libsecondlife aditi branch, so when they have a trunk version that is 1.18 ready, best to update again).
Started some work on a userProfile/inventory cache.
2007-07-11 14:39:03 +00:00
Adam Frisby 561b87b303 * Applying dalien's patches from bug#177 and #179 2007-07-11 02:51:51 +00:00
MW f0ecc1de4c preliminary inter region communications (between regions in different instances) now works, so child agents and border crossings (and teleporting) now work.
The .net remoting is still very basic: we need security sinks added.
And we really need the OGS 2 protocol as soon as possible.
2007-07-10 20:52:43 +00:00
MW ebdc64730a Fixed the crashing when trying to look at the map in grid mode. Although the textures for the regions don't seem to show up, about to look into that. 2007-07-10 18:58:42 +00:00
MW 7f03246653 Gird mode in sugilite should now work in so far as you should be able to login and move between regions in the same instance. Moving to regions in a different instance of opensim still needs implementing (working on it now).
Also trying to look at the map in grid mode will crash the server.
2007-07-10 17:56:31 +00:00
lbsa71 9f5f65c847 * LLSDStreamhandler now works. 2007-07-09 23:32:29 +00:00
lbsa71 85dd493614 * some follow up renaming of members et c. 2007-07-09 21:25:43 +00:00
lbsa71 08a1fa3f96 * Introduced ClientManager for great justice. 2007-07-09 21:03:36 +00:00
lbsa71 d91f33b87b Re-applied dalien patch (#175) and included bin\data with avataranimations.xml 2007-07-09 19:56:22 +00:00
MW 93f3ef7e0d Done a little bit of renaming in primitive.cs and on a few events in IClientAPI.
Disabled CAPS asset uploading as it seems it now crashes the server.
2007-07-09 15:59:35 +00:00
Adam Frisby e8acf1cca9 * Begun work on Primitive Duplication. Not hooked up yet, but theoretically could be done so. In practice, more work needs to be done. 2007-07-09 15:29:39 +00:00
lbsa71 f62b7f3d1e * reverted rev 1200 waiting for info re animations.xml 2007-07-08 19:47:04 +00:00
lbsa71 252ff78eb3 Applied animations patch (#175) submitted by dalien 2007-07-08 19:28:53 +00:00
lbsa71 5f8de1e704 * By popular demand, all generated build files are now deleted. Somebody should make sure the wiki is updated. 2007-07-08 19:27:04 +00:00
lbsa71 4adf4c57d4 2007-07-08 12:10:32 +00:00
Adam Frisby b14726a843 * Fixed building - something weird is happening with prebuild though, not adding XMLRPC.DLL to the references for Framework.Data 2007-07-08 10:32:13 +00:00
Adam Frisby 74410efb22 * Bugfix with instant message handlers. Looking at implementing grid IM server, ideally using a known scalable infrastructure. 2007-07-08 03:45:06 +00:00
Adam Frisby 855ebe739b * Missed a line - IM support in local simulator should now work. 2007-07-08 03:36:17 +00:00
Adam Frisby bdab40280b * Added instant message support for the local region. Grid support forthcoming. 2007-07-08 03:32:27 +00:00
Adam Frisby 10ece46cf6 * Updating prebuild 2007-07-08 02:58:01 +00:00
Adam Frisby 7b0bb7c616 * Fixed reservation handling for existing region authkey situations. Reservation key now overrides old sim key, however if reservation not found, sim key is used instead. 2007-07-08 00:54:13 +00:00
mingchen bc02ddf523 *Fixed several bugs that crashed the viewer and opensim server when logging in on grid mode
*Note: Grid Mode now works in sugilite, but is still unstable
**Known bug in which the grid server crashes after being relaunched from a previously create configuration
**Crashing of the viewer crashes the OpenSim server which then crashes the grid server -- needs better handling of exceptions
**Multiple sims is still untested, but should connect correctly. Moving between the sims may be a different story
2007-07-06 20:40:03 +00:00
mingchen 93640f1d71 *Fixed 2 small references to localhost which has some conflicts when resolving.
*Grid mode now gets past region handshake, BUT the client (both nicholas and the normal one) crash as soon as the next step is displayed on the screen
2007-07-06 13:57:49 +00:00
mingchen e2bafc8d6c *Fixed crash of OpenSim client when in grid mode from a recent commit
*The XML issue is now fixed (yay lbsa71) -- but I am still getting a "login packet never received", but that is probably an issue on my end, and not it the code
2007-07-05 20:46:37 +00:00
MW 70d8731aa2 Fixed rotation editing of individual prims in a group. I think positioning and rotations should now be correct (for both groups and on editing individuals of a group). Resizing still needs work. 2007-07-05 19:19:39 +00:00
lbsa71 8bdbdf48c7 * updated bugfixed xmlrpc for massive win
* got rid of the ugliest hack in the project
2007-07-05 18:30:30 +00:00
mingchen 583f2a9de8 *Removed SimProfile.cs as it is no longer needed (in favor of SimProfileData)
*Added simulator_data_request XMLRPC method to request data from the grid server about a sim instead of faking its login
*Login is progressing, now just getting an XML error (http://pastebin.com/942515) -- if you can fix this, throw MingChen in IRC a Private Message
2007-07-05 15:15:28 +00:00
Adam Frisby ad86e94b3d * Tweaks to Java engine (uses less threads). Added support for OnFrame and OnNewPresence events. 2007-07-05 04:23:34 +00:00
Adam Frisby c570b107f8 * Java engine fully back in Sugilite 2007-07-05 00:24:40 +00:00
Adam Frisby 3c46e5b170 * Added Java support back into Sugilite (although it still needs a calling host to be added). 2007-07-05 00:09:45 +00:00
MW beb3073bec A bit more work on Building tools/support.
updated Axiom.MathLib.dll.
2007-07-04 19:07:27 +00:00
lbsa71 5c32b33a66 * re-fixed the utf-16 bug in xmlRpcResponse serialization
* added LLSDStreamHandler.cs to Caps (Haven't enabled it yet, though)
* removed last traces of old rest handling
2007-07-04 16:28:59 +00:00
lbsa71 6a2588454a * Removed AssetHttpServer, using BaseHttpServer instead
* Removed legacy REST handling
* Created two custom IStreamHandlers for asset up/download
* Removed quite a lot of double and triple encodings, trying to work towards binary only and direct write into storage.
* Introduced BaseStreamHandler with GetParam() and some other goodies
2007-07-04 14:12:32 +00:00
lbsa71 9a51949cb4 * Added StreamHandler support
* Implemented RestStreamHandler
* Some caps functions now use it
* Moved out RestMethodEntry from httpserver
* The IStreamHandler interface now reports required method and Content-Type
2007-07-04 11:47:32 +00:00
Adam Frisby 827cccb99c Grid Servers:
* Sugilite grid server now works with older regions properly (using it on deepgrid for testing)
* Sugilite user server still broken with sugilite region server
* Reduced the number of compiler warnings to zero
Region Servers:
* Added debug information to OGS1 Comms to help debug user server connectivity issues.
2007-07-04 07:45:42 +00:00
Adam Frisby 249ce4cf6f * More cleaning - Sugilite now only has build errors for "value is never used" properties (which I presume will be filled in over time) 2007-07-04 05:49:12 +00:00
Adam Frisby daf7b8ec76 * Cleaning - attempting to get compiler warnings back down to zero. 2007-07-04 05:25:40 +00:00
lbsa71 8b3cb93b49 * Started work on converting BaseHttpServer to a stream dispatcher 2007-07-04 04:29:23 +00:00
MW bd8018fa1c Today's work on Building support/tools. Think I am slowly getting there. 2007-07-03 20:10:20 +00:00
mingchen 78e420f48b *Fixed storage issue as noted in last commit of the OGS1 GridServer
*Reverted the default remote grid server port back to 8001 (from a port change to debug a previous issue)
2007-07-03 19:26:35 +00:00
mingchen e06ffb3981 *Removed GridInfo class as it has been previously replaced with the much better NetworkServersInfo class
*Got the GridServer in OGS1 to go through with registering the region, but the actual storage of the region isnt working right now.
**After this is fixed, grid mode should work!
2007-07-03 17:03:14 +00:00
mingchen 898b48464a *Renamed OGS1 XmlRpcLoginToSimulatorMethod to the more appropriate XmlRpcSimulatorLoginMethod
*Attempt to fix the "sim not found" issue by adding sim if...well...not found (OGS1)
2007-07-03 14:56:00 +00:00
lbsa71 9b6b6d05d4 * Optimized usings (the 'LL ate my scripts' commit)
* added some licensing info
2007-07-03 14:37:29 +00:00
lbsa71 73a5ec391a * Completed conceptual LlsdMethod - everything resides in SimpleApp pending guru approval. 2007-07-03 07:06:08 +00:00
Adam Frisby 315a49e7fd You can now substitute %name% in the filename argument for terrain save & load commands to input the sims name. Useful for sugilite regions where you are running multiple sims in a single instance and need to get them to load or save in a pattern. (Needs cleaning & expansion) 2007-07-02 23:52:18 +00:00
Adam Frisby 96dfb33bca Attempted workaround for Mono's insistence on compiling BasicTerrain incorrectly 2007-07-02 23:42:38 +00:00
mingchen 67af17fdd1 *OGS1 Key2Name/Name2Key works
*OGS1 doesnt crash on startup anymore
2007-07-02 21:02:11 +00:00
lbsa71 71f1b2d878 * Added conceptual LlsdMethod Demo to SimpleApp (work in progress) 2007-07-02 20:44:39 +00:00
MW d1d38f2ede Applied Darok's PhysicsVector ToString patch 2007-07-02 17:48:34 +00:00
Adam Frisby 858e232cec * Added "HiRAW" mode export for generating as precise outputs as possible in the .RAW format. Ideal for exporting a heightmap to a simulator only capable of reading the RAW format. If you are exporting between OpenSim regions, use F64 instead. 2007-07-02 16:04:50 +00:00
lbsa71 fcabdab7bc * Started working on LlsdMethod for BaseHttpServer
*Renamed IRestHandler.cs to RestMethod.cs which is the correct name.
2007-07-02 16:03:58 +00:00
Adam Frisby c25a2fea59 * Added support for SL-style RAW export similar to the official simulators operation (low resolution) 2007-07-02 15:45:09 +00:00
lbsa71 686f6a8331 * Fixed Issue #161 by using PhysicsScene.Null instead of BasePhysicsScene
* Hid NullPhysicsScene for great justice
* Fixed broken Grid build
2007-07-02 08:03:11 +00:00
lbsa71 9ff5bb9873 * Applied Weathros/tedd's IP v6 patch 2007-07-02 06:57:42 +00:00
lbsa71 d78f6505e3 * worked some more on the RegionInfo attr fuggliness 2007-07-02 06:55:36 +00:00
MW 7f18f494f1 Just committing this because I want my commit to be on the front page of www.opensimulator.org rather than lbsa71's being there. 2007-07-01 21:45:47 +00:00
lbsa71 2d34caabb9 * removed try-catchall from scene constructor
* added reference server-side addnewprim prototype to Scene - not implementet yet though.
2007-07-01 21:16:45 +00:00
MW 2852cda727 More work on SceneObject/Primitive and building (Linking is a work in progress as is all). Committing now as I've finished for the night and will be continued tomorrow. 2007-07-01 21:04:33 +00:00
lbsa71 97d441fca4 * replaced some more of those butt-fuggly attr constructs with nice Get<> calls; somebody should finish the job. 2007-07-01 20:30:02 +00:00
MW 54ef77f0fd Can change the name and description of a prim. 2007-07-01 18:33:44 +00:00
MW 9800c05c1b Started change to having SceneObject and then that having child Primitives which in turn have a Shape object (currently PrimitiveBaseShape). The plan is only for the SceneObject to interface with the physics engines. As a physics Entity should be able to have mulitple shapes connected to it. 2007-07-01 17:26:33 +00:00
lbsa71 7cafe7f6d9 * now saves ExternalHostName in config 2007-07-01 16:19:47 +00:00
lbsa71 06a8c13200 MAJOR IP RESTRUCTURING
* moving towards IPEndPoints all over the place
* trying to make the internal/external division
2007-07-01 16:07:41 +00:00
lbsa71 5e805656db Fixed SimpleApp - aka thankgoditssundaycommit
* Updated SimpleApp with various introduced dependencies
* Extracted ScenePrescence creation in Scene
* removed try-catchall from UserManagerBase (that actually hid a bug)
* Refactored RegionInfo
  * handle is calculated
  * it will explode upon accessing x,y,ip,port,externalip if not explicitly initialized
* Removed superfluous 'ref' keywords
* Removed a shitload of 'catch Exception e' that causes build warnings
* Lots of small refactorings, renames et c
* Ignored some bins
2007-07-01 13:17:27 +00:00
Adam Frisby bacf90b5d8 * Project files fixed for OGS. 2007-07-01 11:40:48 +00:00
Adam Frisby 31649aa1d5 * Fixed scripting engine with a few minor updated namespace issues. 2007-07-01 11:24:50 +00:00
Adam Frisby b8b701fabb * Small bugfix comparing equal UUIDs 2007-06-29 22:10:55 +00:00
Adam Frisby e4df6ea08e * Created new "UUID" class to override LLUUID in general. (Unable to inherit from LLUUID, so written as a wrapper + extra functions), 1:1 Feature compatible with LLUUID designed as "Drop In" replacement. 2007-06-29 22:09:52 +00:00
Adam Frisby 72cd28be1b * Experimental patch: Replaced IPAddress.Any with IPAddress.Parse("0.0.0.0") to force IPv4 2007-06-29 20:09:29 +00:00
Adam Frisby cc1c4c034c * Applying Danx0r's BasicPhysics update. 2007-06-29 18:37:26 +00:00
mingchen 6b3777d3db *Deleted Logger.cs from OpenSim.Framework 2007-06-29 16:43:48 +00:00
lbsa71 b2883faddf * just making sure build files are latest 2007-06-29 16:28:03 +00:00
mingchen 90b01ba80c *Hopefully fixed the empty dialog box error on client when logging in on sandbox mode 2007-06-29 01:58:16 +00:00
Adam Frisby 135e9b1f53 * Removed J# language support because it has issues with Mono. 2007-06-28 19:35:20 +00:00
mingchen fe0528b98c *Added UUIDNameRequest packet support (untested, but should work -- at least in sandbox mode)
*Various small renamings
2007-06-28 19:09:50 +00:00
MW 41f26668d9 enabled physics plugin flying flags. 2007-06-28 17:48:45 +00:00
mingchen d3363bbc28 *Renamed GridCommsManager to CommunicationsOGS1 to match CommunicationsLocal -- its sandbox mode counterpart 2007-06-28 17:03:09 +00:00
mingchen 108d89f894 *Master User is now set up
*Added support for getting user profile information from remote grid server (untested)
*Updated prebuild.xml
2007-06-28 16:17:20 +00:00
MW e1ebfaef63 Applied ScenePresence movement patch from Darok. 2007-06-28 15:56:24 +00:00
mingchen bee543300f *User Profile requests on OGS UserServer now uses XMLRPC instead of REST
*Added base support for setting up a master user
2007-06-28 14:45:46 +00:00
MW 561db23e5f Finished removing the old scripting code, Scene.Scripting.cs and OpenSim.Framework.Interfaces.Scripting. 2007-06-28 14:10:05 +00:00
MW 3456d951d8 Imported the scripting changes, so now should be up to date with sugilite. 2007-06-28 13:13:17 +00:00
MW 14ea54b441 should now work. 2007-06-28 11:54:51 +00:00
mingchen 440bb4a358 *Fixed UserServer and OpenSim so now they start without crashing. 2007-06-28 02:07:59 +00:00
mingchen 0232f01a58 *Moved all the classes into their own file from LLSDHelpers.cs
*Some folder renaming to follow project Name
*Updated prebuild.xml
2007-06-27 19:43:46 +00:00
mingchen 9eaecabdd0 *Moved VersionInfo.cs to its correct place in OpenSim.csproj
*Added OpenSim.Region.Caps
*Updated prebuild.xml and ran prebuild
2007-06-27 19:04:23 +00:00
mingchen 1a6f58f337 *Fixed OpenGridServices.sln and prebuild.xml
*NameSpaceChanges branch now fully compiles!
2007-06-27 18:28:45 +00:00
mingchen 2261e4ec2a *Fixed all renaming for OpenGridServices.sln, still a reference issue in prebuild.xml though 2007-06-27 18:04:07 +00:00
mingchen 1dcc814b70 *More compile fixes (should be it on OpenSim.sln) 2007-06-27 17:20:45 +00:00
mingchen fe120533ef *Updated prebuild.xml and ran prebuild again
*Removed .user, .suo, and unneccessary files in /bin/Physics/
*OpenSim.sln should compile with nant and on windows now
2007-06-27 17:12:32 +00:00
mingchen e392e222a8 *Added some missing files I forgot to add...OpenSim.sln should compile now 2007-06-27 16:55:27 +00:00
mingchen e41eedc9ae *Some more restructuring/fixing -- should compile, but high chance I forgot to add/remove something 2007-06-27 16:39:11 +00:00
MW 646bbbc84b Some work on restructuring the namespaces / project names. Note this doesn't compile yet as not all the code has been changed to use the new namespaces. Am committing it now for feedback on the namespaces. 2007-06-27 15:28:52 +00:00