1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-28 05:15:32 +00:00
Commit graph

25122 commits

Author SHA1 Message Date
Alexei Dobrohotov
c01324fdb2
Merge pull request 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 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 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 ) 2019-11-29 12:26:17 +04:00
Roman Siromakha
bfc6194d80
Merge pull request 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 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 from akortunov/warnfix2
Fix some build warnings
2019-11-27 21:24:44 +01:00
Capostrophic
77f076ff11 Make sure instant FX abilities get detected when supposed 2019-11-27 17:15:48 +03:00
David Cernat
bbf9f20053 [Client] Stop sending WorldKillCount packets or incrementing local kills
This means the server scripts are now required to send a WorldKillCount packet as a reply to ActorDeath packets sent by clients. This gives the server full control over which kills are counted, while also solving the previous problem of kills being counted only for actors that had finished their death animations.
2019-11-27 11:21:29 +02:00
David Cernat
b352983348 [General] Include actor refIds in ActorDeath packets 2019-11-27 11:18:08 +02:00
Andrei Kortunov
70bae51ad2
Merge pull request from Capostrophic/samefaction
Make SameFaction work (bug )
2019-11-23 22:27:51 +04:00
Capostrophic
0adc2df65f Make SameFaction work (bug ) 2019-11-23 14:47:50 +03:00
David Cernat
8da6a7fd9b [Server] Fix mixed-up bindings for Chat functions 2019-11-20 21:01:18 +02:00
Andrei Kortunov
2fa4aa9f3f
Merge pull request from Capostrophic/quickkeys
Make sure quick key 0 (tenth quick key) shortcut is not saved or loaded
2019-11-20 21:28:20 +04:00
Capostrophic
eed92c824e Make sure hand-to-hand shortcut is not saved 2019-11-20 19:57:21 +03:00
David Cernat
3c3015d0da [Browser] Remove unused buttons from the server browser for now 2019-11-20 15:05:48 +02:00
David Cernat
0c98c5d09e Add OpenMW commits up to 19 Nov 2019
# Conflicts:
#	apps/openmw/mwmechanics/aipursue.cpp
#	apps/openmw/mwmechanics/summoning.cpp
2019-11-19 17:16:48 +02:00
Bret Curtis
2cbb01627b
Merge pull request from akortunov/fading
Do not use screen fading during game loading if there is no current cell
2019-11-19 14:48:21 +01:00
Andrei Kortunov
d0643d266a Do not use fallthrough in switches 2019-11-19 16:10:18 +04:00
Andrei Kortunov
040d2675c6 Fix the C4267 MSVC warning 2019-11-19 15:31:44 +04:00
Andrei Kortunov
73f43ba750 Do not use screen fading during game loading if there is no current cell (bug ) 2019-11-18 22:24:19 +04:00
Alexei Dobrohotov
980e0c4936
Merge pull request from akortunov/activate
Allow ActionOpen and ActionTalk only for player
2019-11-18 21:17:33 +03:00
Andrei Kortunov
4118b20608 Allow ActionOpen and ActionTalk only for player (bug 2019-11-18 12:41:11 +04:00
Alexei Dobrohotov
a6ffaaa434
Merge pull request from akortunov/coverity
Validate input bindings to avoid crashes in OICS
2019-11-18 01:29:05 +03:00
Alexei Dobrohotov
4208f10e81
Merge pull request from akortunov/master
Take in account caster's race height when launch magic bolt
2019-11-17 21:04:55 +03:00
Andrei Kortunov
6861d9d5e5
Merge pull request from elsid/ai_open_door
Open door when it is on the way to a next path point (bug )
2019-11-17 21:21:22 +04:00