Commit Graph

136 Commits

Author SHA1 Message Date
John Hurliman
2582304f4e * OnImageReceiveProgress now returns the packet number it just received
* Texture re-request timer will now reduce the DiscardLevel by one each re-request. This is temporary while we re-think the callback system for texture downloads
* TestClient downloadtexture now takes an optional DiscardLevel
* Added int support to Utils.Clamp()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2246 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-29 13:58:08 +00:00
John Hurliman
a23f41fdca Simian:
* First pass at persistence support
* Fixed a chat crashing bug
* Remove avatars from the scene on logout
* Sanity check before adding objects to the scene in ObjectAdd
* Sanity check in CompleteAgentMovementHandler if the avatar is already in the scene
* Added ContainsKey() to DoubleDictionary

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2245 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-28 21:28:10 +00:00
John Hurliman
eb258fbf68 Added a TexturesCommand to TestClient to enable downloading of textures as they become visible to the bot
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2244 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-26 17:29:19 +00:00
John Hurliman
f6ae8f7ad6 Changed some terrain compression around and added TerrainCompressor.CreateLayerDataPacket() that uses patches instead of full simulator heightmaps. Useful for patch-by-patch compression of terrain, and creating wind/cloud LayerData packets
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2242 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-26 14:19:30 +00:00
John Hurliman
44e49f8195 * Reverted the Simulator.ParcelOverlay change to an array of enums, Buffer.BlockCopy and Array.Copy both barf. Added a comment that you can typecast afterward to decode the byte
* Finished TerrainManager.DecompressWind() and added TerrainManager.WindSpeeds. Holds a 16x16 array of Vector2s, each one representing the wind speed at a 16x16m area
* Added a WindCommand to TestClient to print the wind speed where the avatar is standing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2241 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-26 13:11:00 +00:00
John Hurliman
e7ce3997dc Adding AuthFreeForAll and AccountManager extensions to Simian to return things back to the original functionality. Additionally, user accounts are stored, passwords are checked after the first login, and the pieces are moving into place for account persistence to XML
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2239 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-24 15:06:59 +00:00
John Hurliman
4d45aa3a13 Simian:
* Adding IAuthenticationProvider and IAccountProvider interfaces to let extensions handle authenticating logins and creating/removing/storing account information

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2238 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-24 15:04:35 +00:00
John Hurliman
8eef021fa7 Simian:
* Added lots of members to Agent, preparing for serialization
* Added Clear() and Count to DoubleDictionary
* Moved CreateCircuit and unassociatedAgents functionality out of Simian core and into UDPServer extension

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2237 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-24 14:55:52 +00:00
John Hurliman
1e9ee1f5b6 Simian:
* Moved water height to ISceneProvider
* Removed + 3m hack for prim placement
* Added ParcelPropertiesUpdate handler. Media textures are working now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2235 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 16:33:42 +00:00
John Hurliman
858b230e6b * Added IParcelProvider and ParcelManager that provide very basic parcel information
* More sane default flags in Simian RegionHandshake

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2234 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 15:11:39 +00:00
John Hurliman
6b040fd03a * Moved ParcelManager enums out into the main OpenMetaverse namespace
* Removed some members from the Parcel struct that shouldn't be there

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2232 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 13:02:27 +00:00
cbf46e562e Changed Simian ping timeout to 60 seconds instead of 10.
Removed unnecessary references to System.Threading.
Fixed missing i++ in UUIDNameReply response loop.
Added preliminary support for friendships (still needs to reference the proper calling card folder)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2230 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-21 18:10:17 +00:00
John Hurliman
6497ef03ca * Modified ImageDownload to hold ImageType and DiscardLevel
* RequestImage() now takes a starting packet number as a parameter
* Image download refresh timer calculates which packet to restart the transfer at

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2227 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-16 00:31:55 +00:00
76bbff3c66 Fixed Simian instant message functionality between avatars (AgentID was not set in the AgentData block)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2226 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-16 00:11:22 +00:00
John Hurliman
3ef7649a81 * Defaulting AgentManager.Movement.AutoResetControls to false since most non-interactive bots will expect this behavior. May break a few bots that expect movement flags to be reset every update!
* Fixed a crashing typo in TestClient ScriptCommand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2225 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-15 23:37:35 +00:00
John Hurliman
805fb7c18d Simian:
* Decode layer boundaries when storing a texture asset
* Started fleshing out correct texture downloading
* Add avatars to the scene along with prims

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2224 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-15 23:17:21 +00:00
John Hurliman
939b2d50a8 * Added SleepCommand to TestClient which uses AgentPause and AgentResume to sleep for a given number of seconds
* Added ScriptCommand to TestClient to execute commands from a script

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2223 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-15 22:12:56 +00:00
John Hurliman
5caece8c45 Resolving [TC-51], added forward/back/left/right movement commands to TestClient and confirmed autopilot still functions
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2222 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-15 20:06:36 +00:00
John Hurliman
b10804c725 * Added ObjectDuplicate support to Simian
* Improved Simian PrimFlags handling for newly created objects

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2220 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-14 08:12:11 +00:00
Jim Radford
d73eca1a4f TC-50 Adds new viewnote command to download and display a notecard asset
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2216 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 23:46:28 +00:00
Jim Radford
1a886fb085 LIBOMV-375 Removes duplicate GroupPowers struct, adds XML comments to the one that stayed
LIBOMV-374 Adds new ModerateChatSessions method to AgentManager which allows a group member with Moderator rights to silence idiots
LIBOMV-372 Fixes exception thrown while using Group Chat functions caused by recent changes to the LL Simulator, Also fixes TestClient IMGroup command
* Adds (2) Events OnGroupChatJoin/OnGroupChatLeft fired when a member enters or leaves a group chat session



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2207 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-09 04:58:58 +00:00
John Hurliman
9fda90f2a0 Simian:
* Added IAssetProvider interface, converted AssetManager to new interface
* Some prep work to get ready for proper image delivery

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2206 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-09 00:41:55 +00:00
John Hurliman
451015b674 Removing ResendCount and TickCount from Packet class, moved to OutgoingPAcket struct. This is necessary to prevent big problems when sending the same packet to multiple destinations
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2204 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-08 23:57:31 +00:00
John Hurliman
9e243fd131 * Added a copy constructor for Primitive
* Changed Simian ISceneProvider model to run all scene modifications through function calls, and give callbacks access to previous and new data
* Added copy constructor for Simian's SimulationObject

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2202 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-08 18:23:16 +00:00
John Hurliman
53072cf669 * Adding GetHashCode override to Permissions
* Adding PrimFlags.None back (for OpenSim), marking as obsolete
* Slowly transitioning ISceneProvider to become the central resource of Simian (instead of the Simian class). The callbacks are going to change soon

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2200 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-06 18:02:38 +00:00
John Hurliman
f656d185a3 * Removed unused AgentManager.AgentMovementCallback
* Added Avatar.ControlFlags (not used by libomv directly)
Simian:
* Added ISceneProvider interface
* Fixed ObjectSelect crash (due to a packet block not being filled out if the selected object was missing)
* Simplified BuildFullUpdate()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2196 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-04 21:09:44 +00:00
1fb845c9d4 Fixed Simian agent object not being removed immediately on logout
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2193 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-31 02:03:13 +00:00
698718460b Fixed de-linking of prims in Simian
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2192 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-31 00:44:11 +00:00
7e07cf44f4 Added support for linked sets in Simian (unlinking is not yet supported). Moved static BuildFullUpdate and related functions to SimulationObject.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2190 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-30 22:48:37 +00:00
5adda79c5a Added timeout to Simian for disconnecting users after no packets are received for 10 seconds
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2189 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-30 18:23:15 +00:00
2596010481 Fixed Simian prims not being displayed to avatars on login
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2188 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-30 06:39:02 +00:00
John Hurliman
6b98b3ce8c * Implemented UpdateInventoryItem in Simian, added a FIXME note for CreateInventoryItem for gestures
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2186 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-29 23:06:29 +00:00
John Hurliman
8cc63abe61 Fixed a typo in the whitelist logging function
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2185 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-29 22:04:05 +00:00
a6662645b3 Implemented avatar sounds in Simian
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2184 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-29 20:31:12 +00:00
36bed01326 Hopefully fixes previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2183 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-29 19:48:20 +00:00
9ee1462e7d Fixed Simian gravity bug which caused "warping" when falling large distances. Added initial upward impulse when beginning to fly. Began implementation of environment sounds.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2182 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-29 19:29:40 +00:00
John Hurliman
62f083c1f4 Converted Simian's ObjectManager to use DoubleDictionary instead of two InternalDictionaries
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2181 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-28 22:35:19 +00:00
John Hurliman
fe869df89f Major change in Simian to abstract all UDP handling away from Agent into an IUDPProvider. UDPServer is now thinly wrapped with a UDPManager extension to provide the main packet handling facilities of Simian
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2180 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-28 22:11:47 +00:00
John Hurliman
274ca8a290 Adds a simple DoubleDictionary class to Simian that allows two keys to index the same value, and internally handles locking mechanics
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2179 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-28 22:04:25 +00:00
John Hurliman
0b751afd07 * Exposing Primitive.ConstructionData.profileCurve as public (Primitive.ConstructionData.ProfileCurve is still there)
* Added ObjectShapeHandler to Simian, basic prim editing is working

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2178 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-28 02:55:37 +00:00
John Hurliman
eb8ee37b34 libomv:
* Renaming ObjectPropertiesRequestType to ReportType, filling out the enum
Simian:
* Added UUIDNameRequest, MultipleObjectUpdate, ObjectDeselect, and RequestObjectPropertiesFamily handlers
* Fixed some bugs in object-object collision
* Slightly improved prim spawn location (will always be hacky until we have a collision system)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2177 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-28 02:38:32 +00:00
John Hurliman
5144fd6b32 * Added a null check in Utils.StringToBytes()
* Corrected Z position in Simian ObjectAddHandler

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2176 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 23:41:25 +00:00
John Hurliman
11776ef202 libomv:
* Completed DeRezDestination enum
Simian:
* Added IInventoryProvider to allow other extensions to create inventory items
* Basic derez support for deleting items (the new inventory items in the trash won't actually work because the assetID is meaningless until we have an IAssetProvider)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2175 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 23:27:48 +00:00
John Hurliman
87b91ffd38 Added --log-whitelist and --output options to GridProxy, to load a list of packets to log at startup, and to log to a file as well as the console
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2174 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 20:30:30 +00:00
John Hurliman
9713c4ae25 Applying Heightmap patch from Francis Chang, fixes display bugs and improves the overall visual quality
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2172 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 02:41:14 +00:00
John Hurliman
565f604560 * Added AssetAnimation, cleaned up AssetSound and a few others
* AcceptAllCertificatePolicy is now public so other apps can use it (such as GridProxy)
* Fixed a Simian bug in failed asset upload handling, and added support for animation and sound uploads

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2170 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-25 22:56:00 +00:00
cb59251c66 Fixed a problem with Simian horizontal jump impulse, fixed swimming at improper water level sometimes.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2169 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-25 21:39:39 +00:00
8054e49347 Added interactive water to Swimian... I mean Simian.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2168 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-25 21:08:13 +00:00
a41762de19 Simian avatar physics update: Fixed TERMINAL_VELOCITY not adjusting for elapsed time, adjusted horizontal inertia falloff for flying and falling
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2167 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-25 15:56:34 +00:00
bc44b7bda6 Simian avatar physics update: Removed horizontal resistance while falling, made jump distance constant, fixed animation switching to falling when descending from a long jump, fixed gravity still accumulating while "falling up".
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2166 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-25 15:33:15 +00:00