SanAndreasUnity/Docs/Multiplayer.md

46 lines
1.7 KiB
Markdown
Raw Normal View History

2020-05-31 17:07:22 +00:00
2019-04-24 23:00:31 +00:00
# TODO
2020-05-31 17:07:22 +00:00
2019-04-18 23:04:18 +00:00
- scene changing: When network (server/client) is stopped, offline scene should be loaded. But, when switching back to online scene, Loader should not load everything again. Instead, only Cell loading should be done, if the new scene is main scene. But, are old meshes/textures destroyed ? Do we leave memory behind, every time when network is stopped ? Or... just exit the game when network is stopped (display message box first ?).
2019-04-16 21:33:09 +00:00
2019-07-09 12:59:26 +00:00
- add ability for client to request:
2019-07-12 16:41:38 +00:00
- roll state: when doing more rolls one after another, client doesn't play anim anymore ; sometimes rolling continues even if WASD keys are not pressed ;
2019-07-10 16:36:14 +00:00
- shooting is inaccurate - clients should send fire event with fire pos and fire dir
2019-07-12 20:17:22 +00:00
- send fireDir with other input to server
2019-07-11 16:07:59 +00:00
- remove spamming logs:
2019-07-11 15:36:31 +00:00
- sometimes, current vehicle is null on client
2019-07-10 16:36:14 +00:00
***
2019-07-09 13:17:13 +00:00
2019-07-12 20:17:22 +00:00
- is weapon sound 3d ?
2019-07-07 19:51:30 +00:00
2019-07-10 16:36:14 +00:00
***
2019-07-06 20:02:46 +00:00
2019-05-05 23:45:33 +00:00
- **vehicle is bumping on clients** - disable (or destroy) wheel colliders, and sync them - this should not be done on local player, see below
2019-05-01 14:40:48 +00:00
- when exit vehicle anim is finished on client, it is repeated - change wrap mode
2019-04-28 20:57:04 +00:00
2019-05-05 18:56:46 +00:00
- **vehicle syncing is too laggy** - local player must control the rigid body ; server will validate position/rotation/velocity changes, and correct them if needed ; when server detects collision, or applies force to rigid body, he will override state of rigid body ;
2019-05-28 14:47:40 +00:00
- try to sync rigid body forces, or just clear them on clients ? - will this help ? are forces cleared at the end of frame by physics engine ? - forces can not be accessed
2019-05-27 18:27:47 +00:00
- add option to disable wheel colliders
2020-05-31 17:07:22 +00:00
2019-07-09 12:59:26 +00:00
# Notes
2020-05-31 17:07:22 +00:00
2019-07-09 12:59:26 +00:00
- server will have multiple Cell focus points - the game can lag too much, so server has to run on a dedicated machine
2020-05-31 17:07:22 +00:00
2019-07-09 12:59:26 +00:00
- dedicated server doesn't need to load textures
2020-05-31 17:07:22 +00:00