1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 15:19:55 +00:00
openmw-tes3mp/components/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
..
Base [General] Rework PlayerSkill packets so they are of minimal size 2018-04-19 15:18:38 +03:00
Controllers [General] Add placeholders for new packet types, part 2 2018-01-30 16:01:33 +02:00
Master [General] Add *_WITH_ACK_RECEIPT to master server packets 2017-07-31 19:08:04 +08:00
Packets [General] Rework PlayerSkill packets so they are of minimal size 2018-04-19 15:18:38 +03:00
Log.cpp [General] Implement setting of enforced client log level in GameSettings 2018-03-11 04:50:59 +02:00
Log.hpp [General] Implement setting of enforced client log level in GameSettings 2018-03-11 04:50:59 +02:00
NetworkMessages.hpp [General] Add placeholders for new packet types, part 2 2018-01-30 16:01:33 +02:00
Utils.cpp [General] Print client version on startup 2017-10-08 06:17:53 +03:00
Utils.hpp [General] Move server's version printing method to Utils 2017-10-08 04:16:30 +03:00
Version.hpp [General] Update version to 0.6.3 2018-01-27 23:36:25 +02:00