Commit Graph

91 Commits

Author SHA1 Message Date
John Hurliman
106b482faa * Lots more work on baking
* Fixed TestClient WearCommand (not heavily tested, subject to change)
* Removed System.Speech reference from TestClient project
* Textures.cs is going to eventually be replaced by TextureEntry.cs which is a lot more efficient, once it is working
* Added some Helper methods to prepare for the new TextureEntry replacement
* Bringing libsecondlife.Tests up to speed again
* New OpenJPEGNet function for generating baked textures
* Formatting cleanup in OpenJPEGNet

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1183 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-12 01:42:28 +00:00
jef
7f7ea583b2 Decoding of simstats. Can be disable via Settings.ENABLE_SIMSTATS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1182 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-12 00:10:33 +00:00
jef
af0e32b628 Small testclient tweak courtesy of MorphW
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1181 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-08 02:55:17 +00:00
jef
c404991f34 ID0000100 - I should get some kind of dual boot system going. Fixed courtesy of Morph Wollongong
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1180 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-08 02:25:53 +00:00
jef
e743e63c35 I also didn't know you could modify landmarks >:3
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1179 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-07 05:35:08 +00:00
jef
bb1e823d6c Landmark support.
* Creation of landmarks  (from your current location)
* Access to Version, Region and Pos properties via Inventory/Asset item
* IA_LandmarkTool


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1178 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-07 04:52:36 +00:00
baned
66aaa8c0d7 * Merged a Login.cs bugfix (unhandled exception in some cases) from my branch. I think. Either that, or wiped out the trunk, who knows.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1177 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-05 10:19:27 +00:00
d7a7f57f8d Added Client.Self.SendTeleportLure(<id>, [message]) - submitted by fw0rd
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1174 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-04 07:10:40 +00:00
John Hurliman
3803382244 Exceptions thrown by callbacks now log full stack traces, resolving issue 94
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1173 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-03 14:24:10 +00:00
jef
3a1a12e604 *yoink*
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1170 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-03 00:16:39 +00:00
baned
71a36d3067 * Added a concept of a SecondUniverse that will be able to contain and manage resources that can be common between SecondLife clients in the same process
* Currently only does it's own PacketInbox processing, instead of depending on a packet processing thread in each client. Should probably be an option to do that or not, assuming anyone uses this or wants it and doesn't just revert it. kthxbai


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1169 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-02 23:58:32 +00:00
c499bc4d96 EstateTools: Commented out broken OnLandStatReply event code until someone can fix it. OnGetTopScripts and OnGetTopColliders are still working.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1168 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-02 17:54:16 +00:00
baned
4265181346 * Unbreak whatever people think running mono is smart. :)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1167 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-01 19:09:56 +00:00
baned
8d99380b7d * Removed leftover .NET 1.1 configurations
* Fixed obsolete warning for Login SSL Cert Checking
* Hopefully fixed HttpWebRequests not always closing (bug where too many timeouts causes perpetual failure)
* Fixed debug login logging of loginresponse.xml to not have to be able to read it back, and to no expect success writing the log
* Fixed a crash for OnGroupChanged if the event isn't set. I'm surprised I wasn't yelled at for this yet.



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1166 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-01 17:06:16 +00:00
11cdd0cfb6 EstateTools: Fixed some things, broke some things...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1165 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-30 20:37:48 +00:00
9c62c06f7d EstateTools: Added .CurrentSim.Estate.GetTopScripts() and .GetTopColliders(), with respective OnGetTopScripts and OnGetTopColliders events. Fixed a missing null reference check.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1164 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-30 19:41:06 +00:00
8c88689f1f Added .CurrentSim.Estate.RequestLandStat, and OnLandStatReply event. Still needs enumeration of ReportType and RequestFlags U32 values... *nudge*
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1162 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-30 01:19:56 +00:00
bushing
6d289162a8 more eol-style fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1161 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-28 20:54:02 +00:00
cw
a847b184ec guess that works -- if debug, write to file, close, open new StreamReader on that file.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1159 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-28 18:51:45 +00:00
cw
45ddac51e7 nevermind, responseStream is not seekable :P ...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1158 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-28 18:35:24 +00:00
cw
6174b77f1b adding rewind to login reply stream for debugging to dump and parse response.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1157 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-28 18:05:07 +00:00
baned
6aafd90210 * OnActiveGroupChanged() event added to Self
* SYNC_PACKETCALLBACKS is no longer a const setting, allowing it to be changed by library users in their own code (like me)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1156 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 23:47:45 +00:00
John Hurliman
07c5ef9373 Defaulting synchronous callback handling off for now until other parts of the library are improved on
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1155 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:28:23 +00:00
John Hurliman
590568ac2d Removed the loginreply.xml debugging until someone figures out how to write a stream to the hard drive and parse it at the same time
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1154 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:24:55 +00:00
John Hurliman
0ac2b3848a * LoginCommand can optionally take a starting sim now
* If Settings.DEBUG is enabled, loginreply.xml will be dumped to the hard drive

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1153 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:21:23 +00:00
baned
4793e2a196 * Login server hates libsl. Patented 'thicker skin' code.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1152 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:10:14 +00:00
baned
eabfde13f3 * Fixed all the obsolete warnings in the rest of the projects for the login changes.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1151 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:00:09 +00:00
baned
0325f276cc * Login changes to not have async issues on retries/timeouts (Slight interface changes)
* Settings.SYNC_PACKETCALLBACKS. Packet processing is now synchronous by default.
* XML Parsing fix

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1149 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 00:21:40 +00:00
5a612fc5c9 Applied try/catch patch to ObjectManager.cs InterpolationTimer_Elapsed, submitted by Ahzz
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1148 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-26 05:07:30 +00:00
550d163a7a Applied patch for teleport finish exception, submitted by Ahzz
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1147 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-26 04:52:47 +00:00
John Hurliman
a9acaf8038 Object properties are correct again
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1146 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-26 01:09:20 +00:00
John Hurliman
6622f839e0 Removing ScriptSensorRequest and ScriptSensorReply from unusedpackets.txt, we're suddenly receiving ScriptSensorReply packets out of nowhere
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1145 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-25 23:52:11 +00:00
John Hurliman
3586d8af75 * Fixes for the new login system (official support for third party clients at login, no more faking version numbers!)
* Proper parsing of compressed object updates and texture entries after the latest protocol changes. By proper I mean I haven't tested that it gets correct values at all

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1144 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-25 23:18:44 +00:00
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
cd51c94703 MD5Builder is now locked to make Helpers.MD5() thread-safe
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1136 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-20 20:45:33 +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
f825afe730 Fixed the NAnt file for examples to be compatible with directory structures that contained the word svn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1133 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-18 14:19:57 +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
b65a4dcbe3 * Set KeepAlive to false for logins so logins after the first won't break
* Set Expect100Continue to false to prevent an unnecessary handshake in HTTP POST exchanges

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1131 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-18 04:17:07 +00:00
John Hurliman
510d72e324 Exceptions in packet callbacks are now logged (this was broke when we converted to the ManagedThreadPool)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1130 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-18 01:31:35 +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
bushing
0641c27ca7 rewrote ParcelDownloader to fix a bug
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1128 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-17 10:17:21 +00:00
John Hurliman
e51ef6a0d2 * Renamed Utilities.Connection to Utilities.ConnectionManager
* Added Utilities.ConnectionManager.PersistentLogin() that repeatedly attempts to login (with intelligent pauses) until an unrecoverable error is encountered or the login succeeds. Useful for automated logins while the grid is down, a simulator has crashed, or the old login presence hasn't been cleared yet

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1127 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-16 14:15:07 +00:00
John Hurliman
b59eb7e09d Added Helpers.GlobalPosToRegionHandle() to convert two global floats to two sim-local floats and a region handle
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1126 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-16 06:48:05 +00:00
John Hurliman
d03ecd21f5 Committing CAPS fix from Ahzz to prevent a stack overflow from 404 errors
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1125 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-16 06:08:37 +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