1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-24 11:23:50 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Player
David Cernat 995d20348f [General] Always use correct ranged weapon & ammo for ranged attack sync
Previously, the player's currently selected weapon was being used in ranged attacks as in the original melee-oriented attack sync, which meant that shooting one type of projectile and then equipping another while the old projectile was still in the air turned the old projectile into the new projectile upon impact.

Additionally, avoid running most of the code in MechanicsHelper::assignAttackTarget() for non-hitting melee and ranged attacks.
2018-09-23 02:30:31 +03:00
..
PacketChatMessage.cpp [General] Use different ordering channels for packets 2017-05-19 20:02:16 +08:00
PacketChatMessage.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketDisconnect.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketGameSettings.cpp [General] Implement setting of enforced client log level in GameSettings 2018-03-11 04:50:59 +02:00
PacketGameSettings.hpp [General] Repurpose GameConsole packet as GameSettings & add difficulty to it 2017-06-20 05:28:45 +03:00
PacketGUIBoxes.cpp [General] Make sure data in guiMessageBox is compressed 2018-07-05 02:56:32 +03:00
PacketGUIBoxes.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketHandshake.cpp [General] Add integrity checks to Handshake packet 2018-07-03 18:41:03 +08:00
PacketHandshake.hpp [General] Add integrity checks to Handshake packet 2018-07-03 18:41:03 +08:00
PacketLoaded.hpp [General] Use different ordering channels for packets 2017-05-19 20:02:16 +08:00
PacketPlayerActiveSkills.cpp [General] Change "unsigned long" to uint32_t for cross platform compatibility 2018-07-03 03:04:41 +08:00
PacketPlayerActiveSkills.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerAnimFlags.cpp [General] Turn PlayerMap into WorldMap, now a Worldstate packet 2018-06-07 12:51:45 +03:00
PacketPlayerAnimFlags.hpp [General] Turn PlayerMap into WorldMap, now a Worldstate packet 2018-06-07 12:51:45 +03:00
PacketPlayerAnimPlay.cpp [General] Implement PlayerAnimPlay packet 2017-10-27 09:10:29 +03:00
PacketPlayerAnimPlay.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerAttack.cpp [General] Always use correct ranged weapon & ammo for ranged attack sync 2018-09-23 02:30:31 +03:00
PacketPlayerAttack.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerAttribute.cpp [General] Reduce packets size and add integrity checks 2018-07-03 18:41:03 +08:00
PacketPlayerAttribute.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerBaseInfo.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerBaseInfo.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerBehavior.cpp [General] Add placeholders for new packet types 2018-01-29 22:32:51 +02:00
PacketPlayerBehavior.hpp [General] Add placeholders for new packet types 2018-01-29 22:32:51 +02:00
PacketPlayerBook.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerBook.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerBounty.cpp [General] Add and use PlayerBounty packet and matching script functions 2017-04-25 21:24:39 +03:00
PacketPlayerBounty.hpp [General] Add and use PlayerBounty packet and matching script functions 2017-04-25 21:24:39 +03:00
PacketPlayerCellChange.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerCellChange.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerCellState.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerCellState.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerCharGen.cpp [General] Rework CharGen slightly for clarity purposes 2018-04-19 13:25:29 +03:00
PacketPlayerCharGen.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerClass.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerClass.hpp [General] Replace deathReason in death packets with a killer variable 2018-07-05 22:24:51 +03:00
PacketPlayerDeath.cpp [General] Rename all instances of refNumIndex into refNum 2018-07-13 04:12:03 +03:00
PacketPlayerDeath.hpp [General] Replace deathReason in death packets with a killer variable 2018-07-05 22:24:51 +03:00
PacketPlayerEquipment.cpp [General] Compress item refIds in PlayerEquipment packets 2018-07-28 01:50:44 +03:00
PacketPlayerEquipment.hpp [General] Fix information exchange for players sharing a cell 2018-04-26 21:56:14 +03:00
PacketPlayerFaction.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerFaction.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerInput.cpp [General] Turn PlayerInteraction into PlayerInput 2018-07-15 00:36:07 +03:00
PacketPlayerInput.hpp [General] Turn PlayerInteraction into PlayerInput 2018-07-15 00:36:07 +03:00
PacketPlayerInventory.cpp [General] Sync soul refIds for items and add related script functions 2018-07-26 22:37:04 +03:00
PacketPlayerInventory.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerItemUse.cpp [General] Implement PlayerItemUse packet 2018-08-09 18:25:20 +03:00
PacketPlayerItemUse.hpp [General] Implement PlayerItemUse packet 2018-08-09 18:25:20 +03:00
PacketPlayerJail.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerJail.hpp [General] Add placeholders for PlayerJail, ObjectState & ConsoleCommand 2017-07-10 12:33:53 +03:00
PacketPlayerJournal.cpp [General] Add optional timestamps to journal entries in PlayerJournal 2018-07-26 04:36:12 +03:00
PacketPlayerJournal.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerLevel.cpp [General] Rework PlayerSkill packets so they are of minimal size 2018-04-19 15:18:38 +03:00
PacketPlayerLevel.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerMiscellaneous.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerMiscellaneous.hpp [General] Add placeholders for new packet types 2018-01-29 22:32:51 +02:00
PacketPlayerMomentum.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerMomentum.hpp [General] Add placeholders for new packet types, part 2 2018-01-30 16:01:33 +02:00
PacketPlayerPosition.cpp [General] Temporarily revert to original rotation animation sync 2018-07-21 19:27:36 +03:00
PacketPlayerPosition.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerQuickKeys.cpp [General] Add and implement PlayerQuickKeys packet 2017-10-25 07:21:00 +03:00
PacketPlayerQuickKeys.hpp [General] Add and implement PlayerQuickKeys packet 2017-10-25 07:21:00 +03:00
PacketPlayerRegionAuthority.cpp [General] Turn PlayerRegionAuthority into WorldRegionAuthority 2018-07-17 09:21:13 +03:00
PacketPlayerReputation.cpp [General] Implement PlayerReputation packet 2018-01-30 22:55:29 +02:00
PacketPlayerReputation.hpp [General] Add placeholders for new packet types 2018-01-29 22:32:51 +02:00
PacketPlayerRest.cpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerRest.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerResurrect.cpp [General] Implement PlayerJail packet 2017-07-11 13:34:09 +03:00
PacketPlayerResurrect.hpp [General] Implement resurrection at nearest shrine or temple 2017-06-27 01:01:45 +03:00
PacketPlayerShapeshift.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerShapeshift.hpp [General] Add & implement PlayerShapeshift packet for werewolf states 2017-07-15 09:02:19 +03:00
PacketPlayerSkill.cpp [General] Reduce packets size and add integrity checks 2018-07-03 18:41:03 +08:00
PacketPlayerSkill.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerSpeech.cpp [General] Implement PlayerSpeech packet 2017-10-31 15:19:14 +02:00
PacketPlayerSpeech.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerSpellbook.cpp [General] Remove custom data from PlayerSpellbook packet 2018-07-24 20:58:55 +03:00
PacketPlayerSpellbook.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerStatsDynamic.cpp [General] Reduce packets size and add integrity checks 2018-07-03 18:41:03 +08:00
PacketPlayerStatsDynamic.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerTopic.cpp [General] Fix clang-tidy warning 2018-07-03 02:50:21 +08:00
PacketPlayerTopic.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketWorldKillCount.cpp [General] Rename PlayerKillCount into WorldKillCount 2018-07-15 05:34:59 +03:00
PacketWorldKillCount.hpp [General] Rename PlayerKillCount into WorldKillCount 2018-07-15 05:34:59 +03:00
PlayerPacket.cpp [General] Use different ordering channels for packets 2017-05-19 20:02:16 +08:00
PlayerPacket.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00