Commit Graph

30 Commits

Author SHA1 Message Date
Latif Khalifa
ec5fc8de80 * Renamed AssetType.Object to AssetType.Primitive and AssetObject to AssetPrim to clear up confusion
* Big cleanup of group functions, moving things from MainAvatar to GroupManager, renaming BeginGet* to Request*, and adding new functions and callbacks
* Added an Autopilot function that takes doubles as input (very accurate autopilot)
* Added Settings.CONTINUOUS_AGENT_UPDATES which defaults to true
* Added quotes to the post-build event in VS2005
* Added empty AssetSound and AssetClothing, feel free to fill them in :-)
* Client.Self.*Name are read only properties now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1357 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 20:16:19 +00:00
1262a83772 Fix for previous commit: Changed some voids to bools and fixed the return types (thanks Thoys)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1356 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 07:42:23 +00:00
51a698e428 * Added Client.Self.StartJump(), .StopJump(), .StartCrouch(), .StopCrouch()
* Added warnings for functions in MainAvatar.cs which use SendUpdate(), if SEND_AGENT_UPDATES is false

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1355 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 04:06:55 +00:00
1d73c86c9d Added Client.Self.SitOnGround();
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1354 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 02:24:35 +00:00
John Hurliman
50adfa5675 * Added Capabilities.CapsReceivedEvent that signals after the initial CAPS connection is made
* Complete rewrite of event handling for packets and CAPS events
 - No more nested generic collections for events
 - No more for loops for every packet callback
 - CAPS event handlers by event name
 - Asynchronous CAPS event handlers
 - Unregistering of CAPS events
* Added a stub SoundManager
* Increased packet buffer size to 2048 after I got an exception about it being too small
* Continued work on VoiceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1347 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-04 14:31:31 +00:00
John Hurliman
fa9b7830a3 * Added the beginnings of VoiceManager to libsecondlife.Utilities
* Added VoiceTest to test VoiceManager. For now you will have to manually run the voice daemon (shipped with Second Life) each time

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1345 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-03 07:07:49 +00:00
John Hurliman
6de95a27ac * Fixed several CAPS bugs and improved the overall stability and error handling
* Implemented a new logging system in HttpBase and the CAPS classes
* Quieted down the CAPS debug logging a bit
* Added a sanity check in libsecondlife.Utilities.DownloadSimParcels()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1341 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-02 01:09:53 +00:00
John Hurliman
a8567851d6 * Added HttpBase that serves as the foundation for the new CAPS system
* Rewrote CAPS to use HttpBase, connections now have 30 second timeouts and automatic retrying
* Implemented the static logging function in SecondLife
* Fixed a crash in the GotoLandmark command
* Removed some debug logging from FriendsManager
* Fixed an exception in libsecondlife.Utilities.GetWaterType()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1340 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-01 13:44:27 +00:00
2ad8b21982 Added Client.Self.AutoPilotCancel() and Client.Self.Stand()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1332 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-27 21:30:55 +00:00
Latif Khalifa
f462f44d23 *BREAKING CHANGES* Merging jhurliman branch with the trunk. The old AssetManager, ImageManager, and InventoryManager systems have been phased out and replaced by the new AssetManager and InventoryManager classes. The lowest network layer has been abstracted out and replaced, new networking callbacks added, and many small bugfixes made. AppearanceManager.Wear* commands have been commented out until they are ported to the new inventory system
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1296 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-13 14:49:36 +00:00
John Hurliman
0dc600e83b Merging aditi 1213-1274 in to the trunk, preparing for 1.18 release
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1286 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-11 16:17:06 +00:00
bushing
10eb61f1fc organized the settings a bit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1209 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-31 02:49:14 +00:00
0101cd5ffb * Added FriendManager.cs
* Added Client.Friends.RequestFriendship(targetID) and .RemoveFriend(targetID)
* Updated all existing 2006 copyrights to 2006-2007

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1207 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-28 17:22:14 +00:00
5e76b038f6 Added Client.Self.TurnToward(llVector3 target)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1196 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-21 19:57:37 +00:00
jef
32b485e34c Added GoHome and Teleport(LLUUID Landmark). And yes it can be anyones landmark. Also reorganized the testclient commands. But am leaving it to someone else to fix up the VS solution.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1195 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-21 05:52:28 +00:00
jef
a1fa2adcca Self.SetHome for the ability to set home to the current location. And a test client command. That someone else has to add to VS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1194 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-21 04:30:31 +00:00
John Hurliman
106b482faa * Lots more work on baking
* Fixed TestClient WearCommand (not heavily tested, subject to change)
* Removed System.Speech reference from TestClient project
* Textures.cs is going to eventually be replaced by TextureEntry.cs which is a lot more efficient, once it is working
* Added some Helper methods to prepare for the new TextureEntry replacement
* Bringing libsecondlife.Tests up to speed again
* New OpenJPEGNet function for generating baked textures
* Formatting cleanup in OpenJPEGNet

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1183 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-12 01:42:28 +00:00
d7a7f57f8d Added Client.Self.SendTeleportLure(<id>, [message]) - submitted by fw0rd
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1174 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-04 07:10:40 +00:00
baned
8d99380b7d * Removed leftover .NET 1.1 configurations
* Fixed obsolete warning for Login SSL Cert Checking
* Hopefully fixed HttpWebRequests not always closing (bug where too many timeouts causes perpetual failure)
* Fixed debug login logging of loginresponse.xml to not have to be able to read it back, and to no expect success writing the log
* Fixed a crash for OnGroupChanged if the event isn't set. I'm surprised I wasn't yelled at for this yet.



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1166 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-01 17:06:16 +00:00
baned
6aafd90210 * OnActiveGroupChanged() event added to Self
* SYNC_PACKETCALLBACKS is no longer a const setting, allowing it to be changed by library users in their own code (like me)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1156 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 23:47:45 +00:00
550d163a7a Applied patch for teleport finish exception, submitted by Ahzz
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1147 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-26 04:52:47 +00:00
John Hurliman
a8e1effe02 * ViewerEffect decoding is now complete (until further notice)
* Added Avatars.OnPointAt, Avatars.OnLookAt, and Avatars.OnEffect events for ViewerEffect packets
* ExportCommand can now export objects owned by the master
* ExportCommand can now optionally take only two arguments, and will export whatever object the master is pointing at (if permissions allow)
* Added a ShowEffectsCommand that shows all of the ViewerEffects the bot can see (VERY noisy)
* LookAtTarget enum is renamed to LookAtType

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1139 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-23 06:39:37 +00:00
John Hurliman
6e7af40682 * Fixed a crash when attempting to teleport with CAPS disabled
* The meaning of Settings.ALWAYS_DECODE_OBJECTS has changed slightly, agent updates are now always decoded regardless of this setting. Clients that are not doing object tracking and have this set to false should see less memory usage
* NameValue is now a struct
* LLObject.NameValues is now an array to help with performance and serialization

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1135 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-20 16:03:24 +00:00
John Hurliman
48f7aa5d0f * Attempted fix for issue 87, login redirects failing (new parameters were added)
* Added Caps.IsEventQueueRunning
* Teleports now fail immediately unless the event queue is running
* All Array.Copy calls have been changed to Buffer.BlockCopy
* Improved the GotoCommand, synchronous teleports are used and better feedback is given

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1124 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-15 07:37:53 +00:00
John Hurliman
3b6bfbc1ce * Caps initial connection is now asynchronous. This will fix the last remaining occasional lockup on program exit
* Fixed a lockup on exit and NullReferenceException when using ParcelInfoCommand in TestClient
* Basic (but incomplete) support for decoding foliage in CompressedUpdateHandler
* More exception handling in Login.cs
* Housekeeping in MainAvatar.cs
* Increased teleport and caps timeouts
* Added an LLVector3 * LLVector3 operator overload

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1115 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-13 20:02:21 +00:00
John Hurliman
f44c012f60 * Client.Self.Position now does acceleration/velocity interpolation
* Added LLVector3 * float operator
* Adding Oven.cs to Baker (will be moved in to libsecondlife later) that does the first baby steps of baking
* Added the missing Helpers.GetResourceStream() function
* Changed readonly Settings values to const


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1110 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-09 08:03:12 +00:00
John Hurliman
fabdeabf10 * AgentUpdate packets are now complete with the additional enums AgentFlags and AgentState. AgentUpdateFlags has been renamed to ControlFlags
* Fixed a bug where the blocking queue was holding up logouts for up to 15 seconds
* Client.Self is now updated by terse update messages along with full object updates
* Parcel.Update() now takes a bool specifying if we want a confirmation Packet
* An optimization has been added to MainAvatarStatus to prevent duplicate AgentUpdate packets from being sent out. If the avatar is staying idle it will use a lot less bandwidth now
* Default camera distance is now 384 so we see the entire sim

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1107 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-06 21:02:20 +00:00
John Hurliman
77a9c8bd23 * XmlRpcCS has been replaced with custom XML handling, all login code has been moved to Login.cs
* XmlRpcCS moved to SLProxy folder, since SLProxy still relies on it
* Client.Network.LoginError is now obsolete, replaced by Client.Network.LoginErrorKey and Client.Network.LoginMessage
* Client.Self now has StartLocation and AgentAccess strings after a successful Login
* Removed the null LLUUID check in _Packets_.cs since LLUUID will be a struct soon
* Fixed directories in mapgen.bat
* AgentThrottle class lives in AgentThrottle.cs now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1097 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-02 04:37:15 +00:00
jmalthus
5c22c546c5 Adding group write support (A bit untested.)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1085 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-30 13:00:56 +00:00
John Hurliman
1cb7f4c253 Huge svn cleanup!
* libsecondlife-cs is now libsecondlife
* All applications that are staying have been moved to trunk/
* SLProxy loads Analyst plugin by default if no other plugin is specified on the command line

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1068 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-26 23:12:39 +00:00