1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-21 18:09:39 +00:00
openmw-tes3mp/apps/openmw/mwmp
David Cernat 4b30a44816 [Client] Compare crimeTime and deathTime when NPCs forgive player crimes
Previously, all crime witnesses stopped being hostile to a respawning player for as long as the player's diedSinceArrestAttempt was true. That meant that, in an area with no guards to arrest the player, crime witnesses did not enage in combat with the player at all ever again until diedSinceArrestAttempt became false.

This commit makes it so the time of the last crime is recorded for each witness, and that is then compared with the time of the LocalPlayer's last death for a one-time crime forgiveness during that player's current life.

This is essentially a gameplay adjustment for "singleplayer with respawns," and will have to be reworked to make sense for every player in multiplayer, though that requires reworking the crime system as a whole and is thus on hold.
2018-07-06 14:17:54 +03:00
..
GUI [Client] Clean up GUIChat slightly 2018-01-05 00:03:05 +02:00
processors [General] Turn PlayerMap into WorldMap, now a Worldstate packet 2018-06-07 12:51:45 +03:00
ActorList.cpp [General] Implement ActorDeath packet, part 1 2018-06-27 21:47:55 +03:00
ActorList.hpp [General] Implement ActorDeath packet, part 1 2018-06-27 21:47:55 +03:00
Cell.cpp [General] Implement ActorDeath packet, part 1 2018-06-27 21:47:55 +03:00
Cell.hpp [General] Implement ActorAI packet, part 1 2018-05-12 06:29:11 +03:00
CellController.cpp [Client] Fix interior-to-exterior and v.v. cell transitions for actors 2018-06-21 16:44:49 +03:00
CellController.hpp [General] Implement ActorAI packet, part 1 2018-05-12 06:29:11 +03:00
DedicatedActor.cpp [Client] Update initialization of AiFollow packages in multiplayer code 2018-07-04 04:00:12 +03:00
DedicatedActor.hpp [General] Implement ActorAI packet, part 1 2018-05-12 06:29:11 +03:00
DedicatedPlayer.cpp [General] Rework PlayerEquipment packets so they are of minimal size 2018-04-20 22:46:16 +03:00
DedicatedPlayer.hpp [Client] Update DedicatedPlayer creature if displayCreatureName changes 2018-04-17 15:23:10 +03:00
GUIController.cpp [Client] Split up creation of DedicatedPlayers into multiple methods 2018-04-08 10:56:33 +03:00
GUIController.hpp [Client] Unequip items if necessary when attr/skill modifier is set to 0 2018-01-26 00:45:39 +02:00
LocalActor.cpp [Client] Use initial values for LocalPlayer and LocalActor killers 2018-07-06 02:07:55 +03:00
LocalActor.hpp [General] Implement ActorDeath packet, part 1 2018-06-27 21:47:55 +03:00
LocalPlayer.cpp [Client] Compare crimeTime and deathTime when NPCs forgive player crimes 2018-07-06 14:17:54 +03:00
LocalPlayer.hpp [Client] Compare crimeTime and deathTime when NPCs forgive player crimes 2018-07-06 14:17:54 +03:00
Main.cpp [Client] Avoid sending CellStates to server after initialization 2018-05-01 18:19:52 +03:00
Main.hpp [Client] Convert MechanicsHelper to namespace 2017-06-27 16:43:53 +08:00
MechanicsHelper.cpp [General] Temporarily include target names in mwmp::Target 2018-07-05 19:40:28 +03:00
MechanicsHelper.hpp [Client] Add new methods for handling mwmp::Target in MechanicsHelper 2018-07-05 16:36:52 +03:00
Networking.cpp Merge pull request #450 from TES3MP/0.6.2 2018-06-19 05:26:38 +03:00
Networking.hpp [Client] Create Worldstate class that inherits BaseWorldstate 2018-05-27 15:57:47 +03:00
ObjectList.cpp [Client] Use MechanicsHelper::getTarget() for summoners in ObjectList 2018-07-05 16:38:03 +03:00
ObjectList.hpp [General] Send summon duration to server in ObjectSpawn packets 2018-07-01 00:43:29 +03:00
PlayerList.cpp [Client] Use faster check for whether actors are DedicatedPlayers 2018-05-26 08:13:26 +03:00
PlayerList.hpp [Client] Streamline creation of references for DedicatedPlayers 2018-04-08 15:02:43 +03:00
RecordHelper.cpp [General] Use RecordHelper methods to create and update DedicatedPlayers 2018-04-13 08:37:06 +03:00
RecordHelper.hpp [General] Use RecordHelper methods to create and update DedicatedPlayers 2018-04-13 08:37:06 +03:00
Worldstate.cpp [Client] Avoid sending map tiles for Wilderness cells 2018-07-06 03:54:34 +03:00
Worldstate.hpp [Client] Don't send WorldMap packets for already explored map tiles 2018-06-25 02:34:11 +03:00