Commit Graph

1327 Commits (b7178ec2412b9defe4868330aacb4fdb2fe53db1)

Author SHA1 Message Date
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 6866dc5297 Additional debugging output to see for what coordinates is the worldmap
requested (crash is gone, but tons of worldmap requests)
2007-11-18 06:16:39 +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 6ad471abc0 set svn:eol-style 2007-11-17 08:39:59 +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
Jeff Ames 946db5461c catch exceptions when loading malformed xml files 2007-11-17 05:53:12 +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
lbsa71 61b301cbcd * moved outer tool dir into inner tool dir 2007-11-14 11:22:01 +00:00
Brian McBee 666bd6f06e Another try: Fix moon bleeding over into linden grid. Need to clear your cache to fix it. 2007-11-14 06:00:03 +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
Brian McBee 46fbcad2aa Fixed bug in assetcache where certain textures were not being packetized correctly 2007-11-11 00:11:34 +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
Adam Frisby 3a5ae43d5e * Fixed compile issue. 2007-11-09 02:13:07 +00:00
Adam Frisby c93f7188c7 * Added a mutex to the LoginService allowing only a single login simultaneously. (queues)
* This is a temporary fix to prevent an issue with adjohn reported when attempting to login large numbers of users in a short period of time.
* A rewritten login service is on the cards.
2007-11-09 01:59:18 +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
Adam Frisby 7896a0c453 * Temporarily reverted SQL syntax. 2007-11-05 01:35:17 +00:00
Adam Frisby 181dd8d8dc * Changed MySQL Syntax on Region Updates for Grid Server. 2007-11-04 23:31:35 +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
Adam Frisby 9f4ae7230f * Small touchup of console messages 2007-11-04 20:37:55 +00:00
Jeff Ames e0cfa89d83 normalized line endings 2007-11-04 14:52:19 +00:00
MW 18ae60db37 Deleted Regionloader .csproj files. 2007-11-04 14:40:16 +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
MW d34ee746e7 add a IAssetProvider.CommitAssets() call to the grid asset server, when a asset is uploaded to it. Don't think the MySql provider needs this call but the Sql provider does else the assets don't get written out to the database file. 2007-11-04 10:46:05 +00:00
MW 19fe9a0208 Do I really have to write a log entry, can't I just hide this commit somewhere so its added but doesn't show up anywhere. As I can't believe I would make such a stupid mistake and not notice. 2007-11-04 10:40:28 +00:00
Tleiades Hax dfc6108f1b removed our own inplementation of UUID's, it wasn't used anywhere. 2007-11-04 06:15:43 +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
lbsa71 5b4e4cb3ac * Removed unused UDPServerBase 2007-11-03 15:51:02 +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
MW 91c2c3c096 testing different rest post method/class for Grid asset client. (possible that I haven't set the post url correctly) 2007-11-03 14:04:59 +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
Sean Dague 21e47f8ef0 debug tracing for asset server hangs 2007-11-01 22:01:26 +00:00
Tleiades Hax 317ef312bd Need to clean up resources when creating/updating assets 2007-11-01 21:38:41 +00:00
Tleiades Hax cb2ae6eaed 2007-11-01 21:36:47 +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
MW 7a66eff8af renamed FetchAsset to RequestAsset on IAssetServer, as think its a more fitting name. As the call shouldn't actually return the data, but just add a request for the data to be sent back via the callback. 2007-11-01 17:28:38 +00:00
MW 88f04731ca Test on the grid asset problem, don't update to this version unless you just want to test to see if this fixes anything (but it could just as well break grid assets even more). 2007-11-01 15:54:59 +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
lbsa71 b3aa6e616b * Took a stab at #500 by making sure there is only one place stuff gets added, and that that place is thread-aware.
* Refactored it to TryGetValue instead of Contains
2007-10-31 20:39:52 +00:00
Tleiades Hax 5fb956f75a Improved logging, to identify which asset fetch caused an execption during retrieval of assets from the asset server 2007-10-31 18:49:40 +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
Sean Dague 048939fbb5 fix typo in filename 2007-10-31 14:08:12 +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 720065ef9e forgotten file 2007-10-31 09:26:06 +00:00
MW a9ad16b13a some small changes 2007-10-31 09:18:24 +00:00
Jeff Ames f42afe81af added .dat extension to dumped asset files 2007-10-31 08:07:20 +00:00
Jeff Ames 13854d562f fixed filenames in log messages 2007-10-31 07:56:31 +00:00
lbsa71 064404ab40 * Moved OpenSim/Framework/General to OpenSim/Framework for great justice. 2007-10-31 07:28:23 +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
Jeff Ames 98b238cf6b set svn:eol-style 2007-10-31 01:21:04 +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
lbsa71 a8c42a5829 * doh II 2007-10-30 17:28:41 +00:00
lbsa71 9e34f04cbb * doh 2007-10-30 17:19:34 +00:00
lbsa71 90e7c59c11 * Added OpenLifeGrid to Launcher 2007-10-30 17:13:30 +00:00
lbsa71 6865f5cbd4 * Now the launcher actually WORKS. Yay. 2007-10-30 16:55:24 +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
MW f6e8cbbd06 Fixed a bug in SQLAssetServer that only seemed to be a problem when running under the MS .net Runtime, but was fine with mono. 2007-10-29 15:58:52 +00:00
MW 0837f6b78d fixed one bug (where the assets we read and created from the OpenSimAssetSet.xml file, weren't actually getting added to the database). This should make textures/assets work again with db4o, but still seems a problem with sqlite 2007-10-29 14:37:08 +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
lbsa71 fb6aa6eafc * Added 'Jim' and 'Goblin' shapes; not available in inventory yet though 2007-10-27 11:45:52 +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 60e4541865 Created a generic RESTClient component, which simplifies querying for resources from REST based web-services.
Currently it supports a barebones scheme for specifying the path of the resource and querying asynchroneously. POST method is still wacky and a good solid scheme for handling timeout still remain.
2007-10-25 09:26:47 +00:00
Tleiades Hax 51c782d6ad Introduced a build error in the last patch 2007-10-24 04:14:24 +00:00
Tleiades Hax 62e695d3ee Preparing for grid wide assets 2007-10-24 04:11:09 +00:00
Tleiades Hax 44ee28d963 Part of supporting gridwide assetss. A little premature release, but I'm tired of conflicts. 2007-10-24 04:07:41 +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 4dc8e7e0f8 * Added a lock to the user profile cache to prevent simultaneous duplicate additions to the database. (Attempting to fix bug reported by nebadon) 2007-10-21 22:53:54 +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