Commit Graph

417 Commits

Author SHA1 Message Date
4cdcf55397 Moved MainAvatar class to new MainAvatar.cs
Mapped a few more dialog values in InstantMessageDialog


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@695 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-09 00:45:40 +00:00
lonecoder
d7931495d7 Fixed Prim Deserialization. The problem was with LLUUID.ReadXml not moving the reader position up, so anything read after that would be corrupt.
Changed vector types to structs.  LLUUID should probably be changed to a struct as well.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@694 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-08 09:06:13 +00:00
bushing
fe6692bae4 integrated nant buildfile change to prevent unnecessary rebuilds of _Packets_.cs from Ben Anhalt
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@693 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-07 22:04:27 +00:00
16c106def8 Added Client.Self.RequestSit(LLUUID targetID, LLVector3 offset) and Client.Self.Sit()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@692 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-07 21:02:05 +00:00
John Hurliman
2d45b08478 * Moved the mapgen.bat script to the root and removed the bin dir from svn to prevent nant clean from screwing up the repository
* Removed all the build-dll references in nant files from projects dependent on libsl, should speed up build times at the possible expense of less build-sanity checking
* TestClient uses the new AppearanceManager code at login

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@690 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-07 06:33:43 +00:00
John Hurliman
b5f1a9ac21 Added XML deserialization callbacks to ImportCommand to help debugging
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@689 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-07 01:21:42 +00:00
John Hurliman
eca9395b39 Buffer size for zerodecoding increased, and appended ACKs are accounted for in ZeroDecode() now. More testing needed
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@688 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-06 23:40:44 +00:00
Michael Cortez
7ab14b8ed0 AppearanceManager is closer to 95% working... Only thing missing is the order of some of the textures (faces 8-11, and 16, 17) and how to get the LLVector3 for Size.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@686 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-06 03:30:00 +00:00
438f4043e3 Updated TestClient to take advantage of Helpers.VecDist()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@685 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-06 00:56:36 +00:00
John Hurliman
2b77d66de9 Upgraded to the latest version of XmlRpcCS, and removed a lot of the fancy XML serialization stuff to try and make it work
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@684 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 23:28:59 +00:00
Michael Cortez
11e0420d1c + Added code to handle asset info packets arriving *after* asset data has started to arrive.
+ Fixed a bug that was resulting in incorrect visualparam values.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@683 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 23:01:06 +00:00
otakup0pe
01c01722e5 Merged in new testclient command from mindtriggerz.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@682 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 03:52:59 +00:00
John Hurliman
6f73835ea8 Removing code that set empty namespaces on the xml output, this may fix the List deserialization issue
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@681 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 02:28:59 +00:00
John Hurliman
6e51bfa54d Adding error catching to ZeroDecode and removed the padding hack that shouldn't be relevant any more. Moved SerializableDictionary in to the libsecondlife namespace
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@680 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 02:24:28 +00:00
Michael Cortez
962113a0ea Simplify access to the AssetManager so you don't have to use InventoryManager.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@679 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 00:21:45 +00:00
Michael Cortez
0c011fc846 + New AppearanceManager to allow you to have your bot's set their appearance based on what is currently set in the data server (*think outfit saved and left "wearing"*)
+ Added code to IManager (IA_InventoryManager) that uses the AppearanceManager, simply log in with Imanager and use the command "getlook" to have your avatar set it's appearance based on what's stored on the data server.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@678 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 00:07:30 +00:00
John Hurliman
3dbdbec13b * Added more documentation to Types.cs
* Renamed LLUUID.GenerateUUID() to LLUUID.Random()
* Optimized the type classes hashing functions
* Fixed a bug where source packet data would be modified on big endian platforms when creating type classes
* Normalized the ToString() output of the type classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@677 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-04 00:19:58 +00:00
otakup0pe
2a5d1750f4 Merged in patch from mindtriggerz.[ Patch #1680 ] Prim Serialization Junk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@676 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-03 20:00:34 +00:00
John Hurliman
50fc0db56f Packets are exported as a List with Helpers.PacketListToXml() now to make deserialization easier
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@675 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-03 01:50:00 +00:00
John Hurliman
9d153328a5 Added packet serialization, and a demo command for serialization to TestClient called packetlog
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@673 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 22:30:36 +00:00
John Hurliman
1a877f4f6a Removed old build script lying around
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@672 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 10:45:28 +00:00
John Hurliman
4f4e0d0afe TextureEntryFace repeatU/V values default to 1.0 now, and the quotes around avatar first/last name bug is fixed
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@671 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 10:31:20 +00:00
otakup0pe
6f28081c40 Added optional channel support to Say/Shout/Whisper in TestClient.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@670 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 03:12:37 +00:00
otakup0pe
f278271ae3 Added shout / whisper
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@669 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 02:09:29 +00:00
otakup0pe
dde0d8ca21 Slowly chipping away at documentation.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@668 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 01:59:09 +00:00
John Hurliman
fa19b0cf8d * Added ImpotCommand and IMCommand to TestClient (neither are working yet)
* Added documentation to TextureEntry and renamed SetFace() to CreateFace()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@667 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-01 23:32:12 +00:00
John Hurliman
7db025d58c XML export attacks for MASSIVE DAMAGE! Cleaned up the output further, PCode is no longer serialized, and linksets are now supported
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@666 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-01 00:28:53 +00:00
Michael Cortez
659432feee * Fixed an infinite loop problem when requesting bodyshape Assets
* Added a variable to define XML/Login timeout -- boosted original default of 15 seconds to 60

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@665 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 21:19:45 +00:00
John Hurliman
95adb23b09 PrimObject.ToXml() outputs cleaner XML that is capable of being imported and accurately recreates the exported object (in theory)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@664 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 21:13:06 +00:00
Michael Cortez
598b36ce68 Move magic numbers for network timeouts out of code into some constants.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@663 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 18:47:44 +00:00
John Hurliman
ed6b88a017 libsecondlife:
* Added a SerializableDictionary class, implements a generic Dictionary<,> that can be serialized to xml
* Added all possible values for ObjectFlags to allow serializing
* Added a few initial xml serialization attributes to prim-related classes and structures
* Created ToXml() and FromXml() functions for PrimObject
TestClient:
* ExportCommand exports a single prim to an xml file
* quit and login commands now work when no avatars are logged in

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@662 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 03:35:36 +00:00
70b10f6cad Raised login timeout from 8sec to 15sec
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@661 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 00:48:03 +00:00
lonecoder
b81cb88b39 Added RegionsByHandle dictionary to GridManager
Added RegionHandle field and GridRegion property to PrimObject


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@660 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:30:06 +00:00
Michael Cortez
a3b0d55719 output a CSV file with body shape paramid stuff as well.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@659 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:08:18 +00:00
Michael Cortez
e39abbd8f5 Just added a remark indicating that using the GridRegionData member variable may cause a blocking action while that data is retrieved.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@658 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:06:41 +00:00
John Hurliman
1fb53c4778 Removed all the manual GetXml() and FromXml() routines so we can use the .NET framework for (de)serialization instead
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@657 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:05:19 +00:00
John Hurliman
b025d0f1fb Merged the updates from the aditi branch in preparation for 1.13, and converted all the newline characters in mapgenerator to Environment.NewLine
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@656 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 14:44:23 +00:00
John Hurliman
7a1c5bda5b Added a simple command-line parser to TestClient, it can be expanded later
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@655 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 13:41:22 +00:00
lonecoder
5eff25dc40 TestClient: Added LoadCommand that dynamically loads an assembly containing commands.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@654 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 09:18:34 +00:00
lonecoder
080d6bf5d2 Updated TestClient to optionally read a master from a file.
Added option for follow command to follow master if no target given.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@653 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 06:54:12 +00:00
John Hurliman
be6bcb07a1 More TestClient fixes, more networking tweaks, and AddPrim() no longer sets the TextureEntry field to accomodate for tomorrow's update
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@649 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 00:32:25 +00:00
John Hurliman
391ecc645a TestClient can load a list of accounts from a file at the command line now, and a slew of bugfixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@647 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 17:58:48 +00:00
John Hurliman
de56cee137 Minor fixes in NetworkManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@646 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 07:55:15 +00:00
John Hurliman
f55b8c8d18 libsecondlife:
* Publically exposed the Simulator reference to SecondLife
* SecondLife.Debug = false; actually works now
* All incoming packets are added to the simulator inbox now, and the inbox size has been cut in half to 100
TestClient:
* Completely revamped to support multiple clients
* Added login/logout Commands
* Added the all prefix for IM commands to send the command to all logged in bots

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@645 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 07:48:43 +00:00
otakup0pe
dcdbb6e256 submitted patch from flexi. was experiencing some kind of packet flood on uploads. see http://cl1p.net/kthxcrash/
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@644 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 01:47:24 +00:00
John Hurliman
3d8e7fd39c Initial skeleton of the FromXml() function for PrimObject
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@643 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 01:38:13 +00:00
otakup0pe
e925557a6b look mah. a svn delete. (finishing patch)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@642 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 00:39:32 +00:00
otakup0pe
ed0b027328 Merged patch from mindtriggerz into TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@641 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-27 23:13:48 +00:00
John Hurliman
41c7c30b41 UnACKed packets are resent after 2500ms
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@640 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-27 21:51:28 +00:00
John Hurliman
ace66cb497 Header flags can properly be set to true and false now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@639 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-27 21:47:40 +00:00