184 Commits (render)

Author SHA1 Message Date
ephphatha 6a8f4b12da Get base block bonus from data struct instead of storing a copy 3 years ago
ephphatha 5d50b5520d Add PlayerData lookup helper to avoid manual casts 3 years ago
staphen 7855dae582 Indicate network validation success or failure in iteminfo 3 years ago
Gleb Mazovetskiy e090c8bf31 Extract some player attributes to data files 3 years ago
staphen a151219b9b Don't validate creation flags on gold 3 years ago
staphen 4deae11871 Fix PlayerNetPack validation and tests 3 years ago
Eric Robinson 9995c00323
Validate Item Locations (#6427) 3 years ago
ephphatha e6890cc5cc Move MaxCharacterLevel to playerdat and add helpers for the various uses 3 years ago
ephphatha da76e131e4 Add getter/setter for character levels to ensure _pNextExper stays synced 3 years ago
ephphatha d92d152576 Use unsigned type for character levels 3 years ago
Stephen C. Wills 7b06703842
Add tests for net player validation (#6492) 3 years ago
Gleb Mazovetskiy c19bfe87fa Remove utils/stdcompat/algorithm.hpp 3 years ago
staphen b43a8dc904 Fix empty item slot validation in UnPackNetItem() 3 years ago
Anders Jenbo b01670e1e4 Correct fields being validated 3 years ago
Eric Robinson 46824261f9
Validate iCreateInfo (#6377) 3 years ago
Stephen C. Wills f0f317e685
Log validation errors in UnPackNetPlayer() (#6363) 3 years ago
Anders Jenbo 97ee615a8a
Avoid durability overflow when packing items. (#6342) 3 years ago
Anders Jenbo 01d2a46a8d Validate items when unpacking importing 3 years ago
Eric Robinson 2c7704bfe0
Validate Base Life and Mana (#6289) 3 years ago
staphen cc5261fa15 Support for ears in PlayerNetPack 3 years ago
staphen c2814088d2 Add fields to PlayerNetPack for validation 3 years ago
Anders Jenbo 63277a842d Clean up player packing 3 years ago
Anders Jenbo efa51993e3 Split network player sync and hero save file 3 years ago
Gleb Mazovetskiy 4fa3732526 Add missing <cstdint> includes 3 years ago
obligaron 1522dc7031 Multiplayer: Add arena potions 3 years ago
Eric Robinson f75f66d54b
Add `playerdat` (#5763) 3 years ago
Gleb Mazovetskiy cea6a01de7 More item packing fix on big-endian 3 years ago
Gleb Mazovetskiy ac26f3a23b Item: Optimize to save 16 bytes (312->288) 3 years ago
staphen 73028ec04a Define network struct for ears 4 years ago
obligaron b3aa08589b Don't use MyPlayer in UnPackItem and dependend methods 4 years ago
Mikołaj Piróg dda0b96ea5
Remove #defines in player.h and add constexpr where applicable (#4896) 4 years ago
obligaron d0c14fe92f Introduce Player::setlevel 4 years ago
staphen a2fe3a981e Fix issues with ears due to translation 4 years ago
ephphatha 64a2c41b2c Set clang-tidy config for MethodCase option 4 years ago
DakkJaniels dad46e1905
Item special effect enum (#4129) 4 years ago
ephphatha 7e7798fd2b Add function to mark an item as empty 4 years ago
qndel 81800e64bb MAXCHARLEVEL cleanup 4 years ago
staphen b85485b8f3 Resolve game crash when syncing Diablo items in Hellfire games 4 years ago
Anders Jenbo af08a99691 Perform item requirement check when entering vendors 4 years ago
Andrew James 4a940b1b07
Remove uses of Items[] as a temporary for other Item variables (#2924) 4 years ago
Anders Jenbo 6e63354cd1 Remove safe guards around strings own the input for 4 years ago
Anders Jenbo 799f1763af Performce UTF8 aware limited string copies 4 years ago
Anders Jenbo b4f699f0a3 Validate item network messages 4 years ago
Anders Jenbo a56452eec3 Validate player sync 4 years ago
Anders Jenbo 0c5bdf5dbf 🐛 Reject items that would cause an OOB to 5 years ago
Juliano Leal Goncalves 379a27b64a ♻️ Convert 'ItemType' enum to enum class 5 years ago
Sid672 a12a7511a9 Functional documentation moved 5 years ago
ephphatha 8ab229e7e8 LoadItemData by reference 5 years ago
Juliano Leal Goncalves 7841c4731e 🚚 Rename 'PkItemStruct' to 'ItemPack' 5 years ago
Juliano Leal Goncalves bb2dfdfb73 🚚 Rename 'ItemStruct' to 'Item' 5 years ago