Commit Graph

48 Commits

Author SHA1 Message Date
mindtriggerz
a90ef2d493 Added the AnimationSample example program. Hopefully this will serve as a quick guide to using pregen to generate packets for new developers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@346 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-20 02:08:09 +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
3238049bc6 * Got rid of SecondLife.CurrentRegion (use SecondLife.Network.CurrentSim.Region instead)
* Initial framework for groups support
* Fixed Logout() issues with freezing or throwing exceptions
* slaccountant small cleanup (still doesn't run under .NET 2.0)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@338 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-19 08:37:46 +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
2f4aaf31d1 Fixed the solution file to point to the updated location of the IA_* example projects
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@298 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 04:26:06 +00:00
John Hurliman
115b29a077 Moved the IA_* projects from applications/ to examples/
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@297 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 04:21:13 +00:00
John Hurliman
aee584721b Excluding mcortez's IA_* apps until a workable solution is found for compiling under nant/mono
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@291 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 01:25:26 +00:00
John Hurliman
ee8ec89bad Deprecated by IA_NotecardTool
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@288 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 01:03:08 +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
8948bb8159 Added primexport project file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@236 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-02 22:34:29 +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
cf448c3e29 Fixing up Asset/Inventory Uploads so they work again.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@218 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-25 21:33:50 +00:00
John Hurliman
272cd95d6f Converting to the new decrypted message_template.msg file shipped with Second Life, and some primexport fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@201 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-18 10:01:05 +00:00
bushing
d210711757 merged all example build files into example.build
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@199 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 21:30:22 +00:00
bushing
67faf5bbdc created examples.build
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@198 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 21:08:04 +00:00
bushing
828f0ffa57 added preliminary nAnt build support
(not all rules have been created -- I didn't do all of the applications
-- and the ones I did do could probably be cleaned up.  Still, you can
run "nant package" from the top-of-tree and end up with a binary
.zip archive about a minute later.)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@196 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 10:19:18 +00:00
John Hurliman
7cde388559 Added a simple GUI, fixed some of the xml fields to match what prim.blender is expecting
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@189 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-11 09:07:21 +00:00
John Hurliman
45171b7659 Added an example for the ObjectUpdate event that is prim.blender compatible
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@178 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-10 04:38:35 +00:00
Michael Cortez
1dcc08735c Centralizing the Asset/Inventory Systems' packets to the main libsecondlife.Packet name space.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@160 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 20:23:21 +00:00
Michael Cortez
7f9d2de5f6 The mallet gets bigger' en' bigger...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@158 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 20:05:22 +00:00
Michael Cortez
32e283e5be git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@152 52acb1d6-8a22-11de-b505-999d5b087335 2006-08-14 19:18:41 +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
85c3c93bf2 Moved the parcel example program to the examples folder
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@114 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-03 08:35:39 +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
axial
743c46a241 SLProxy: fixed handling of zerocoded packets (fixes goto 4)
SLProxy: using a variant of Packet.Blocks that zeroes outs fields after a goto 5 rather than stopping
libsl/Packet: improved error reporting in Packet.Blocks
libsl/examples: updated client versions (I needed something to test the patch with!)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@86 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-25 16:17:41 +00:00
John Hurliman
cc816279a7 Trimming down SLAccountant, making use of packet helpers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@55 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:51:11 +00:00
John Hurliman
1f1cb1b7e3 Removed the rest of the 2005 project files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@53 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:48:10 +00:00
John Hurliman
746fc39dd6 Added MSVC.NET 2005 and SharpDevelop compatible project files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@50 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-12 03:48:38 +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
e224631fc7 Minor project file fixes for SLAccountant, removed the extraneous solution file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@38 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-29 01:36:11 +00:00
John Hurliman
f170b951f4 Added the slaccountant example GUI app
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@36 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-28 22:50:11 +00:00
John Hurliman
7f437fde10 * Set the version numbers in the example programs to versions in the future
* New protocol.txt and keywords.txt for the new release
* sldump does string dumps and hex dumps of non-ASCII byte arrays

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@35 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-28 19:29:33 +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
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
1f322a770a Cleanup after the xml-rpc change, updated example programs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@26 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-14 20:58:17 +00:00
John Hurliman
4dd2c1a523 * Fixed some small bugs in ProtocolManager.DecodeMapFile() and the example in sldump
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@24 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-14 18:35:42 +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
John Hurliman
9c32a490a0 * Internal callback mechanism, user callback hashtable is now UserCallbacks
* Moved some of the packet receiving logic in to internal callbacks
* Fixed HORRIBLE threading race condition with Circuit.Buffer[]

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@22 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-13 07:15:38 +00:00
John Hurliman
a25be7e467 * Added name2key example program
* Basic Logout() function
* Proper functions for halting and closing Circuits
* Infinite bugfixes
* Threw a cert file in the bin directory in case anyone wants to make the SSL auth work properly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@21 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-12 01:47:53 +00:00
John Hurliman
b186f0312b Circuits should be functional enough for general use now. Some of the highlights include:
* Thread synchronization, mutexes on all shared lists
* Tracks outgoing reliable packets and incoming ACKs (PacketAcks and appended ACKs)
* Can send independent PacketAck datagrams or append ACKs to outgoing packets
* Simplified the Packet class to use a byte[] array for data instead of an ArrayList. Now requires a packet length during initialization

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@20 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-10 20:11:21 +00:00
John Hurliman
f31d44be06 Initial import of the C# fork
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@19 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-08 14:49:17 +00:00