Commit Graph

22153 Commits (0.7.0)
 

Author SHA1 Message Date
David Cernat b69e6b96e6 [Client] Use verbose logging level for LocalActor debug 6 years ago
Bret Curtis 84b80ae405 no spaces in assignment 6 years ago
David Cernat 36ac2d9de4 [Client] Set packetOrigin for all ObjectList packets sent 6 years ago
David Cernat 692ee01340 [Client] Add ScriptController w/ contextType-to-packetOrigin method 6 years ago
David Cernat 63a86f145d [Client] Record type of each InterpreterContext for later checking 6 years ago
David Cernat d4a84ac34a [Server] Update script function descriptions for ObjectList origin 6 years ago
David Cernat 3165c84db4 [General] Rework PACKET_ORIGIN enum
Additionally, comment out reading of originClientScript in ObjectPacket for now.
6 years ago
David Cernat 9e6459043b [General] Fix typo related to originClientScript in ObjectPacket 6 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.
6 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.
6 years ago
David Cernat 2189ea1a63 [Client] Clean up sending of Container packets 6 years ago
David Cernat 8c0b75d9f4 [Client] Limit PlayerEquipment packets sent by recharging enchantments 6 years ago
David Cernat 715cac807d [General] Add compareFloats to Utils 6 years ago
David Cernat cb6c37a26d [General] Replace doubles with floats in BaseStructs and BaseWorldstate 6 years ago
David Cernat 18f8725d33 [Client] Remove tab character that somehow made its way into a comment 6 years ago
Bret Curtis b910106713 Catch an unbound variable before it happens. 6 years ago
Bret Curtis c959bdcf32
Merge pull request #1813 from rhtucker/master
Added CSS to drop shadow of figure images
6 years ago
Ryan Tucker 9f2ef1e68a Added CSS to drop shadow of figure images 6 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.
6 years ago
Marc Zinnschlag 8b2b37c270 Merged merge request !28 6 years ago
Marc Zinnschlag ddd5cbd17c Initialise lock state of newly opened subviews (fixes issue #4520) 6 years ago
David Cernat 3944c8aec6 [Client] Ignore WorldRegionAuthority packets that have an empty region 6 years ago
David Cernat 99e64bdcd7 [Client] Remove unused localWeather variable from Worldstate 6 years ago
David Cernat cd1fc590a7 [Client] Differentiate itemPtr from actor Ptr in DedicatedPlayer method
This fixes a mistake from 8f7da49152
6 years ago
David Cernat 5466092582 [Client] Reduce log level for actor cell changes 6 years ago
David Cernat 20e0100706 [General] Rework Attack packets and add synchronization for item magic 6 years ago
David Cernat 0f0e8b7c08 [Client] Adjust log levels used for weather and global map 6 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.
6 years ago
David Cernat b6324e3532 [Client] Clean up debug for spell usage 6 years ago
David Cernat 826e64b40e [Server] Rename isPlayerExists() into doesPlayerExist() 6 years ago
David Cernat 21d5bb4d4e
Merge pull request #460 from OpenMW/master
Add 0.7.0 commits up to 20 Jul 2018
6 years ago
David Cernat 6c50d4199b Merge branch '0.7.0' of https://github.com/TES3MP/openmw-tes3mp into 0.7.0 6 years ago
David Cernat 421d0e7a99 [Client] Make forceWeather false by default for client-sent weather 6 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.
6 years ago
Bret Curtis 4c9e1295e8
Merge pull request #1811 from akortunov/fallfix
Set movement speed to 0 when unconscious
6 years ago
Bret Curtis a54b779672 Revert "Revert "remove breath/doxygen autodoc""
This reverts commit 038d5a5566.
6 years ago
Andrei Kortunov 8281fd903f Set movement speed to 0 when unconscious (bug #4519) 6 years ago
Bret Curtis ee3aba149d Force RTD to not build any other types of docs. 6 years ago
Bret Curtis 038d5a5566 Revert "remove breath/doxygen autodoc"
This reverts commit f2fc8351bb.

small fixes
6 years ago
David Cernat b6db570d9c [Client] Display uniqueIndexes in a less confusing way in console 6 years ago
Bret Curtis 105b172fb5
Merge pull request #1809 from akortunov/enumfix
Sort icons in the DataDisplayDelegate
6 years ago
Andrei Kortunov 5c16ce1d36 Sort icons in the DataDisplayDelegate 6 years ago
Marc Zinnschlag 78a2725169 Merged pull request #1806 6 years ago
Marc Zinnschlag 326a3e61f4 Merged pull request #1807 6 years ago
Marc Zinnschlag 0142525ea2 Merged merge request !26 6 years ago
Marc Zinnschlag 111407c282 Merged merge request !24 6 years ago
Andrei Kortunov 38fa4e0a8a Do not play un-equipping animation when we switch to hand-to-hand 6 years ago
David Cernat 9823a77bf2 [General] Turn PlayerRegionAuthority into WorldRegionAuthority
WorldRegionAuthority is a Worldstate packet.
6 years ago
Miloslav Číž 3ff2740e59 Update CHANGELOG 6 years ago
Koncord 2e227c7af5 [Server] Do not allow to connect with an empty plugin list 6 years ago