You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/apps/openmw
David Cernat b57807407a [General] Implement RecordDynamic packet, part 1
Spell, potion, enchantment, creature, NPC, armor, book, clothing, miscellaneous and weapon record data can now be sent in a RecordDynamic packet. Additionally, the packets include data related to associated magical effects (for spells, potions and enchantments), data related to default inventory contents (for creatures and NPCs) and data related to body parts affected (for armor and clothing).

The server now has associated script functions for setting most of the details of the above, with the main exception being individual creature and NPC stats.

Records can either be created entirely from scratch or can use an existing record (set via the baseId variable) as a starting point for their values. In the latter case, only the values that are specifically set override the starting values. Creature and NPC records also have an inventoryBaseId that can be used on top of the baseId to base their inventories on another existing record.

The client's RecordHelper class has been heavily expanded to allow for the above mentioned functionality.

When players create spells, potions and enchantments as part of regular gameplay, they send RecordDynamic packets that provide the server with the complete details of the records that should be created. When they create enchantments, they also provide the server with armor, book, clothing and weapon records corresponding to the items they've enchanted.

This functionality added by this packet was originally supposed to be exclusive to the rewrite, but I've gone ahead and tried to provide it for the pre-rewrite in a way that can mostly be reused for the rewrite.
7 years ago
..
mwbase [Client] Add World::updatePtrsWithRefId() method 7 years ago
mwclass [General] Implement RecordDynamic packet, part 1 7 years ago
mwdialogue [General] Add optional timestamps to journal entries in PlayerJournal 7 years ago
mwgui [General] Implement RecordDynamic packet, part 1 7 years ago
mwinput Merge pull request #456 from OpenMW/master while resolving conflicts 7 years ago
mwmechanics [General] Implement RecordDynamic packet, part 1 7 years ago
mwmp [General] Implement RecordDynamic packet, part 1 7 years ago
mwphysics Merge pull request #456 from OpenMW/master while resolving conflicts 7 years ago
mwrender [Client] Adjust log levels used for weather and global map 7 years ago
mwscript [General] Sync soul refIds for items and add related script functions 7 years ago
mwsound Initialize some missing fields in constructors 7 years ago
mwstate Revert "Merge pull request #1701 from akortunov/standfix" 7 years ago
mwworld [Client] Fix extra qualification error in CellRef when compiling w/ GCC 7 years ago
CMakeLists.txt [Client] Add ScriptController w/ contextType-to-packetOrigin method 7 years ago
android_commandLine.cpp
android_commandLine.h
android_main.c android: Update for sdl 2.0.8 7 years ago
doc.hpp
engine.cpp [Client] Record type of each InterpreterContext for later checking 7 years ago
engine.hpp Merge branch 'master' into screenshot360 7 years ago
main.cpp [Client] Verify integrity of credits file 7 years ago