Commit Graph

131 Commits

Author SHA1 Message Date
48f02df34c Move HandleSyncPckt to it's own call 2020-08-08 04:58:02 +03:00
97a6b74417 Add ShootData 2020-08-08 04:53:38 +03:00
afaed03bd5 Add PingBias 2020-08-08 04:44:45 +03:00
7cbcc1de96 Fix heads desyncing off bodies 2020-08-08 04:36:40 +03:00
0bcc31093c Change LocalPlayerJump -> LocalPlayerAction 2020-08-08 04:23:26 +03:00
d33028047e Change JumpPckt to generic ActionPckt 2020-08-08 04:21:24 +03:00
fc2e737c8a Make disconnecting work good and add Peer.Running 2020-08-08 04:21:24 +03:00
d5edcab211 Remove stopwatch and add player lerping after desync 2020-08-08 04:17:54 +03:00
1317c59e94 Optimize terminal text display 2020-08-08 03:57:37 +03:00
c44ffe090a Add ping 2020-08-08 03:35:46 +03:00
c5a3810042 Fix player jumping, coyote time, add coyote ping bias 2020-08-08 02:57:12 +03:00
6e878cd488 Change some terminal commands 2020-08-08 02:32:56 +03:00
73b1613be8 Add PhysicsSyncer to fix setting transform.position on Player 2020-08-08 02:26:56 +03:00
5887757d5c Fix jumps 2020-08-08 02:16:51 +03:00
ae45a57781 Add tp command 2020-08-08 02:14:28 +03:00
5feda5b8c2 Make Unsynced reset and reordered registers 2020-08-08 02:10:20 +03:00
adf3acabeb Fix typo in LocalPlayer.cs 2020-08-08 01:44:07 +03:00
c1d620bc9c Remove handing of Singular Update pckts from Client 2020-08-08 01:37:03 +03:00
0fcaa19506 Register MultipleSyncPckts 2020-08-08 01:29:29 +03:00
cb7ce9bb87 Fix ProcessSyncPacket 2020-08-08 01:26:28 +03:00
3b2c3adf35 Make syncing go brr 2020-08-08 01:21:02 +03:00
1f001c03b7 Commit the last half of the previous commit 2020-08-08 01:15:33 +03:00
6f0ff60952 Implement player sync packet 2020-08-08 01:14:43 +03:00
c37b0b22f0 Add SyncPckt part 1 2020-08-08 00:57:11 +03:00
c9a57b0709 Add PlayerSyncPckt 2020-08-08 00:47:03 +03:00
a0b286cbd6 Remove RemotePlayer prefab and script (use Player instead), implement jumping pckt 2020-08-07 23:25:56 +03:00
45954dab1a Merge branch 'master' of teascade.net:neontea/quakeball 2020-08-07 23:18:02 +03:00
c3ff626980 Separate Jump from regular update 2020-08-07 23:09:31 +03:00
ade4eeb8f5 Change font mat to mobile version, remove RemotePlayer packet queueing 2020-08-07 22:57:43 +03:00
92165cebc2 Skip uninitialized players on MultiplePlayerUpdate 2020-08-07 22:40:37 +03:00
34e0063389 Delete net.meta 2020-08-07 22:32:13 +03:00
5ca75883b6 Merge branch 'master' of teascade.net:neontea/quakeball 2020-08-07 22:18:41 +03:00
dee0e1e3f1 Make server send all player updates in one packet 2020-08-07 22:07:58 +03:00
2d41342790 Move terminal text update to Update 2020-08-07 21:28:43 +03:00
8edd5a81fd Add s 2020-08-07 21:24:43 +03:00
5a5049b043 Change Player namespace to Players 2020-08-07 21:23:21 +03:00
d9ac54bd3d Rename Net namespace to Networking and add MultiplePlayerUpdatePckt 2020-08-07 21:20:13 +03:00
b34edcab2d Move PlayerUpdatePckt creation and consumption to Player.cs 2020-08-07 21:13:13 +03:00
f313f8aaf4 Add except field for Send(un)reliable to all 2020-08-07 21:12:18 +03:00
8a4b5f858c Make moving updates work 2020-08-07 06:24:46 +03:00
088d236fe0 Fix RemotePlayer npe 2020-08-07 05:42:12 +03:00
98055d7711 Fix Net.Quit 2020-08-07 05:36:20 +03:00
550b42bc95 Add no cheating this time -flag 2020-08-07 05:34:38 +03:00
276c1b265e Fix shit 2020-08-07 05:31:49 +03:00
1d8e027558 Make Protocol only be called on mainthread 2020-08-07 05:11:53 +03:00
9daa855f81 Add connecting, spawning, networking, etc. beginning stuff 2020-08-07 04:46:09 +03:00
267cbf6fd9 Fix player 2020-08-07 04:27:09 +03:00
15839cae9e Remove wrong doc 2020-08-07 03:48:07 +03:00
e37dcebd91 Split player properly into LocalPlayer and RemotePlayer 2020-08-07 03:45:29 +03:00
92ff5c1cf3 Add 'options' command 2020-08-07 02:42:59 +03:00
dd4c8a2eb3 Add 'read' command and remove some PP effects 2020-08-07 02:29:54 +03:00
6756bf7d26 Add help, and add client to netchaperone 2020-08-07 02:27:08 +03:00
f2e872e7aa Add NetChaperone 2020-08-07 01:57:40 +03:00
bb73229cc1 Add Terminal Singleton 2020-08-07 01:47:24 +03:00
6f58503c35 Add PressedActionDisplayer 2020-08-07 01:43:52 +03:00
fd407dab78 Make terminal great again 2020-08-07 01:22:54 +03:00
2fb6d279da Implement LocalPlayer.DisableInput 2020-08-07 00:42:39 +03:00
60b109a629 Add options de- and se-rialization 2020-08-07 00:39:36 +03:00
16b0132f6c Finish alicing 2020-08-07 00:39:32 +03:00
139b1a1807 Add terminal 2020-08-07 00:37:23 +03:00
a086f02f93 Document everyting relevant in TeaNet 2020-08-06 21:49:51 +03:00
338a51b75e Progress on making the alice good 2020-08-06 20:58:10 +03:00
dd3599c79a Add a bob 2020-08-06 00:15:28 +03:00
71fadf9fd4 Add Err to PeerMessageListener 2020-08-05 22:54:53 +03:00
6bbd3bb121 Add shallowcopy for unreliable packets 2020-08-05 22:04:21 +03:00
d503b79858 Make sure queue works properly and make ShallowCopy for Packet 2020-08-05 22:02:56 +03:00
d1ddbf5d54 Add SendReliableLater 2020-08-05 21:55:17 +03:00
07bfca4dd8 Remove ReadSerializable() 2020-08-05 21:42:09 +03:00
c2da335ce4 Change WriteX -> Write overloads 2020-08-05 21:38:37 +03:00
abc3a672db Separate ByteBuffer.cs and add rest read/writes 2020-08-05 21:33:22 +03:00
ee0e74d61d Add TMP, tweak movement, add stopwatch 2020-08-05 21:07:51 +03:00
ada3f4bafd Change Connect method 2020-08-05 20:45:34 +03:00
d26ed426cf Update Connections to use UID, ensure package readiness on sending 2020-08-05 20:39:52 +03:00
fe2eca36c9 Did namespace reworking, fixed incorrectversion, added chat 2020-08-05 19:50:28 +03:00
7b426f4f8c Make some neatness updates 2020-08-05 17:59:16 +03:00
63eddfa43b Make networking work 2020-08-05 04:21:04 +03:00
db1d3bb671 Merge branch 'master' of teascade.net:neontea/quakeball 2020-08-02 21:32:52 +03:00
5687a22090 Make Peer more generic 2020-08-02 21:32:30 +03:00
60f59c1392 Add jumping and crouching, ensmoothen movement 2020-08-02 04:45:54 +03:00
d52cded64e Add lighting and player movement 2020-08-02 03:55:12 +03:00
2939eecc8b Add very simple easy networking basic, not much, simple 2020-08-02 03:50:01 +03:00