1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 01:49:54 +00:00
openmw-tes3mp/apps
David Cernat f481c85e07 [Client] Use ADD before REMOVE for PlayerInventory in repair/recharge
Previously, when recharging or repairing an item, the client sent a PlayerInventory packet to the server with the old version of the item that was supposed to be removed and then it sent a PlayerInventory packet with the new version of the item that was supposed to be added.

Unfortunately, the current CoreScripts make it so custom items using generated IDs have their records deleted when they are completely removed from the world, however briefly, even if they are added back immediately afterwards. In practice, this meant that – before this commit – recharging or repairing a custom item led to its removal from the player inventory stored on the server, followed by the deletion of its record, followed by its readdition to the inventory (but with the record staying deleted). Logging out and logging back in immediately prevented the player from receiving the item anymore because of its now non-existent record.
2019-01-11 13:08:26 +02:00
..
browser [General] Switch to new official master server port when using old one 2018-08-22 13:49:17 +03:00
bsatool Restore trailing new lines to shrink PR 2017-09-08 22:20:04 +01:00
esmtool Dropping a separate NPDTstruct12 object and instead use NPDTstruct52 2018-05-09 00:25:07 +02:00
essimporter Initialize missing variables 2018-08-01 20:18:37 +04:00
launcher Merge pull request #469 from davidcernat/master while resolving conflicts 2018-08-20 14:08:44 +03:00
master [Master] Fix REST servers/info 2017-07-31 19:32:27 +08:00
mwiniimporter Fix MSVC warnings C4456 2018-07-10 11:29:39 +04:00
niftest Some PVS-Studio and cppcheck fixes 2018-04-18 12:36:10 +00:00
opencs Merge pull request #469 from davidcernat/master while resolving conflicts 2018-08-20 14:08:44 +03:00
openmw [Client] Use ADD before REMOVE for PlayerInventory in repair/recharge 2019-01-11 13:08:26 +02:00
openmw-mp [Server] Fix non-Windows builds 2019-01-05 22:11:58 +02:00
openmw_test_suite Make partial binary search case insensitive, as it supposed to be (bug #4558) 2018-08-05 13:26:12 +04:00
wizard Merged pull request #1697 2018-05-23 16:01:11 +02:00
doc.hpp