Commit Graph

27 Commits

Author SHA1 Message Date
Casper Warden
3a6aaac4be Fix UUID validation 2025-06-19 17:49:02 +01:00
Casper Warden
53659008ac NMV 0.8.0 - Big refactor and linting fixes 2025-01-17 23:53:31 +00:00
Casper Warden
302bf3302f Fix object selectin/deselection, deprecated http option 2023-11-22 11:51:20 +00:00
Casper Warden
bbd20514f9 Update deps, migrate to 'got' library 2023-11-19 01:48:50 +00:00
Casper Warden
2104e03b40 Group chat enhancements to combat SL bugs 2022-04-19 16:04:55 +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
4431fb8d15 Tighten up typescript rules and fix resulting compilation errors 2020-12-03 13:55:02 +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
4a7e4f1094 Fix issues with Inventory fetching 2020-11-23 10:33:04 +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
f6cdcbd7ae Fix exception in EventQueueClient upon failure to join a group chat session 2020-11-19 17:10:19 +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
b92698d0d7 Remove accidental debug logging of llsd 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
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
2852c76cb0 - Implement camera controls
- Option to resolve object properties when fetching from object store (names, descriptions etc). Can be more efficient - TODO: use FamilyProperties for child prims.
- Refactored objectstore to reduce code duplication
2018-10-19 16:30:09 +01:00
Casper Warden
da9fe9710c Teleport and EventQueue reliability improvements. Start plumbing for stayPut() 2018-10-09 20:03:28 +01:00
Casper Warden
960f024ea4 More refactoring stuff
- Add a waitForEventQueue promise, to get rid of the 5 second fudge from testBot.js
- Async'ify testBot.js
- Complete plumbing for Hint's ScriptDialog support (see changes to ScriptDialogEvent.ts and Comms.ts
- Fix: The EventQueue was pausing for 5 seconds every 30 seconds
2018-10-07 17:06:54 +01:00
Casper Warden
493b843b4d Add tests for packet decode/encode (and fix some bugs found by the tests!) 2017-12-20 17:07:10 +00:00
Casper Warden
81f4258c04 Account for active group members 2017-12-19 17:58:25 +00:00
Casper Warden
52c0691b71 Get group member list, Get group roles, Send group invite 2017-12-15 21:28:45 +00:00
Casper Warden
00a32523b9 Create group chat session on send, if it doesn't exist 2017-12-15 19:13:45 +00:00
Casper Warden
eab57f8ced Name2key, Group chat, Group invite / group invite accept / group invite reject 2017-12-14 18:22:41 +00:00
Casper Warden
d0658438b9 Teleports, Asset upload / download, Restructure stuff, Fix varlength read bug, BVH parser, agent initial appearance and animation glitches, LLSD + Caps + Event queue 2017-11-30 04:11:59 +00:00