openmw-tes3coop/apps/openmw-mp
David Cernat 78441c769a [General] Rework PlayerSkill packets so they are of minimal size
Previously, whenever a single skill value changed for a player, that player then sent a PlayerSkill packet with all values for all 27 skills, plus the player's progress towards the next level and the bonuses to each attribute on the next level up as the result of sklll increases thus far.

This commit makes PlayerSkill contain only the values of specific skills, moves the player's progress towards the next level to PlayerLevel packets, and moves the bonuses to each attribute on the next level up to PlayerAttribute packets.

Players now also send a PlayerSkill packet whenever their progress towards a new point in a skill changes. This was previously avoided so as to not have massive packet spam.

(cherry picked from commit ef79a98544)
2018-04-19 15:18:38 +03:00
..
amx DIE TABS, DIE!!!!!!!1 2016-09-04 17:39:08 +08:00
processors [General] Rework CharGen slightly for clarity purposes 2018-04-19 13:25:29 +03:00
Script [General] Rework PlayerSkill packets so they are of minimal size 2018-04-19 15:18:38 +03:00
Cell.cpp [Server] Avoid duplicates of the same player in a cell's loaders 2017-10-10 05:48:56 +03:00
Cell.hpp [Server] Only read Actor packets from players who are still authorities 2017-05-05 06:13:34 +03:00
CellController.cpp [Server] Initialize interiors correctly if exterior 0, 0 has been loaded 2017-08-31 14:48:23 +03:00
CellController.hpp [Server] Split off Cell and CellController into two different files 2017-04-29 23:05:12 +03:00
CMakeLists.txt [Server] Create ShapeshiftFunctions and move relevant functions there 2018-04-18 10:45:39 +03:00
main.cpp [Server] Put includes in a specific order 2017-10-08 05:17:14 +03:00
MasterClient.cpp [Server] Fix "wrong packet with id: 14" 2017-09-02 14:01:11 +08:00
MasterClient.hpp [Server] Add and implement PushPlugin method to MasterClient 2017-05-07 02:51:57 +08:00
Networking.cpp [Server] Forcibly kick players after too many handshake attempts 2018-04-18 10:16:38 +03:00
Networking.hpp [Server] Forcibly kick players after too many handshake attempts 2018-04-18 10:16:38 +03:00
Player.cpp [Server] Split up handshake handling into multiple functions for debug 2018-04-09 15:25:50 +03:00
Player.hpp [Server] Split up handshake handling into multiple functions for debug 2018-04-09 15:25:50 +03:00
Utils.cpp [Server] Add and use Utils::getCellFromDescription() 2017-04-28 16:33:58 +03:00
Utils.hpp [Server] Add and use Utils::getCellFromDescription() 2017-04-28 16:33:58 +03:00