Jeff Ames
6ed5283bc0
Converted logging to use log4net.
...
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Teravus Ovares
b0c6baaeb0
* Adding the PhysicsCamperBot load testing app to the SVN in it's own folder. You'll have to build it separately to take advantage of it. *read the Readme file*. The bots created by this application roam around amusingly to simulate load.
...
* Be smart, Don't use this on a public grid, lest you get banned permanently.
2008-02-03 04:13:46 +00:00
Teravus Ovares
5e36feada2
* Mostly ODE update. Things are a bit more behaved then the last experimental update.
2008-01-28 03:25:02 +00:00
Teravus Ovares
f96d6ea2cd
Implemented a suggestion from Mic Bowman regarding border crossing and SignificantClientMovement.
2008-01-25 18:12:08 +00:00
Brian McBee
90b35beee7
Another try at fixing the Animations problem on region crossing.
2008-01-24 02:36:01 +00:00
Teravus Ovares
5cf96daaf2
* Enabled dead region tracking for ChildAgentDataUpdates
...
** If the region fails 3 times, then ChildAgentDataUpdates no longer get sent to that region
* Enabled Child_Get_Tasks in grid mode.
* When Child_Get_Tasks is enabled on neighbor regions, the neighbor region uses the client's draw distance to send out prim. This is a lot less likely to flood the client now since the ChildAgentDataUpdate contains both the throttle settings and the draw distance. This means that with this enabled, you can see prim in other regions in grid mode. Very experimental.
2008-01-22 08:52:51 +00:00
Brian McBee
288c4f4a44
Attempt to catch animation fubar on region crossing that causes client hang. Mantis 319.
2008-01-21 22:13:08 +00:00
Teravus Ovares
ecd6c1110a
* ODE Physics update. fixed weird rotation of the avatar surrogate.
...
* Set the avatar's radius to 0.37m, I think this gives the *best* balance between spaces the avatar can fit, and the ability to climb steps
* Fixed a few things
* Tweaked some more
* Played with gravity (-9.8m/s)
2008-01-18 02:26:43 +00:00
Teravus Ovares
feba36aaf3
* Fixed standing up so that you're at the new position of the prim if you move the prim and then stand up!
...
* Enter llSetPos elevators and conveyors n' stuff.!
2008-01-16 22:53:49 +00:00
Teravus Ovares
5dd741267e
* Added Agent Time, Pending Downloads, and made Agent Updates/Sec actually accurate.
...
* We're only missing, the script related sim stats counters and the Images time counter and the Pending Uploads counter. The rest of them are actually implemented now.
2008-01-16 05:48:40 +00:00
Teravus Ovares
0518369e3a
*removed a goofy debug line left in
2008-01-12 04:32:27 +00:00
Teravus Ovares
a3972257c8
* Added some of the finer control points to POS such as
...
** jumping
** crouching
** landing on prim
2008-01-12 04:29:36 +00:00
Teravus Ovares
f0b149dfc1
* Fixed situation where sometimes your avatar tries to land and gets 'put' 80 meters into the air immediately.
2008-01-04 04:09:18 +00:00
Teravus Ovares
3a83be1721
* Did a bit of estate work. Added some fields to EstateSettings.xml for estate managers.
...
* You can put UUIDs in those fields to give other users some ability to help manage a sim you own.
* Also started decoding the EstateOwnerMessage packet convolutions.
2008-01-02 10:06:43 +00:00
lbsa71
efd90b56b7
* Optimized usings
...
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
Teravus Ovares
87d55443d3
* Added slightly better object sit handling
...
* Added sit handling for sit targets
* Implemented llSitTarget()
* Implemented llAvatarOnSitTarget()
* Sit targets do not persist sim restart.
2007-12-27 03:25:00 +00:00
Teravus Ovares
9f2fb5ba70
* Play the 'landing' animation when landing and minimize the collision protection offset so the animations match up.
2007-12-26 22:26:45 +00:00
Teravus Ovares
f852b64555
* This update includes a wide range of changes to the ODEPlugin for avatar movement, including:
...
** - avatar can navigate stairs better now
** - avatar can land without shooting into the air
** - excessive collisions with the ground are tempered somewhat and should only shoot the avatar up 20m instead of 200m
** - Try Catched a TextureDownloadModule.cs array out of bounds error with a report that causes it not to crash the sim, however it reports a few important items for tracking it down.
2007-12-26 17:16:47 +00:00
Teravus Ovares
98f4a568ad
* Removed a debug message I left in there
...
* Added a few more comments.
2007-12-26 01:06:18 +00:00
Teravus Ovares
e008c3e4a9
* Added the ability to land automatically on prim by pressing the page down button when over them and colliding
...
* Reverted the avatar portion of the inter-penetration physics scene explosion management, it needs more work.
2007-12-26 00:57:37 +00:00
mingchen
0e6915ae48
*Ban lines now work if they are enabled grid wide.
...
*Restricted lines just give you a friendly warning for now
2007-12-20 16:50:16 +00:00
Jeff Ames
be2ad79e52
Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532
2007-12-20 05:43:02 +00:00
mingchen
8d84156551
*Added event called after any movement is handled (OnClientMovement) - will be used for parcel banning goodness
2007-12-20 03:24:34 +00:00
mingchen
a596b7696a
*Made a much more network friendly method of ban and pass line sending
...
*Added an event that is triggered when an agent enters a new parcel
2007-12-20 02:36:27 +00:00
Jeff Ames
6702b03733
Misc. cleanup:
...
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
2007-12-19 08:44:25 +00:00
mingchen
bd16dddce5
*Added Ban Lines around parcels for banned avatars, but there is no actual blocking done yet.
...
*Made the OnSignificantClientMovement distance from .02 to .45 to make it easier on the server.
2007-12-19 04:28:54 +00:00
Adam Frisby
7948033565
* Removed redundant code in RestService.cs
...
* Removed unchecked TryParse, replaced with Parse as we were not checking for success and could lead to weirdness if an exception is ignored.
* Removed unused variable m_newAvatar
* Removed several unused try{}catch(Exception e){}'s.
* Added null assignment in simpleapp to prevent warning.
2007-12-18 08:41:23 +00:00
Jeff Ames
fd09b22552
Enabled the sit_ground animation. The sit state is not properly set, but it looks okay, and doesn't seem to break anything. Just move around to stand up.
2007-12-13 19:44:47 +00:00
Jeff Ames
8338e4999f
Added placeholder for sitting on ground support. Doesn't work yet.
2007-12-13 18:59:39 +00:00
Jeff Ames
83ca8bd178
Fix for #176 (... doesn't appear in chat bubbles). This also gets the viewer to handle starting/stopping of the typing animation.
2007-12-13 07:10:32 +00:00
Sean Dague
100fb6a0b1
remove another partial class, and map another class back to a real file
2007-12-12 20:45:39 +00:00
Teravus Ovares
081f4403ea
* Added some simstats to fill the simulator pane of the Statistics monitor.
...
* I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
2007-12-12 06:58:55 +00:00
Jeff Ames
77841fe35e
Minor cleanup/refactoring of ScenePresence.
...
Changes flying animation to hover when not moving (as per Teravus's suggestion).
2007-12-11 18:03:25 +00:00
Teravus Ovares
2349dc2e27
* Added comments to many methods in the listed files.
2007-12-10 21:12:38 +00:00
Jeff Ames
40fd37f95a
Refactored animation handling in ScenePresence. Now maintains a list of current animations.
...
* Fixes weirdness when typing and sitting at the same time
* Should fix bug #32 (getting stuck in edit appearance pose)
* Crouchwalk and possibly jump may need more looking into
2007-12-10 15:08:44 +00:00
Jeff Ames
af6eb67999
saved OpenSim source code from the giant rampaging unterminated copyright notice of doom
2007-12-10 05:25:16 +00:00
Teravus Ovares
e595f82489
* Hooked up the GridComm event ChildDataUpdate to the scene.
...
* Added List<RegionInfo> m_neighbours to Scene
* Hooked up the OnRegionUp event to m_neighbours list
* Modified RegionInfo to have a bool commFailTF value so that we can skip neighbors that fail. (when the region comes up, this gets reset to false and the region will try again.
* Added SetChildAgentThrottle(byte[]) to IClientAPI
* Several other insignificant changes related to passing child pertanant agent data from sim to sim.
2007-12-10 00:46:56 +00:00
MW
e23290eff6
Avatar Appearance refactoring /changes. Added a AvatarAppearance class, each ScenePresence "has" a AvatarAppearance object. All the ScenePresences in a opensim related to one user (so a user's various ScenePresence's in all the regions in that instance) share the same AvatarAppearance object. This means that a user's avatar should appear correctly (to both that user and other users) no matter what border crossing or teleporting they have done.
...
Note: this mainly improves Standalone mode, as in grid mode the appearance data isn't passed between region servers. Although people should notice a improvement when moving between regions in the same instance.
2007-12-07 17:23:11 +00:00
Adam Johnson
3d938f76b7
Updates to LibSL revision 1498. Thanks Johan!
2007-12-07 08:54:31 +00:00
Jeff Ames
a45118d35e
added one more command to the console help.
2007-12-07 02:00:35 +00:00
Jeff Ames
73599c0f25
removed obsolete Verbose() function
2007-12-06 18:17:44 +00:00
Teravus Ovares
bb824eadee
* Refactored Permissions into ScenePresence as requested by MW
...
* Un-hackerized generating the client_flags
* Now handling the ObjectPermissions Update packet
* Warning: Backup your prim before updating. If you fail to do so and something goes wrong then, All Yr prim are belong to us!
2007-12-05 06:44:32 +00:00
Jeff Ames
f195725db4
keeping opensim safe for children -- made some namespace references less explicit
2007-12-04 22:14:53 +00:00
Adam Frisby
be7ae3dd3e
* Removed 12 compiler warnings.
2007-12-04 08:18:09 +00:00
MW
ac77c32453
Attempt to fix mantis issue #82 , taking prims into inventory and then rezzing them in another region.
2007-12-02 20:43:21 +00:00
MW
5ae8759de1
Added some error handling (and console output) to BaseHttpServer.
...
a few other bits of refactoring.
2007-12-02 18:49:42 +00:00
Jeff Ames
2852cd9d73
attempt to fix sitting-related bugs #3 and #67
2007-12-01 21:45:43 +00:00
lbsa71
7704bb6f63
* Fixed neighbour range bug
...
* Various refactorings
2007-11-29 15:27:57 +00:00
Teravus Ovares
944b118c62
* Added a way for the Region master user to kick individual users from their sim with a custom message. Their client says, "You've been logged off of secondlife, <Your custom message here> and logs them off.
...
* Added a way for the Region master user to kick *ALL* users from *ALL* their regions in the estate with a custom message.
2007-11-24 03:28:42 +00:00
Teravus Ovares
52714c339e
* Hanling RequestGodlikePowers. On Request.. sends the sim owner's client the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets....
2007-11-24 01:38:36 +00:00
Teravus Ovares
d7ec786244
* Added a nice 'The Region is going down.' message to the user when the sim owner issues 'shutdown' on the console.
2007-11-24 00:19:48 +00:00
Teravus Ovares
1ecd803e87
* added some functions for use in raytracing. They're kind of crappy now, so they only display 'guesses' on the console when you rez a prim.
...
* any math gurus who'd like to improve rezzing need only to make the raytracer in SceneObjectPart work :D
2007-11-23 05:56:35 +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
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
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
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
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
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
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
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
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
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
Jeff Ames
ad002835d3
enable typing animation for chat, maybe
2007-11-12 20:25:59 +00:00
Jeff Ames
33ac0653a3
fixed chatting while sitting
2007-11-11 04:44:52 +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
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
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
lbsa71
e1e611452b
* UpdateWearable should SendOurAppearance
...
* Ignored some bins
2007-11-05 09:16:42 +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
lbsa71
4fad66f855
* Diuerse beavtificatems
2007-11-01 19:19:05 +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
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
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
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
Jeff Ames
2cf117cc6c
Added preliminary support for sitting on prims
2007-10-28 03:58:46 +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
Adam Frisby
3143768468
* Removed plenty more untagged console messages. Everything now has shiny groups. :)
2007-10-22 22:37:39 +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
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
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