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-tes3coop/apps/openmw-mp
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
..
Script [General] Implement RecordDynamic packet, part 1 7 years ago
processors [General] Reimplement weather synchronization to allow soft transitions 7 years ago
CMakeLists.txt [General] Implement RecordDynamic packet, part 1 7 years ago
Cell.cpp [General] Rename all instances of refNumIndex into refNum 7 years ago
Cell.hpp [General] Rename all instances of refNumIndex into refNum 7 years ago
CellController.cpp [Server] Initialize interiors correctly if exterior 0, 0 has been loaded 7 years ago
CellController.hpp [General] Rename Event into ObjectList & WorldObject into BaseObject 7 years ago
MasterClient.cpp [General] Explicitly use limitations of the master server 7 years ago
MasterClient.hpp [Server] Add and implement PushPlugin method to MasterClient 8 years ago
Networking.cpp [Server] Rename isPlayerExists() into doesPlayerExist() 7 years ago
Networking.hpp [Server] Move PreInit code to preInit method 7 years ago
Player.cpp [Server] Rename isPlayerExists() into doesPlayerExist() 7 years ago
Player.hpp [Server] Rename isPlayerExists() into doesPlayerExist() 7 years ago
Utils.cpp [Server] Add and use Utils::getCellFromDescription() 8 years ago
Utils.hpp [Server] Add and use Utils::getCellFromDescription() 8 years ago
main.cpp [General] Move credits integrity error message to new ErrorMessages file 7 years ago