1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 04:49:54 +00:00
openmw-tes3mp/apps
David Cernat af4fcb7261 [Client] Don't force skill update on cell change
Previously, an attempt by the server to simultaneously change a player's cell and skills (as you'd expect when a player file is loaded) led to:

1) The server sending the cell packet first and the skill packet afterwards

2) The player receiving the cell packet and sending their own skill packet as part of the client's forced skill update

3) The player receiving the skill packet from the server

4) The server receiving the skill packet from the player

The result was that, if the player then left the server without sending another skill packet, the server's memory retained the skills the player had sent instead of the skills it had sent to the player.

This is the first step in a solution to that situation and similar ones.

(cherry picked from commit cac4684986)

Note: In 0.6.x, this was only a problem if a player's cell was set by the server first and their skills were set next, i.e. this was not a problem in the default CoreScripts because the opposite order used there masked the problem. It was a more significant problem in 0.7 because all packets were queued for a player and sent in a specific hardcoded order.
2018-04-19 14:22:14 +03:00
..
browser [Browser] Fix crashing of browser (I hope) 2017-08-01 02:16:49 +08:00
bsatool Restore trailing new lines to shrink PR 2017-09-08 22:20:04 +01:00
esmtool Some PVS-Studio and cppcheck fixes 2018-04-18 12:36:10 +00:00
essimporter ESS-Importer: Convert magic projectiles (Closes #2320) 2017-09-20 18:58:56 +02:00
launcher Merge pull request #408 from OpenMW/master 2018-04-18 18:05:09 +03:00
master [Master] Fix REST servers/info 2017-07-31 19:32:27 +08:00
mwiniimporter Restore trailing new lines to shrink PR 2017-09-08 22:20:04 +01:00
niftest Some PVS-Studio and cppcheck fixes 2018-04-18 12:36:10 +00:00
opencs Merge pull request #408 from OpenMW/master 2018-04-18 18:05:09 +03:00
openmw [Client] Don't force skill update on cell change 2018-04-19 14:22:14 +03:00
openmw-mp [General] Rework CharGen slightly for clarity purposes 2018-04-19 13:25:29 +03:00
openmw_test_suite Label gtest directories as system 2018-03-13 21:27:14 +03:00
wizard Some PVS-Studio and cppcheck fixes 2018-04-18 12:36:10 +00:00
doc.hpp