Commit Graph

51 Commits (5ad76f69bcd317db9b5d3b678cbf4c665bcfbc0d)

Author SHA1 Message Date
kjjohnsen 5ad76f69bc synctransform will now uselocaltransform only when checked 2022-12-06 16:59:56 -05:00
kjjohnsen 20a8362800 made player prefab 2d audio again and bumped version 2022-11-14 20:25:22 -05:00
kjjohnsen 2f38a1a154 added chipmunk catchup 2022-11-14 19:32:53 -05:00
Anton Franzluebbers 864b60846c testing npm autopublish 2022-11-13 23:42:08 -05:00
kjjohnsen 3778b0368c Added VEL Voice and sample 2022-11-13 22:32:33 -05:00
Anton Franzluebbers 4896d802ac older velnet changes - seems to be mostly samples 2022-08-15 12:53:49 -04:00
Anton Franzluebbers 5506cd71fa merge 2022-07-19 16:37:04 -04:00
Anton Franzluebbers efed5c3d14 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 6c80452538 custom messages can be sent by anyone on server 2022-06-23 14:00:15 -04:00
Anton Franzluebbers 3154fc5094 method caching for rpc, small fixes 2022-06-21 20:19:26 -04:00
Anton Franzluebbers fcfff4690f added RPC support 😲 2022-06-17 00:13:33 -04:00
Anton Franzluebbers 77f07b8f6a bandaid for invalid master client id being sent by server 2022-04-01 14:37:08 -04:00
Anton Franzluebbers fb870599b1 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 cad3fdda86 fix for reconnection bug that only happened on quest resulting in an instacrash 2022-03-04 20:56:31 -05:00
Anton Franzluebbers de4975b5e3 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 956267d04e changes from vfr 2022-02-12 15:09:57 -05:00
Anton Franzluebbers 44b3b363bb hmmmmmm 2022-02-04 00:09:46 -05:00
Anton Franzluebbers 2d16a14700 added callback for roomdatamessage 2022-02-03 02:09:21 -05:00
Kyle Johnsen 23f475a8a7 added message type for getroomsdata 2022-02-02 23:47:49 -05:00
Kyle Johnsen e701edc017 added test for getroomdata 2022-02-02 23:28:01 -05:00
Anton Franzluebbers 37854f7bf4 fix errrrorr 2022-01-31 17:05:56 -05:00
Anton Franzluebbers bdf531829b merge 2022-01-31 17:03:22 -05:00
Kyle Johnsen ee284a5e05 added multiple messages for join/left 2022-01-31 00:58:55 -05:00
Anton Franzluebbers 837696ddca proper enums for message received, callback for getrooms 2022-01-30 20:51:42 -05:00
Anton Franzluebbers d186dfdf9b added sender id to custom message type, added trycatch to custom message handler 2022-01-30 17:25:11 -05:00
Anton Franzluebbers d084977402 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 e837b624cc correct conversion of messages to binary (maybe) 2022-01-25 22:50:30 -05:00
Anton Franzluebbers 94333a389d moved message encoding to binary instead of string 2022-01-25 21:28:35 -05:00
Anton Franzluebbers 7d110bb8ad added hybrid onchange compression to serializedobject helpers 2022-01-24 21:32:09 -05:00
Anton Franzluebbers 80a16c4ce2 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 e42b499490 pulled changes from main branch 2022-01-24 19:18:38 -05:00
Kyle Johnsen 35f999f77b fixed connected event, added ordered tcp messages (not group), automatically running login/connect 2022-01-21 08:59:02 -05:00
Kyle Johnsen 9adb458b0f added a test for the rooms message 2022-01-20 00:14:30 -05:00
Kyle Johnsen e94ee146e5 Mostly working, except for dissonance speech 2022-01-19 00:30:37 -05:00
Kyle Johnsen d983b34817 progress updating binary manager 2022-01-18 19:02:07 -05:00
Kyle Johnsen f48efad8d0 test binary server with sending tcp messages 2022-01-18 02:11:16 -05:00
Kyle Johnsen acf99582df make small string sends 2022-01-17 22:32:06 -05:00
Kyle Johnsen 013b8ccbda added binary server tester 2022-01-17 18:18:23 -05:00
Anton Franzluebbers de26857357 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 f429bfdcf3 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 8d24d09ebc 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 4d7513f6da 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 7e90b6d8cc removed dissonance integration 2022-01-07 19:54:58 -05:00
Anton Franzluebbers 20607ac1b5 fixed group messages, fixed some errors with players leaving 2022-01-07 19:20:21 -05:00
Anton Franzluebbers c3e3169982 idk even stuff 2022-01-07 15:57:09 -05:00
Anton Franzluebbers ca96e555b2 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
Anton Franzluebbers e8b500f478 more simplification and documentation, added networkserializedobject with fixed serialization rate and ez callbacks 2022-01-06 20:04:05 -05:00
Anton Franzluebbers 440b8e97ca some more cleanup and documentation, split dissonance player into its own componenent for simple adding, added some binarywriter extensions 2022-01-06 17:58:20 -05:00
Anton Franzluebbers 1606306134 maybe fixed ci, made naming convention consistent 2022-01-06 16:24:36 -05:00
Anton Franzluebbers 480b9cd1ca reorganized into a package, added a namespace, added an assemblydefinition, attempt at ci for upm branch creation 2022-01-06 16:02:50 -05:00