openmw-tes3coop/apps
David Cernat 20caea083a [Client] Use correct count for items in equipment packets
Previously, throwing weapon sync was completely broken for players, as the count for their equipped throwing weapons was never set and – as a result – defaulted to a count of 1 on other clients. As a result, any time a player threw a dart, they would then appear as having switched to hand-to-hand for other players.

Moreover, the count of equipped items was mistakenly based on the total count of items with that refId in the inventory. As a result, if – for example – I equipped 1 Daedric Longsword and had 4 others in my inventory, my DedicatedPlayer on other clients would equip a Daedric Longsword with a count of 5. If I was overencumbered by having that many Daedric Longswords on me and then dropped 4 of them, allowing myself to move again, my DedicatedPlayer would still walk around with 5 Daedric Longswords and lack animations due to still being overencumbered on the other clients.

These problems were less prevalent for actors, but their equipment updating code has also been changed to match that of players.
2018-03-12 23:31:37 +02: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 Restore trailing new lines to shrink PR 2017-09-08 22:20:04 +01:00
essimporter ESS-Importer: Convert magic projectiles (Closes #2320) 2017-09-20 18:58:56 +02:00
launcher Merge pull request #392 from OpenMW/master while resolving conflicts 2018-03-09 21:07:46 +02: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 Restore trailing new lines to shrink PR 2017-09-08 22:20:04 +01:00
opencs Merge pull request #359 from OpenMW/master while resolving conflicts 2017-12-25 02:03:02 +02:00
openmw [Client] Use correct count for items in equipment packets 2018-03-12 23:31:37 +02:00
openmw-mp [General] Implement setting of enforced client log level in GameSettings 2018-03-11 04:50:59 +02:00
openmw_test_suite Move new behaviour into macro to reduce code duplication 2017-09-08 22:17:42 +01:00
wizard Change default installation directory from 'data' to 'basedata' (Bug #3557) 2018-01-14 00:24:30 +00:00
doc.hpp