Commit Graph

136 Commits

Author SHA1 Message Date
Justin Clark-Casey
b4fbaa601c Implement some fairly harsh locking to stop multiple logging calls to logpacket TestClient command from stepping on each other. 2014-06-19 23:23:16 +01:00
Justin Clark-Casey
b02cbbcbd8 Add timestamp for each packet in logpacket command to correlate output with other logs 2014-06-19 23:03:01 +01:00
Justin Clark-Casey
2f7363839e Implement LogPacket command (previously unimplemented PacketLog) for TestClient.
As per the unimplemented command, this takes n number of packets and logs them to the given file.
This is done asynchronously and the user notified when packet logging is complete.
2014-06-19 22:49:03 +01:00
Justin Clark-Casey
17f56ccbdc Add sendgeneric command to TestClient to allow one to send arbitrary GenericMessagePackets to the simulator for testing purposes 2014-06-18 17:56:13 +01:00
Latif Khalifa
98f70fa3ae Don't bother asking for group members if there is no current group 2014-05-18 08:30:20 +02:00
Latif Khalifa
ae112d56fb Update copyright notices 2014-02-25 15:31:10 +01:00
Latif Khalifa
4150259837 Added method for setting FOV 2013-03-09 00:42:33 +01:00
Latif Khalifa
40dfae115a Added a comment and reduced a FOV just a tiny bit 2013-02-27 22:46:16 +01:00
Latif Khalifa
12f29799ac Make camera follow TestClient so it can find objects 2013-02-27 15:11:41 +01:00
Latif Khalifa
e6ca5e12be LIBOMV-901: Fix import to match changes in Primitive.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3518 52acb1d6-8a22-11de-b505-999d5b087335
2011-05-13 12:07:30 +00:00
Latif Khalifa
af9765a75d Fixed build.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3487 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-17 18:34:03 +00:00
Latif Khalifa
0ab7b71c37 Normalize tabs to spaces.
Patch by Mimika Oh

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3485 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-14 15:27:06 +00:00
Latif Khalifa
b491d918a0 TC-89: Allowing asset types to be named as well as numbered, e.g. 'download e5ab65d0-d1d6-4b78-bbe5-79f683eca896 texture'.
Path by Mimika Oh

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3484 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-14 15:24:45 +00:00
Latif Khalifa
22b72d7680 TC-88: Catching and reporting exceptions from commands instead of hanging
Patch by Mimika Oh.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3483 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-14 15:20:11 +00:00
Latif Khalifa
d27255fe2f LIBOMV-850: TestClient crashes when console reads an end-of-file
Patch by Rpbert Adams

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3473 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-20 14:14:26 +00:00
Latif Khalifa
2f4b5dbc20 LIBOMV-877: Responding to teleport lure sends the wrong lure id
Fixes responding to lures in opensim

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3457 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-21 13:30:55 +00:00
John Hurliman
3d95a4a880 * Prevent TestClient's FlyTo command from subscribing to TerseObjectUpdate and slowing down the libomv packet handler except when the command is actually running
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3420 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-13 22:49:13 +00:00
John Hurliman
9138fee6b0 * Handle "-0" values in wearable assets
* Login fix for Linux clients now that the null ID0 is blacklisted
* Change Parcel from a struct to a class (this object is huge!) and remove the redundant initializers in the constructor
* Moved Terrain and WindSpeed data from TerrainManager to the Simulator class
* Don't track wind data either if STORE_LAND_PATCHES is disabled

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3298 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-21 00:00:54 +00:00
Latif Khalifa
3bb3630a36 Converted AssetManager to the new event model.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3286 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-17 14:00:36 +00:00
Latif Khalifa
7aa36d88f1 Update for new delegate signature
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3262 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 14:54:30 +00:00
Jim Radford
6182ba84cd LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in InventoryManager (Not every delegate is converted yet)
LIBOMV-734 Thanks to Douglas R. Miles for converting the events in EstateManager over to new patterns
LIBOMV-735 Removes redundant LoggedIn event from NetworkManager, when LoginProgress Status == Success you can reliably send packets to a simulator. If you send before this event is raised, an exception will be thrown and your application will crash, previously your request would just get sent to the bitbucket without any notice, Thanks lkalif for the help getting this bug fixed correctly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3187 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 09:39:43 +00:00
Jim Radford
95a87c7857 LIBOMV-686 Convert NetworkManager events/delegates to new patterns
* Remove INetworkManager interface (it was not being used for anything)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3182 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 08:01:52 +00:00
Jim Radford
f8f36cb5b1 LIBOMV-686 Cleanup of ObjectManager to make event classes less confusing, removes ObjectUpdated event as it duplicates the TerseObjectUpdate event.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3176 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-27 07:01:48 +00:00
Jim Radford
17468b5f76 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in ObjectManager
LIBOMV-726 Adds stubs in LindenMessages for new WebFetchInventoryDescendents Capability

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3175 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-26 06:03:26 +00:00
Jim Radford
0f8677cee9 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in AvatarManager
* BREAKING CHANGE * this is a major shift in the way events are internally handled.
* TODO: need to complete the EventArgs class documentation
* Adds new TestClient commands "play" to play animations, and bots to detect other bots.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3163 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-22 04:29:25 +00:00
Jim Radford
b0cb77e1e5 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in GroupManager
* BREAKING CHANGE * this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3162 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-20 20:18:03 +00:00
Latif Khalifa
38b5b37355 Update wear command to work with the new appearance maanger.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3158 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 23:50:07 +00:00
Jim Radford
039dad5149 Fixes some TODO: items in GridManager, implements known MapItem classes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3156 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 08:21:41 +00:00
Jim Radford
3902497f54 LIBOMV-686 Implements new event pattern style in GridManager to conform with standard best practices guidelines
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3155 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 04:41:07 +00:00
Jim Radford
bee710bd57 LIBOMV-720 Adds network utilization tracking, example TestClient command 'netstats' included to display the results.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3152 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-18 00:08:20 +00:00
Jim Radford
e09e3f45b3 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in ParcelManager
* Changes some public method names to match patterns used through library, namely requests that have an event are named with Request as a prefix
* Add Key2Name TestClient command for resolving group and avatar names based on a UUID
* BREAKING CHANGE * this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3151 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-17 05:50:51 +00:00
Jim Radford
a00b158dc0 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in FriendsManager
* BREAKING CHANGE * this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3149 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-16 07:23:18 +00:00
Jim Radford
ba491c6a63 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in AgentManager
* Many other code cleanups and example updates
* BREAKING - this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3145 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-16 02:53:53 +00:00
Latif Khalifa
d5fff1abc1 LIBOMV-712: TerrainManager updating Wind from Wrong Simulators
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3141 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-10 21:54:21 +00:00
Jim Radford
d34730a019 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in DirectoryManager
* Completes Full documentation of DirectoryManager class
* Cleaned up Search Methods in DirectoryManager to be more developer friendly
* Adds Several TestClient commands related to DirectoryManager: searchgroups, searchland, searchpeople
* Adds a StructToString method to helpers to simplify parsing and printing Structs for debugging purposes
* Many other code cleanups
* BREAKING - this is a major shift in the way events are internally handled, Take a look at the newly added TestClient commands for example code that implement this pattern.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3139 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-10 06:38:07 +00:00
Jim Radford
371fde3dbb LIBOMV-671 Adds adult flag to login options to enable age verified accounts to obtain adult specific content and results from searches
* Adds additional inline documentation for DirFindFlags, flags in this enum without inline comments do not appear to be in use any longer
* Additional DirectoryManager documentation added
* Adult specific result/query implemented for all DirectoryManager public Methods
* Additional Decoders added to PacketDecoder for EventFlags
* New TestClient command for searching Places 

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3133 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-08 02:56:37 +00:00
Jim Radford
f1ff73cc46 * Updates to DirectoryManager, specifically Classified Ads that add missing adult rating functionality for queries, adds an enum to interpret flags in replies
* Adds additional documentation to both ParcelManager and DirectoryManager
* Adds Example TestClient command to search classified ads
* Updates to PacketDecoder to better interpret some additional flag fields

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3132 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-07 20:13:33 +00:00
Jim Radford
3f3c4e182f LIBOMV-576 Merged ClientHelpers and Helpers classes, ClientHelpers methods can once again be directly accessed through the static Helpers class.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3130 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-07 03:47:02 +00:00
John Hurliman
751ef64372 * Finished cleaning out .NET 1.1 CheckValidationResult cruft for overriding SSL checks
* Added a few more fields to PrimInfoCommand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3056 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 22:27:00 +00:00
John Hurliman
7c016027f2 Improved FindObjects command for TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3053 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 18:28:52 +00:00
John Hurliman
7e730ca7cc Fixed a compile error
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3040 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 19:12:11 +00:00
John Hurliman
c1bc0b4af6 * Moved OpenMetaverse/Resources to bin/openmetaverse_data until we have a working xbuild and reorganize SVN
* Complete rewrite of AppearanceManager. Appearance editing has not been (re)implemented yet, but the normal appearance setting is much more reliable
* Added a setting (defaulted to true) for automatically setting appearance
* Various baking hacks to get slightly less ugly avatars
* Added baked texture uploading through CAPS in AssetManager.RequestUploadBakedTexture(). UDP fallback is not implemented yet
* Added Parallel.Invoke() and overloads for all three methods that take a threadCount

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3038 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 17:43:01 +00:00
Latif Khalifa
4d44dbe8e5 LIBOMV-643: Missing help for '@' command added
Group invite without a group role was not possible (now allows default role to be assigned if none is specified).



git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3029 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-25 20:13:28 +00:00
Jim Radford
b80b974c77 0.8 here we come!
LIBOMV-576 Start of Abstracting library into two separate libraries. For now this means: There will be a new dependency for OpenMetaverse.dll named OpenMetaverseCore.dll, the new will be required for OpenMetaverse to operate properly, the inverse is not true. OpenMetaverseCore will eventually contain all packet and message related code. 
* Need to create a singleton logger instance (or move the current logger to Core.
* Currently only Packets, Helpers and some common types have been moved to Core.
* Helpers will need to be split and non-core required helpers moved back to OpenMetaverse.
* Lots more work to be done here, but these changes should not break anything (yet)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3021 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-23 03:31:16 +00:00
Jim Radford
b60db797b2 LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 06:57:52 +00:00
Jim Radford
0c0a29cf73 LIBOMV-585 Re-implements ObjectSelect trigger when we receive a primitive with the CreateSelected flag set.
* Fixed NullReference exception in TestClient PrimInfoCommand which was being thrown when a primitive was sent with no light data.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3011 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-21 23:53:01 +00:00
Latif Khalifa
1952d61c25 Change setting names to go along changes in LIBOMV-639
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3005 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-19 03:50:09 +00:00
Latif Khalifa
a4c8f8bba5 LIBOMV-639:
* Renamed TextureCache to AssetCache
* Plugged in new cache into AssetManager
* Removed OnAssetReceived global event from AssetManger
* RequestAsset and RequestInventoryAsset now take a delegate of type AssetReceivedCallback


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3004 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-19 03:38:27 +00:00
Latif Khalifa
0ad625b480 LIBOMV-630: @ command should tell, if a bot is offline
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2995 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-16 18:26:02 +00:00
Latif Khalifa
64417a208a LIBOMV-630: TestClient improvements (patch by Kephra Nurmi)
Improved TestClient:
added '@' as a command prefix to target one avatar only and to check, if a named avatar is logged in.

Improved TestClient to add new commands:

groupmembers GroupnameOrUUID - shows groupmembers UUIDs
grouproles GroupnameOrUUID - shows grouproles UUID and Names
invitegroup AvatarUUID GroupUUID RoleUUID* - invites an avatar into a group (without querying groupmembers first !-)

added public Dictionary<UUID, Group> GroupsCache = null; to TestClient.cs to refactor copy and paste code of group commands.
added friend.UUID to output of FriendsCommand.cs
swapped output of UUID and name in GroupsCommand.cs



git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2989 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-15 23:23:11 +00:00