openmw-tes3coop/apps/openmw/mwmp
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
..
GUI [Client] Clean up GUIChat slightly 2018-01-05 00:03:05 +02:00
processors [Client] Add setAttributes() and setSkills() methods to DedicatedPlayer 2018-04-13 16:59:48 +03:00
ActorList.cpp [Client] Make foreach style consistent with other 2017-06-27 22:27:02 +08:00
ActorList.hpp [General] Make most ActorPackets smaller by not including refIds in them 2017-05-27 16:59:23 +03:00
Cell.cpp [Client] Ignore cell changes that move actors to where they already are 2018-01-08 01:37:01 +02:00
Cell.hpp [Client] Fix warnings 2017-07-03 23:41:16 +08:00
CellController.cpp [Client] Remove redundant container methods from CellController 2018-04-01 07:11:43 +03:00
CellController.hpp [Client] Remove redundant container methods from CellController 2018-04-01 07:11:43 +03:00
DedicatedActor.cpp [Client] Ignore equipment items for DedicatedActors with count below 0 2018-01-27 18:08:45 +02:00
DedicatedActor.hpp [Client] Fix problems with NPC equipment sync 2017-06-09 04:58:56 +03:00
DedicatedPlayer.cpp [Client] Update DedicatedPlayer creature if displayCreatureName changes 2018-04-17 15:23:10 +03:00
DedicatedPlayer.hpp [Client] Update DedicatedPlayer creature if displayCreatureName changes 2018-04-17 15:23:10 +03:00
GUIController.cpp [Client] Split up creation of DedicatedPlayers into multiple methods 2018-04-08 10:56:33 +03:00
GUIController.hpp [Client] Unequip items if necessary when attr/skill modifier is set to 0 2018-01-26 00:45:39 +02:00
LocalActor.cpp [General] Rework container sync to prevent item duping 2018-03-26 19:27:36 +03:00
LocalActor.hpp [Client] Use update timer in mwmp::Cell instead of LocalActor 2017-06-10 03:29:51 +03:00
LocalPlayer.cpp [General] Rework PlayerSkill packets so they are of minimal size 2018-04-19 15:18:38 +03:00
LocalPlayer.hpp [General] Rework CharGen slightly for clarity purposes 2018-04-19 13:25:29 +03:00
Main.cpp [General] Rework CharGen slightly for clarity purposes 2018-04-19 13:25:29 +03:00
Main.hpp [Client] Convert MechanicsHelper to namespace 2017-06-27 16:43:53 +08:00
MechanicsHelper.cpp [General] Add isPlayer boolean to targets in packets 2018-04-05 12:48:53 +03:00
MechanicsHelper.hpp [Client] Add and use enchantmentType argument for unequipItemsByEffect() 2018-01-27 19:37:16 +02:00
Networking.cpp [Client] Use more descriptive message for version mismatch 2018-01-17 08:10:49 +02:00
Networking.hpp [Client] Replace usage of Networking::isDedicatedPlayer() 2017-04-18 18:07:39 +03:00
PlayerList.cpp [Client] Streamline creation of references for DedicatedPlayers 2018-04-08 15:02:43 +03:00
PlayerList.hpp [Client] Streamline creation of references for DedicatedPlayers 2018-04-08 15:02:43 +03:00
RecordHelper.cpp [General] Use RecordHelper methods to create and update DedicatedPlayers 2018-04-13 08:37:06 +03:00
RecordHelper.hpp [General] Use RecordHelper methods to create and update DedicatedPlayers 2018-04-13 08:37:06 +03:00
WorldEvent.cpp [General] Add isPlayer boolean to targets in packets 2018-04-05 12:48:53 +03:00
WorldEvent.hpp [Client] Make it possible to reply to requests about specific containers 2018-04-01 10:00:39 +03:00