Commit Graph

20 Commits

Author SHA1 Message Date
John Hurliman
f9465f8488 * Updated _Packets_.cs against the latest message_template.msg (we should automate this)
* Some new bitpacking functions
* Removed ReservedNewbie references
* Updated Path*() functions to use ushort instead of byte
* Fixes and cleanup to the particle system code

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1143 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-25 19:58:58 +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
9218d12d4c * Added support for people directory searches [acidie]
* TestClient tracks its master through name and UUID now, and verifies identify by UUID [acidie]
* Objects.OnObjectProperties wasn't hooked up to a packet callback previously, fixed now
* Cleaned up the name2key example [acidie]

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1138 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-23 01:39:14 +00:00
John Hurliman
3fbf2ef6aa XML importing and exporting should be functional again
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1137 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-22 14:14:32 +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
f5b7f702f3 * Settings.ENABLE_CAPS = false; will disable any connection attempts to CAPS servers
* Added Utilities.ParcelDownloader.GetHeightRange() and Utilities.ParcelDownloader.GetRectangularDeviation() for gathering parcel statistics
* Added more output to ParcelInfoCommand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1134 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-19 02:59:35 +00:00
John Hurliman
df3990e074 * Fixed a bug in Terrain.TerrainHeightAtPoint() for the top-left edges
* Added Utilities.ParcelDownloader.GetWaterType()
* Added the start parameter to Utilities.PersistentLogin()
* Simplified the Heightmap example
* Optimized the TestClient throttle
* ParcelInfoCommand prints out whether each parcel is underwater/waterfront/dry
* Added RegionInfoCommand to print out current region info
* Added Self.Status.UpdateFromHeading() to send an AgentUpdate packet from a rotation

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1132 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-18 08:18:32 +00:00
John Hurliman
a099b9853e * Fixed GlobalPosToRegionHandle() bug
* Typo in the DirectoryManager docs
* ParcelInfoCommand prints out number of people on the ACL for each Parcel
* Documented Parcel.AccessList

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1129 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-17 20:48:18 +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
97e7190bac * Removed "bool md5pass" parameter from Login(), MD5 passwords are detected at runtime
* Implemented asynchronous logins. Look at sldump for example usage
* Added Network.DefaultLoginParams() to help with async login calls
* Added ThreadUtil for making asynchronous callbacks (need to switch it to use the ManagedThreadPool)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1123 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-15 04:59:44 +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
axial
2aac1f040a Workaround for issue 85 (Unable to use a configuration file path starting with a / on Linux). Filenames that start with a dash still won't work.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1113 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-10 11:47:54 +00:00
axial
18da8ad9b4 Fixed(?) StandCommand in TestClient.
I'm not sure if this actually works, but it compiles now, which is a start!


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1112 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-10 11:23:10 +00:00
John Hurliman
81472d88f4 * Incoming packets are put on a queue instead of processing immediately
* Two new classes added, a ManagedThreadPool that is a performance enhanced ThreadPool, and BlockingQueue which is a thread-safe queue that allows one end to block until something is added to the queue
* Added Simulator.ReceivedResends for tracking the number of resent packets received
* Added StatsCommand to TestClient to print out basic networking stats

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1101 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-03 05:47:09 +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
John Hurliman
0d85ae979a * Fixed an exception in Utilities.AppearanceManager
* Fixed the post-build step in openjpegnet to use copy instead of cp
* Added constructors to SerializableDictionary (deserialization was asking for them)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1092 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 12:31:25 +00:00
bushing
df61c4906e Fixed a build issue in StandCommand
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1091 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 11:23:29 +00:00
John Hurliman
88e7d9397c * Fixed up the Baker example for bushing's experiments
* Removed the ThreadPool checks, it's a lost cause on Mono right now
* Moved ObjectManager RequestAllObjects and AlwaysDecode to the Settings class as ALWAYS_REQUEST_OBJECTS and ALWAYS_DECODE_OBJECTS
* TestClient uses the new Settings variables for object management
* Increased the CAPS timeout, we need to get the initial connection async quickly
* Added a post-build step for openjpegnet MSVC project to copy openjpeg.dll to the bin/ directory

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1090 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 09:52:13 +00:00
John Hurliman
fbb6754cd1 * Added Bump, Shiny, Fullbright, MediaFlags, and TexMapType properties to prim faces (replaces Flags1 and Flags2)
* TerrainManager will now decode and store patches if Settings.STORE_LAND_PATCHES is true, even if there is no callback
* TestClient now instructs libsl to decode land patches
* Minor performance tweaks

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1078 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 22:25:07 +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