Commit Graph

37 Commits (424c9c85a664850a67fc5e9138b7a1dc02f34bd6)

Author SHA1 Message Date
Anton Franzluebbers 424c9c85a6 send optional position data with an instantiation event to spawn in a known location, consolidate code for local instantiation 2023-01-26 16:53:23 -05:00
Anton Franzluebbers 028aea8706 updated samples with minimal example, velvoice example, and full example; fixed prefabs not saving with button for finding componenents, change samples directories to be visible in testing project and renamed on push 2022-12-20 23:12:15 -05:00
Anton Franzluebbers 78076c7f41 older velnet changes - seems to be mostly samples 2022-08-15 12:53:49 -04:00
Anton Franzluebbers 6d52a338c5 merge 2022-07-19 16:37:04 -04:00
Anton Franzluebbers ef4141b145 updated samples, autoconnect to server on enable/disable, auto-login option, add bool for players that were already in room when you joined 2022-07-19 16:31:43 -04:00
Kyle Johnsen 4a6e271051 custom messages can be sent by anyone on server 2022-06-23 14:00:15 -04:00
Anton Franzluebbers bcd39cf601 added RPC support 😲 2022-06-17 00:13:33 -04:00
Anton Franzluebbers eeb539ba49 bandaid for invalid master client id being sent by server 2022-04-01 14:37:08 -04:00
Anton Franzluebbers 36f16b35df properly disconnect local client without freezing by limiting unread message queue length and properly disconnecting when the socket dies 2022-03-10 20:08:29 -05:00
Anton Franzluebbers bca55cccbc fix for reconnection bug that only happened on quest resulting in an instacrash 2022-03-04 20:56:31 -05:00
Anton Franzluebbers 40a863cf15 added automatic reconnection of the socket after a disconnect, handle disconnects from timouts properly as a leave event to prevent errors and allow rejoining, fix delete network objects from not being sent across the network, add auto-rejoin option to the test scene, test scene uses callbacks instead of timed spacing to join server and room 2022-03-04 19:22:25 -05:00
Anton Franzluebbers 373323729e changes from vfr 2022-02-12 15:09:57 -05:00
Anton Franzluebbers cb23d41691 hmmmmmm 2022-02-04 00:09:46 -05:00
Anton Franzluebbers a207658b77 added callback for roomdatamessage 2022-02-03 02:09:21 -05:00
Kyle Johnsen bc8b382653 added message type for getroomsdata 2022-02-02 23:47:49 -05:00
Kyle Johnsen f89b69da95 added test for getroomdata 2022-02-02 23:28:01 -05:00
Anton Franzluebbers b7bba1f756 fix errrrorr 2022-01-31 17:05:56 -05:00
Anton Franzluebbers b94b017922 merge 2022-01-31 17:03:22 -05:00
Kyle Johnsen 0a45a20dec added multiple messages for join/left 2022-01-31 00:58:55 -05:00
Anton Franzluebbers 25b0a8744c proper enums for message received, callback for getrooms 2022-01-30 20:51:42 -05:00
Anton Franzluebbers a6e6c02c12 added sender id to custom message type, added trycatch to custom message handler 2022-01-30 17:25:11 -05:00
Anton Franzluebbers 743552bd58 converted some magic numbers to message types, added a custom message type, added editor button for scene ids 2022-01-30 17:04:37 -05:00
Anton Franzluebbers e3b4ae659c correct conversion of messages to binary (maybe) 2022-01-25 22:50:30 -05:00
Anton Franzluebbers a61796e28d moved message encoding to binary instead of string 2022-01-25 21:28:35 -05:00
Anton Franzluebbers 682c470d46 fixes for mouse dragger, visualization for audio range, added some more callbacks to velnetmanager, added color syncing extension, take ownership of synced textbox, fix for deleting all scene objects 2022-01-24 21:12:13 -05:00
Anton Franzluebbers dc61c63563 pulled changes from main branch 2022-01-24 19:18:38 -05:00
Kyle Johnsen 9819ccfbf7 fixed connected event, added ordered tcp messages (not group), automatically running login/connect 2022-01-21 08:59:02 -05:00
Kyle Johnsen 06bc4a09fd added a test for the rooms message 2022-01-20 00:14:30 -05:00
Kyle Johnsen a0f3d99259 Mostly working, except for dissonance speech 2022-01-19 00:30:37 -05:00
Anton Franzluebbers 3fc3d82c52 fixed some more errors related to not cleaning up properly when switching rooms, catch more errors to prevent everything from breaking at once if the user makes an error, added NetworkSerializedObjectStream to avoid needing to initialize binary readers, updated example to include a shared textbox and leave room button 2022-01-13 01:10:53 -05:00
Anton Franzluebbers 7e2fbbe6c6 added mouse dragging script for testing, move networkdestroy and takeownership to static methods in the manager so not everybody needs references to the player, added a custom inspector to NetworkObject for showing owner and a button for automatically finding and assigning networkcomponents, better interpolation for synctransform based on serialization rate, synctransform can send local transforms, find new scene objects on scene load 2022-01-11 22:42:57 -05:00
Anton Franzluebbers 0c0f4af669 maintain a local list of groups and remove groups upon leaving a room. Error checking for receiving messages for people that aren't in our room 2022-01-08 14:59:34 -05:00
Anton Franzluebbers 1b5be601ed more action callbacks for various events, removing objects on leave room, made some stuff static in VelNetManager 2022-01-07 23:23:03 -05:00
Anton Franzluebbers 96e3e762eb removed dissonance integration 2022-01-07 19:54:58 -05:00
Anton Franzluebbers 260cd891db fixed group messages, fixed some errors with players leaving 2022-01-07 19:20:21 -05:00
Anton Franzluebbers 21859b6349 idk even stuff 2022-01-07 15:57:09 -05:00
Anton Franzluebbers 70dcf597c4 big reorganization to make NetworkObjects pass messages on to NetworkComponent, which do the actual syncing. Removed the need for a Player gameobject, added a ownershipLocked option for possible player objects, simplified instantiation process - but it doesn't seem to work all the time 2022-01-07 02:33:10 -05:00