Commit Graph

118 Commits

Author SHA1 Message Date
Casper Warden
859e785f04 Fix missing default material on RenderMaterials request 2020-12-11 13:16:46 +00:00
Casper Warden
c0e39d647a Fix an inconsistency with folder handling between SL and OS 2020-12-09 20:41:17 +00:00
Casper Warden
4431fb8d15 Tighten up typescript rules and fix resulting compilation errors 2020-12-03 13:55:02 +00:00
Casper Warden
6e0d79715e #24 Ability to restart regions, complete with example 2020-12-01 16:46:33 +00:00
Casper Warden
c584bbab77 #25 Payment-related features, including example showing how to use them. 2020-12-01 15:48:46 +00:00
Casper Warden
2a37224908 Fix compilation with Typescript 4 2020-12-01 14:06:03 +00:00
Casper Warden
15eb17264b Update dependencies. Update Typescript to latest 2020-12-01 12:39:57 +00:00
Casper Warden
d9279a66bf Fix tests 2020-12-01 12:31:59 +00:00
Casper Warden
43723d351e #31: Ability to get a list of all avatars in region
Added example of tracking of agents
Removed some debug logging
2020-12-01 12:25:56 +00:00
Casper Warden
001ea8daad * Add sim stats and add example to examples/Region/Region.ts - Resolves #35
* Add parcel stats (scripts / colliders) and add example to examples/Region/Parcels.ts
2020-11-24 17:04:53 +00:00
Casper Warden
8ba2cf231c Refactor examples into a better form factor 2020-11-23 15:43:27 +00:00
Casper Warden
1f3677905b Add support for updating inventory items 2020-11-23 12:56:48 +00:00
Casper Warden
ef992252fb Add support for the Inventory Accepted / Declined response 2020-11-23 12:56:21 +00:00
Casper Warden
dafd721925 Fix issue with notecard assets not passing LL's verifier 2020-11-23 11:59:44 +00:00
Casper Warden
2d1fea4aba Add giveInventory command 2020-11-23 11:59:17 +00:00
Casper Warden
0ac0b415b8 Fix logic error with avatars not being recognised by the object store 2020-11-23 10:33:39 +00:00
Casper Warden
4a7e4f1094 Fix issues with Inventory fetching 2020-11-23 10:33:04 +00:00
Casper Warden
f05d823987 Formatting fixes 2020-11-20 12:46:44 +00:00
Casper Warden
68eaf3f652 Properly shut down the event queue on reconnect 2020-11-20 12:46:21 +00:00
Casper Warden
1c625b884c Increase connect timeouts to 60s 2020-11-20 12:45:54 +00:00
Casper Warden
50d7e190fd Add command to teleport to region coordinates
Resolves #34
2020-11-19 17:16:58 +00:00
Casper Warden
2ff00a30f8 Extensive work on building, wearables, assets, inventory, attachments, serialization, etc.
Resolves #36
2020-11-19 17:13:28 +00:00
Casper Warden
7b41239a39 Modernise forEach loops throughout 2020-11-19 17:10:19 +00:00
Casper Warden
5c7fcd09bd Add support for sending teleport requests. Closes #33 2020-11-19 17:10:19 +00:00
Casper Warden
f6cdcbd7ae Fix exception in EventQueueClient upon failure to join a group chat session 2020-11-19 17:10:19 +00:00
jerome
2fec4ee685 Implement Parcel Dwell 2020-11-19 17:10:05 +00:00
Tina King
643820b5b3 Add Dwell to Parcel Data
Currently parcel data does not include Dwell. With this it will. (Dwell is the parcel traffic score)
2020-11-19 16:30:45 +00:00
Casper Warden
2145de775b - Bump to 0.5.13
- Add building support for TaskInventory and nested objects (from XML)
- Add support for taking objects into inventory
- Add waitForAppearanceSet utility
- Add new event for when object is fully resolved (ObjectProperties received)
- Fixed InventoryItem CRC method
- Fixed quaternion bug
- Support for uploading Script, Notecard and Gesture assets
- Significantly improved build process
2020-01-09 18:09:47 +00:00
Casper Warden
5e235d2db1 - Support specifying URL in loginParameters for connecting to OpenSim
- Patch some miscellaneous OpenSim related glitches
- Add waitForRegionHandshake function
- Add a concurrent promise queue
- Fix xml writing of Vector3s
- Fix asset downloading on grids without HTTP assets
- Fix buildObject to properly orientate prims
- Wrangled with CreateSelected all day and it turned out to be an OpenSim bug
- LinkFrom function for faster linking
- Updated LLSD library to fix LLMesh decoding
2020-01-07 21:01:20 +00:00
Casper Warden
b248fa17ed Significant tidy-up. Update msg_template and add new ObjectAnimation message. Tidy up imports. Added buffer overrun check to the packet decoders since the message template doesn't seem to always correspond with what we receive (Specifically, MapBlockReply's new Size parameter) 2020-01-06 12:56:01 +00:00
Casper Warden
cbafbf0613 [Closes #11] Add moderateGroupChat function. Add ability to retrieve group ban list. 2020-01-05 19:05:52 +00:00
Casper Warden
f145498abd Supply more information with a MapBlock 2020-01-05 00:30:13 +00:00
Casper Warden
3982d67b7d [Closes #10] Implement group ban/unban. Also fix cap system to accept certain HTTP responses as valid states even with no valid LLSD body. 2019-12-31 14:11:37 +00:00
Casper Warden
2e7552a65a Update caps list 2019-12-31 12:57:49 +00:00
Casper Warden
f793774ee9 [Closes #13] Add ParcelPropertiesRequest with parcel bitmap decoding to ensure the correct reply is given. Heavily optimise getParcels() so that it uses the parcelOverlay to intelligently request parcels at known locations rather than iterating over every block. 2019-12-31 02:23:30 +00:00
Casper Warden
b92698d0d7 Remove accidental debug logging of llsd 2019-12-29 18:01:18 +00:00
hintswen
272adf9a4f Added command for Group/Avatar profiles
Add sample for getGroupProfile
2019-12-29 18:01:53 +00:00
hintswen
7c60ecfc27 Group notice event
Added group notice event for Issue #15

Includes a little tidy-up by Casper
2019-12-29 18:01:18 +00:00
Casper Warden
647eb083ab [FIXES #16] Update LLSD library to 1.0.1 to fix boolean parsing. Bump to 0.5.7 2019-12-29 17:39:00 +00:00
Casper Warden
3abfe82a87 Fix parsing of avatar names 2019-11-22 17:21:14 +00:00
Casper Warden
1bc4d1086b Add avatarName2KeyAndName 2019-11-22 16:50:24 +00:00
Casper Warden
4bf699deaf Update xmlbuilder 2019-09-25 19:10:59 +01:00
Casper Warden
b7cc1c8aef Improve cap invocation rate limiter 2018-11-15 16:13:50 +00:00
Casper Warden
76b080757b - Mesh upload support
- LLMesh asset decoding and encoding (inc. LLPhysicsConvex, LLSkin, LLSubMesh)
- Query inventory folder by type
- onSelectedObject event
- fetchInventoryItem command
- Fix packing/unpacking of object shape
- Time sync with SimulatorViewerTimeMessage
- Changed several classes to a .from style rather than setting up in the constructor (exception friendly)
- Whole bunch of other improvements
- Object building
2018-11-15 03:22:07 +00:00
hintswen
0b4960eb4f Fixed issue sending message twice, simplified paramaters 2018-11-15 03:22:01 +00:00
hintswen
e52fb07720 Added eject from group 2018-11-15 03:21:54 +00:00
Casper Warden
4740b07e11 - Add LLWearable parsing
- Remove ExtraParams, TextureAnim, ParticleSystem binary data from GameObjects, instead encode on the fly when needed
- Add XML object decoding (WIP)
- Move FlexibleData, LightDate, LightImageData, MeshData, SculptData inside ExtraParams class
-
2018-11-05 11:45:04 +00:00
Casper Warden
65e3aef3f9 - Fix buffers out of order issue with Transfer system
- Remove debug
- Add cap invocation rate limiter (need to work out which caps require this)
- Fix initial login timing out after just one second
2018-11-03 14:39:20 +00:00
Casper Warden
da4cd459f1 - Add "GET" method to Caps
- New events: ObjectPhysicsDataEvent, ParcelPropertiesEvent, NewObjectEvent, ObjectUpdateEvent, ObjectKilledEvent
- Added getXML function to Color4, Vector2, Vector3, Vector4, GameObject, Region, Quaternion, UUID for opensim-compatible XML export
- Added TextureAnim and ParticleSystem decoding to the "full" ObjectStore
- Object store will automatically request missing "parent" prims
- "setPersist" - When persist is TRUE, the ObjectStore will not forget about "killed" prims - useful for region scanning
- Support for Flexible params, Light params, LightImage params, Mesh data, Sculpt maps
- Fixed object scale being incorrectly calculated
- Add terrain decoding (this was a ballache)
- Add parcel map decoding
- Add support for region windlight settings (region.environment)
- Add support for materials (normal / specular maps)
- Add getBuffer, getLong and bitwiseOr to UUID
- Added a circular-reference-safe JSONStringify to Utils
- Add XferFile capability to Circuit

PUBLIC API:

AssetCommands:
- Rework "downloadAsset" to detect failures
- NEW: downloadInventoryAsset() - uses TransferRequest for prim inventory items
- NEW: getMaterials() - resolves material UUIDs

RegionCommands:
- NEW: getTerrainTextures()
- NEW: exportSettings() - OpenSim XML export of region settings
- NEW: async getTerrain() - Get binary terrain heightmap, 256x256 float32
- resolveObjects() - now fetches task inventory contents too.
- resolveObjects() - fix calculation of land impact
- NEW: getObjectByLocalID(localID: number, timeout: number)
- NEW: getObjectByUUID(uuid: UUID, timeout: number)
- NEW: getParcels();
- NEW: pruneObjects - removes missing GameObjects from a list
- NEW: setPersist - prevent objectstore from forgetting about killed gameobjects
2018-10-31 11:28:24 +00:00
Casper Warden
4c6cbfc45b - When resolving objects, populate object costs (land impact)
- Add a function to find objects by name (regex or micromatch *glob style)
2018-10-20 14:32:33 +01:00