David Cernat
154a9ce5a6
[General] Fix declarations hiding class members, part 2
2019-12-04 10:17:33 +02:00
David Cernat
270867a397
[Client] Ensure mwmp::Main is initialized before GUIController cleanup
...
Previously, certain errors early in the program's execution – such as an attempt to use two different packet processors for the same packet ID – would not be displayed because of a crash when attempting to get an uninitialized mwmp::Main in the Engine's destructor.
2019-12-04 08:39:33 +02:00
David Cernat
5b4db83d61
[Client] Once again allow beds to be used even if waiting is disallowed
...
This had been broken by rest-related commits in OpenMW.
2019-12-03 23:55:55 +02:00
David Cernat
c4950f1beb
[Client] Implement PlayerTeam packet, part 2
...
When determining actors siding with someone, also check the team members of DedicatedPlayers, not just those of the LocalPlayer.
Don't set players as each other's hitAttemptActor if they are team members.
Don't run startCombat() for DedicatedPlayers who get attacked.
2019-12-03 22:40:02 +02:00
David Cernat
3a52f7dcf5
[Client] Add isTeamMember() method to MechanicsHelper
2019-12-03 17:04:49 +02:00
David Cernat
68f524b822
[Client] Use more succinct methods for PlayerPtr in MechanicsHelper
2019-12-03 14:12:40 +02:00
David Cernat
21c8821d05
[General] Ignore carriage returns in resources/version file
2019-12-03 13:21:10 +02:00
David Cernat
3aaf64a984
[Client] Only send DoorState packets for logged in players
...
This prevents problems with content that uses scripted doors in the area players are spawned in before they log in.
2019-12-03 12:23:05 +02:00
David Cernat
5ca2c83b02
[Client] Fix additional resurrection problems caused by 6450d84473
2019-12-03 11:42:56 +02:00
David Cernat
eeb3e4f938
[Client] Reset friendly hits when summoning a creature
2019-12-02 23:29:36 +02:00
David Cernat
9792a5256f
[General] Use different compromise for summoning
...
Revert 9502d84a9cb99028f76f7fd2e05f9193ca66561 because the creature graveyard solves more problems than it causes. Only have the authority of a cell send deletion packets when a summon despawns.
Summoning is one of the least multiplayer-friendly systems in OpenMW and really needs to be redone serverside.
2019-12-02 20:48:52 +02:00
David Cernat
753e310dd4
[General] Implement PlayerTeam packet
2019-12-02 19:08:03 +02:00
David Cernat
385ef55848
[Client] Avoid crashes by only using inventory listeners in loaded cells
...
Previously, receiving a Container packet about an actor with a previously initialized listener who was currently located in an unloaded cell crashed the game.
2019-12-02 09:37:10 +02:00
David Cernat
a54bc364ba
[Client] Fix code conflict with OpenMW in OpRemoveSpell correctly
2019-12-02 00:27:33 +02:00
David Cernat
9d6f3fdd09
Add OpenMW commits up to 1 Dec 2019
...
# Conflicts:
# CMakeLists.txt
# apps/openmw/mwscript/aiextensions.cpp
# apps/openmw/mwscript/statsextensions.cpp
2019-12-01 23:52:42 +02:00
David Cernat
d9502d84a9
[Client] Disable clientside handling of summoned creature graveyards
2019-12-01 20:22:04 +02:00
David Cernat
446c22723e
[General] Set default values for some variables in BasePlayer
2019-12-01 18:42:56 +02:00
David Cernat
1283d5d487
[General] Synchronize TCL state for players
...
Additionally, only purge temporary levitation effect for DedicatedPlayers if one has been added.
2019-12-01 18:13:24 +02:00
David Cernat
7120f41cfa
[Client] Add creatures to summoner's creature map when they are missing
...
Additionally, adjust logging related to summons.
2019-12-01 15:02:04 +02:00
David Cernat
985d1f17e0
[Client] Use correct magnitude for active effect created for summons
2019-12-01 14:58:06 +02:00
David Cernat
9a772d737f
[Server] Add script functions relating to summons' effect & spell IDs
2019-12-01 13:32:34 +02:00
David Cernat
d78bdefc01
[General] Include effect and spell ID for summons in ObjectSpawn packets
2019-12-01 13:31:11 +02:00
Capostrophic
e7f6ab1ae2
Avoid using getPtr for object search in scripting (bug #5220 )
2019-12-01 14:09:59 +03:00
David Cernat
610e0558c8
[Server] Use correct argument for SetObjectSummonDuration()
2019-12-01 10:41:07 +02:00
David Cernat
47b666c1f9
[Server] Add ObjectFunctions for setting summoner identity for spawns
2019-12-01 10:12:13 +02:00
Andrei Kortunov
eacc185534
Merge pull request #2616 from Brouilles/master
...
Several languages for the launcher
2019-12-01 10:03:19 +04:00
Andrei Kortunov
058bbf4b0f
Merge pull request #2620 from elsid/fix_cage_door_rotation
...
Rotate door object using direct rotation order once
2019-12-01 09:54:38 +04:00
Brouilles
3889c0fa7b
Add QTranslator support for launcher
...
Add French translation for launcher
Clean launcher main.cpp (appTranslator.load)
Remove french translation
Remove string translation file
Update AUTHORS.md
2019-11-30 22:41:00 +01:00
David Cernat
c6542ffec4
[Server] Move ObjectFunctions for setting summoning to their own spot
2019-11-30 20:44:27 +02:00
David Cernat
5575242299
[Client] Don't allow players to attack while in persuasion dialogue
2019-11-30 20:05:20 +02:00
Andrei Kortunov
ae80d8e490
Merge pull request #2618 from elsid/fix_rope_bridge
...
Fix objects culling for recast mesh tiles (bug #5216 )
2019-11-30 21:54:14 +04:00
David Cernat
397cdf400b
[Server] Reorder record types in RecordsDynamic script functions
...
They are now consistent with the ordering from 42b002e8db
2019-11-30 19:12:57 +02:00
David Cernat
64c94346b6
[Client] Always send attack starts by actors immediately
...
Previously, creatures with fast attack animations would have their attack updated right after being started, which happened so quickly that it prevented the attack start from actually being sent by the client.
2019-11-30 15:50:05 +02:00
Alexei Dobrohotov
c01324fdb2
Merge pull request #2613 from akortunov/warnfix3
...
Fix GCC9 warnings about implicit declarations
2019-11-30 16:09:01 +03:00
elsid
3cfd5fca4e
Rotate door object using direct rotation order once
...
Instead of rotating using inverse and then applying the direct rotation.
To properly update object in navigator.
2019-11-30 14:09:00 +01:00
David Cernat
ed7fe859dd
[Client] Set attackingOrSpell state instantly after Attack/Cast packets
...
It is no longer necessary to wait for the Actors::update() loop to set dedicated players and actors to their new states.
2019-11-30 15:03:51 +02:00
elsid
7ec5a20c64
Filter recast mesh triangles by global bounding box
...
Except heightfields to reduce slow down.
2019-11-30 13:19:27 +01:00
David Cernat
c702eab93c
[Client] Fix declarations hiding class members
2019-11-30 12:51:48 +02:00
Nikolay Kasyanov
6ef94c20b3
Fix macOS packaging on CMake 3.15
...
It looks like component names have become case sensitive.
2019-11-30 10:37:05 +01:00
David Cernat
56c3ef71ae
[Client] Send ObjectDelete packets when picking up items once again
...
When fixing problems with ObjectActivate in 49fa35a516
, I mistakenly made it so the picking up of items no longer also sent ObjectDelete packets. That is now fixed.
2019-11-30 08:13:22 +02:00
David Cernat
7acf6865b9
[Client] Don't clear spells for dying actors
2019-11-29 19:49:17 +02:00
David Cernat
23d410f473
[General] Implement body part records for RecordDynamic packet
2019-11-29 14:06:17 +02:00
David Cernat
0dae3074a6
[Client] Add missing comment related to spellcast animation
2019-11-29 14:02:52 +02:00
David Cernat
b3747839c0
[General] Add hasRace to record overrides in RecordsDynamic packet
2019-11-29 13:28:07 +02:00
David Cernat
ddb25a482d
[Server] Remove unneeded assignments for playerController in processors
2019-11-29 12:54:18 +02:00
David Cernat
16662d772b
[General] Synchronize death animations for players
2019-11-29 12:52:47 +02:00
Andrei Kortunov
1b98fe4395
Fix GCC9 warnings about implicit declarations
2019-11-29 12:41:23 +04:00
David Cernat
140c1c9c12
[General] Use hard synchronization for melee attack animations
...
Previously, each client chose its own attack animations for DedicatedPlayers and DedicatedActors based on the direction they were walking in, which however led to desyncs for players with "Always Use Best Attack" enabled and for creatures which pick their attack animations randomly.
2019-11-29 10:39:57 +02:00
David Cernat
a385fcdd87
[Client] Fix crash caused by setting instant state for null localCast
2019-11-28 20:28:55 +02:00
David Cernat
5a46b40e1a
[Client] Stop switching drawstates when receiving ActorAttack packets
...
Previously, some of the spammier ActorAttack packets were overriding spellcasting animations with weapon attack animations.
2019-11-28 19:53:34 +02:00