Marc Zinnschlag
78121c1774
Merged pull request #1823
7 years ago
Marc Zinnschlag
3ba9229f47
Merged pull request #1815
7 years ago
Capostrophic
9c8e284ead
Fix quick key activation delay code (regression #4536 )
7 years ago
Capostrophic
84a871cac7
Actually enable is_pod test
7 years ago
Andrei Kortunov
6d5d0039ec
Make sure we apply OT_Murder only once
7 years ago
Andrei Kortunov
bc82dbbd1b
Do not try to find missing animated collision shape again and again
7 years ago
Andrei Kortunov
2d4ec86b8d
Provide launcher icons
7 years ago
David Cernat
2332423527
[Client] Fix extra qualification error in CellRef when compiling w/ GCC
7 years ago
David Cernat
7136329a94
[Client] Add World::updatePtrsWithRefId() method
...
This makes it possible to "reload" the Ptrs in active cells when changes happen to the ESM record that they are based on. In practice, the old Ptrs are deleted, their RefNums and MpNums are blanked out, and new Ptrs are created that use the same RefNum and MpNum as before.
The above has required me to also add a method called setRefNum() to CellRef to allow setting a RefNum on the fly.
There may be a more elegant implementation available for updatePtrsWithRefIds(), but it requires additional research.
7 years ago
Andrei Kortunov
28a02ac93b
Use file selection dialogue result (bug #4524 )
7 years ago
Marc Zinnschlag
b7c159e5b6
Merged pull request #1816
7 years ago
Marc Zinnschlag
c508938674
Merged pull request #1817
7 years ago
Marc Zinnschlag
bbb22643e8
Merge remote-tracking branch 'capostrophic/warning'
7 years ago
David Cernat
9497c7f6f2
[Client] Add back mistakenly removed setting of mpNums for spawns
7 years ago
David Cernat
25fcd09780
[Client] Add doesNpcExist() method to RecordHelper
7 years ago
David Cernat
7995466e3c
[Client] Check validity of refIds in ObjectSpawn packets
...
This reverts c7bcf70c32
because it provides a better solution to the problem solved there, while solving another related problem as well.
7 years ago
David Cernat
8d286657d4
[Client] Update messages when unilaterally creating custom objects
7 years ago
Capostrophic
f7887ab05f
Fix MSVC C4456 warning: declaration of 'stats' hides previous local declaration
7 years ago
David Cernat
c7bcf70c32
[Client] Ignore ObjectSpawn packets trying to spawn non-actors
7 years ago
David Cernat
d93b67ef21
[General] Sync soul refIds for items and add related script functions
7 years ago
David Cernat
f52364e05c
[Client] Always create new references for new creature disguises
...
Previously, attempts to reuse the same reference for multiple creature disguises led to movement animation issues, as well as a dynamic_cast error in Creature::getInventoryStore() that made a DedicatedPlayer vanish completely when they first lost their creature disguise, then disguised themselves as a creature that could not hold weapons and then disguised themselves as a creature that could hold weapons.
7 years ago
David Cernat
60bc7447d9
[Client] Rework RecordHelper and add methods for other record types
...
The usage of const_cast has been replaced with usage of MWWorld::getModifiableStore() and ESMStore::overrideRecord()
Methods whose names started with "update" now start with "override", for consistency with ESMStore's overrideRecord()
New methods have been added for "overriding" enchantment, potion and spell records, which actually leads to them being created with their already set refIds if they haven't been created yet, as per the description of ESMStore::overrideRecord(): "Insert a record with set ID, and allow it to override a pre-existing static record."
Usage of RecordHelper methods has been updated in DedicatedPlayer.
7 years ago
Capostrophic
51d369d4da
Add resumeGame method
7 years ago
David Cernat
4e78642273
[Client] Add getModifiableStore() to MWWorld
7 years ago
David Cernat
d778bc3b8a
[Server] Turn readWorldstate and writeWorldstate into static variables
7 years ago
David Cernat
b4802e4201
[General] Use Time struct for time in BaseWorldstate
7 years ago
Andrei Kortunov
23d917df9c
Do not use magic numbers in capacity calculations
7 years ago
David Cernat
a4b588d1b5
[General] Add optional timestamps to journal entries in PlayerJournal
7 years ago
Capostrophic
cac2bc768e
Fix NPC "can't teach more" message (bug #4494 )
7 years ago
David Cernat
b79221efcc
[Server] Rename variable i into index in ActorFunctions
7 years ago
David Cernat
8fbed1f808
[General] Remove custom data from PlayerSpellbook packet
...
It has never made sense to have custom spell data in PlayerSpellbook packets, so it has been removed.
7 years ago
David Cernat
2e0b6e4e3e
[Server] Rename variable i into index in script function arguments
...
Additionally, rename i into index in LangLua.
7 years ago
David Cernat
65de028e0d
Merge pull request #462 from OpenMW/master
...
Add OpenMW commits up to 23 Jul 2018
7 years ago
David Cernat
74fa1d0f01
[Client] Fix manual setting of inertial force
...
Actors who are on the ground have their inertial force ignored, so they are now made to not be regarded as being on the ground in World::setInertialForce()
7 years ago
David Cernat
b69e6b96e6
[Client] Use verbose logging level for LocalActor debug
7 years ago
David Cernat
36ac2d9de4
[Client] Set packetOrigin for all ObjectList packets sent
7 years ago
David Cernat
692ee01340
[Client] Add ScriptController w/ contextType-to-packetOrigin method
7 years ago
David Cernat
63a86f145d
[Client] Record type of each InterpreterContext for later checking
7 years ago
David Cernat
d4a84ac34a
[Server] Update script function descriptions for ObjectList origin
7 years ago
David Cernat
3dc2d1b214
[General] Add packetOrigin and originClientScript to ObjectList packets
...
Additionally, add script functions for getting the packetOrigin and originClientScript of received ObjectList packets.
7 years ago
David Cernat
b891acd46e
[Client] Send Container packets when items are added/removed via scripts
...
Additionally, disable unilateral addition and removal of items on clients, and expect the server to reply back with an approved addition or removal.
7 years ago
David Cernat
2189ea1a63
[Client] Clean up sending of Container packets
7 years ago
David Cernat
8c0b75d9f4
[Client] Limit PlayerEquipment packets sent by recharging enchantments
7 years ago
David Cernat
18f8725d33
[Client] Remove tab character that somehow made its way into a comment
7 years ago
David Cernat
038757b91a
[General] Temporarily revert to original rotation animation sync
...
I originally added rotation animation sync as part of commit 068a45be87
. Unfortunately, it meant the PlayerPosition packets were now twice as large as they had been before, which was less than ideal for such a frequently sent packet, which is why Koncord switched to a more optimized approach in commits 5f30dfd5db
and d67db1a9bd
.
Recently, there have since been some rotation animation problems in OpenMW, which have broken the way Koncord's approach looks. My original approach still looks somewhat okay, so I'm switching back to it until we can figure out how to reuse it under the current circumstances.
7 years ago
Marc Zinnschlag
ddd5cbd17c
Initialise lock state of newly opened subviews (fixes issue #4520 )
7 years ago
David Cernat
3944c8aec6
[Client] Ignore WorldRegionAuthority packets that have an empty region
7 years ago
David Cernat
99e64bdcd7
[Client] Remove unused localWeather variable from Worldstate
7 years ago
David Cernat
cd1fc590a7
[Client] Differentiate itemPtr from actor Ptr in DedicatedPlayer method
...
This fixes a mistake from 8f7da49152
7 years ago
David Cernat
5466092582
[Client] Reduce log level for actor cell changes
7 years ago
David Cernat
20e0100706
[General] Rework Attack packets and add synchronization for item magic
7 years ago
David Cernat
0f0e8b7c08
[Client] Adjust log levels used for weather and global map
7 years ago
David Cernat
f1315ef30d
[Cllient] Differentiate itemPtr from actor Ptr in DedicatedActor methods
...
2427a4f877
mistakenly used the variable name "ptr" for both the actor and the items in that actor's inventory.
7 years ago
David Cernat
b6324e3532
[Client] Clean up debug for spell usage
7 years ago
David Cernat
826e64b40e
[Server] Rename isPlayerExists() into doesPlayerExist()
7 years ago
David Cernat
21d5bb4d4e
Merge pull request #460 from OpenMW/master
...
Add 0.7.0 commits up to 20 Jul 2018
7 years ago
David Cernat
6c50d4199b
Merge branch '0.7.0' of https://github.com/TES3MP/openmw-tes3mp into 0.7.0
7 years ago
David Cernat
421d0e7a99
[Client] Make forceWeather false by default for client-sent weather
7 years ago
David Cernat
892d71ce71
[General] Reimplement weather synchronization to allow soft transitions
...
Although weather sync was added by Koncord to the rewrite in fd721143e2
in a way that used surprisingly few lines of code, it relied on the server requesting weather states every second from authority players and sending them to non-authority players, while also allowing only very sudden weather transitions across regions, i.e. if there was one player in the Ascadian Isles who had stormy weather, and another player with clear weather in the Bitter Coast Region walked across to the Ascadian Isles, that player was instantly made to have stormy weather with no kind of transition at all.
My approach solves both of those problems. It solves the packet spam by only sending weather updates to the server when weather changes happen or when there are new arrivals to a weather authority's region, and it allows for both sudden weather transitions when players teleport to a region and for soft, gradual transitions when players walk across to a region. It is inspired by my previous actor sync, and uses a WorldRegionAuthority packet to set players as region authorities in a similar way to how ActorAuthority sets players as cell AI authorities. Weather changes are created only by the region authority for a given region, and weather packets are also only sent by that authority.
However, it should be noted that gradual weather transitions are used by default in this implementation. To use sudden weather transitions, the serverside Lua scripts need to forward WorldWeather packets with the forceWeather boolean set to true. That is, however, already handled by our default Lua scripts in situations where it makes sense.
7 years ago
Andrei Kortunov
8281fd903f
Set movement speed to 0 when unconscious (bug #4519 )
7 years ago
David Cernat
b6db570d9c
[Client] Display uniqueIndexes in a less confusing way in console
7 years ago
Andrei Kortunov
5c16ce1d36
Sort icons in the DataDisplayDelegate
7 years ago
Marc Zinnschlag
78a2725169
Merged pull request #1806
7 years ago
Marc Zinnschlag
326a3e61f4
Merged pull request #1807
7 years ago
Andrei Kortunov
38fa4e0a8a
Do not play un-equipping animation when we switch to hand-to-hand
7 years ago
David Cernat
9823a77bf2
[General] Turn PlayerRegionAuthority into WorldRegionAuthority
...
WorldRegionAuthority is a Worldstate packet.
7 years ago
Koncord
2e227c7af5
[Server] Do not allow to connect with an empty plugin list
7 years ago
Koncord
b5c957c473
[Server] Move PreInit code to preInit method
7 years ago
Koncord
1a9bf253f6
[Server] Simplify getPlayer methods, add isPlayerExists method
7 years ago
Andrei Kortunov
edd5769022
Show magic items count in spells window (feature #4509 )
7 years ago
Andrei Kortunov
30716344f2
Fix possible division by zero in the fatigue calculation (bug #4510 )
7 years ago
David Cernat
d5d3c0937f
[Client] Adjust log level for actor transfers in CellStore
7 years ago
David Cernat
35fdb833df
[Client] Verify integrity of credits file
7 years ago
David Cernat
72d286473b
[General] Move credits integrity error message to new ErrorMessages file
...
Additionally, use correct log level for credit integrity message on server.
7 years ago
David Cernat
0b5cb15f71
[General] Turn GameWeather into WorldWeather, now a WorldstatePacket
7 years ago
David Cernat
646111d998
[General] Use correct credits checksum and move it to Version.hpp
7 years ago
David Cernat
0f36c3ea24
[Server] Verify integrity of credits file
7 years ago
Andrei Kortunov
6ddf6eb885
Use editor markers for lights and creatures levelled lists
7 years ago
David Cernat
4ac371d292
[Server] Delete duplicate WorldKillCount processor with old filename
7 years ago
David Cernat
3649cf553f
[General] Rename PlayerKillCount into WorldKillCount
...
This should clarify the real meaning of the packet and its associated event.
The event itself has been renamed from OnPlayerKillCount to OnWorldKillCount.
7 years ago
David Cernat
18a2d238ab
[Client] Don't pop up dialogue screen when an NPC activates another NPC
7 years ago
David Cernat
4ef2aff11e
[Client] Remove "Not implemented" message when activating other player
...
Serverside scripts can now make lots of different things happen as the result of such activation, which is why the message was no longer current.
7 years ago
David Cernat
f13705e8be
[Client] Improve debug for ObjectActivate and ConsoleCommand
7 years ago
David Cernat
6ebe09375f
[General] Implement ObjectActivate packet & associated script functions
7 years ago
David Cernat
81b160cae8
[General] Add placeholder for ObjectActivate packet
7 years ago
David Cernat
61da0d2475
[General] Turn PlayerInteraction into PlayerInput
7 years ago
David Cernat
32b6134fad
[General] Add placeholder for CellReplace packet
7 years ago
David Cernat
a471f5e452
[General] Turn CellCreate into a Worldstate packet
7 years ago
David Cernat
6cb5ac6e63
Merge pull request #457 from OpenMW/master while resolving conflicts
...
Conflicts:
CMakeLists.txt
apps/openmw/engine.cpp
apps/openmw/main.cpp
apps/openmw/mwgui/windowmanagerimp.cpp
apps/openmw/mwmechanics/character.cpp
components/CMakeLists.txt
7 years ago
David Cernat
6d43c8d63d
[Client] Send ActorAI with combat when an NPC's fight is set to 100
7 years ago
David Cernat
743933134d
[Client] Simplify sending of ActorAI packets for uninitialized actors
7 years ago
David Cernat
5f4ec1331f
[Client] Send ActorAI packet when combat is started via a client script
7 years ago
David Cernat
cc9e294cc0
[Client] Send ActorAI packet for new cell after being followed to it
7 years ago
David Cernat
528bd26a3b
[General] Allow followers to follow non-authority players through cells
7 years ago
David Cernat
ab5fd0aef8
[Server] Clean up descriptions for Object script functions
7 years ago
David Cernat
6c1173d598
[Client] Rename searchPtrViaRefIndex into searchPtrViaUniqueIndex
7 years ago
David Cernat
09da24f1ea
[General] Rename all instances of refNumIndex into refNum
...
This creates symmetry with mpNum and should cause less confusion in the future.
7 years ago
David Cernat
20296859ee
[Server] Clarify functions used for getting data in Networking
7 years ago
David Cernat
04dd59e638
[Server] Use clearer names for functions used to get last received data
...
Additionally, rename GetObjectChangesSize() into the less confusing GetObjectListSize()
7 years ago
David Cernat
aeb2e57444
[Server] Bring Actor functions in line with Object functions, part 2
...
The ActorPacket-sending functions now have sendToOtherVisitors and skipAttachedPlayer arguments, except for the ones for ActorList and ActorAuthority (because such arguments don't make sense for those).
7 years ago
David Cernat
837c5369c0
[Server] Add OnActorAI event and remove autosync for ActorAI packets
7 years ago
David Cernat
8f745df055
[Server] Bring Actor functions in line with Object functions, part 1
...
The last received ActorList can now be copied into the write-only ActorList that can be sent in packets. Changing the pid of the write-only ActorList can now be done separately from clearing its contents.
7 years ago
David Cernat
f0d4f1bbe5
[Client] Send ActorAI packets when followed by an NPC
...
The packet is sent regardless of whether we are the cell authority or not, so the server can decide what it wants to do with it.
7 years ago
David Cernat
6316f1e590
[Client] Add ActorList methods for sending ActorAI packets
...
Additionally, use consistent capitalization for AI-related methods.
7 years ago
David Cernat
0fd8f7660b
[Client] Replace LocalActor arg with BaseActor in ActorList functions
7 years ago
Andrei Kortunov
3d1daaebab
Rework manual spellcasting (e.g. via scripts)
7 years ago
David Cernat
bdf2f03c4f
[General] Remove unnecessary MapChanges struct from BaseWorldstate
7 years ago
David Cernat
59a56ca35e
[Client] Disallow clients from scaling their associated players
...
Additionally, display messages when trying to scale players.
7 years ago
David Cernat
8ca29dbaac
[Client] Fix remaining mistakes in debug for received ActorAI packets
7 years ago
David Cernat
5bb442bbd3
[Server] Add sendToOtherVisitors boolean to SendActorAI()
...
Additionally, avoid repetition in functions that send Actor packets.
7 years ago
David Cernat
25f7a55495
[Client] Improve debug for received ActorAI packets
7 years ago
Bret Curtis
99e4d49e7c
Merge pull request #1787 from akortunov/profilierfont
...
Use the DejaVuLGCSansMono.ttf for profiler output
7 years ago
Andrei Kortunov
70b6d4983d
Use the DejaVuLGCSansMono.ttf in profilier output
7 years ago
Marc Zinnschlag
ee759effce
Merged pull request #1798
7 years ago
David Cernat
bff6e9e235
[General] Implement ActorAI packet, part 5
...
Allow repetition for AiWander package to be turned on and off.
7 years ago
Andrei Kortunov
c77c50e92b
Make Equip console command to bypass most of restrictions (bug #4460 )
7 years ago
Capostrophic
5cb9dc9d12
Use SpellTurnLeft/TurnRight animation groups
7 years ago
Bret Curtis
df1576fcf5
Merge branch 'master' into crossbowfix
7 years ago
Bret Curtis
fde46f03b3
Merge pull request #1801 from terabyte25/terabyte25-trainingskill
...
Update trainer skill cap based off modified skill instead of based skill
7 years ago
Andrei Kortunov
1c35e20fcc
Use 1h animations as fallback for crossbows
7 years ago
Andrei Kortunov
75dcbea365
Apply weapon reload animations only for upper body
7 years ago
David Cernat
2e31c212c0
[Client] Make any ActorAI packet override an actor's desire to fight
7 years ago
David Cernat
79ee976c95
[Client] Implement ACTIVATE action in DedicatedActor::setAI()
...
Additionally, clean up usage of CreatureStats in DedicatedActor.
7 years ago
David Cernat
0f30e21312
[Client] Add searchPtrViaRefIndex method to World to easily find objects
7 years ago
Andrei Kortunov
27a5da59ba
Fix MSVC warnings C4456
7 years ago
David Cernat
c984fc0881
[Client] Allow AiActivate to be used with specific Ptrs, not just refIds
7 years ago
David Cernat
00c13ae96c
[General] Implement ActorAI packet, part 4
...
The server can now make actors activate players and objects, at least in theory. In practice, OpenMW''s AiActivate package needs to be worked so it allows specific objects as targets instead of just refIds.
7 years ago
David Cernat
0e13207afe
[General] Implement ActorAI packet, part 3
...
The server can now cancel actor AI, make actors travel to a location, make actors wander, and make actors get escorted by a player or another actor.
7 years ago
David Cernat
5baef09f79
[General] Implement ActorAI packet, part 2
...
The server can now make actors start combat with players or other actors.
7 years ago
David Cernat
5628f3b977
[Client] Fix debug for DedicatedActor::setAI()
7 years ago
David Cernat
b86155dc11
[Client] Allow AiFollow package to have infinite distance when desired
7 years ago
David Cernat
864c66d1d4
[Client] Make sure hasAiTarget is set correctly for DedicatedActors
7 years ago
David Cernat
4d4bced929
[Client] Allow singleplayer-only saves in main menu during multiplayer
7 years ago
terrabyte25
48296a7452
Update trainingwindow.cpp
7 years ago
Marc Zinnschlag
0bdd8f7d03
Merged merge request !19
7 years ago
Alexander Stillich
725cc94210
Renamed cc_install to something less cryptic (crashCatcherInstall)
7 years ago
Doc West
467989cdd5
Moved crashcatcher to a component and also use it in CS
...
Reworked debugger detection (failed on gdb 7.11), it now uses /proc to detect the debugger
7 years ago
Alexander Stillich
1177e5ac79
Issue a single dataChanged() when the modified column changes
7 years ago
Doc West
d26b5a13ef
Fixed comment
7 years ago
Doc West
01b8ce5f70
Notify views of changes in all columns when updating the ColumnId_Modification column
7 years ago
Doc West
4a6457c346
Changed the way the revert command works: it now clones the changed record and uses the new RecordBase::revert() method to restore the previous value
...
Added Flag_Dialogue_Refresh to var type and var value columns so that sub views update properly
7 years ago
Doc West
143eadb58e
Use setData() instead of emtitting dataChanged() which does not work on CI. Also Fixes the remaining issue with subviews not updating due to only the modified flag emitting a change, which prevented the widget mapper from working for updates.
7 years ago
Doc West
4780f1b2bd
Notify views of changes of all cells in a row to properly update the row after revert
7 years ago
Capostrophic
d09c327b20
Update changelog
7 years ago
Capostrophic
14d3b213a1
Fix double call of addContainerScripts on player in moveObject ( fixes #4490 )
7 years ago
David Cernat
6ff7fa525e
[Client] Disable autosaving when waiting
7 years ago
David Cernat
04ba324290
[Client] Disable clientside disabling and enabling of objects
7 years ago
David Cernat
5043fb4246
[Client] Disable clientside disarming of traps
7 years ago
David Cernat
cbb9817913
[Server] Add missing descriptions for PlayAnimation() and PlaySpeech()
7 years ago
David Cernat
6ba9b1742b
[Server] Remove unused default parameters for script functions
7 years ago
David Cernat
acdaf1a282
[Client] Disable clientside deletion of objects through console/scripts
...
Unfortunately, disabling clientside deletion of summons and items that can be picked up requires extra work on actors and inventories respectively, to avoid buggy situations.
7 years ago
David Cernat
8d9fde810e
[Client] Disable clientside scaling of objects
7 years ago
David Cernat
f3892d697b
[Client] Disable clientside locking and unlocking of objects
7 years ago
David Cernat
563269d359
[Server] Bring comments up-to-date for packet-sending script functions
7 years ago
David Cernat
2f1ef049d2
[Server] Turn sendToAttachedPlayer into skipAttachedPlayer
...
Unfortunately, default values set in the C++ code for our script function parameters don't actually seem to work, and they always default to false because they receive a nil value from Lua. As a result, to not break compatibility with previous scripts, I've decided to use a skipAttachedPlayer argument instead so it can default to false while still providing the same benefits that sendToAttachedPlayer provided.
7 years ago
David Cernat
141e404ed9
[Server] Move server administration functions to ServerFunctions class
7 years ago
David Cernat
6041425122
[Server] Move Chat functions to new ChatFunctions class
7 years ago
David Cernat
6a3fbf4e98
[Server] Use consistent arguments for script functions that send packets
...
Previously, there was a confusing separation between script functions that had a "broadcast" argument and script functions that had a "toOthers" argument.
Those with broadcast sent the packet to all players on the server when broadcast was true. Those with toOthers sent the packet to all players other than the packet's attached player.
The former was based on the pattern of the original SendMessage() script function. The latter more closely resembled RakNet's own broadcast argument as seen here:
https://github.com/TES3MP/CrabNet/blob/master/include/raknet/RakPeer.h#L219
This commit makes it so all sending functions have a sendToOtherPlayers argument that is false by default and a sendToAttachedPlayer that is true by default. This should simultaneously allow sending to be more intuitive, while not breaking previous existing scripts to a significant degree.
Additionally, this commit also reduces some code repetition for all instances of packet-fetching in script functions.
7 years ago
David Cernat
14e4f64296
[Server] Add GetVideoFilename() and SendVideoPlay() script functions
7 years ago
David Cernat
3ed9d89280
[General] Use separate variables for video & music filenames in packets
7 years ago
David Cernat
509882b5f6
[Client] Rework MechanicsHelper::getTarget() to avoid crashes
7 years ago
David Cernat
7f0549fc4f
[Server] Remove hardcoded sync for VideoPlay and add OnVideoPlay event
7 years ago
David Cernat
ae8b5a0709
[Server] Remove hardcoded sync for Place, Spawn & other Object packets
7 years ago
David Cernat
e3e1cfc549
[Client] Add forgotten comparison in crimeTime and deathTime check
7 years ago
Capostrophic
bded697f07
Make Goodbye block using hyperlinks
7 years ago
David Cernat
4eb72eecb1
[Client] Fix crash for invalid CellRefs in MechanicsHelper::getTarget()
7 years ago
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.
7 years ago
Marc Zinnschlag
d9de8ccb5b
Merged pull request #1781
7 years ago
Marc Zinnschlag
dd08194c75
Merged merge request !18
7 years ago
Marc Zinnschlag
7ba512b389
Merged merge request !17
7 years ago
David Cernat
c23fc3446f
[Client] Avoid sending map tiles for Wilderness cells
7 years ago
David Cernat
17c234d9ca
[Client] Use initial values for LocalPlayer and LocalActor killers
7 years ago
David Cernat
97cd3effa7
[Client] Make actor debug consistent with object debug
7 years ago
Capostrophic
9abfabb065
Ensure forward-compatibility of death animations in old saves ( fixes #4274 )
7 years ago
David Cernat
b0bd12f9dd
Merge branch '0.6.3' of https://github.com/TES3MP/openmw-tes3mp into 0.6.3
7 years ago
David Cernat
c075496748
[General] Replace deathReason in death packets with a killer variable
...
Add serverside script functions for determining the killers of both players and actors.
Use unsigned ints for script functions returning an object or actor's refNumIndex or mpNum.
Remove updateDeadState() from LocalPlayer and make its code part of updateStatsDynamic() for simplicity.
7 years ago
David Cernat
934e592bdb
[Server] Make spacing in CharClass consistent with other categories
7 years ago
David Cernat
e8ce009521
[Server] Use regular int as return value for GetObjectSummonerPid()
...
Additionally, clarify descriptions of script functions for getting information about summoners.
7 years ago
David Cernat
f02492a593
[General] Temporarily include target names in mwmp::Target
...
These will be removed once the server can get the names matching refIds by reading content files.
7 years ago
Doc West
f9b565a46e
Removed QDebug include, moved updateUndoRedoAction to an anonymous namespace
7 years ago
Doc West
61109d70b1
Removed invalid / unused signal / slot connection
7 years ago
David Cernat
691b332d03
[Client] Use MechanicsHelper::getTarget() for summoners in ObjectList
7 years ago
David Cernat
130a32ebb0
[Client] Add new methods for handling mwmp::Target in MechanicsHelper
7 years ago
Koncord
470ea50b54
[General] Use LuaJit instead default Lua
7 years ago
David Cernat
7010575075
[Server] Return -1 in GetObjectSummonerPid() when the player is invalid
7 years ago
Capostrophic
faf3e9ba5a
Make spellcasting stance transition more smooth ( fixes #4358 )
...
If a movement animation was identical to the previous one that was played, restart it from the point the previous animation ended
7 years ago
David Cernat
76731f5def
[Client] Don't remove SummonKeys with actorIds of -1
...
This prevents summon duplication caused by a SummonKey sometimes being deleted immediately after being created, before the server can send back an ObjectSpawn packet spawning a creature that can be attached to the SummonKey.
7 years ago
Doc West
baf21362e1
Fixed undo / redo actions losing their shortcuts
7 years ago
Doc West
414f626309
Implemented search case sensitivity
7 years ago
David Cernat
c2411982d2
[Client] Log object refNumIndexes and mpNums in a consistent way
7 years ago
David Cernat
7775780ad7
[Cllient] Update multiplayer code for handling quick keys
7 years ago
David Cernat
3438061b55
[Server] Add script function for getting a summoner's pid
...
Additionally, fix typos in the comments for other script functions relating to summoners.
7 years ago
David Cernat
8a23a96da4
[Client] Update initialization of AiFollow packages in multiplayer code
7 years ago
David Cernat
a236ffc4be
Merge pull request #456 from OpenMW/master while resolving conflicts
...
# Conflicts:
# .travis.yml
# README.md
# apps/openmw/mwgui/quickkeysmenu.cpp
# apps/openmw/mwmechanics/actors.cpp
# apps/openmw/mwmechanics/combat.cpp
7 years ago
Koncord
1f4e6e9114
[General] Add integrity checks to Handshake packet
7 years ago
Koncord
fa2bf0663e
[General] Simplify vectorContains
7 years ago
Marc Zinnschlag
908af3720f
Merged pull request #1791
7 years ago
Marc Zinnschlag
e50c3657b3
Merged merge request !16
7 years ago
Doc West
e9cc697b60
Sort EnumDelegate values by name
7 years ago
David Cernat
3aa125ceda
[Server] Add script functions for getting a summoner's refId and indexes
7 years ago
Koncord
53346e2663
[Client] Return 0 if effect not found
7 years ago
Koncord
c5c1a160b2
[Client] Comment out an unused variable
7 years ago
Koncord
895634cd16
[General] Change type of MpNum to "unsigned int"
7 years ago
Koncord
d999cc0d55
[General] Add packetValid flag to packets
7 years ago
David Cernat
f9ebe400f7
[Server] Add script function for checking if object's summoner is player
7 years ago
Koncord
d162f6fd3a
[General] Explicitly use limitations of the master server
7 years ago
Koncord
62877f38b7
[General] Remove Terra support
...
Use LuaJIT instead.
7 years ago
Koncord
685a80887b
Remove Pawn support
7 years ago
Andrei Kortunov
f4330cf057
Editor: limit FPS in 3D preview windows (feature #3641 )
7 years ago
Thunderforge
7cbc4eeb49
Adding missing override keywords
...
Prevents compiler warnings such as this:
```
/Users/Will/CLionProjects/OpenMW/apps/openmw/mwgui/windowbase.hpp:65:22: warning: 'onOpen' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual void onOpen();
^
/Users/Will/CLionProjects/OpenMW/apps/openmw/mwgui/windowbase.hpp:38:22: note: overridden virtual function is here
virtual void onOpen() {}
^
```
7 years ago
David Cernat
bef53749ed
[General] Replace BaseObject's hasMaster variable with isSummon
...
Additionally, add a GetObjectSummonState() script function to the server.
7 years ago
David Cernat
8ce225b1cc
[Client] Use the casters of damage-dealing spells as death reasons
7 years ago
Finbar Crago
5d9035c6b2
[ Fixes #4482 ] Missing HandToHand on key quick key 0 (introduced in MR !11 for issue #4480 )
...
because apparently i can't count to ten...
7 years ago
David Cernat
958b220835
[General] Send summon duration to server in ObjectSpawn packets
7 years ago
Marc Zinnschlag
2ea85d0bb6
Merge remote-tracking branch 'gl_finbar-crago/fix_quickkey_segfalt'
7 years ago
Finbar Crago
09c9bd34c3
cleanup more unnecessary struct keywords...
7 years ago
Capostrophic
6e9c08083d
Add missing empty attacker checks
7 years ago
Capostrophic
bccba24c40
Make unarmed creature attacks not affect armor condition ( fixes #2455 )
7 years ago
Finbar Crago
69cd7031e7
Merge branch 'master' into fix_quickkey_segfalt
7 years ago
Finbar Crago
596be205c1
cleanup unnecessary struct keywords...
7 years ago
Finbar Crago
2722ca50fb
fix QuickKeysMenu crash on reopening window after item drop + pickup [see: !11#note_85086570]
7 years ago
Finbar Crago
7ae388086b
Merge branch 'master' into fix_quickkey_segfalt
7 years ago
Thunderforge
72f6b1a693
Separating "Game" Advanced Settings into "Game Mechanics" and "User Interface"
7 years ago
Finbar Crago
ed71656ea6
fix updateActivatedQuickKey() crash
...
keyboard numbers don't start at zero...
7 years ago
Finbar Crago
24d5fb09da
fix crash on simultaneous key presses
7 years ago
Bret Curtis
f07d50e5bf
Merge pull request #1785 from akortunov/warnfix
...
Fix some GCC warnings
7 years ago
Finbar Crago
d790a27060
Merge branch 'master' into fix_quickkey_segfalt
7 years ago
Andrei Kortunov
d9a1de0ec7
Do not use deprecated function
7 years ago
Andrei Kortunov
5455490ad2
Avoid fall-through in spell selection
7 years ago
Finbar Crago
80a3f0a0d4
switch mSelectedIndex/mActivatedIndex int to mSelected/mActivated keyData pointers
7 years ago
Finbar Crago
335e2c5897
add keyData struct + general cleanup
7 years ago
David Cernat
9102df7fde
[General] Make WorldCollisionOverride also work with specific refIds
...
For now, this only makes it possible to enforce collision for specific refIds for placed objects.
7 years ago
David Cernat
84af9d9999
[Server] Reorder world map script functions
7 years ago
David Cernat
b81ca18316
[Client] Don't clear container Ptrs when disposing of corpses
...
The reason for this is that only the server should be determine whether a corpse can be disposed of or not.
7 years ago
Nikolay Kasyanov
5fcb091127
Replace FIXME with a detailed explanation of the issue
7 years ago
Nikolay Kasyanov
9c78364c45
Revert "Merge pull request #1771 from Xenkhan/master"
...
This reverts commit 9667dd051c
, reversing
changes made to f52e06fc19
.
7 years ago
David Cernat
7ffdb18bf9
[General] Implement ActorDeath packet, part 1
...
ActorDeath packets are sent for dead actors before their StatsDynamic packets. They contain the actor's deathReason in a manner similar to that of PlayerDeath packets.
A future commit will replace the deathReason with a variable named killer which will be an mwmp::Target.
7 years ago
Andrei Kortunov
ec73011617
Clean temporary storage if we assign new AI package (bug #4464 )
7 years ago
Andrei Kortunov
ee45f54b53
Refactor AiTemporaryStorage usage
7 years ago
Andrei Kortunov
3c7ab976c3
Ignore movement from scripted animations (bug #4475 )
7 years ago
Finbar Crago
cac6d59140
Merge branch 'master' into fix_quickkey_segfalt
7 years ago
David Cernat
15bfa30070
[Server] Make it possible to resend received worldstates
7 years ago
David Cernat
7060ff59c5
[Client] Enforce the default global map cell size in multiplayer
7 years ago
David Cernat
fec500c4b0
[Client] Reduce container debug spam by requiring VERBOSE logging for it
7 years ago
David Cernat
914b79fcc9
[General] Make it possible to check which placed objects have containers
7 years ago
Finbar Crago
43c9fd4cec
check MWWorld::Ptr != NULL for MWGui ItemPtr tooltips
7 years ago
Finbar Crago
186ec8c50f
rm ContainerStore/refItem
7 years ago
Marc Zinnschlag
705b2dca0e
Merged pull request #1777
7 years ago
Marc Zinnschlag
baeaff2309
Merged pull request #1778
7 years ago
Andrei Kortunov
97d8cc0efe
Check if the local was not found, just for sure
7 years ago