Commit Graph

1893 Commits

Author SHA1 Message Date
John Hurliman
7f8d162043 Moved ProfileFlags into the main namespace
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2250 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-01 00:09:20 +00:00
John Hurliman
f2da22a6a3 Adding default Simian texture assets, fixing permissions on default clothing and bodypart items
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2249 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-01 00:04:11 +00:00
Jim Radford
f4de381bc1 LIBOMV-387 Adds methods and handlers to GroupManager to support getting group notice list and retrieving the notices, Thanks to Robin Cornelius for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2248 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-30 21:36:33 +00:00
Jim Radford
c9356000dc LIBOMV-389 Switches deprecated EnableSimulator packet over to CAPS handler instead of through our generic caps->udp serializer, this doesn't change the behavior it only gets rid of the flood of messages when Settings.MULTIPLE_SIMS=false;
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2247 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-30 21:26:30 +00:00
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
42a53335f8 Fixed some array bugs in the new TerrainCompressor.CreateLayerDataPacket()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2243 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-26 15:38:42 +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
016824b642 Applying patch from [LIBOMV-386] by Robin Cornelius to return randomly generated request IDs from GroupManager.RequestGroup* functions
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2240 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-25 11:15:48 +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
48aa4a6c19 * Encode uints as LLSDBinary instead of LLSDInteger so high values can be properly stored
* Added LLSD.ToObject() that does the opposite of LLSD.FromObject()
* Added LLSD.SerializeMembers() and LLSD.DeserializeMembers() to allow automatic serialization of simple container objects
* Fixed Utils.BytesToHexString() to not output trailing whitespace

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2236 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-23 23:26:39 +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
8e70446f3c * Added Utils.CopyBytes() to OpenMetaverseTypes, should be used any time a byte array is grabbed from a packet member and directly assigned to another variable
* Moved Simulator enums (RegionFlags and SimAccess) into the main OpenMetaverse namespace
* More comments

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2233 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 15:05:14 +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
John Hurliman
640ccaf2ee Added Parcel.LandingType enum, changed Parcel.LandingType to Parcel.Landing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2231 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 08:49:34 +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
Jim Radford
8876dd9363 LIBOMV-385 Corrects incorrect seed caps names, Thanks Brandon Lockaby for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2229 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-17 00:40:33 +00:00
John Hurliman
2b8196c8d9 Fixing bugs in the previous commit for refreshing texture downloads
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2228 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-16 01:48:27 +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
Jim Radford
c277025287 LIBOMV-196 Exposes various group cache data we store to public using our InternalDictionary class
* Adds ActiveGroupPowers field to AgentManager which holds currently active groups GroupPowers for current avatar

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2221 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-14 08:12:51 +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
be51acd649 Updating Unit tests, disabled U64Receive test which keeps failing due to when the test is being called
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2219 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-13 06:33:41 +00:00
Jim Radford
038c6eede0 LIBOMV-379 Added Animation type support to wrapper creation in AssetManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2218 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-13 03:16:21 +00:00
Jim Radford
cc91647129 Fixed UUID comparison in agentmanager, Strings need to be typecast to (UUID) (or better yet compare against UUID.Zero instead of null)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2217 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-13 00:10:47 +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
9ef3255474 LIBOMV-377 Increasing UDPPacketBuffer size to 4096, fixes exceptions being thrown when large inventory packet is received exceeding the previous buffer size. This will increase memory usage slightly
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2215 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 21:36:44 +00:00
John Hurliman
e0cfefc977 Applying patch by Brandon Lockaby in [LIBOMV-376] to fix BinaryBucket parsing in ChatterBoxInvitation events
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2214 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 19:31:30 +00:00
John Hurliman
25fbd86836 Fixed Vector2.DistanceSquared() in OpenMetaverseTypes, thank you Francis
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2213 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 18:40:18 +00:00
Jim Radford
043d1da5f2 Updates installer script, adds installer graphics, updates LICENSE.txt to match current header files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2212 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 07:27:46 +00:00
Jim Radford
d25f89d854 Fixed another LLSD type conversion issue
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2211 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 00:39:58 +00:00
Jim Radford
03b6a4a9a1 * Fixed up some XML Comments in InventoryManager to clear up compile time warnings,
* Fixed casting issue in AgentManager which was causing compile issues on some platforms

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2210 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 00:32:05 +00:00
John Hurliman
4f94adf5ec * IMPORTANT OpenMetaverseTypes CHANGE! Changed string to UUID typecast operator from implicit to explicit. This prevents accidents like "if (myUUID == null)" from compiling
* Added ImageCodec enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2209 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-10 18:42:11 +00:00
Jim Radford
857b78c2cf Adds additional inline XML documentation to GroupManager, Fixes group notice serialization routine to use our StructuredData tools (needs to be verified working)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2208 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-09 07:30:04 +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
acda9ee118 * Asset decoding now returns true by default for assets that have no decoding routine
* Added AssetTexture.DecodeLayerBoundaries() for decoding the byte boundaries of quality layers

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2205 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-09 00:35:24 +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
e0caa6a48e Neutered the NUnit network tests to prevent a failure when the test bots logs into the wrong sim (very common, not our fault)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2203 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-08 18:42:05 +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
9b3545c52b Resolving [LIBOMV-373] by un-obsoleting some of the PrimFlags
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2201 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-06 22:38:17 +00:00