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
Andrei Kortunov
721a7de8b6
Merge pull request #2621 from Capostrophic/getlos
...
Avoid using getPtr for object search in scripting (bug #5220 )
2019-12-01 20:04:59 +04: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
Andrei Kortunov
974670a7c5
Merge pull request #2540 from elsid/fix_startup_fail_crash
...
Fix crash on destructed stream usage
2019-11-30 22:15:00 +04: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
42b002e8db
[General] Reorder record types in RecordDynamic packet
...
The record types that cannot be created by players through gameplay are now sorted alphabetically after the record types that can be created by them.
2019-11-30 18:34:35 +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
6be103bc54
Increase recast scale factor and tile size
...
Increased recast scale fixes navmesh around (-28585, -29951, 483).
Increased tile size compensates decrease of total navmesh area.
2019-11-30 13:19:27 +01: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
Nikolay Kasyanov
9c8251d986
Merge pull request #2617 from nikolaykasyanov/fix-macos-packaging
...
Fix macOS packaging on CMake 3.15
2019-11-30 12:20:33 +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
elsid
7729e396b2
Fix exceptions logging
2019-11-30 10:33:14 +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
Roman Siromakha
eec5d80566
Merge pull request #2615 from akortunov/borders
...
Fix iterator usage when destroying cell borders
2019-11-29 10:47:22 +01:00
David Cernat
47443e19cb
[General] Use compression for string values used in Attack packets
2019-11-29 11:19:24 +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
Andrei Kortunov
5daf602256
Fix iterator usage when destroying cell borders (bug #5218 )
2019-11-29 12:26:17 +04:00
Roman Siromakha
bfc6194d80
Merge pull request #2614 from akortunov/cmake
...
Fix Boost 1.70+ detection
2019-11-29 09:11:16 +01: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
Andrei Kortunov
05a8702b6e
Fix Boost 1.70+ detection
2019-11-28 16:46:18 +04:00
David Cernat
ef944aa050
[Client] Remove unused redeclarations of localActors & dedicatedActors
2019-11-28 13:00:20 +02:00
David Cernat
06b4a4f97c
[Client] Don't tie spellcasting for dedicated players/actors to anim end
...
When Koncord implemented spellcasting, he made it so only the act of initiating a spellcast was synchronized, leaving it to other clients to actually cast a spell for a dedicated player or actor once their spellcasting animation was over. This had led to a lot of desyncs and has always been inconsistent with the handling of attacks, so I've belatedly gone ahead and prevented the end of a spellcasting animation from having any effect for dedicated players and actors, making them cast a spell when an appropriate Cast packet is received from them instead.
Additionally, the logged messages in MechanicsHelper's handling of attacking and casting have been moved around slightly.
2019-11-28 10:34:34 +02:00
David Cernat
7815c8bdaf
[Client] Queue sending of Cast packet from CastSpell::cast()
2019-11-28 09:40:22 +02:00
Andrei Kortunov
407a737fe4
Merge pull request #2611 from Capostrophic/effect
...
[Regression] Make sure instant FX abilities get detected when they're supposed to
2019-11-28 08:20:39 +04:00
David Cernat
b74e3a7e2e
[Client] Include spellIds in Cast packets again, fixing problem from 190c404b38
2019-11-28 00:11:51 +02:00
Bret Curtis
62b9f1a2f7
Merge pull request #2610 from akortunov/warnfix2
...
Fix some build warnings
2019-11-27 21:24:44 +01:00