Commit Graph

57 Commits

Author SHA1 Message Date
John Hurliman
6442eb9fbd * Changed the InstantMessageCallback to use enums instead of bytes
* Fixed several inconsistencies and missing values in the InstantMessageDialog enum
* Consolidated the InstantMessage overrides down to four functions, made the IM behavior closer to the actual client in some cases
* Better handling of CAPS errors on logout
* Added ClickObject
* Fixed incorrect flags setting in Parcel.Update()
* Converted Primitive.ClickAction to an enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@990 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 01:41:12 +00:00
John Hurliman
539a4863fd Fixing broken XML comments all over the place
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@987 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-16 00:50:19 +00:00
John Hurliman
e92257ba8d * Added BuyObject and SelectObject
* Simplified the login call in some of the samples
* Converted OnChat to use enums instead of bytes
* TestClient uses MainAvatar.Status instead of sending it's own AgentUpdate packets now
* Slight cleanups to MainAvatarStatus
* Consolidated the DefaultLoginValues functions and added another Login override
* Converted two foreach loops in NetworkManager to for loops for performance
* Duplicate and resent packets are logged at Debug level now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@984 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-15 22:13:44 +00:00
John Hurliman
a20e1dcd6c Finished LookAtEffect()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@978 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-13 05:23:37 +00:00
John Hurliman
6de6422afa Added missing fields to BeamEffect and PointAtEffect
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@969 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-11 01:36:54 +00:00
John Hurliman
eb3f786ff4 * Reverted Packet.TickCount back to public
* Fixed typos in the StartLandSearch overloads

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@968 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-09 00:14:39 +00:00
John Hurliman
b62542f517 Added an offline boolean to the advanced IM function (instead of always setting offline to true)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@966 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-08 04:29:22 +00:00
John Hurliman
1f6ab78344 Added InstantMessageGroup functions
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@965 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-08 04:25:29 +00:00
John Hurliman
04847ea5c6 Clients only have one circuit code per login session, so CircuitCode lives in NetworkManager now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@962 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-07 00:37:39 +00:00
John Hurliman
ee4c9fffe1 * Thoroughly reworked and tested the teleporting functions
* Added TeleportFlags and TeleportLureFlags enums
* Killed some noisy debugging from ObjectManager and replaced with a FIXME plea

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@955 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-06 08:30:25 +00:00
John Hurliman
f8534129a1 Everything changed. Clever commit message TBA
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@952 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-06 00:08:51 +00:00
John Hurliman
658b703ba8 Missed this file in the last commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@950 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-04 23:00:20 +00:00
John Hurliman
2a29dc70ee * Part two of the major object restructuring
* Fixed a bug with the LogoutTimer not dying
* Major surgery on how objects are decoded off the wire, handles more cases now
* Added support for lots more object and primitive parameters
* Added several new Helpers functions for converting bytes to values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@923 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-30 12:47:47 +00:00
John Hurliman
e7843229e9 * Refactored PrimObject and Avatar in to Primitive and Avatar that inherit from LLObject, major restructure
* Latest version of Utilities.Appearance
* Rolled ImageManager in to AssetManager in Utilities.Assets, plus bugfixes
* Added sanity checks to the AgentThrottle stream values
* Added a function to convert a ulong to an LLUUID (for a weird situation with the Xfer system)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@915 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 22:20:12 +00:00
John Hurliman
f7ee6bb2ee Added handlers for TeleportCancel and TeleportLocal (TeleportLocal isn't 100% complete and I don't know what triggers TeleportCancel)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@913 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 05:13:10 +00:00
733011ea98 Removed Client.Self.SetAlwaysRun(bool) and changed all occurrences of it to new bool Client.Self.Status.AlwaysRun property.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@912 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 04:38:55 +00:00
John Hurliman
3a94792761 * Reworked the Login functions, added documentation and (untested) support for login redirects
* Converted _VisualParam_ back to a static array after further analysis
* Rewrote AppearanceManager to work with the VisualParam rewrite
* Cleaned up ImageTool
* Minor cleanup and FIXME note in name2key.exe
* Cleanup and FIXME note in Teleport.exe
* Reorganized the function naming in GridManager to make more sense (not completely done here)
* Added an enum for requesting the object or terrain layer for the map blocks, and more sun properties
* Made some of the MainAvatar properties read-only (eventually they will all be read-only)
* Added try/catch safeties in openjpegnet
* Finally killed the evil SecondLife.Tick()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@905 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-26 22:01:56 +00:00
John Hurliman
58040e48f8 * Moved ViewerEffect handling to AvatarManager
* Reworked the teleport system to get rid of bad Tick and Sleep calls and clean up callback confusion
* Removed the DownloadInventory() command and replaced all usage of it with fixme notes as it was found to be potentially dangerous to simulators
* Updated the VS2005 solution file with openjpegnet and VisualParamGenerator
* Removed a Sleep call from NetworkManager
* Moved SecondLife.Debug boolean to SecondLife.Settings.Debug

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@902 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-25 13:02:20 +00:00
0d884ece39 Fixed missing TransactionID in MainAvatar.AutoPilot
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@892 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-24 02:56:35 +00:00
John Hurliman
1a87ce9b17 Fixed the libsecondlife.Utilities build on NAnt and added another sanity check in the teleport handling
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@870 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-22 06:37:10 +00:00
John Hurliman
14914a6bbb * Fixed another null reference exception in asset code
* Added a debug logging on/off command to TestClient and a research command that is just a sandbox for random testing
* Fixed the teleport callback
* Added VisualParamGenerator that is like BodyShapeGenerator but different

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@867 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-22 01:15:08 +00:00
John Hurliman
b67c837838 * Added a big endian byte to uint converter
* More work on my asset manager
* Fixed the UTF8 string conversion
* Caps.Dead is an internal variable now
* Fixed endianness in the teleporting routine

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@864 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-20 09:13:46 +00:00
John Hurliman
e60a803dce * Added a FieldToUTF8String method and converted some of the MainAvatar functions to use it as an experiment (needs testing!)
* Added try/catch blocks around the callbacks in ObjectManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@863 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 23:19:45 +00:00
otakup0pe
734129388e Added host->network conversion in TeleportFinish for next sim. Teleports work now. Someone test on PPC.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@862 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 21:44:31 +00:00
Michael Cortez
a4ddb0d8db Refactor ObjectManager to allow subclassing. For an example of a subclass see the ObjectOverlord (ObjectManager w/ Object tracking) in the Feathertail project (http://code.google.com/p/feathertail/)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@861 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 20:53:05 +00:00
John Hurliman
2cbfdfef13 Fixed the TestClient project in VS2005 and more cleanup on Caps
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@860 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 13:30:56 +00:00
otakup0pe
77c5088e98 Added patch #1826 & #1825. Cleaned up a few warnings in TestClient. WearCommand, DeleteFolderComand and InventoryCommand all need to cease using InventoryManager.DownloadInventory
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@858 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 10:43:30 +00:00
John Hurliman
0b046ed6ee Reverted a change disabling sim name lookups
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@855 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 00:46:38 +00:00
John Hurliman
c1963dac5a Merging aditi r853 to the trunk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@854 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 00:33:24 +00:00
John Hurliman
5843490762 Added BeamEffect and a helper function to convert an integer to bytes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@850 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-18 18:10:35 +00:00
John Hurliman
c7732280ae * Cleaned up the Logout code (it works for me now)
* Added the skeleton for the ViewerEffect system and implemented the PointAt effect
* Fixed a critical bug when region handle was not being set for the current Region
* Added the LLColor type, a four byte value made up of R,G,B,A
* Tweaked the Settings values for login and logout
* Switched ImageTool.exe to use libsecondlife.Utilities.ImageManager so that it works (switch it back to the main system when it works again)
* Fixed the build patch in a couple project files

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@845 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-14 21:21:05 +00:00
John Hurliman
ff3a047104 Properly reapplying the previous patch. A cleanup of the InstantMessageDialog enum
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@828 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 08:55:14 +00:00
bushing
186995206a reverted r826 per SMS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@827 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 08:35:36 +00:00
John Hurliman
ddda42532b Cleaned up MainAvatar.InstantMessageDialog some more (feel free to replace the Unknown tags with your own, non-copy-pasted knowledge)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@826 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 08:08:19 +00:00
otakup0pe
e7d0512267 Cleaned up InstantMessageDialog enum
Added FieldToFilteredString to Helpers.cs and setup ChatHandler in MainAvatar.cs to make use of it. This is just a hack around lack of unicode support for now.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@821 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 06:42:15 +00:00
lonecoder
c9054f3b70 Added full InstantMessageDialog enum info.
Added new InstantMessage override for sending dialog responses.
Added InventoryCommand to TestClient
Added response to InventoryOffer messages for TestClient, but it appears to be cosmetic and has nothing to do with the actual inventory transfer.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@819 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 04:56:12 +00:00
bushing
843152e6fd added CoarseLocationUpdate handler
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@818 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-08 03:41:37 +00:00
John Hurliman
11b96964f7 * AssemblyInfo matches the auto-generated one more closely
* Removed a lot of SinkFee cruft from AssetManager, the Settings class is used now
* Enough sanity checks in ImageManager to keep it from constantly exploding on me
* Added GivenPositive and GivenNegative to the ratings structure for Avatars
* Added group lookup support for avatars. The callback format will change slightly soon
* HelpCommand in TestClient is more readable
* Sanity check in TestClient IM callback, may close an open bug
* Committing all of my latest modifications to AvatarTracker, it's fairly useful now
* Fixed the documentation of Self.SetHeightWidth(); it actually tells the server the dimensions of the viewer window, nothing to do with Avatars
* Added Self.ActivateGroup()
* Changed some "" to String.Empty

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@800 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-05 00:10:36 +00:00
John Hurliman
ed266ad68f * Added AnimationStart() and AnimationStop() to SecondLife.Self for single animations
* Added Utilities.Realism.Chat(), a realistic chat function with sounds and animations as well as a variable typing speed and random pauses

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@786 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-02 02:12:37 +00:00
John Hurliman
8da04d52d7 * Moved SLProxy to the applications directory
* Commented out an unused packet from SLProxy
* mapgenerator now takes four arguments, the new third argument is the new unusedpackets.txt file that specifies backend packets that are not used in libsecondlife
* Updated build and solution files to reflect the new changes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@767 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-16 06:24:03 +00:00
John Hurliman
5dfd504cd4 * Fixed a bug in SetAvatarInformation() where the AboutText wasn't being set
* Added FindSimCommand to TestClient that searches for a simulator name and returns the region handle and X/Y coords
* Added CloneProfileCommand to TestClient that demos the avatar profile commands in libsl

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@766 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-27 21:55:35 +00:00
John Hurliman
b3fc7de42f * Moved several stranded delegates and enums inside parent classes
* Updated the various clients to reflect the moved delegates and enums
* Redid Avatar, AvatarManager, and MainAvatar almost from the ground up
* Moved the avatar caching to AvatarTracker in libsecondlife.Utilities, AvatarManager only does lookups now
* Added support for fuzzy avatar searching through the Picker packets (alternative to directory searches)
* Added a unit test for AvatarTracker.GetAvatarName()
* Removed unused references from SLProxy
* Whitespace reformatting in ImageManager
* Renamed Tests.cs to NetworkTests.cs to reflect its contents properly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@754 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-22 15:28:33 +00:00
Michael Cortez
b686cebf3d Begining major rework of Asset/Inventory code. Doing a lot of refectoing. What's in here so far?
+ Inventory, Asset and Image managers are now directly apart of the SecondLife class
+ Root Inventory folder has been added to MainAvatar and is set upon login
+ Inventory is no longer downloaded all at once, you have to request the download of individual folders
+ Folder downloading is available Asynchronously, and returns a object that has a ManualResetEvent that you can use to optionally block with
+ The code for AssetManager has been reworked some in prep for allowing Wearables to be Saved/Loaded to/from disk, and for creating new wearables.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@742 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-19 23:13:04 +00:00
48deb42a1b Added InstantMessageDialog.GiveNotecard to IM dialog types
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@739 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-18 18:30:04 +00:00
John Hurliman
96842bb5d6 * Added libsecondlife.Utilities, for all your awesome code that doesn't directly have to do with moving data between the client and the network
* Renamed the tests folder to libsecondlife.Tests
* More NetworkManager hardening code, should throw less warnings now
* Fixed the solution file (again) to be VS C# Express compatible, and removed a missing project reference

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@737 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-18 01:20:10 +00:00
otakup0pe
a2a9e5bf8a More documenting. Applied patches #1723 and #1724. Someone test nant build.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@729 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-16 16:51:04 +00:00
lonecoder
acc8ff8eb5 Reworked how TestClient handles multiple logins.
Made TestClient descend from SecondLife.
Exposed the list of Avatars in AvatarManager, because I thought it was doing the same thing as TestClient.Avatars.  I'm no not so convinced of this and will probably revert the changes tomorrow.
Added EchoMaster command as an example of a bot that responds to chat messages.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@728 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-16 09:07:28 +00:00
otakup0pe
af5a3f0678 It's a thousand pages, give or take a few, I'll be writing more in a week or two.
I can make it longer if you like the style,I can change it round and I want to be a paperback writer,
Paperback writer.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@727 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-16 03:24:05 +00:00
John Hurliman
c242a3e0c4 Added OnScriptDialog event to MainAvatar for receiving scripted pop-up dialogs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@724 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-14 22:46:00 +00:00
John Hurliman
a7f066c343 * Changed disconnect callbacks in NetworkManager to events
* Sanity check for sending a zero or negative amount in GiveMoney()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@723 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-14 20:26:51 +00:00