Commit Graph

28393 Commits (953be7cd27285a9c87c931df47f96ff9f76f76e7)
 

Author SHA1 Message Date
David Cernat abdaedd752 [Client] Rely on untranslated topics in ObjectDialogueChoice packets
Previously, when using the Russian edition, all dialogue topics were translated into English before being sent to the server in an ObjectDialogueChoice packet and were then translated back into Russian when received again by the client. However, there were situations where different topics in English corresponded to the same Russian word, e.g. "chores" and "duties" were both translated as "задания", which led to the incorrect topic being used on the client in the end.

This commit makes it so that users of the Russian edition send ObjectDialogueChoice packets where the topicId variable contains both the untranslated topic and the translated one, delimited by a | character, with the client simply using the former when receiving the packet again.

This is a hotfix instead of the proper fix, as the proper fix would use different variables for the two versions of the topic and thus require the structure of the ObjectDialogueChoice packet to change.
3 years ago
David Cernat 571f3e8ee7 [Client] Use correct stacking value when sending SpellsActive packets 3 years ago
David Cernat f2d95dc84d [Client] Make ActiveSpells::removeSpellByTimestamp() return a boolean
Add logging to LocalPlayer::removeSpellsActive() to track when a player's active spell hasn't been removed due to an invalid timestamp.
3 years ago
David Cernat ed9a85f13b [General] Increase maxPlugins to 1000
This allows clients to have 1000 data files instead of 256 as before.

Also increase maxHashes to 50
3 years ago
David Cernat 4aa947ff4b [Client] Prevent player from auto-equipping items taken from containers 3 years ago
David Cernat 15fdac3f6c Revert "Merge branch '0.7.1-window-input' into 0.7.1"
This reverts commit 94f5b169e6, reversing
changes made to 43e7df6df8.

# Conflicts:
#	apps/openmw-mp/handleInput.cpp
3 years ago
David Cernat d7044db179
Merge pull request #595 from GrimKriegor/buildsys/server-only-tweaks
[Buildsys] Tweaks to allow server-only builds
3 years ago
Grim Kriegor aa35f0946f [Buildsys] Tweaks to allow server-only builds
Re-include Base64, Boost and SDL2[1]

Exclude OSG but keep its headers[2]

Exclude most non-essential components and their deps

[1] SDL2 is required by the debug component
May be worth deviating from upstream by making its inclusion
conditional in the future

[2] Server component requires declarations present in the OSG headers
3 years ago
David Cernat 000e8724ca [Documentation] Update changelog for 0.8.0 3 years ago
David Cernat c02fb44ea7
Merge pull request #593 from GrimKriegor/buildsys/server-only-bullet-removal
[Buildsys] Do not require Bullet when building only the server component
3 years ago
Grim Kriegor 57c2ed2557 [Buildsys] Do not require Bullet for the server 3 years ago
David Cernat a3160991f5 [Documentation] Update credits 3 years ago
David Cernat 76e7fdca98 [Documentation] Update year in README 3 years ago
David Cernat 1cb10cd1f2 [Client] Use new exact search with ObjectActivate & ObjectDialogueChoice 3 years ago
David Cernat 646ffc7afe [Client] Add a new type of search to CellStore that also checks refIds 3 years ago
David Cernat ca96827ec9 [General] Change default internal server password 3 years ago
David Cernat 38363eee0d Add OpenMW 0.47 commits up to 4 Dec 2021 3 years ago
psi29a f327288953 Merge branch 'fix_physics_deadlock_47' into 'openmw-47'
Fix deadlock in physics system (#6414 for 0.47)

See merge request OpenMW/openmw!1438
3 years ago
elsid 7f1e5b368e
Fix deadlock in physics system
* Reorder unlock and notify_all calls to avoid notifying when not all worker
  threads are waiting.
* Make sure main thread does not attempt to exclusively lock mSimulationMutex
  while not all workers are done with previous frame.
* Replace mNewFrame flag by counter to avoid modification from multiple
  threads.
3 years ago
psi29a fe8922bdc3 Merge branch 'rtd' into 'master'
Fix readthedocs config, second attempt.

See merge request OpenMW/openmw!1342

(cherry picked from commit 26ee2d284ecbad20247385805f8baeea2e3bfeb6)

20f851b3 Fix readthedocs config, second attempt.
3 years ago
AnyOldName3 b7caf1f36e Merge branch 'rtd' into 'master'
Fix readthedocs config

See merge request OpenMW/openmw!1340

(cherry picked from commit ade3c2c61b29665abfa7562e96ee157c83a89def)

665d756f Fix readthedocs config
3 years ago
David Cernat f85f1e1b17 [General] Change version to 0.8.0
Change repo name from openmw-tes3mp to TES3MP.
3 years ago
David Cernat dbae0bddc2 [Client] Only play sounds from active cells when receiving ObjectSound 3 years ago
David Cernat 48de84ec32 [Client] Send ObjectSound packets with spellcasting sounds 3 years ago
David Cernat 538ccf15cf [Client] Use higher interpolation distance for DedicatedPlayers
This makes up for the laggier-looking jumps since the changes to OpenMW's physics system.
3 years ago
David Cernat 20e37204d0 [Client] Ensure physics actor is valid in World::setOnGround()
Do the same in World::setInertialForce()
3 years ago
David Cernat e010c61167 Add OpenMW 0.47 commits up to 10 Oct 2021 3 years ago
David Cernat efc0b88058 [Client] Don't reload Ptr for DedicatedActor after adding active spells
This prevents non-continuous spell GFX from immediately vanishing.
3 years ago
David Cernat 3e582199fb [Client] Add createSpellGfx() method to MechanicsHelper
Use it to create spell GFX when adding active spells to dedicated players and actors.
3 years ago
David Cernat eb005a5c33 [Client] Stop processing CastSpell::inflict() in more appropriate place
This preserves the functionality of Reflect effects, which relies on inflict() getting far enough for a dedicated player or actor, without also processing parts of inflict() that should be skipped for them.
3 years ago
David Cernat 7f017217c7 [Client] Fix position sync for falling actors 3 years ago
David Cernat fb49b62753 [Client] Fix crash when receiving ActiveSpells for uninitialized players 3 years ago
David Cernat 63c956e1d2 [Client] Fix active spell sync using actor IDs tracked in ActiveSpells 3 years ago
David Cernat e6a1f0889f [Client] Add isStackingSpell() method to MechanicsHelper 3 years ago
David Cernat f03a87df3c [Client] Remove previous placeholders for tracking ActiveSpells actors 3 years ago
David Cernat c027862609 [Client] Track actor IDs in ActiveSpells 3 years ago
psi29a bac679d5f5 Merge branch 'absorb47' into 'openmw-47'
Absorb spells per effect

See merge request OpenMW/openmw!1274
3 years ago
David Cernat 3e81371e53 [General] Fix jump synchronization for players
This had been broken by fr3dz10's physics rewrites from the earlier part of the year that made it so dedicated players were always regarded by the movement solver as being on the ground.
3 years ago
Evil Eye f902efbfcc Absorb spells per effect 3 years ago
David Cernat b67af8d99c [General] Use different fatal error message than OpenMW 3 years ago
Andrei Kortunov b9dc05a158 Add missing changelog entries for 0.47 (#3145)
(cherry picked from commit 61168c3583870cc0fc6c8d91a9839e3b9489c086)
3 years ago
David Cernat 7193d1dca5 [Server] Add stackingState arg to script functions adding active spells 3 years ago
psi29a b81df8af9c Merge branch 'cursorspeedmerge' into 'master'
Updated: Change cursor speed with settings.cfg (#6312)

Closes #6312

See merge request OpenMW/openmw!1255

(cherry picked from commit 1d342f80ed1af25d3cf1f70759be7fba1c9237b2)

b5af1928 gamepad cursor speed fix
3 years ago
David Cernat 06451c13d5 [Client] Update 3rd person model of local player when setting character 3 years ago
David Cernat 1ba36076f3 [Client] Update 3rd person model of local player when unequipping
This had apparently been broken by the fact that I had made inventory listeners get run only for actors in active cells in 385ef55848. Strangely, the player Ptr passed to fireEquipmentChangedEvent() when unequipping items has as its cell the player's original spawn cell instead of the current cell, causing the active cell check to return false in most locations for the player.
3 years ago
David Cernat de78b65eb0 [Server] Fix memory issues with script functions used for hashing 3 years ago
psi29a 81748f8e3d Merge branch 'vanilla_projectile_47' into 'openmw-47'
#6233 / !1188 for 0.47 (Vanilla arrow behaviour)

See merge request OpenMW/openmw!1238
3 years ago
fredzio 32108adc31 Change projectile behaviour to be like in vanilla wrt. water plane:
- enchanted arrow explode upon hit the water plane
- non enchanted arrow disappear (or more accurately, they hit nothingness)
- enchanted arrow shot underwater explode immediately
- non enchanted arrow disappear immediately

Also, solve a bug that occured previously and could theoritically still happens where we use the last tested collision position for instead of the last registered hit:
Use the hit position as saved inside Projectile::hit() instead of the last position saved inside the callback.
If a projectile collides with several objects (bottom of the sea and water surface for instance), the last collision tested won't necessarily be the impact position as we have no control over the order in which the tests are performed.
3 years ago
David Cernat a01c874613 Add OpenMW 0.47 commits up to 23 Sep 2021 3 years ago
psi29a f0a77a48df Merge branch 'check_pathgrid' into 'master'
Make sure PathFinder::getClosestPoint is not called with failing precondition (#6294)

Closes #6294

See merge request OpenMW/openmw!1236

(cherry picked from commit baa33799de3cb27d9d3805e164b9d7ccea6a3e4d)

d36595e0 Make sure PathFinder::getClosestPoint is not called with failing precondition
3 years ago