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