Commit Graph

27 Commits

Author SHA1 Message Date
Casper Warden
29a0d7304d Catch errors in exportXML 2023-11-30 18:55:40 +00:00
Casper Warden
58c5a1a08e Improve login, replace deprecated substr calls 2023-11-29 16:01:50 +00:00
Casper Warden
d841bb86b6 Ensure task copied inventory is named correctly 2023-11-22 00:42:05 +00:00
Casper Warden
c487df6d4f Ensure task copied inventory is named correctly 2023-11-22 00:05:51 +00:00
Casper Warden
da455a2fe3 Mark inventory as resolved when downloaded 2023-11-21 18:11:53 +00:00
Casper Warden
c7ea62755b Only get properties at export time if we don't already have them 2023-11-21 17:51:49 +00:00
Casper Warden
3873164475 Don't try to transfer inventory files with no filename 2023-11-21 17:39:53 +00:00
Casper Warden
5151696e18 Resolve temp-on-rez attachments 2023-11-21 14:33:12 +00:00
Casper Warden
e7e790efff Vastly simplify the object resolution stuff. 2023-11-21 14:03:19 +00:00
Casper Warden
9cbc80e1ef Improve LLLindenText parsing 2023-11-20 20:44:21 +00:00
Casper Warden
2bd009bf73 Add additional options for object management 2023-11-16 22:56:20 +00:00
Casper Warden
537253e411 Improved gltf support + tests 2023-11-16 02:03:12 +00:00
Casper Warden
cb77865537 Implement GLTF overrides 2023-11-10 23:57:40 +00:00
Casper Warden
188bf0ab0b Typescript build fixes 2023-11-09 18:09:11 +00:00
Casper Warden
af911d5923 Add some additional formatting rules 2021-09-23 17:22:58 +01:00
Casper Warden
bc6ee025cf Migrate from tslint to eslint (will tighten rules in further commits) 2021-09-23 17:14:23 +01:00
Casper Warden
6ecad4db55 Fix for timeouts when adding scripts to ask inventory 2021-09-22 16:58:06 +01:00
Casper Warden
41f79d969e Bit of tidyup 2021-09-22 15:34:53 +01:00
Casper Warden
4431fb8d15 Tighten up typescript rules and fix resulting compilation errors 2020-12-03 13:55:02 +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
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
4bf699deaf Update xmlbuilder 2019-09-25 19:10:59 +01: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
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
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