Commit Graph

141 Commits

Author SHA1 Message Date
John Hurliman
dade9e34c8 * Removed hardcoded paths from mapgenerator and replaced with command-line arguments
* nant build script now has a "map" target that "build" is dependent on, which will compile mapgenerator.exe and generate the _Packets_.cs file

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@283 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-15 23:48:19 +00:00
John Hurliman
f3b3b0e4eb mapgenerator no longer depends on libsecondlife to build (no more chicken and the egg problem)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@282 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-15 22:21:21 +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
f881eee46e Removed Packets/Packets.cs from the project file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@239 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-04 21:46:14 +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
f52ccf6dbf Adding the custom Ovatsus build target to svn, changing the project paths to refer to the local copy
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@235 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-02 22:25:12 +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
Michael Cortez
cfcc775595 Oooops, forgot to include the new packet class that adds in the SessionID
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@221 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-26 19:16:06 +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
47df04632f One name mangling bug and a ToBytes() function short of being finished
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@215 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-24 04:07:43 +00:00
John Hurliman
19bf09527a More progress on mapgenerator
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@212 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-24 00:29:57 +00:00
John Hurliman
9076dabbca This is going away
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@210 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-21 21:34:06 +00:00
John Hurliman
74d687f871 An early preview of how the protocol map generator will work
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@209 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-21 07:50:44 +00:00
John Hurliman
d0cfb94d4f The initial unit test framework, and lots of safety checks and cleanup in NetworkManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@207 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-19 07:34:45 +00:00
John Hurliman
46745a6ccf Sanity check for ObjectUpdate texture parsing, and commented some debug messages out
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@206 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-19 07:32:41 +00:00
John Hurliman
d3247f8806 Moved the certificate authority bundle to the data directory
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@205 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-19 03:12:18 +00:00
John Hurliman
6c36691321 * Added a SendPacket() that takes a raw payload
* Added DisconnectSim() to kill the connection to a sim and clean up socket and SimulatorsList
* Fixed the Simulator.Initialize timeout
* Only update Packet.TickCount if it's a reliable packet
* Shutdown a simulator on a SocketException

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@203 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-19 01:26:03 +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
John Hurliman
6f58b4a791 Added a doc target to the nant build
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@200 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-18 04:53:03 +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
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
76697c990c Removed .NET 2.0 specific code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@194 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-16 06:27:27 +00:00
John Hurliman
8ac9a090bf * Calculates the W value of the normalized rotation quaternion in ObjectUpdates
* CompressedUpdateHandler callback added
* Added function comments
* Registered events for the rest of the object packets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@193 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-16 03:15:27 +00:00
John Hurliman
6c58e3a2e5 Variable-length fields with a length of zero now creates a zero-length byte array instead of omitting the field
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@192 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-15 02:36:21 +00:00
bushing
31a5bcfd19 updated protocol.txt and keywords.txt for 1.12.1 release
also, created a libsecondlife.build file to begin migrating
build system over to nAnt -- it doesn't fully work yet,
but give it a shot (hint: just run nAnt in libsecondlife-cs)



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@191 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-16 05:29:53 +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
fb49f35d18 Fixed some of the dequantization functions, multi-object support in ObjectUpdate decoding, commented out a debug line
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@188 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-11 09:06:05 +00:00
John Hurliman
b4c2349cb3 Endian fix for IPPORT fields, should fix SLProxy
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@187 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-11 05:17:37 +00:00
John Hurliman
967c02e6f1 Attempting to fix the project file by hand-editing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@179 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-10 23:09:38 +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
John Hurliman
ba681fa6f0 Finished the ObjectUpdate field dequantizing, the properties will be usable floats that match up with the SL UI now.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@177 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-10 04:37:10 +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
3b729fb028 Some progress on the ObjectManager, ImprovedTerseObjectUpdate is parsed now and ObjectUpdate is mostly parsed, the delegates still need to be finalized and called
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@175 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 08:10:43 +00:00
John Hurliman
0cb53a4da4 Fixed an endian bug with U16 and IPPORT values
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@174 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 06:46:59 +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
34c4f2bb71 Whitespace formatting fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@172 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-07 03:30:34 +00:00
John Hurliman
3f4ee5f514 Fixed a deadlock bug with InboxMutex
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@171 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-06 20:24:12 +00:00
bushing
822ac760bb fix for Dequantize 'cuz JH broke the build. :P
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@170 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-05 18:45:11 +00:00
John Hurliman
b64f1a820d Initial outline for object (prim and avatar) support
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@169 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-04 19:52:14 +00:00
bushing
db666cf5a8 updated protocol/keywords to 1.12.0.13
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@167 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-24 21:03:07 +00:00
bushing
99755861ae In this edition of new stuff for libsl we have:
* Prelininary estate tool support
		- Kick User
		- Ban User
		- Unban User
		- Teleport user Home
	
	* EstateTools class in Region
		Client.CurrentRegion.Estate

	* .ToStringHyphenated() on LLUUID
		Returns a LSL-compatible / SL-compatible
		string translation of a UUID.

Please note. If coding additional estate tools in, the
EstateOwnerMessage sub-protocol is finnicky. If something
isnt working, try swapping the order around of parameters.

Enjoy.
-Adam



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@165 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-16 08:51:25 +00:00
Michael Cortez
026cd5bfd3 Centralizing the Asset/Inventory Systems' packets to the main libsecondlife.Packet name space.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@162 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 20:32:31 +00:00
Michael Cortez
751233e5aa git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@161 52acb1d6-8a22-11de-b505-999d5b087335 2006-08-14 20:27:39 +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
6172cd5862 And the mallet strikes again... The Inventory stuff should all be merged in, and the Unknown Packet warning now also includes info on the packet that generated the warning.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@159 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 20:11:58 +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