Commit Graph

53 Commits

Author SHA1 Message Date
Casper Warden
2efd01dca5 Add getAllObjects() query for the object store 2018-10-19 16:39:24 +01: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
ff0a5fa58b - Add grabObject, deGrabObject, dragGrabbedObject, touchObject to RegionCommands (closes #8)
- Properly decode object TextureEntry
- Properly decode object ParticleSystem
- Properly decode object ObjectData
- Properly decode object TextColor
- Properly decode Linden Tree species
- Correct handling of ObjectUpdateCached (only request objects if we don't already have them)
- Implement handling of ImprovedTerseObjectUpdate to complete support for R-Tree object searching
- Object store interface: getObjectByUUID, getObjectByLocalID
2018-10-16 16:46:58 +01:00
Casper Warden
9eee7f9716 - Implement 3D space rtree-based indexing in the Full ObjectStore
- Implement ScriptDialogReply thanks to Hintswen
- Add a rudimentary object search - doesn't work fully yet because of the missing messages
2018-10-12 17:31:14 +01:00
Casper Warden
2a0c4dc3e8 [BREAKING CHANGES] - Add new commands module for the Friends list, add new events for friends online/offline, friend rights management, friend map lookup 2018-10-12 14:34:43 +01:00
Casper Warden
9242c474bd Fix handling of waitForMessages timeout 2018-10-12 09:41:35 +01:00
Casper Warden
35e705683d Fix missing array in getRegionMapInfo 2018-10-12 09:32:33 +01:00
Casper Warden
5ababa7b1e Accidentally included tslint/error 2018-10-10 10:41:34 +01:00
Casper Warden
572cd576de Fix lint issues 2018-10-10 10:36:12 +01:00
Casper Warden
c6c6768dc9 Bring deps up to date 2018-10-10 10:12:20 +01:00
Casper Warden
da9fe9710c Teleport and EventQueue reliability improvements. Start plumbing for stayPut() 2018-10-09 20:03:28 +01:00
Casper Warden
8083b78cc1 Add message ID to timeout error to help diagnose issues like bug #2 2018-10-07 17:12:44 +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
3e993a07e3 Merge pull request #6 from hintswen/master
Tried to add a ScriptDialog event...
2018-10-07 15:12:14 +01:00
Casper Warden
1137868932 Refactor: Async-ify a bunch of stuff. Change waitForMessage to template style. Disable strictPropertyInitialization in typescript config. 2018-10-07 14:59:07 +01:00
hintswen
377096a045 Revert "Revert "Tried to add a ScriptDialog event...""
This reverts commit 91117fea5c.
2018-10-08 00:56:33 +11:00
hintswen
91117fea5c Revert "Tried to add a ScriptDialog event..."
This reverts commit c7be7a380c.
2018-10-08 00:47:23 +11:00
hintswen
c7be7a380c Tried to add a ScriptDialog event...
It's currently not working, not sure what I missed.
2018-10-07 22:26:39 +11:00
hintswen
6e6cedae70 Fixed typo and filter 2018-10-07 16:32:30 +11:00
Casper Warden
ad559567b3 This commit demonstrates how to add a new client command to node-metaverse.
It also shows how to add a new command category (ParcelCommands)

Everything under dist/ is auto-generated with "npm run build".
2018-10-06 17:18:46 +01:00
Casper Warden
cb2be348d7 The rest of the refactor 2018-10-06 17:16:51 +01:00
Casper Warden
eb5ef5b074 Tidy up imports, add missing exports, rename some events for consistency 2018-10-06 17:09:41 +01:00
Casper Warden
11f2f9b320 Refactor waitForMessage to waitForPacket (since it returns a packet) and add a new waitForMessage which return the MessageBase, which makes usage a little tidier with async. 2018-10-06 16:03:10 +01:00
Casper Warden
7a3643018a Get map image with objects 2018-04-08 00:50:23 +01:00
Casper Warden
07ffe2cb8a Fix up teleports 2018-04-07 22:32:12 +01:00
Casper Warden
9f3f346cdd Fix grid filter 2018-04-07 22:19:44 +01:00
Casper Warden
0790fc30a3 Merge branch 'master' of github.com:CasperTech/node-metaverse 2018-04-07 21:43:51 +01:00
Casper Warden
70f1faafdc Add support for getting grid map block data via a range request 2018-04-07 21:43:39 +01:00
Dax Dupont
bce2a4fc31 Removes stopping animation debug 2018-01-02 18:06:10 +01:00
Casper Warden
fce9213ad7 Try to catch decode errors 2017-12-31 02:38:29 +00:00
Casper Warden
a02ba01c94 Build 2017-12-20 18:11:33 +00: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
a312138773 Populate inventory folders (on request) and cache locally 2017-12-20 02:00:12 +00:00
Casper Warden
7987f5b379 Inventory skeleton refactor 2017-12-19 23:43:00 +00:00
Casper Warden
4743dbfeec Fix WARNING related to appended acks in non-zerocoded packets 2017-12-19 23:36:28 +00:00
Casper Warden
58b29d8893 Ability to send friend requests and get notified on accept 2017-12-19 20:25:42 +00:00
Casper Warden
70fd5a99ce Receive and respond to friend requests and inventory offers 2017-12-19 19:59:06 +00:00
Casper Warden
81f4258c04 Account for active group members 2017-12-19 17:58:25 +00:00
Casper Warden
d278bc359b Add TeleportTo command and map region lookup by name 2017-12-16 06:42:41 +00:00
Casper Warden
f4c0f82760 Add caching warning, and include missing files 2017-12-15 21:30:38 +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
985a310aa5 Latest build 2017-12-15 19:27:12 +00:00
Casper Warden
00a32523b9 Create group chat session on send, if it doesn't exist 2017-12-15 19:13:45 +00:00
Dax Dupont
2263d441c4 Fixes sending group chat w/ string 2017-12-15 12:19:21 +01: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
56d3c8e5df Remove debug 2017-12-14 02:38:21 +00:00
Casper Warden
2bd3b9a789 Refine the object culling a little so we don't lose avatar information 2017-12-14 02:37:47 +00:00
Casper Warden
ba121281dc Add BotOptionFlags.StoreMyAttachmentsOnly for ultra light-weight footprint 2017-12-14 02:18:50 +00:00
Casper Warden
60e300f052 Add ObjectStoreLite to reduce memory footprint if the full object data is not needed 2017-12-14 02:06:28 +00:00
Casper Warden
c9831ab427 Handle disconnects gracefully! Handle KillObject to prevent perpetually inflating object store. Unsubscribe from rxjs subscription in bot.ts on disconnect. Stop ping timer. Don't re-create clientEvents on each login. 2017-12-14 01:21:18 +00:00