Benau
aa2d944813
Use setTicksForRewind for count down game timer
2018-09-21 16:13:19 +08:00
hiker
7cabefc8e9
Fixed incorrect bubble gum rotation prediction (because wrong time
...
was used when rewinding).
2018-09-20 19:30:52 +10:00
hiker
23a82aab54
Merge remote-tracking branch 'origin/master' into network-item-debugging
2018-09-19 08:33:42 +10:00
hiker
1291d2c0d3
Fix crash in case of multiple item collection and different
...
item ids on client and server.
2018-09-13 11:29:40 +10:00
Benau
c59a11c85c
Skip waiting players in network item manager
2018-09-05 01:59:40 +08:00
hiker
9211b26251
Fixed bubble gum collection in networking (at least the problem
...
that you would on the client collect the gum you just dropped).
2018-09-04 18:32:10 +10:00
hiker
5955166931
Try to fix that a client collects its own bubble gum in case of
...
a rewind.
2018-09-03 18:21:03 +10:00
hiker
03c003b68d
First fix for bubble bum support in networking (and some documentation
...
updates).
2018-09-03 10:08:33 +10:00
Benau
60bfc1840b
Port rewinders to use shared_ptr
2018-07-24 14:22:20 +08:00
Benau
bbf5c54f87
Use rewinder with shared_ptr for easier item destroy handling
2018-07-24 14:21:42 +08:00
Benau
d5168691e1
Dont't send item event confirmation if empty state
2018-07-18 13:33:37 +08:00
Benau
49d7a2fbbc
Use count up ticks on rewinding for time limit in soccer game
2018-07-13 23:34:50 +08:00
Benau
1333fe2d19
Use minimum size for uid of rewinder
2018-07-13 15:05:07 +08:00
Benau
565dfcef96
Only send state for moving track object
2018-07-13 10:47:30 +08:00
Benau
ab528e2840
Add a unique identity to each rewinder
2018-07-12 12:41:06 +08:00
Benau
908735b1b1
Remove local state saving at t = 0
...
A proper same frequency local state saving for client will come later
2018-07-11 13:29:30 +08:00
Benau
d9ede4f213
Add state to avoid deadlock when finishing the race
2018-06-08 22:59:07 +08:00
Benau
9af27d93c4
Remove unneeded header
2018-06-08 14:56:49 +08:00
Benau
b9bf3fa125
Use map to store peer and ticks in network item manager
2018-06-08 14:24:21 +08:00
hiker
cd80101bdf
Removed execute permission (for unknown reasons VS makes source files
...
executable when it saves them).
2018-06-08 10:59:13 +10:00
hiker
8cca845dde
Hopefully fixed item collection prediction.
2018-05-31 09:48:33 +10:00
hiker
ab3a3e1155
Combined event handler and emitter in item into one object (since
...
they are the same anyway).
2018-05-27 23:42:38 +10:00
hiker
9108934c18
Added handling of predicted item drops.
2018-05-21 10:09:10 +10:00
hiker
ad82dca6cc
Created separate file for ItemEventInfo.
2018-05-15 18:05:46 +10:00
hiker
0d850201fb
Renamed and split the two newItem () functions into three functions:
...
placeItem(), placeTrigger(), dropNewItem(). Started to add support
for networked bubble gum (though that's not working, i.e. will crash
atm ;) ).
2018-05-15 10:40:25 +10:00
hiker
8c4158c139
Removed option to set item etc type via additional parameter for
...
networking. Now networking relies on deterministically determined
'random' item types and state updates.
2018-05-14 08:46:50 +10:00
hiker
af0495848a
Use client prediction for item collection.
2018-05-13 01:04:45 +10:00
hiker
ff6d5119b4
CLients now predict item (predictions are not synched with server,
...
so the item will chance once the server update is received atm).
2018-05-10 23:23:23 +10:00
hiker
8f2b991e6a
Code cleanup.
2018-05-10 09:31:21 +10:00
hiker
4e37c1388b
Item collection on a client now works, though it is not predicted yet.
...
Other things (dropping bubble gum, switch, synchronised banana collection)
still do be done.
2018-05-10 01:09:23 +10:00
hiker
e1530267f3
Fixed compilation error and some warnings.
2018-05-09 00:48:20 +10:00
hiker
9d60112e65
Started to implement proper item handling: the server now sends
...
updates of all collected items to the clients as part of a state.
A client confirms the received states. Once all clients have
confirmed a certain event, that event is deleted on the server
and not sent anymore. WIP, item collection kind of works, but only
because of kart state updates which include attachment (but not
e.g. nitro).
2018-05-08 19:12:06 +10:00