Commit Graph

2384 Commits (cf7560d1aaa12d9f705efd08a9a36498f332afd9)

Author SHA1 Message Date
Teravus Ovares 999eec603e Created a client driven packet throttler. The sim now respects the client's network throttle settings but does sanity checks to avoid too little(nothing gets sent) or too much(the sim crashes) data.
* Consider this experimental..   however, it looks very promising.
2007-11-22 19:01:53 +00:00
Teravus Ovares e69c810486 * Added code to capture the draw distance setting from the client.
* Added a support function to InnerScene to calculate the distance between two vectors.
2007-11-22 01:32:13 +00:00
MW e5a0049c16 Fixed bug that can lead to infinitive loops 2007-11-21 12:00:28 +00:00
Teravus Ovares 7cb38712d5 * Did some initial work for prim crossing. Just glue so far.
* Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler.   This flag gets purposely disabled in grid mode.  This flag also has the consequence that you can see the prim in neighboring regions without going into them.  Be warned, this causes tons of dropped packets.
2007-11-21 02:17:24 +00:00
Sean Dague 7b09800d5b fix for mantis #2 from Justin Casey (IBM) 2007-11-20 21:25:27 +00:00
Sean Dague ee8512ee20 patch for llDie from Kurt Taylor (IBM) 2007-11-20 21:19:45 +00:00
Brian McBee 5d786056fb per chi11ken: adding check for out-of-bounds avatars in POS 2007-11-20 05:59:35 +00:00
Brian McBee c8293d908d New improved POS! With slippery avatars and extra calculations. 2007-11-20 05:40:50 +00:00
Jeff Ames 83ed435d01 fixed potential reference invalidation and array out of bounds exception in basicphysics 2007-11-20 05:09:30 +00:00
Jeff Ames 3aa73ae1c7 fixed array range out of bounds exception and reference invalidation under load in POS 2007-11-20 05:05:27 +00:00
Brian McBee c6619b6f7d Reverting my POS changes. I need to think this through a bit more. 2007-11-20 04:54:19 +00:00
Teravus Ovares 5a71d03b7a *Huge* structural changes in ODE/OdePrim to get all of the calls in threadlocked code. ODEPrim was almost completely re-written.
Copy/Space test needed.
2007-11-20 04:38:08 +00:00
Brian McBee db3858c13a POS physics. tweaking stair-climbing which broke with my last change 2007-11-20 04:28:31 +00:00
Brian McBee 26909477fc POS physics: removed "stickiness" from avatars so they can slide along surfaces instead of sticking to them. 2007-11-20 04:04:07 +00:00
Sean Dague 98f82105a0 put in changes to only keep the last terrain revision. The current
unbounded model causes performance and filesystem filling grief.
Before enabling this again, we need a reasonable bounding model.
2007-11-19 22:59:28 +00:00
Teravus Ovares 79e9d4faf9 Tweaked for a possibility of 10 elements. 2007-11-19 16:12:53 +00:00
Teravus Ovares 4eb4082e27 * Added noisy debug information on the Verbose console to help debugging oddly placed prim. 2007-11-19 15:59:05 +00:00
Teravus Ovares 4afe393ce4 * Space allocation fix for prim outside region. >256 & <0. 2007-11-19 15:37:50 +00:00
Sean Dague 2fdca28dd4 hopefully resolve mantis issue #10 by locking correcty around terrain methods 2007-11-19 15:07:04 +00:00
Teravus Ovares 2910f1b949 Fixed - outside of bounds error. 2007-11-19 12:28:00 +00:00
lbsa71 ce3a87daa5 * Changed namespace 2007-11-19 11:20:36 +00:00
Jeff Ames a1391d0848 fixed POS rotation with certain angles 2007-11-19 05:28:00 +00:00
Jeff Ames c261812e39 added rotation support to POS 2007-11-19 04:46:05 +00:00
Teravus Ovares aaab1448f7 * Split space array structure into a two dimentional array instead of a single one. Once again. Should help debugging space/copy issues. 2007-11-19 04:15:18 +00:00
Teravus Ovares 72525d3015 Added medium debug information to Verbose mode of the console about Prim/space movements. Should help make sense of the copy prim bug. Use for Pastebin. :D 2007-11-19 03:06:17 +00:00
Teravus Ovares 694bab9513 * Copy/SpaceBorder Fix attempt number 3, hopefully the last 2007-11-18 20:45:47 +00:00
Teravus Ovares 3bb4cd51fd * 2nd attempt to fix the Spaceborder/copy bug 2007-11-18 20:24:51 +00:00
Adam Frisby b1b9f79a04 * Supressed the "not a module assembly" warning for verbosity reasons. 2007-11-18 18:26:51 +00:00
Jeff Ames c40cfb01aa flying in POS should be a bit smoother 2007-11-18 18:20:02 +00:00
Teravus Ovares 7672237bcd * Tentative Bug fix for OptikSL's intermittant Copy prim error. 2007-11-18 17:25:12 +00:00
Teravus Ovares 615b40b68b * Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset. 2007-11-18 15:54:05 +00:00
Jeff Ames 924026d01c cleaned up some mono compiler warnings 2007-11-18 15:14:37 +00:00
Jeff Ames d10c79d421 first stab at implementation of CopyInventoryItem 2007-11-18 13:50:46 +00:00
Teravus Ovares 46ccfa1741 * Found several cases where prim set physical were not subscribing to physics events. 2007-11-18 13:37:02 +00:00
MW f71fa731f5 Made the background (ie empty space) colour of the exported map image blue. 2007-11-18 12:18:56 +00:00
MW 87b07c19ef Added "export-map <filename>" console command to the region server that will export a jpg image of the world map covering a 20 X 20 regions area centred on the current active region (ie the one set with change-region). While this should work in grid mode (if using the grid asset server and if my last commit did fix the world map), you might need to call the "export-map" command then wait a little while (60 seconds?) and then call it again so that you make sure the region has got all the texture assets from the asset server. 2007-11-18 12:04:21 +00:00
MW 7f99644864 Attempt to get World Map working in Grid mode, will need to be using the grid asset server for it to work correctly and has only been quickly tested in a three region grid.
Moved PermissionManager creation out of the Scene constructor and instead a PermissionManager is passed to the constructor as a param. So that we could create and use custom permissionsManagers.
Added AllowMovement property to ScenePresence which can be used to stop movement of avatars (for example in a custom region that wanted avatars always in one place).
Added PermissionManager call when copying objects, although currently the call will always return true so that it allows copying in places like Wright Plaza. 
A few other changes/fixes.
2007-11-18 11:11:44 +00:00
Dalien Talbot 2cd00f46b9 For every problem there's a solution that is simple, neat and wrong.
Looks like it has nothing to do with childregions - reverting and will 
try to debug after the sleep. Sorry for the noise :)
2007-11-18 07:58:04 +00:00
Dalien Talbot 0d8a2cccfd Looks like we're requesting the mapblocks for every agent - including
childagents. The infrastructure is not robust enough to handle it at 
this time - so ignore all the MapBlock requests for childagents.
2007-11-18 07:40:30 +00:00
Dalien Talbot f7b5c6550b Second try at having a bandaid for the multiple logins crash 2007-11-18 07:16:17 +00:00
Dalien Talbot 8ebf75ec24 Revert the previous commit - indeed this needs to be fixed in a
different place...
2007-11-18 07:07:50 +00:00
Dalien Talbot aa57b386b7 Trap the error during the logout with connections to multiple sims on
the same box (error in closecircuit) - temp band-aid, should have a 
better fix.
2007-11-18 06:33:15 +00:00
Dalien Talbot baa4e82107 Prevent the region crash in gridmode on bringing up the map 2007-11-18 05:28:28 +00:00
Dalien Talbot 793813a6a6 Added handler for MapNameRequest - OnMapNameRequest 2007-11-18 04:00:04 +00:00
dan miller 8c5add18a2 improved avatar logic -- walk up low steps now, sorta 2007-11-17 23:28:44 +00:00
dan miller 7c18c69668 minor POS tweak for speed 2007-11-17 22:43:05 +00:00
Teravus Ovares 54df1a57d7 * Fix Null comparison for Mono 2007-11-17 21:00:35 +00:00
Teravus Ovares 8a57dd207f * Fixed space related SimCrasher ODE error when a prim disables itself because it's out of bounds and user moves it back into the space. 2007-11-17 20:34:56 +00:00
Teravus Ovares 5460ba79dc * fixed goofy documentation error 2007-11-17 19:15:57 +00:00
Teravus Ovares 6cd3980b18 * Added decoding of the AgentThrottleBlock of the AgentThrottle packet. It's still unhandled, and useful data can be sent to the packet throttler :D 2007-11-17 19:06:51 +00:00
MW a4a1ff3d9b Added ClickAction property to SceneObjectPart (and the relevant changes in IClientAPI so its used), so that the default click action (ie touch, sit, etc) can be set on a prim. Note: Sill need to handle the incoming packets that set this, from the client. 2007-11-17 12:03:20 +00:00
dan miller d71b28c731 Out of a fog of alcohol and adenovirus, I present - POS!
EXTREMELY basic collision detection; walk on prims
don't rotate anything
do not feed or annoy POS
YMMV
2007-11-17 09:59:07 +00:00
Jeff Ames a473289738 minor cleanup of some dodgy bits 2007-11-17 08:14:17 +00:00
Jeff Ames ba9b317122 added some POS gravity 2007-11-17 06:25:41 +00:00
Teravus Ovares df507605cd * ODEPlugin Thinned the avatar out to average SL thin-ness. There's more work to be done on this, however, avatar will have a lot less difficulty getting into tight spaces/prim cuts 2007-11-17 05:16:36 +00:00
Teravus Ovares 3041747bcd * ODEPlugin - fixed issue where resizing prim causes the prim's collision box to no longer be matching the client's view of where it should be. 2007-11-17 03:48:13 +00:00
Teravus Ovares 5fd2fa687e * Resolved the situation where prim is loaded from storage and when pushed never stops. 2007-11-16 22:13:13 +00:00
mingchen eb2f626561 *Added the TimeDilation property to Scene 2007-11-16 22:02:16 +00:00
Teravus Ovares b2243079ea * Trying a space/collision optimization technique in ODE. Let me know if you see a difference. 2007-11-16 18:30:25 +00:00
MW 483377adae More cleaning up when deleting regions from a instance. NOTE: IGridServices.DeregisterRegion() method needs implementing for grid mode. 2007-11-16 13:39:11 +00:00
Jeff Ames 76a67f45c6 fixed some AssemblyInfo files 2007-11-16 10:35:52 +00:00
Jeff Ames e3998230cc added dummy POS physics plugin 2007-11-16 10:25:27 +00:00
Teravus Ovares b63076c303 * ODE step two on the way to separate dynamic space allocation ( One more to go ) 2007-11-16 08:53:37 +00:00
Teravus Ovares 9020ec5af9 * Fixed object edit movements causing full object updates instead of terse object updates since unlinking. 2007-11-16 08:52:03 +00:00
lbsa71 3aed77bd2c *** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM OpenSim.ini.example **
* Now moved region storage from region to application, so we have one storage per application, instead of one per region.
* Changed so that the region store providers use connectionstrings, not filenames
* Removed various unfit fields and properties (call me Darwin)
2007-11-15 19:53:10 +00:00
Sean Dague 886f8b5548 make Stopped a bit sloppier which should help address any float round off issues 2007-11-15 19:11:25 +00:00
Teravus Ovares 91b0c44563 * ODE - Started the refactoring process to allow breaking up the scene into smaller spaces
* ODE - No new visible speed improvements yet.  From the coding side, the beginnings of dynamic space calculation..
2007-11-15 18:37:20 +00:00
lbsa71 57ff76850d * Added MySQLDataStore (adapted from MonoSqlite
* Made startup a little bit more forgiving on dll load
* Minor renamings and musings
2007-11-15 15:32:28 +00:00
Teravus Ovares 179695909a * Implemented the little friendly pop tooltip messages that appear when you hover your mouse over prim with the object name, description, ownerid.. etc. 2007-11-15 07:32:24 +00:00
Sean Dague 3ca8eb82a9 added first attempt at storing stopped physical objects 2007-11-14 22:39:59 +00:00
MW b42dfff4b8 Added "show regions" console command that displays the list of regions in that instance and their X , Y locations. (as requested/suggested by ckrinke) 2007-11-14 22:03:11 +00:00
Sean Dague c7e125033c clean up most of my mess on terrain. Someone on .NET please test and make
sure this remains working for you.
2007-11-14 21:00:19 +00:00
Sean Dague ec48b67276 managed to produce and kill the same exception on mono as on .net. Hopefully
this means .net is fixed.
2007-11-14 16:35:51 +00:00
Sean Dague 28ff73129b bury connect creation deeper down in case this is what .NET hates 2007-11-14 16:29:34 +00:00
Sean Dague 8eb2a163c8 random shot in the dark 2007-11-14 16:26:18 +00:00
Teravus Ovares d8fde94843 * ODE removes an unnecessary lock. 2007-11-14 16:24:19 +00:00
Teravus Ovares cb6ec3d0f7 * Removes the console enumeration errors on sim start. 2007-11-14 16:12:59 +00:00
Sean Dague ccd08ae3d0 remove limit stanza, see if this helps. 2007-11-14 16:08:10 +00:00
Sean Dague 02b6f6ca62 get rid of parametrized query, in case this is the .NET issue (I hope not) 2007-11-14 15:52:39 +00:00
Sean Dague 870837d4a8 further adventures in .NET workarounds 2007-11-14 15:35:27 +00:00
Sean Dague 2aec70666a no, this probably won't work either, but I'm going to at least make sure it works
mono still
2007-11-14 15:15:01 +00:00
Sean Dague 980661ed1b more attempted voodoo around .NET 2007-11-14 15:03:17 +00:00
Sean Dague 5a739cc248 attempt to resolve Sqlite not working on .NET for terrain 2007-11-14 14:11:45 +00:00
Teravus Ovares 3cb2b5eb66 * Copied objects are now owned by the object copier (Next Owner) (however next owner permissions are not applied yet)
* In Serverside permissions mode; If you've copied an object, then you can delete it and clean up after yourself.  The rest of the permissions functionality is still unchanged.  Admin can delete any object..  etc.
2007-11-14 11:56:57 +00:00
Teravus Ovares 52fbc67100 * Should help avatar climb steps better
* Reduced ground friction when an avatar is moving
* Followed Dan's advice and moved the walk/run movement controller to target_velocity instead of on the total movement
* Reduced PID_D power by 1/5th (80)
* More avatar movement tweaks.
2007-11-14 02:41:15 +00:00
Teravus Ovares 9a00c26dfe * Possibly resolved the excess sim lag.
* Warning: Only try on Linux, Windows builds still have a terrain database problem.
2007-11-14 01:04:19 +00:00
Teravus Ovares 9f6b3e2357 * Added AvatarPicker in Standalone mode. Works for finding avatar to ban, manually trying to add a friend (with the add button) or useful to those who are curious which usernames have visited your standalone sim. Important for future development :D.
* Grid mode always returns 0 results until the Grid Communications portion is done.
2007-11-13 22:48:19 +00:00
Sean Dague eb41ec00c9 first pass on unlinking of objects. From Jay Clarke (IBM) 2007-11-13 19:57:11 +00:00
MW 448612db62 Added "remove-region <region name>" console command that "should" remove the named region/scene. 2007-11-13 16:31:11 +00:00
Sean Dague 4bc4844646 working now. Needs cleanup, but I'll have to do that after the next meeting 2007-11-13 15:50:56 +00:00
Sean Dague 7810b068f4 some changes to reduce memory significantly by not keeping all
terrain revisions in memory.  Once I'm sure this is working, I'll purge
out some of the crufty code here.
2007-11-13 15:22:54 +00:00
Jeff Ames ae4312a698 replaced exception when sitting and typing with rather amusing getting up and sitting back down animation 2007-11-13 13:47:03 +00:00
MW 297cc7ef4f Some work on cleanly removing Regions. 2007-11-13 12:23:05 +00:00
MW 7f8a69f181 Some work on being able to set/send a users Buddylist info. (added handling code to LoginResponse).
And as a test each user signing in will get the test account ("Mr OpenSim") as a friend (online/offline status will not currently show up)
2007-11-13 10:47:39 +00:00
Teravus Ovares 10b41ba455 * Fixed the walk vs fall animation.
* Tweaked a few things
2007-11-13 05:10:14 +00:00
Teravus Ovares 57b646b7ae * Added AV Height Glue & Avatar Height stored on m_AVHeight in ScenePresence
* Added glue to send it to the Physics Engines (in meters)
* ODE Initial implementation of Avatar Height :D Change your height and not get all knee bendy
2007-11-13 03:18:54 +00:00
Jeff Ames 3d10dbf233 added IDs for all built-in animations 2007-11-13 02:30:43 +00:00
Teravus Ovares d9d35f9fd7 * Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.
* All thanks to unimplemented packet listing :D
2007-11-12 23:46:26 +00:00
Teravus Ovares 5952441fcc * Added a lot of Glue to help with reporting proper collisions.
* ODE - Fixed the iscolliding property to report a static true when colliding.
* Added reporting of collisions to call UpdateMovementAnimations
* Added Jump - air animation (with arms outstretched).
* Added Fall Animations
* ODE - Added a small amount of X, Y motion control while jumping or Falling
* ODE - Avatar movement animations are still a bit odd sometimes, and had to get this up there.
2007-11-12 21:45:49 +00:00
Sean Dague b9e971cda9 fix compile issue on mono 2007-11-12 20:35:25 +00:00
Jeff Ames ad002835d3 enable typing animation for chat, maybe 2007-11-12 20:25:59 +00:00
Jeff Ames 128c7b2d43 added verbose output of unhandled packets from the viewer 2007-11-12 19:01:04 +00:00
Teravus Ovares 9b6e747d78 * Sets ZeroMesher as default. (If you want to cut and hollow, you'll need to uncomment the Meshmerizer in OpenSim.ini)
* Fixes a geometry issue in ODE when using ZeroMesher
2007-11-12 16:22:23 +00:00
Jeff Ames 008e4a2be8 set svn:eol-style, reset default config 2007-11-12 14:54:13 +00:00
Teravus Ovares cdd903c173 * Applied Gerhard's Meshing patch (Thanks! Gerhard)
* Addition of Gerhard's ZeroMesher.
* Addition of meshing OpenSim.ini parameter
* Some modifications to the Meshmerizer
* Meshmerizer set to default meshing plugin because ZeroMesher needs a memory locking fix.  We'll switch it back after the memory locking issue is resolved.
2007-11-12 12:43:01 +00:00
Dalien Talbot 8039c31e88 Patch from Mathias Soeken (thanks Mathias!) to take care of the color
and alpha argument of the llSetText command.
2007-11-11 22:23:34 +00:00
Dalien Talbot aeb7b8cc18 Fixing null pointer exception from Mathias Soeken:
e.Scene is copied to locale variable scene and replaced when it is null,
but in the LLVector3 constructor in the next line, e.Scene is used, so
it can be null.
2007-11-11 22:19:33 +00:00
Jeff Ames db174dfa20 set svn:eol-style 2007-11-11 09:19:21 +00:00
Jeff Ames 33ac0653a3 fixed chatting while sitting 2007-11-11 04:44:52 +00:00
Teravus Ovares ec77e1eb17 * adds flag in OpenSim.ini for disabling physical prim. Look at OpenSim.ini.example in the bin folder for an example. 2007-11-11 00:08:18 +00:00
Jeff Ames 9a4b4dae5e removed OdePlugin/Meshing directory 2007-11-10 21:20:55 +00:00
Teravus Ovares cb07ba0d68 * Moves the Meshmerizer to a separate plugin
* Experimental.   Linux Prebuild needs testing.
* One more update after this to remove the ODEMeshing directory....
2007-11-10 19:13:52 +00:00
Teravus Ovares 43ea37b5a0 * ODE Fixed annoying bug where resizing causes there to be a 'ghost' prim left that blocks your way. 2007-11-10 17:23:36 +00:00
Teravus Ovares e9e72fe907 * Added an internal throttle on ODE physics updates
* Added a ThrottleUpdates member to PhysicsActor to expose 'throttle' ability to the Scene.
* Updated the ode.dll file with a fix to invalid data passed to ODE's heightfield collision calculator.
2007-11-09 21:01:55 +00:00
Sean Dague 6c77ae5507 add a few more verbose bits 2007-11-09 20:47:20 +00:00
Sean Dague 8ac2f5a3a0 turn back on verbose message for resending packets 2007-11-09 20:32:55 +00:00
Sean Dague 3e5ea796ae don't break if they haven't defined the Sun section of their config 2007-11-09 20:02:44 +00:00
Sean Dague 114945b842 make Sun progression configurable for the Sim from OpenSim.ini 2007-11-09 19:53:23 +00:00
Teravus Ovares 90274434c6 * Moved BulletX off of the 'constant terse update' method. It now only sends terse updates when needed.
* Removed the 'constant poll method' from SceneObjectPart.cs - It was bad :P
* Updated some Masses in ODE to help large prim slow down by friction easier.
2007-11-09 13:45:42 +00:00
Adam Frisby 7fb227ed1e * Protip: Commit AFTER compiling. 2007-11-09 02:38:26 +00:00
Adam Frisby b7629d7a3d * Added some code to prevent a spinlock. 2007-11-09 02:31:40 +00:00
Adam Frisby 7861390f72 * Tweaked how the throttle works. 2007-11-09 02:26:26 +00:00
Adam Frisby 1875317127 * Tweaked throttle sizes. Throttle is now 256kbps outbound per client. 2007-11-09 02:24:14 +00:00
Adam Frisby 5099667844 * Added some *VERY* experimental highly dodgy throttling of outbound packets to help alleviate clients borking during massive amounts of updates. Needs work. 2007-11-09 02:22:01 +00:00
Teravus Ovares b01e309414 * Fixed Resending Terse Updates Message on the console causing CPU usage to spike when the network connection isn't 100% and fast. 2007-11-09 01:43:54 +00:00
Teravus Ovares b74983328c * Stopped printing the prim's X cordinate difference from the last movement on the Console. 2007-11-08 18:17:48 +00:00
Teravus Ovares fcc276a68d * Fixed occasional character drift caused by sim not sending the avatar's final resting velocity.
* Added Smooth moving prim
* Added event to PhysicsActor RequestPhysicsterseUpdate to allow physics plugins to be able to schedule a terse update.
2007-11-08 15:22:36 +00:00
Jeff Ames fc3e247956 fixed non-ASCII chat and IM 2007-11-08 07:14:46 +00:00
Jeff Ames 0b4e15bc35 converted hard-coded chat type values to ChatTypeEnum 2007-11-08 03:11:10 +00:00
Teravus Ovares 9e9dad1cde * Added Rotational Velocity reporting for Client Interpolation to Terse Updates
* Added Angular Velocity reporting for smooth-ish rotations on object collisions
2007-11-08 00:10:40 +00:00
Sean Dague 428d603e87 get rid of the debug line, that's just going to drive everyone nuts 2007-11-07 22:24:38 +00:00
Sean Dague 2884112227 move Sun into a Region Module, pass 1. Currently this works fine with
a fixed 30 minute day and the sun going East -> West again.  It gets rid of
super noon as well.  It's a bit debug heavy right now, which I'll clean up
tomorrow.  I also plan to make time progression configurable in OpenSim.ini,
but that will be tomorrow.
2007-11-07 22:22:32 +00:00
Sean Dague 65eb1852a3 add SendSunPos function to IClientAPI to let us pull all the sun
calculation logic into a module
2007-11-07 20:29:30 +00:00
Sean Dague 9b6c8ba7d1 disable profuse logging messages for not saving physical
objects, as it clouds up the console a bit too much
2007-11-07 20:26:03 +00:00
Jeff Ames f86a65f14b refactored some duplicate SceneObjectGroup searching code in Scene 2007-11-07 02:42:18 +00:00
Teravus Ovares 919118f0ef * fix for Bug 563
* fix for ODE geoms not getting disposed of properly when resizing.
2007-11-06 17:19:10 +00:00
lbsa71 ee1fcc729c * Added better logging to AssetCache
* AssetCache now ignores duplicate uploads
* some m_ refactoring
* ignored some bins
2007-11-06 11:10:45 +00:00
dan miller ec85a31140 physical prims AND other changes in ODE (Teravus) -- note this is experimental! 2007-11-05 22:20:18 +00:00
dan miller 62a43affe4 physical prims 2007-11-05 22:18:12 +00:00
dan miller c1d05740e5 adding missing ODE files for mesh 2007-11-05 18:05:21 +00:00
MW 7fb9665cf5 Fixed the MyNpcCharacter errors 2007-11-05 15:08:56 +00:00
lbsa71 f6c8c10d3f * Substituted som 'GenericCall' with Action<>
* OnRequestWearables does no longer accept 'Client' as param, since it's always on the current client
* Fixed SendOwnWearables to always operate on self, as that's what it does
2007-11-05 14:38:58 +00:00
MW 73fbacea1f Started to cleanup/close down childagent connections when a user teleports. As the client will not close old childagent connections without being told explicitly to do so by each region the connection is to. Currently only implemented in standalone mode. ( the TellRegionToCloseChildConnection( ) in OGS1GridServices.cs needs implementing for grid mode, and the inter region .net remoting added for the new messages).
hopefully fixed the echo bug in chatmodule.
2007-11-05 13:58:44 +00:00
dan miller fdb57b28b1 prim cuts in ODE
Much thanks to Gerhard!
Merged with Darok's recent changes re: physical prims
2007-11-05 12:25:53 +00:00
MW 6bb1e91d41 Changed it so opensim.exe should scan for new application plugins every time its ran, rather than just the first time (or when the addins and addin-db-000 directories were deleted). 2007-11-05 12:24:07 +00:00
lbsa71 e1e611452b * UpdateWearable should SendOurAppearance
* Ignored some bins
2007-11-05 09:16:42 +00:00
Charles Krinke 7eff1572cb Thank you, Teravus for: Solution for 'after using physical prim with MonoSqliteDataStore, the sim lags with constantly updating assets.". This mostly affects BulletX. 2007-11-05 04:33:06 +00:00
Jeff Ames 76aa5b81b0 removed duplicated BOMs 2007-11-05 02:48:05 +00:00
MW d56ed8fe9c Some more refactoring 2007-11-04 22:22:53 +00:00
MW 1467720f60 Added forgotten ApplicationPlugins directory and moved the load region code out to a plugin.
To make opensim search for the new plugin, you will need to delete the "addin-db-000" and "addins" sub directories in bin if you have them.
2007-11-04 22:16:13 +00:00
Jeff Ames e0cfa89d83 normalized line endings 2007-11-04 14:52:19 +00:00
MW ef2cea41ce Added forgotten IApplicationPlugin file 2007-11-04 14:38:12 +00:00
Jeff Ames 2d1c255e8c normalized line endings 2007-11-04 14:34:45 +00:00
MW e50a2e2ce2 Applying Teravus patch # 557. Some glue code for the updating of prim's velocity. 2007-11-04 14:06:41 +00:00
MW 039f2c46c0 Added support for OpenSim application plugins (as requested by Adam), which use Mono.addins for loading/management. (which is a pure .net solution so works on both Mono and MS .net, and is under the MIT license, will add the source code for the library later). I also suggest we look into switching to using Mono.addins for our Region module loading management.
A little bit more refactoring of Scene.
2007-11-04 13:48:15 +00:00
darok bcc0f3265d Fixes a bug with a ZERO Quaternion when creating a prim. 2007-11-03 20:50:11 +00:00
darok fbf3c6a768 Modifications for prim movement. For now only in Mod. BulletX, but i think it can be easy to add to ODE. Enjoy kick the prims and be careful with the falling ones ;D 2007-11-03 19:33:00 +00:00
MW dabbdec2cd First part of Scene refactoring:
Started the move of some of the methods from scene into a inner class (currently called InnerScene.cs), the idea being that the code related to the 3d scene (primitive/entities/Avatars etc) will be in this inner class, then what is now Scene.cs will be left as a kind of wrapper class around it. And once the spilt is complete can be renamed to something like RegionInstance (or any name that sounds good and ids it as the Region layer class that "has" a scene). 
Added SceneCommunicationService which at the moment is a kind of high level wrapper around commsManager. The idea being that it has a higher level API for the Region/Scene to send messages to the other regions on the grid. a Example of the API is that instead of having sendXmessage methods, it has more functional level method like PassAvatarToNeighbour. Hopefully this will allow more freedom to do changes in communications that doesn't break other things.
2007-11-03 19:14:22 +00:00
MW add6fb9722 tiny commit to prepare for the first proper part of Scene.cs refactoring. 2007-11-03 19:03:56 +00:00
mingchen b51a900beb *Master Avatar can be specified by a previous UUID in either grid mode or standalone mode by specifying a master_avatar_uuid attribute in the place of master_avatar_xxxx_name and master_avatar_password.You will not be asked for the name and password if a valid UUID is specified. 2007-11-03 17:49:45 +00:00
mingchen 51488ee7f4 *Moved region loading into its own interface IRegionLoader
*Added ability to load regioninfo remotely from a webserver from a single file. See share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt for more info and an example file.
2007-11-03 15:09:21 +00:00
darok f8e0cf0f1d Changes in BulletXPlugin: Added new class BulletXActor class inherits from PhysicsActor and it's the ancestor for BulletXCharacter and BulletXPrim.Physical modifications: Changes for pass the value of Physical flag in the SceneObjectPart class to the Physics engines. New call for AddPrimShape so it has a new parameter called "isPhysical". The old call will be obselete soon (i believe). PhysActor and its descendants have a new property called IsPhysical. By the way no new special funcionallity added. It's more like preparing the way for new modifications. 2007-11-03 10:25:43 +00:00
MW a30866ed45 Added temporary try catch to udpserver while testing something out (will remove later) 2007-11-02 14:54:56 +00:00
Tedd Hansen dcf41cb683 ScriptServer fixes: Added more debug logging, mutex lock (to be extra-super-sure) on script load/unload, removed experimental Grid-scriptengine from compile because of dynamic module loader, and added random string to script filename to bypass module loader file lock.
Please delete your copy of bin/ScriptEngine/OpenSim.Grid.ScriptEngine.DotNetEngine.dll.
2007-11-01 19:27:03 +00:00
lbsa71 4fad66f855 * Diuerse beavtificatems 2007-11-01 19:19:05 +00:00
darok bda35705e6 Partialy fixed a bug with collisions in BulletXPlugin. 2007-11-01 19:12:06 +00:00
darok 4faa824c3e Changes in BulletXPlugin: Added new class BulletXActor class inherits from PhysicsActor and it's the ancestor for BulletXCharacter and BulletXPrim. 2007-11-01 17:49:56 +00:00
Tedd Hansen 2aa9440437 Goodbye LSO to .Net translator. May your bits live on in our memories. 2007-11-01 15:13:04 +00:00
Charles Krinke 8af272b3ab Thank you, Melanie for solving: When receiving an ObjectAdd packet, the Rotation member is silently ignored and the prim is created with 0,0,0,1 rotation. The patch introduces a fix that passes the Rotation parameter from the packet to the object and uses it in the actual object creation. 2007-11-01 03:56:54 +00:00
Charles Krinke 41e71e5548 Thank you Melanie for a patch to SceneObjectPart.cs so that on first transmission of task data to the connection of the creator/owner, the CreateSelected bit in the object flags is now set. 2007-11-01 02:49:33 +00:00
Sean Dague e729accdac redefault to sqlite for all services, especially now that
we can run without a config file
2007-10-31 14:41:04 +00:00
lbsa71 0d528e1d22 * Added a streamhandler that does streams both in and out
* The RestDeserialisehandler now does streams and returns an object instead of string
2007-10-31 12:45:03 +00:00
Jeff Ames dbcab80520 fixed bug with user not getting land properties on login 2007-10-31 09:50:36 +00:00
MW a9ad16b13a some small changes 2007-10-31 09:18:24 +00:00
Jeff Ames 13854d562f fixed filenames in log messages 2007-10-31 07:56:31 +00:00
Jeff Ames 7f0d836d35 made illogical bitwise operations logical 2007-10-31 05:29:51 +00:00
Charles Krinke 33d6222e8d Thank you Teravus, very much, for a 'jump', 'crouch' and 'inertia' patch for all three physics plugins. 2007-10-31 04:18:34 +00:00
dan miller f5195a453c Tevarus' patch for object flags & implemented Phantom edits 2007-10-30 23:38:56 +00:00
Tleiades Hax 6a8d8f54e8 Step one on the long march towards grid based inventory. Introduction of an InevntoryServer 2007-10-30 22:42:34 +00:00
Jeff Ames ecb2305a04 temporary fix for sitting collisions in ODE 2007-10-30 09:56:29 +00:00
lbsa71 67e12b95ea * Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
lbsa71 c32d1f0562 * Deleted .user file 2007-10-30 08:52:34 +00:00
MW 3d8219f6c7 as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
lbsa71 27b5fad56d * Removed AssetNotFound as it crashes client
* Fixed introduced bugs in ScenePresence
2007-10-29 12:59:04 +00:00
lbsa71 03d49b0217 * ModuleLoader: Privatized some too-public fields
* Scene: Changed name from MakeAvatarPhysical to MakeRootAgent and added ForEachClient
* SceneManager: Added ForEachScene
* Worked some on appearances.
2007-10-29 11:54:31 +00:00
MW 27f003b683 Started the process of cleaning up AssetCache and moving most of the code into modules. Have moved TextureRequest handling (from the client) to a module. But even though to start with I just did a little bit of cleaning up of the existing code, it doesn't seem to work as good as the old code so I need to spend more time on it. So for now am committing my changes but with them not in use. So for now all Texture and asset requests are still handled by the old code in AssetCache. 2007-10-29 09:51:23 +00:00
Jeff Ames 7c6ef95f2f normalized line endings 2007-10-29 07:57:38 +00:00
dan miller c29f8b3873 should help with ODE bounce on region cross 2007-10-29 06:15:06 +00:00
Jeff Ames 2cf117cc6c Added preliminary support for sitting on prims 2007-10-28 03:58:46 +00:00
mingchen d56da1c831 *Replaced -useexecutepath with an updated -inifile extension. You can now specify either a filename (will use the default config path, or you can specify a full path. 2007-10-28 03:41:34 +00:00
Tleiades Hax adf4a3b9fd Added method to create default config file in region server(OpenSim) following along the same priciples as in the other servers. 2007-10-26 15:35:17 +00:00
MW 5b8c31c3bd Temporary fix for a missing Opensim.ini file. 2007-10-26 15:00:35 +00:00
lbsa71 070047ce1b * Added prototypical AvatarFactory module interface to load avatar parameters
* Added dump_assets_to_file option to enable asset dumping for debug
* normalized some namespaces
* InventoryFolder renamed to InventoryFolderImpl to
2007-10-26 14:08:36 +00:00
Tleiades Hax 75be841839 Region ground texture was not marked as temporary, when being created, and assetcache did not check if an asset was temporary prior to uploading the cache to the asset server. Consequently the asset server was constantly being swamped by temporary ground textures. 2007-10-26 13:12:49 +00:00
Tleiades Hax 5e7dba7268 Very early first implementation of grid based assets.
Run this on a major grid, and weep
2007-10-26 11:46:27 +00:00
Sean Dague 461eaf188e fix line endings 2007-10-25 15:43:48 +00:00
Sean Dague 32869aec47 apply http://bug.opensecondlife.org/view.php?id=512 from chillken
which cleans up the verbose logic
2007-10-25 15:34:43 +00:00
Adam Frisby 6804f9affb * Added static mutex to terrain load-tile to prevent file IO locking issues. 2007-10-25 15:17:42 +00:00
Adam Frisby 2048d611cf * Added XMLRPC Controller Module to OpenSimMain which allows XML-RPC queries to be sent to the core application.
* Disabled by default, but has two functions so far -- shutdown (timed or now), and create-region.
* Added SendGeneralAlert function to SceneManager allowing all-user alerts to be sent from OpenSimMain.
2007-10-25 12:13:58 +00:00
Tleiades Hax 51c782d6ad Introduced a build error in the last patch 2007-10-24 04:14:24 +00:00
Sean Dague 0d93069adb add locking to the terrain database calls 2007-10-23 14:31:35 +00:00
Adam Frisby 42318dc15a * Fix for issue#514 - Sim crash when editing near terrain edge. 2007-10-23 14:22:20 +00:00
Adam Frisby 0c9933fd0f * Added "create-region" console command. Syntax: create-region <name> <region.xml filename>
* Spring cleaning.
2007-10-23 12:44:12 +00:00
Sean Dague 1c8809077e remove debug line 2007-10-23 02:34:10 +00:00
Adam Frisby 3143768468 * Removed plenty more untagged console messages. Everything now has shiny groups. :) 2007-10-22 22:37:39 +00:00
Adam Frisby 3e5fcf90aa * Table creation now checks if the table already exists before building it. 2007-10-22 22:15:38 +00:00
Adam Frisby b02fa17acc * Temporary fix for SQLite error -- temporarily disables terrain storage. 2007-10-22 22:07:45 +00:00
Adam Frisby 5dad0ed729 * Return of R2162. /Take that SVN!/ 2007-10-22 21:57:32 +00:00
lbsa71 dd770c384c * Made EstateSetting static since there's only one instance, and we only need to create it once
* Now cacheing RegionInfos indefinitively; we should add a tiomeout to this cache
2007-10-22 17:55:49 +00:00
Sean Dague 81e5cf14ce after a small misunderstanding with the match group numbers
IRC relay mode now has much more sensible broadcast messages in world
and ignores non PRIVMSG commands
2007-10-22 16:55:03 +00:00
Sean Dague f1fec04c56 my confusion on matches vs. groups in regex. This should work a bit better 2007-10-22 16:41:53 +00:00
Sean Dague 8e424a4162 make for nicer IRC messages. No promiss that this works yet, but
it is a first attempt.  Will tune shortly.
2007-10-22 16:35:39 +00:00
Sean Dague 627aa65e59 make IRC uglier for a while to get a better handle on writing a parser for the messages 2007-10-22 15:43:48 +00:00
Sean Dague c5ea70bf93 nice catch by chi11ken that I was setting the wrong property 2007-10-22 15:39:02 +00:00
Sean Dague 6acaabefc3 revert r2162 as it completely clobbered all the work on
the ChatModule by MW and myself.  Couldn't find Adam online
after that rev went in.
2007-10-22 15:37:54 +00:00
Adam Frisby c4707a284f * Major ass commit.
* Sqlite Storage Engine now supports terrain -- however be aware that every terrain revision stored will at 512KB to your database file. At the moment it is storing every revision from the first.
* Fixed an issue where by noverbose mode would display lots of useless junk. Noverbose mode is now quite usable.
* Fixed a whole bunch of console message issues such as naming and categorisation
2007-10-22 15:23:48 +00:00
MW 22e330c1a0 attempt to fix the muliple repeat problem (that sdague is getting) in the IRC chat bridge code. 2007-10-22 14:20:59 +00:00
MW 155005cba6 Hopefully made it so ChatModule and InstantMessageModule are now running in Shared module mode. 2007-10-22 13:06:35 +00:00
MW 2681de366b Made some changes to the load/save xml format, So that the old format can still be used, I have added new console commands of "load-xml2" and "save-xml2", if the old versions worked for you then please continue using them (at least for now). The new versions haven't been tested that much, so their format could be subject to change. 2007-10-22 11:06:54 +00:00
MW 5bf6b24590 Bug fix, so that local loginserver (in standalone mode) can set a start position (position inside the region) rather than it always being hardcoded to 128,128. Note: This bug fix is just to allow this to be set. Its not actually used yet (so users will still always start at 128,128). 2007-10-22 09:04:55 +00:00
Sean Dague e0f43cad4b update so that distances aren't required in the config file 2007-10-22 03:22:27 +00:00
Sean Dague 8e4748d914 pull the IRC portions into their own class. There is still
something odd going on with multi-regions here, which I'll
have to ask Adam about tomorrow.  This should make it easier
to just enhance the IRC portion of chat though.
2007-10-22 02:14:01 +00:00
Adam Frisby 7f2ec02802 * Disabled TCP Remoting Channel Security for InterRegion communication, as it appears we are not implementing this correctly. (need to set up certificates first)
* Documented ACL class
2007-10-21 22:15:41 +00:00
Sean Dague 61397a3410 fix line ending mixing. Probably should put some
wiki descriptions up on line endings so we don't keep 
ending up in this place.
2007-10-21 14:59:18 +00:00
Tleiades Hax 9f2fcfb3ec Fixed a bug causing a crash during clientlog on in Windows (Thanks to Rookiie and nebadon for laying all the ground work)
Fixed a bug, preventing standalone mode to report neighboring sims correctly
2007-10-21 09:32:24 +00:00
Adam Frisby 6119eaed85 * Committing new PolicyManager based on an ACL system.
* Unlinked right now, but intent to replace large amounts of the core logic in PermissionManager with it.
2007-10-20 10:44:34 +00:00
Adam Frisby 5adafd538a * Fixed an issue whereby avatar chat distances were being calculated against the region corner due to a zero vector.
* Bonus Commit: Fixed the Raster class in libTerrain.
2007-10-20 00:09:07 +00:00
Adam Frisby 2afecae39c * IRC ChatModule extension should now be more stable. 2007-10-19 23:56:51 +00:00
Adam Frisby 4f1abe3e76 * Whisper, Say and Shout distances are now configurable (what the hell!) 2007-10-19 23:36:27 +00:00
Adam Frisby f364a084f1 * Cross-border region chat should now work as long as both regions are part of the same simulator. 2007-10-19 23:27:54 +00:00
Adam Frisby f427433c85 * ChatModule is now shared between all scenes. (May be buggy.) 2007-10-19 23:20:57 +00:00
Adam Frisby 1313544ac7 * Major structural change: Begun converting Events to use (caller, args) syntax to conform with .NET guidelines.
* OnChatFromViewer has been converted as an example.
* Bug: SimpleApp's NPC client does not implement a Scene property and will likely crash with a NullReferenceException when it attempts to chat.
2007-10-19 22:02:07 +00:00
Sean Dague 9a17bc58a6 enable IRC bridge via runtime configuration 2007-10-19 21:36:58 +00:00
Sean Dague d4bb430f78 get rid of all the ^M line endings 2007-10-19 20:28:18 +00:00
Sean Dague 139994757c changes to pass nini config object to the modules that get
loaded so that they may read out any bits they are interested in
2007-10-19 20:27:34 +00:00
Adam Frisby aaaa3c6835 * Test thy commits! (oops, sorry!) 2007-10-19 19:30:22 +00:00
Adam Frisby d8cbd173f5 * Instant Message functionality moved into a Region Modules
* You can now send instant messages to any user on the simulator, regardless of what region they are in.
2007-10-19 19:25:22 +00:00
mingchen f756b1ee1c *Added -useexecutepath to use the path of the .exe as the path to find configuration and libraries and not the current working directory. 2007-10-19 19:20:18 +00:00
lbsa71 9853db1708 * normalized line endings... 2007-10-19 12:57:40 +00:00
lbsa71 46700d3b7d * Total refactoring of Asset Server for massive win
* There is now a AssetServerBase
* lolcat in ur assets
2007-10-19 07:46:03 +00:00
Tleiades Hax d79a3cc5e1 r 2113 introduced a leak, this should fix the leak 2007-10-19 06:10:35 +00:00
MW 19f8b14120 small bit of refactoring 2007-10-18 19:17:07 +00:00
Tleiades Hax 05df857132 Possible fix for: Remoting exceptions with adjacent non-running sims.
Bugs 449, 454, 408, 244, 197
implemented InformClientOfNeighbours as an asynchroneous process, handling timeouts without blocking the main thread.

Improved logging of errors, removed catch all in try catch
2007-10-18 15:10:43 +00:00
lbsa71 404e2b6cf2 * Removed some comments 2007-10-18 14:25:59 +00:00
Charles Krinke 884edac78e Add gryc's patch to run commands in a shutdown_commands.txt file when the sim is shutdown. A config setting has also been added to OpenSim.ini. Thank you very much, gryc. 2007-10-18 02:13:06 +00:00
Charles Krinke fc9f0267ab Add "force-update", "command-script" & "show modules" to console help. 2007-10-18 01:42:47 +00:00
dan miller 7415eb7355 this might help with ODE errors. Or maybe not. YMMV 2007-10-17 05:43:35 +00:00
MW be0aebcc9a couple of small event changes 2007-10-16 15:09:06 +00:00
MW 0f1604a53f Couple of small changes to Xml serialising of SceneObjectGroups (shouldn't effect anything). 2007-10-16 11:16:25 +00:00
MW c2462bc8bb Added "LoadImageUrl" module , that is a dynamic texture render, that works with the DynamicTextureModule to allow loading of a image from a webserver and a texture of that image created. 2007-10-15 08:51:59 +00:00
lbsa71 9de589bc37 * Applied Chillken patch #419: consolidate_ports-r2096-3.patch - consolidated port number defaults. Thankx Chillken! 2007-10-15 08:42:15 +00:00
lbsa71 b48390213b * Applied Chillken patch #418: copyright-r2094.patch updating copyright messages. Thanks Chillken! 2007-10-15 07:25:32 +00:00
lbsa71 849eaffbe5 * Applied patch #418 : copyright-r2012.patch - some errors, but got most thru 2007-10-15 07:10:21 +00:00
lbsa71 77459edb70 * Chillken Patch #417 - upgraded version numbers to 0.4 - thanks Chillken! 2007-10-15 06:03:04 +00:00
Tleiades Hax 5a1e896edc OpenSimMain now respects the asset_plugin paramter, and storing of assets will *not* throw an exception 2007-10-13 12:35:37 +00:00
Tleiades Hax f6aeff6cc3 Added capbility to use MySQL as the database backend in stand alone mode for assets and inventory.
Added asset_plugin key to "StandAlone" section of OpenSim.ini
2007-10-13 09:21:08 +00:00
Tleiades Hax e8c1de8e72 2007-10-13 09:10:53 +00:00
Tleiades Hax 1232eb1c58 Asset server implementation. Again one of these "plumbing" releases, where no real functionality has been introduced, but ground work has been made, enabling the asset server, and preparing the sim server to query the asset server.
Introduced an "IPlugin" interface, which plugins can inherit from.
2007-10-13 07:26:21 +00:00
lbsa71 b77bf18079 * Just extracted a standard ToXml() on SceneObjectGroup 2007-10-12 19:31:37 +00:00
MW a19ec6fc54 Just trying out some thing with events, there changes/additions are likely to be temporary. 2007-10-12 15:26:19 +00:00
Charles Krinke 847be6b872 Change warning from "not a valid assembly" to "not a module assembly" 2007-10-11 14:26:59 +00:00
MW 86e5f82cb1 Some changes to the sending of updates of SceneObjects to clients, that I did a few weeks ago but never committed (and never completely finished what I had planned). 2007-10-11 10:50:55 +00:00
dan miller 23eeeaae03 fixes for nebadon"s terrain bugs; includes patched 0.9 ode.dll, libode.so 2007-10-11 05:54:56 +00:00
lbsa71 94d98e638e * Okay, so maybe Error was a bit harsh for BadImageException; downgrading to Warning.
* This commit brought to you by http://icanhascheezburger.com/
2007-10-10 19:11:57 +00:00
lbsa71 dbdacc26a4 * Now loading modules from ScriptEngines directory as well. 2007-10-10 18:40:09 +00:00
lbsa71 a40e7100a2 * Gave ModuleLoader some good lovin'
* Introduced ModuleLoader.PickupModules that currently picks up IRegionModule:s from /bin
* Made LogBase thread-safe (or at least not thread-ignorant)
* Ignored some genned files
2007-10-10 18:24:13 +00:00
MW 8cf2daa838 some refactoring 2007-10-10 08:30:36 +00:00
MW f2f173a00e small bug fix 2007-10-08 09:16:03 +00:00
dan miller 2d5f5e2b32 applied Darok"s BulletXPlugin changes 003.patch 2007-10-07 14:40:02 +00:00
Sean Dague 29aa41daa0 Code from Illumious Beltran (IBM) implementing more LSL
The functions implemented are:

llListen
llListenControl
llListenRemove
llOpenRemoteDataChannel
llCloseRemoteDataChannel
llRemoteDataReply

The events implemented are:

listen
remote_data
2007-10-05 19:33:26 +00:00
Sean Dague c3d8f1f425 getting all our line endings consistant again 2007-10-05 15:45:45 +00:00
lbsa71 d4a4aafaf1 * So, ok, maybe renaming serialized fields on a friday wasn't the smartest of things. Reverting 2056. 2007-10-05 13:54:16 +00:00
lbsa71 82bdf535df * minor refactoring
* using base type IUserService
2007-10-05 13:12:34 +00:00
MW 710b8375a9 Some tiny refactoring 2007-10-05 11:40:30 +00:00
lbsa71 ed6168b96b * UserProfileData meets code conventions 2007-10-05 11:27:46 +00:00
lbsa71 5a65521203 == The "right name and place" commit ==
* Moved InventoryData to Framework.Types/InventoryItemBase.cs
* Moved UserData to Framework.Interfaces/IUserData.cs
* Moved UserProfileData to Framework/Types/UserProfileData.cs
* Deleted ass-backwards Framework dependency on Framework.Data (now it's the other way round)
* Changed some namespaces to reflect file structure
2007-10-05 10:14:42 +00:00
lbsa71 342a813bd7 * Moved IUserService to OpenSim.Framework.Interfaces 2007-10-05 09:45:39 +00:00
lbsa71 10c36a2573 * Renamed IUserServices to IUserService 2007-10-05 09:41:41 +00:00
lbsa71 9076d5e1ac * minor renaming 2007-10-03 08:27:46 +00:00
MW 652654176a more refactoring 2007-10-03 07:50:07 +00:00
MW 9b1eefbcde Some continuation of lbsa71's refactoring of the CommunicationsManager. 2007-10-03 06:20:00 +00:00
dan miller d36316e1c9 Droppin da fyzyx bomb on ya
seriously, this is quite the update.  Fixes a number of nagging physics problems, including avatar shell size/shape
The internal logic is quite different, and CPU usage may be affected.
Also some work remains wrt flying.  Please test this rev out before you deploy widely
2007-10-03 01:59:43 +00:00
lbsa71 b5eaea7b0c * Moved setup of LocalInventoryService and LocalUserServices to the app layer
* Killed off 'parent' relation from LocalUserServices to CommunicationsLocal
* Deleted obsolete project InventoryServiceBase
* Deleted superfluous createCol function
2007-10-02 00:00:12 +00:00
dan miller 625164d3e2 removed debug statements 2007-10-01 16:26:15 +00:00
dan miller 034f0b4bb7 fixing odeplugin debug bug 2007-10-01 16:18:34 +00:00
dan miller d644b1f440 this should fix mantis 452 and related -- hollow prims work in Linux! (I hope) 2007-10-01 16:01:42 +00:00
Dalien Talbot d1df81c221 Applied ckrinke's patch for #453. Thanks Charles! :) 2007-09-30 09:01:51 +00:00
Dalien Talbot d20d621ab1 Corrected the typo in the folder name. 2007-09-30 08:50:49 +00:00
dan miller c1d3e93fbb Hollow prims (box only), thanks Gerard! Enjoy 2007-09-29 04:08:33 +00:00
dan miller a0265300aa Hollow prims (box only), thanks Gerard! Enjoy 2007-09-29 03:56:36 +00:00
dan miller 77a185f4ad this should fix 443 and compile! 2007-09-27 23:11:41 +00:00
dan miller 129d266867 this should fix mantis #443 2007-09-27 23:06:24 +00:00
lbsa71 863195612b Reverting back to 2017 since 2018 were causing Linux breakage; reopening Tleiades patch 444 and 445. 2007-09-27 14:57:43 +00:00
lbsa71 8143c597fc * Tleiades grid mode inventory (#444) - thanx Tleiades!
* updated to rev 1413 on libsecondlife.dll and libsecondlife.dll.config (#423)
2007-09-27 13:25:45 +00:00
Adam Frisby 569ba9eb9a Terrain:
* Attempted fix for lag/pause when doing lots of updates.
* Some naming fixes to libTerrain.
* Refactored terrain bitmap generation into a common call for both world map and export.

General:
* Switched some calls to Console.WriteLine to use MainLog.Warn/Verbose/Notice.
2007-09-25 11:48:43 +00:00
lbsa71 eb8640f368 * Now the OGS1GridServices has a LocalBackEndServices that it forwards intra-instance requests to
* Every Scene has a ClientManager (as every dog it's day) since two scenes can have the same circuit as client.
2007-09-25 06:33:18 +00:00
lbsa71 2219ccc5b0 * Fixed Culture-variant parsing of config options 2007-09-25 01:20:30 +00:00
lbsa71 3ac43d0120 * Removed some more fields from CommunicationsLocal
* added OnLoginToRegion to CommunicationsLocal
2007-09-24 23:58:43 +00:00
Adam Frisby 4e01aa4879 * Added time dilation property to Scene
* Default Terrain algorithm now produces something slightly less mountainous.
* Fixed lolcat
2007-09-24 16:39:26 +00:00
Adam Frisby b82b8b8f4f * Fixed an issue where it chose the smaller rather than larger of the two numbers for the update call. 2007-09-24 15:58:39 +00:00
Adam Frisby f5eac12a88 * Renamed ScriptConsole to PluginConsole for clarity
* Fixed a bug where ODE tries to do a physics update for zero frames.
2007-09-24 15:56:34 +00:00
Adam Frisby 48e0e05446 * Refactored the central update loop - now easier to work with. Switching from per-framecounts to per-second time periods and moving to OpenSim.ini shortly. 2007-09-24 15:46:03 +00:00
lbsa71 d4701d7ecc * Long days journey towards night 2007-09-24 12:39:03 +00:00
lbsa71 c8157da17b * Hotfix for 'properties all the way into the sunset' bug; it just doesn't make sense, but maybe we need to handle agentUpdates form children too.
* Ignored some bins
2007-09-24 12:19:33 +00:00
lbsa71 9f6b709f3c * the worlds most insignificant commit 2007-09-24 11:23:01 +00:00
lbsa71 9795b4f6c8 * Console output killed the cat. s/cat/sim/ 2007-09-24 09:37:40 +00:00
lbsa71 00ddeebf57 * So, ok, maybe a bit harsh to explode on grid inventory calls. 2007-09-24 09:19:31 +00:00
lbsa71 ee5f069e2a * Now there's only one UserService 2007-09-24 07:53:26 +00:00
lbsa71 1302ef44e3 * Started major restructusing of comms to prepare for better grid and region functionality
* Working towards one shared set of services
* Killed off two projects with very little functionality
2007-09-24 07:30:30 +00:00
lbsa71 9ccab46ae8 * Trying to streamline CommunicationsManager 2007-09-24 05:30:03 +00:00
lbsa71 6c41efa4e3 * reorder and rename 2007-09-24 05:20:23 +00:00
lbsa71 40468f18a4 * Encapsulated all CommunicationsManager services 2007-09-24 05:15:13 +00:00
lbsa71 13c1c33ed4 * Added TryGetAvatarByName 2007-09-24 04:49:05 +00:00
lbsa71 5818958a9a *** CHANGED CONFIG BEHAVIOUR ***
* Changed really strange LocalSettings behaviour with enforcing hard-coded plugin names if none supplied
* UserServices and InventoryPlugin will only load if supplied with filename
2007-09-24 02:41:13 +00:00
dan miller a9a126063f long-lost fixes to physics -- proper physical avatar management on crossings, TP 2007-09-24 02:40:13 +00:00
lbsa71 47256cebda * Renamed methods on IUserData 2007-09-24 01:31:00 +00:00
lbsa71 ce071417d4 * minor renames 2007-09-24 01:18:45 +00:00
lbsa71 79045abe68 * Renamed stuff on UserManagerBase to get implicit implementation of IUserServices (instead of stubs) 2007-09-24 01:16:21 +00:00
lbsa71 b3eeb5a8dc * Purged 'Regions' code pending Agent layer grok.
* Changed so prims aren't loaded until AFTER parcels.
* The region startup flow is still an ungodly rats nest.
2007-09-23 23:55:29 +00:00
Sean Dague 8dda11d17e fix to do hollow prims correctly. Reported from
http://bug.opensecondlife.org/view.php?id=394
2007-09-22 18:41:01 +00:00
Tedd Hansen 59f0920a8f Stand Alone ScriptEngine: early framework, ongoing planning (don't touch yet, will go through major reorganizing). Still a LOT of things needs to be solved... 2007-09-22 13:15:52 +00:00
lbsa71 64f4afcb43 * There. I think this concludes todays work on moving stuff to Broadcast() 2007-09-21 06:06:31 +00:00
lbsa71 34043cd351 * Slowly but surely working my way towards Regionality... 2007-09-21 06:00:34 +00:00
lbsa71 80a9b81448 * Yeah, I placed Close() in the wrong file. So sue me. 2007-09-21 05:34:40 +00:00
lbsa71 5fab795bf0 * Continued work on Region layer
* Added Close() to ScenePresence to remove and destroy PhysicsActor
2007-09-21 05:23:17 +00:00
lbsa71 e4a78a9b30 * Removed unused RegenerateTerrain functions 2007-09-21 05:04:59 +00:00
lbsa71 72b207173a * Removed unused LandRenegerated flag 2007-09-21 05:00:51 +00:00
lbsa71 b9808f8314 * First example of moving stuff to a Region layer
* Also, changed RegionPresence to 'RegionSubscription' - let's just see where we land with this...
2007-09-21 04:58:40 +00:00
lbsa71 409bcd999d * Continuing refactoring of presence
* Deleted stub ScenePresence.Body.cs
  * Added stub Region classes

The idea is to, at first, have every ScenePresence have one RegionPresence, moving code over to it until we can detach the two classes and not have a ScenePresence for every RegionPresence.
2007-09-21 03:13:49 +00:00
dan miller d3050724d8 physics-related fixes; should stabilize border crossings 2007-09-21 02:31:36 +00:00
lbsa71 3eb1a23ac1 * Removed Unused 'Entity' superclass 2007-09-21 02:11:19 +00:00
lbsa71 ca611c6668 * even more renaming and refactoring; the cleaning woman is on call. 2007-09-20 23:47:32 +00:00
lbsa71 101369e25a * Some more presence refactoring 2007-09-20 23:28:08 +00:00
lbsa71 7335e5710b Rev 1971 : The Lbsa71 vintage commit
* Refactored to prepare for some serious restructuring
2007-09-20 13:04:51 +00:00
lbsa71 14d5a2e9b7 * moved SceneManager to RegionApplicationBase
* Implemented SceneManager.StopScene() and Scene.Stop()
* Some SimpleApping
2007-09-20 07:49:11 +00:00
lbsa71 3c7161d128 * Rewired Touch to route to group/part (Still triggering EventManager as well) 2007-09-20 05:22:18 +00:00
lbsa71 4ce0c0794a * Added TryGetAvatar to SceneManager
* Refactored some names for clarity
2007-09-20 05:02:44 +00:00
lbsa71 2afbf8b22b * Added AddToPhysicalScene and RemoveFromPhysicalScene and added to MakeAvatar and MakeChildAgent respectively
* Removed unused m_child from ClientView
2007-09-19 04:19:27 +00:00
lbsa71 440819fab9 * Deleted unused RegionManager.cs
* Deleted unused ModuleAPIMethod's
2007-09-19 00:42:37 +00:00
lbsa71 9f7c0a015e * 'Use format string' ftw 2007-09-19 00:32:59 +00:00
lbsa71 8f0b03597b * Modernized ScriptManager to new interface-based module calls.
* 'remove redundant this qualifier' ftw
2007-09-19 00:30:55 +00:00
lbsa71 3f6b3f6b59 * Moved SendLogoutPacket back to IClientAPI. 2007-09-18 23:37:43 +00:00
lbsa71 f71b315592 * Now at least we're not creating physActors for child agents. 2007-09-18 22:12:16 +00:00
lbsa71 c8f51836b8 * Gave Connectivity some more (manly) love. 2007-09-18 21:51:09 +00:00
lbsa71 70d9cec3b5 * Yet some more connectivity restructuring
* We now have CloseAllAgents( circuit ) and CloseAllCircuits( agentId ) for great justice ( but alas, still only closing on one single scene - be brave! )
  * Login and ConnectionClosed now eventified and moveified awayified
  * Killed off unused NullClientAPI
  * Now the client is almost only responsible for its own closing. ( I will get that scene out of there )
  * Lookin' good!
2007-09-18 13:29:16 +00:00
lbsa71 0bac4b430c * Handlerized ViewerEffect
* Now there-is-only-client-manager
* First step towards moving Logout and ConnectionClosed out of Client and into something else (which will let us get rid of ClientView reference to ClientManager
* General posititvity, peace, love and understanding
2007-09-18 12:13:44 +00:00
lbsa71 a963b3057b * Replaced usage of ClientView with IClientAPI
* Some propertification and hideousness of fields.
2007-09-18 09:59:33 +00:00
lbsa71 ffb4f97a66 * Merged ClientViewBase into ClientView for great justice 2007-09-18 08:55:44 +00:00
lbsa71 26406efd55 * Made ClientViewBase abstract
* Deleted unused m_consoleRegion
2007-09-18 08:38:21 +00:00
dan miller 04e7fcd0e9 RemoveAvatar called from scene.cs; implemented in ODE. Still issues with multi-region; see bug 410 2007-09-18 02:38:10 +00:00
Sean Dague b8d9737a47 fixing me some line endings 2007-09-17 12:52:03 +00:00
lbsa71 df58154781 * Moved some commands from Scene into SceneManager so they could be used with 'root'
* Removed some duplicated commands
2007-09-17 07:31:15 +00:00
lbsa71 b3d2f8b8e2 *doh* 2007-09-17 07:10:23 +00:00
lbsa71 6961013c24 * CHANGED SOME CONSOLE COMMAND BEHAVIOURS
* Normalized 'change-region' so (almost) all commands are context sensitive (use 'root' or '..' to set 'all scenes' context)
  * 'terrain-sim' is thusly obsolete, use 'change-region', followed by 'terrain'
  * Introduced SceneManager to administrate operations on group of scenes and moved relevant funcs there.
    * In it, there's a ForEach(Action<Scene>) that either passes all scenes, or only current scene depending on context.
  * Changed default prim backup (save-xml/load-xml) xml to "prim-backup.xml"
  * Changed Disable/EnablePermissions to BypassPermissions = true/false;

Also:
  * Removed unused and non-existent project ref
2007-09-17 06:57:17 +00:00
Brian McBee 279177219e Fixed missing Axiom references. 2007-09-16 13:02:16 +00:00
Tedd Hansen c654506b18 Implemented: llSetText, llResetScript
Implemented: llHTTPRequest (queue, thread, etc -- but not actuall call)
2007-09-16 03:36:13 +00:00
Tedd Hansen 88968622ea Implemented: llStringToBase64, llBase64ToString, llXorBase64Strings, llXorBase64StringsCorrect, llGetTimestamp 2007-09-15 16:45:37 +00:00
Tedd Hansen cff586df68 Bugfixed: llListRandomize
Implemented: llListSort, llList2ListStrided, llDeleteSubString, llInsertString
2007-09-15 16:16:57 +00:00
Tedd Hansen c6344fcf94 llList2Key, llList2Rot, llList2List 2007-09-15 15:55:40 +00:00
Tedd Hansen ad042f1d75 Implemented llList2CSV, llCSV2List, llListRandomize, llList2Vector, llListFindList, llListInsertList, llDeleteSubList 2007-09-15 15:45:20 +00:00
Tedd Hansen 1e0f9604a6 Will display error in main chat if unsupported llFunction is used. 2007-09-15 14:57:07 +00:00
Tedd Hansen ed68a3894c Now loading "OpenSim.Region.ScriptEngine.Common.dll" into scripts AppDomain and "using OpenSim.Region.ScriptEngine.Common;" at start of script when converted from LSL. Vectors and rotations now works. 2007-09-15 14:22:38 +00:00
lbsa71 f8ddf7429e * Wired up chat so that channel goes into OnChatFromViewer. However:
* There's no libsl reply packet field for it, I guess other channels than 0 makes no sense sending back to clients.
  * We do not currently support objects listening, so there's really no way of actually using this feature.
So; somebody please wire chat all the way to the scripts.
2007-09-14 13:46:05 +00:00
lbsa71 1b1808d45d * fixed script compilation
* reversed //c# - if
  * rightifyed what's actually converted
2007-09-14 09:25:07 +00:00
Sean Dague 8849637493 more fun with LSL implementations 2007-09-14 08:57:13 +00:00
Sean Dague dddf61953b added ability to update group position 2007-09-14 08:55:22 +00:00
dan miller b31fc4980f ODE: no more slippin' & slidin' 2007-09-13 21:53:13 +00:00
Dalien Talbot 1703cacaab Added CLI "debug packet 0..255" to enable the in/out packet dumps with various verbosity 2007-09-13 16:39:04 +00:00
Sean Dague 23b8e39c1b llSetPos(), llGetPos(), llGetLocalPos() now implemented 2007-09-13 14:19:57 +00:00
Tedd Hansen 0709d96716 If first 4 characters in script is "//C#" script will be treated as pure C# instead of LSL/C# hybrid. This means no preprocessing before compile. 2007-09-13 14:15:02 +00:00
Sean Dague 888133e987 add some locks around DataSet manipulation to ensure we are doing this
safely
2007-09-13 13:10:21 +00:00
Dalien Talbot 7a9f5ed6b3 Fix the terrain heightmap load from images (tested PNG and GIF). 2007-09-13 13:09:14 +00:00
Sean Dague af6c9d355d implement llGetScale and llSetScale
drop IScriptHost for now and just use SceneObjectPart, given how many of
SceneObjectPart's properties we need for the script engine
2007-09-13 13:06:54 +00:00
Sean Dague afea5f2205 remove ^M, as native storage should be UNIX format, and ^M in/out mashing
will happen on the windows side now that eol-style is correct
2007-09-13 11:41:42 +00:00
Tedd Hansen cef8c5e9d7 Hiding evidence that I once was a VB coder (thanks to refactoring). Renamed member names to smallcapsy. 2007-09-13 11:11:08 +00:00
lbsa71 615487a756 Backup is now optional on classes
* Removed unused BackUp method on EntityBase
* Added overridable InSceneBackup property on SceneObjectGroup
* Refactored out AttachToBackup and DetachFromBackup
* Normalized namespace OpenSim.DataStore.MonoSqliteStorage to OpenSim.DataStore.MonoSqlite
2007-09-13 05:25:26 +00:00
Sean Dague 26eebf6b32 I think 1.0f makes a better offset than 1.2f for basic physics (less floating,
not too much crouching).  I think that we'll have to rethink what the
terrain resolution is down the road, as we don't really have enough sample
data to actually get people placed right on the land.
2007-09-12 10:56:04 +00:00
Dalien Talbot 7fd639a19e Kill little green men on minimap if the avatar logs off. 2007-09-11 15:11:10 +00:00
MW 3a1ddca8a1 Fixing namespace problems 2007-09-11 14:33:32 +00:00
lbsa71 b112539f95 * minor refactorings 2007-09-11 14:20:09 +00:00
MW 04cf04600c Applied ldvoipeng's patch [#360], sorry for it taking so long to apply it. If in future anyone's patch hasn't been applied within a few days, please can someone kick one of the developers with svn access. 2007-09-11 14:18:34 +00:00
Dalien Talbot bc86d33dbd Get rid of extra green men in minimap on region crossings (they were
child agents, not delirium tremens - thanks MW!); Get green men when
connecting; Update the green men in the region you leave.
2007-09-11 14:11:21 +00:00
Sean Dague b3777729b4 remove autogenerated files 2007-09-11 08:24:58 +00:00
MW e2e13a9756 Added part 3 of Darok's BulletX patch. The bulletX plugin is now a project in the opensim build/solution. To use change the physics setting in opensim.ini to "modified_BulletX". At the moment I have been unable to test this as when using the bulletX plugin for me opensim is using 100% of processor. 2007-09-11 07:04:05 +00:00
Brian McBee 1fb47bc4c5 Make grass and trees phantom by default. Same behavior as LL grid. 2007-09-10 19:35:51 +00:00
lbsa71 b134617e07 * Took a stab at #388 2007-09-10 13:42:11 +00:00
Sean Dague ffe9c9374a mass update of urls in source code to new website 2007-09-10 08:14:38 +00:00
MW 22dbe82b26 A couple of fixes to make sure db4o gets set as the default asset database. Also added a couple of console output lines to try to make it easier to tell which asset storage system is in use. 2007-09-10 07:48:22 +00:00
MW 91cc820f34 Added "asset_database =" option to opensim.ini, so the asset database can be selected. Currently set default back to db4o until more people test using sqlite. 2007-09-10 07:23:43 +00:00
MW 15423539f9 hooked up sdague new sqlite asset database provider to the old asset system. So we can still use sqlite for assets while we wait for the rest of the new asset system to be wrote.
Needs more testing, so if it causes problems will have to swap back to db4o.
2007-09-10 06:45:54 +00:00
dan miller 86e3fc3da2 added avatar updates for physics movement -- fixes gravity & avatar collision (ODE) 2007-09-09 21:21:09 +00:00
Dalien Talbot 907918e68e Little green men (aka dots on minimap). Thanks to bushing for
pointing out that it is done by CoarseLocationUpdatePacket.
2007-09-09 17:32:03 +00:00
dan miller 94b03aa09d ODE: added support for Phantom flag. Presently you need to add 1024 to ObjectFlags by hand 2007-09-09 15:28:15 +00:00
dan miller 588ab9f090 ODE fix: avatar/avatar collision enabled. Needs client update fix to be seen correctly. In the right repository this time.. 2007-09-09 13:24:18 +00:00
Dalien Talbot 3433f3814a Partial fix for the "avatars permanently facing east" - now the rotation
is set correctly, but only with the movement of the avatar.
The in-place rotation updates need a little bit of more thought,
and will be in a separate commit.
2007-09-08 16:30:39 +00:00
MW 741a967bb3 Added region console command "edit-scale". To use first use change-region to set the active region as the one you want. Then use "edit-scale <primitivename> <xvalue> <yvalue> <zvalue>" so a example is "edit-scale myprimitive 30.0 25.0 35.0" [ Note the primitive name can't have spaces in it. Also if there is more than one primitive with that name in the region, then it will edit the first one it finds. Also it currently doesn't search through the sub primitives of linked groups. So the primitive needs to be either a single primitive object or the root prim of a group. ] 2007-09-08 11:08:38 +00:00
MW 5020e4e602 Cut down on the number of compile warnings. Now down to 5: 4 are related to unused events on IClientAPI and 1 is a unused variable in LSL_BuiltIn_Commands (which I'll leave to Tedd, as he will know if it will be used in the future or not). 2007-09-08 08:12:19 +00:00
MW c29df824c2 Converted the LSL scripting engine into a IRegionModule, so now all "modules" share a common base interface and are loaded from the single loader. (It seems to work fine, but I have left the old scriptengine loader, incase we have to change back).
Removed the reference to OpenJpeg in the DynamicTextureModule, to see if that was causing the build problem someone is having. 
Added a Temporary fix for the "existing connection was forcibly closed by the remote host" exception on windows when a user logs out of a multiregion instance. 
Some early work to prepare for improving the way clients are updated (about prims etc).
2007-09-08 07:50:31 +00:00
Sean Dague 568ecc0fe0 remove build files from svn 2007-09-07 12:42:49 +00:00
MW 804e87861b added experimental method of trying to relieve missing prim problem (by adding a limit of the number of prim update packets sent in each update loop). 2007-09-06 14:15:16 +00:00
dan miller 3586beb81b fixed mantis bug 375 (copy broken with physics/ODE enabled) 2007-09-06 03:31:32 +00:00
MW aafc82cd18 Added "force-update" console command (when a region is set as active), which forces the region to send updates of all the prims to all clients. Not sure how well this is going to work with a few users on at the same time, but it might work as a temporary hack to relieve the problem of missing prims. 2007-09-05 21:36:55 +00:00
MW 4efc75eb66 Added "Local" and "Temporary" Fields to the AssetBase class. 2007-09-05 12:00:44 +00:00
MW 3450911a7e Just trying to get more debug info from a exception that has been reported. 2007-09-04 21:06:42 +00:00
MW c014ea1510 Added partial help info when calling "help" command with a region set.
Added AddDynamicTextureData() to DynamicTextureModule, so that a script (or another module even) can create a dynamic texture by passing a string with the data in, rather than a url. This could be used for anything from a script passing a basic text string (and having it rendered to a texture) or the script building its own html document.
2007-09-04 20:21:03 +00:00
MW e58a5c7a95 Fixed it so "shutdown" command works when a region is set as the active console region. 2007-09-04 18:28:35 +00:00
MW 76394f46a5 Part 2 of Darok's BulletX patches. 2007-09-04 18:14:45 +00:00
MW 725ef022c6 Part 1 of Darok's BulletX patches. 2007-09-04 18:03:29 +00:00
MW 710856e3d3 Removed the exit-region command, now use "change-region root" or "change-region .." to change back to root level. [Would be nice if the command prompt changed to show what the current region was, but think that will need changes to the console code so for now it will have to stay as it is]. 2007-09-04 17:53:21 +00:00
MW 0eef82291e Added "show modules" command that if at root level will display a list of loaded "shared modules" (modules instances that are shared by multiple regions) or if a region is set then will display the list of local modules loaded in that region.
Can now use "show users" when a region is set, to have a list of users in just that region displayed.
2007-09-04 17:09:47 +00:00
MW d7b7ff3d49 Using change-region without a region name will now display the currently active region's name. 2007-09-04 16:48:06 +00:00
MW 16cbc35f0c Fixed it so change-region works with region names that have spaces in them.
Fixed it so that change-region gives some feedback to show if its worked (found the region) or not.
2007-09-04 16:39:44 +00:00
MW bfd36e2e83 Some work on Module loading/management.
Some more modules templates classes (hoping that someone will pick some of these and work on implementing them).
Early version of the "Dynamic Texture Module", although currently there are no render modules included (so not really functional without them). 
Added osSetDynamicTextureURL script function, for attaching a dynamic texture to a prim. 
Some work on the console command handling. Added "change-region <regionname>" and "exit-region" so that after the use of change-region, the commands entered will apply to that region only. Then use exit-region to return to the top level (so commands then function as they did before and either apply to all regions or to the first region) (Note: this hasn't been tested very much)
2007-09-04 13:43:56 +00:00
dan miller 825a2208c6 ODE bugfix: multiple avatars now supported properly 2007-09-01 21:30:51 +00:00
dan miller 00d4d5a21b once more, without the debug statements (ODE multi-region fixes, various debugging) 2007-09-01 11:06:48 +00:00
dan miller 0901dfded1 umm, nevermind all that -- this is the real ODE region fix. I'll get subversion someday 2007-09-01 11:01:11 +00:00
Sean Dague 2163fc75eb remove some more rote Verbose strings, leave only ones that actually have something
interesting to say
2007-08-31 13:03:39 +00:00
MW f388a47254 Added a Debug method to the Console/log class that has the Conditional attribute (set to "DEBUG"), so we can use that for writing extra debug info to the console. [for anyone who doesn't know about the Conditional attribute, it is a attribute that can be set on a method, and then any call to that method will on be compiled if the terms of that condition are met, ie is this case only if "DEBUG" is true. So its a cleaner implementation of the #if #endif directives].
A few other minor changes.
2007-08-31 12:19:36 +00:00
Sean Dague a37275fe40 change debugging around failed prim loading. I have one prim that doesn't
like loading in my environment, and hopefully this will help figure out
what is going on
2007-08-31 11:48:29 +00:00
dan miller e158a45b09 danx0r (first checkin!) fixes OdePlugin.cs RemovePrim() lock bug 2007-08-30 23:23:44 +00:00
Tedd Hansen d03000062a Config option for loading ScriptEngine (wjordan)
Removed project file for ExcensionsScriptModule
2007-08-30 18:51:22 +00:00
MW e1505be97f Added some place holder classes for various modules.
Some work on the asset cache, can people please test this. including on one of the public systems so we can see if it causes problems with multiple users.
2007-08-30 13:47:04 +00:00
MW a7f7dfc0dc few small changes (all work in progress). 2007-08-29 19:09:45 +00:00
MW 9c0a855088 Remove a debug line. 2007-08-29 16:48:44 +00:00
MW 334dce42e7 Fixed the problem of prims not being loaded from the database (that my last commit created). 2007-08-29 16:35:22 +00:00
MW 36fba5e7e2 Various small changes (some likely to be removed again soon) 2007-08-29 15:39:57 +00:00
MW 1a33582c05 Attempt to cut down how often objects are backed up to the database. 2007-08-29 15:32:48 +00:00
Brian McBee 34b836307d Partial fix for corner-handle prim resize bug. Doesn't work correctly with linked-prims yet, but single prims are good (Thanks Dharma!) 2007-08-29 01:14:03 +00:00
MW 3a97f3f597 Applied danx0r's ODE patch [mantis number 340].
Corrected a few out dated things in the ExtensionsScriptModule.
2007-08-28 19:55:42 +00:00
MW 7915adc6c5 Corrected the namespace in OpenSim.Region.Physics.Manager, so now namespace should equal project and directory. 2007-08-28 18:40:40 +00:00
MW c16aafee09 Taken the old scripting engine out of Region.Environment and moved it into a separate module: OpenSim.Region.ExtensionsScriptModule (named as such because the purpose of it is to script server extensions, rather than "user scripting" like Tedd's engine.) 2007-08-28 18:30:28 +00:00
Tedd Hansen 5a149084d4 startup event on script added to object, not all inside object. 2007-08-28 18:22:48 +00:00
MW 31b895681a As part of our "we aim to please" commitment, have added the ability to create a user in one command line: "create user firstname secondname passwrd regionX regionY". This allows the use of the "command-script" feature. So to add a bunch of new accounts, just create a text file, and add a line as above for each account. Then in the opensim console, type: "command-script filename". 2007-08-28 18:09:36 +00:00
Sean Dague 2b3b1faf6d use order by ParentID to ensure root prims are selected first 2007-08-28 15:33:22 +00:00
MW 9a09b7532d Removed last commit, as sdague has also done a fix. 2007-08-28 15:29:37 +00:00
MW 1c503ad270 Attempt to track down the loading prims error. So Temporary fix to see if it is what we think. 2007-08-28 15:27:27 +00:00
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
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 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 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 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
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
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
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 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
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 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
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
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 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
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 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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
MW bd8018fa1c Today's work on Building support/tools. Think I am slowly getting there. 2007-07-03 20:10:20 +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
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
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 31649aa1d5 * Fixed scripting engine with a few minor updated namespace issues. 2007-07-01 11:24:50 +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
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 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