Commit Graph

46 Commits

Author SHA1 Message Date
John Hurliman
e27df4da69 * Fixed a couple bugs in GridManager and improved it slightly
* Teleport example is more reliable and works in all cases now, due to a lot of hairy ugly code being added to it
* LLUUID constructor throws an exception on incorrect string lengths now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@404 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-27 09:22:48 +00:00
mindtriggerz
15df12902f Avatar.cs: Added fields for language
AvatarManager.cs: Profile, Intrests, and Statistics added.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@403 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-27 02:29:50 +00:00
John Hurliman
9830bf85e4 On a mad coding spree.
* Implemented AvatarManager, added the async functions
* Rebuilt the key2name functionality
* Fixed and cleaned up a lot of the teleporting code
* More functions implemented in GroupManager
* Renamed SecondLife.Avatar to SecondLife.Self
* Updated the groupmanager example to list group members
* Renamed Form1.cs to AnimationSample.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@386 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 11:16:26 +00:00
John Hurliman
ee0e3230f8 * Added a few Begin (async) functions for teleporting
* Added an nant build file for libjaspernet, added it as a build step to the main libsecondlife.build
* Updated the examples.build script to include libjaspernet.dll as a reference
* Teleport example uses the new TeleportStatus enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@384 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 05:39:52 +00:00
mindtriggerz
837aba90c4 Avatar.cs: Added additional fields for the forthcoming AvatarManager
SecondLife.cs: fixed exception with key2name handler (you need to check and see if things are in the Dictionary before you mess with them)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@382 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 03:41:52 +00:00
John Hurliman
59edffffe7 Converted libsecondlife to .NET 2.0, using generic containers exclusively
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@362 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 05:53:58 +00:00
bushing
4fa67d3b35 svn:eol-style native is your friend
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@360 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 02:52:28 +00:00
tkimball
56398e17a1 Filled a few more paramater comments.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@345 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-20 02:05:49 +00:00
tkimball
fe5ba0f644 * Filling out summary/params tags * Fix forwarded from FlaShell regarding Teleports
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@344 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-19 23:17:40 +00:00
Michael Cortez
c80e7b7721 Temporarily giving up on the "correct" solution to get teleport to work, and going with the comment hack (removing a mutex from the NetworkManager to prevent a deadlock.)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@342 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-19 19:01:42 +00:00
Michael Cortez
91a40207fc + Fixed the teleport code in Avatar.cs so it doesn't deadlock on openning network connections
+ Updated Teleport example so it's fully functional.
+ Added a check to see if there are any AddSim listeners registered before trying to notify them

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@341 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-19 18:41:14 +00:00
John Hurliman
e7afbd5fd7 Committing this file so tkimball can start documenting
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@334 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-19 06:51:34 +00:00
John Hurliman
1477bcbaa0 Fixed the colon-in-strings bug that was introduced a few commits back
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@328 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-18 07:24:11 +00:00
John Hurliman
d9dc4edd44 * Fixed the ToString() output for packets with byte array fields
* Implemented and tested the OnBalanceUpdated event
* Created a SendInitialPackets() function and commented our current knowledge of the login packets
* CurrentRegion.Handle is now set at login
* Moved the README.Mono file to README.txt and added a bit more information
* Fixed the sldump example to use the 1,50,50,50 version number
* Generated an updated _Packets_.cs file

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@319 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-17 08:21:37 +00:00
John Hurliman
d81b208c94 Reverted HeadRotation back to an LLQuaternion now that those are fixed
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@310 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 07:59:32 +00:00
John Hurliman
54e945e537 Done testing CruiseControl, fixing the build again
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@309 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 07:49:00 +00:00
John Hurliman
bfa5852637 Breaking the build to test CruiseControl.NET (sorry)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@302 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 05:06:33 +00:00
John Hurliman
254c5a47d1 Fixed the self-referencing Health variable, and cleaned up a few of the xml comments
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@294 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 02:24:23 +00:00
John Hurliman
b01ad186b2 Fixed the naming scheme of some of the delegates to be uniform with the rest of the code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@284 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-15 23:54:14 +00:00
bushing
2c9080561c It's Party Time\! (r213:HEAD)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@279 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-14 05:13:39 +00:00
John Hurliman
577f4f6c1a Upgrading all the project files, updating keywords.txt/message_template.msg, removing unused files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@231 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-30 00:19:01 +00:00
Michael Cortez
c6d1422675 + Updated InstantMessage to work, was mission SessionID
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@225 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-28 21:00:15 +00:00
Michael Cortez
81d6670494 + Fixed a few issues with the Assets and Inventory systems
+ Renamed my utils class, and added unix time to it
+ Fixed the On_Chat event, it was assuming an old packet format

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@222 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-26 20:10:37 +00:00
John Hurliman
f08e7191dc NetworkManager:
* OnSimDisconnected and OnDisconnected events added
* The Disconnect function is working
* Shutdown() was added to kill the network layer
* Added documentation for the Packet class
* Added a TickCount to Packet for tracking ACK timeouts
* Added a LastReceivedTime to Simulator for tracking disconnects
* Optimized the NeedAck hashtable
* Fixed a potential deadlock during Logout and removed a dodgy goto statement
* Removed the try/catch from Logout to catch bugs
* Added a not-logged-in catch in Logout
* Removed the 1-second sleep from Logout
* Connect returns the connected Simulator object or null now

ObjectManager:
* OnAvatarMoved and OnPrimMoved events are fired now

Prims:
* Minor function clarifications

Avatar:
* Uses the new Connect function for teleporting

Packet:
* Added documentation
* HeaderLength is private now
* Removed the Field() function
* Miscellaneous cleanups

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@195 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 03:03:31 +00:00
John Hurliman
c746b12bbf OnNewAvatar and OnNewPrim are "done"
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@176 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 16:48:46 +00:00
John Hurliman
bf19f1bc2a * Fixed SecondLife.GetAgentDetails to prevent it from registering multiple callbacks
* Added code documentation skeletons in SecondLife.cs
* Removed Helpers.Log and replaced it with SecondLife.Log that is silent if SecondLife.Debug = false;
* Removed logging from ProtocolManager.cs where an exception was also being thrown
* Replaced logging in the FieldToString method with a sensible return value on error
* Replaced Packet.Blocks() logging with an ugly hack for now
* Replaced most logging with exception throwing to prevent broken apps from breaking further
* Formatting fixes for some of the files

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@173 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-07 03:39:23 +00:00
John Hurliman
529ff4aa86 Update Client.CurrentRegion after a teleport
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@149 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-12 16:46:59 +00:00
John Hurliman
d88c8d5bac Committing Adam's parcel patches, added a new example project for parcels and updated the solution file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@128 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-08 03:58:42 +00:00
John Hurliman
536ec5fbb7 * BuildPacket was using an undersized buffer
* Quick fix to update chat packets to protocol changes, a more thorough update is needed here

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@99 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-28 05:43:47 +00:00
John Hurliman
cf22407674 Removed the Circuit class and replaced it with the Simulator class
* Region information is linked to simulators and track per sim
* Region information can be gleaned in callbacks now
* Parcel overlay handling is also done per sim
* Packets should be sent to the proper sim now
* Zerodecoding and appended ACK handling hopefully play nicely together
* Login timeout has been simplified, Simulator uses no timers
* Disconnect (from a sim) is currently broken at the NetworkManager level
* Periodic ACK sending and ACK appending is currently disabled

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@90 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-26 05:34:48 +00:00
John Hurliman
5a34c60344 Can specify transactiontype for money transfers now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@89 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-25 23:26:58 +00:00
John Hurliman
454667daf2 Committed Adam's friend online/offline notification patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@69 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-21 22:24:36 +00:00
John Hurliman
53a2cfdfd8 * Sanity check for ObjectAdd
* Renamed and attempted to fix the Say/Shout functions

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@64 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-18 02:54:13 +00:00
John Hurliman
0b101e6157 Syncing my source tree to svn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@54 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:49:40 +00:00
John Hurliman
6f5afe3eba * New callback registration system, updated the library and examples to reflect changes
* Fixes in BuildPacket for typecasting
* 255 character limit fix in BuildPacket

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@48 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-11 18:42:58 +00:00
John Hurliman
56e55a0798 * Moved packet helpers in to a separate directory, a separate namespace, and separate categories. Updated the rest of the library and name2key to reflect the changes
* Added Inventory class skeleton
* Added UpdateInventoryItem packet helper
* Removed CRC proof of concept from sldump
* Numerous miscellaneous updates (sorry!)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@46 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-09 22:18:58 +00:00
John Hurliman
c27f354403 * InstantMessage helper renamed to match the packet ImprovedInstantMessage. Now takes a byte array instead of a string for BinaryBucket
* Avatar has another InstantMessage function that allows full parameters to be specified, including the BinaryBucket. A simplified overload is maintained

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@45 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-08 02:20:46 +00:00
John Hurliman
06b943078a * Helper function to convert byte arrays to strings
* DirFindQuery helper added
* name2key updated to use the new DirFindQuery

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@44 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-08 01:38:36 +00:00
John Hurliman
26ba4f0a91 * Fixed a typo in the ImprovedInstantMessage handler
* Added packet helpers for FetchInventoryDescendents and RequestInventoryAsset
* Added a fourth parameter to BuildPacket(); byte flags, allowing the flags to be set for a packet during construction
* Modified all the packet helper routines and slaccountant to use the new BuildPacket() routine

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@43 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-07 22:44:28 +00:00
John Hurliman
b4accdddfc * Added JSON library to parse LLSD fields in the login reply
* Added fields in Avatar to hold the parsed data from login
* CoarseLocationUpdate packets handled internally
* Added Network.LoginValues hashtable, removed second parameter from .Login()
* Updated examples to reflect LoginValues / Login() change

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@39 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-01 03:42:53 +00:00
John Hurliman
e700b207d1 Added chat and IM functionality
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@34 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-27 04:36:53 +00:00
John Hurliman
1a74510ac9 * Added Region class to track region information
* Parcel overlays are tracked per region
* New sim connections reuse the original circuit code
* Teleporting is functional

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@32 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-21 07:39:08 +00:00
John Hurliman
8dfb2970fa * Agent ID is stored in MainAvatar as well now
* FirstName and LastName are stored in MainAvatar at login
* Fixed a BuildPacket bug where it tried to typecast a string to a byte[]

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@31 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-17 05:22:28 +00:00
John Hurliman
4a9007b2d6 * Exception on logout should be fixed, still need more testing with multiple sim connections
* BuildPacket progress
* New LLUUID functions to generate random UUIDs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@29 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-16 22:11:20 +00:00
John Hurliman
8c93fea4a2 * Appended ACKs no longer overwrite packet data
* Basic teleporting support
* Fixed LLUUID comparison operators
* Added packet flags and sequence number output to sldump

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@27 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-15 21:42:41 +00:00
John Hurliman
a8ce4b327f * Added ProtocolManager.DecodeMapFile()
* Parcel and ParcelManager high-level classes
* Avatar high-level class

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@23 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-14 18:27:19 +00:00