Commit Graph

22178 Commits (0.7.0)
 

Author SHA1 Message Date
Marc Zinnschlag bbb22643e8 Merge remote-tracking branch 'capostrophic/warning' 6 years ago
David Cernat 9497c7f6f2 [Client] Add back mistakenly removed setting of mpNums for spawns 6 years ago
David Cernat 25fcd09780 [Client] Add doesNpcExist() method to RecordHelper 6 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.
6 years ago
David Cernat 8d286657d4 [Client] Update messages when unilaterally creating custom objects 6 years ago
Capostrophic f7887ab05f
Fix MSVC C4456 warning: declaration of 'stats' hides previous local declaration 6 years ago
David Cernat c7bcf70c32 [Client] Ignore ObjectSpawn packets trying to spawn non-actors 6 years ago
David Cernat d93b67ef21 [General] Sync soul refIds for items and add related script functions 6 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.
6 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.
6 years ago
Capostrophic 51d369d4da Add resumeGame method 6 years ago
David Cernat 4e78642273 [Client] Add getModifiableStore() to MWWorld 6 years ago
David Cernat d778bc3b8a [Server] Turn readWorldstate and writeWorldstate into static variables 6 years ago
David Cernat c3ff273a22 [General] Add getVectorSize() and resetVector() to Utils 6 years ago
David Cernat b4802e4201 [General] Use Time struct for time in BaseWorldstate 6 years ago
Andrei Kortunov 23d917df9c Do not use magic numbers in capacity calculations 6 years ago
David Cernat a4b588d1b5 [General] Add optional timestamps to journal entries in PlayerJournal 6 years ago
Capostrophic e55f49be45
Fix issue 4494 number 6 years ago
Capostrophic cac2bc768e
Fix NPC "can't teach more" message (bug #4494) 6 years ago
David Cernat ea8a41160c [General] Make ActorAttack packet consistent with PlayerAttack
Additionally, fix a typo in PlayerAttack where a boolean argument was outside of the parentheses it should have been in.
6 years ago
David Cernat b79221efcc [Server] Rename variable i into index in ActorFunctions 6 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.
6 years ago
David Cernat 2e0b6e4e3e [Server] Rename variable i into index in script function arguments
Additionally, rename i into index in LangLua.
6 years ago
David Cernat 65de028e0d
Merge pull request #462 from OpenMW/master
Add OpenMW commits up to 23 Jul 2018
6 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()
6 years ago
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