openmw-tes3coop/apps/openmw
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
..
mwbase Merge pull request #400 from OpenMW/master while resolving conflicts 2018-04-03 01:25:17 +03:00
mwclass [General] Add sync for ranged weapon & projectile strike enchantments 2018-04-03 14:12:27 +03:00
mwdialogue Merge pull request #389 from OpenMW/master 2018-02-25 22:05:32 +02:00
mwgui [Client] Disable automatic transition to other chargen menus from OpenMW 2018-04-19 13:47:42 +03:00
mwinput Merge pull request #400 from OpenMW/master while resolving conflicts 2018-04-03 01:25:17 +03:00
mwmechanics Merge pull request #408 from OpenMW/master 2018-04-18 18:05:09 +03:00
mwmp [Client] Don't force skill update on cell change 2018-04-19 14:22:14 +03:00
mwphysics Merge pull request #395 from OpenMW/master while resolving conflicts 2018-03-29 07:28:30 +03:00
mwrender Merge pull request #1473 2018-04-09 20:23:43 +00:00
mwscript Merge pull request #408 from OpenMW/master 2018-04-18 18:05:09 +03:00
mwsound http to https for supported urls (#1625) 2018-03-08 21:23:24 +01:00
mwstate [Fix] Some PVS-Studio and cppcheck fixes 2018-04-18 12:36:10 +00:00
mwworld Merge pull request #408 from OpenMW/master 2018-04-18 18:05:09 +03:00
android_commandLine.cpp Fix tab indentations in apps/ and components/ 2015-09-16 20:45:37 +02:00
android_commandLine.h Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
android_main.c android: Update for sdl 2.0.8 2018-03-30 12:44:38 -04:00
CMakeLists.txt [Client] Create RecordHelper class with initial NPC and creature methods 2018-04-12 14:18:19 +03:00
crashcatcher.cpp crashcatcher: complain when launching gdb fails 2017-02-23 23:28:49 +01:00
doc.hpp Fixed more spelling mistakes 2016-12-15 13:09:40 +01:00
engine.cpp Merge pull request #369 from OpenMW/master 2018-01-10 03:49:53 +02:00
engine.hpp Don't increase simulationTime while the game is minimized (Fixes #4211) 2017-11-16 18:48:49 +00:00
main.cpp Merge pull request #374 from OpenMW/master while resolving conflicts 2018-01-27 22:52:59 +02:00