195 Commits (4a7d34a50257926c222dfd6efa3a3bf26f69722c)

Author SHA1 Message Date
Eric Robinson a30f7c0b8e
Randomize Unique Item Generation (Reverse compatible) (#7060) 2 years ago
Eric Robinson 557fd2a4a3
Fix illegal spell levels (#7112) 2 years ago
KPhoenix 1c4166ce46 fix hp validation 2 years ago
staphen ab601eeb11 Apply Hellfire spellbook validation to PItem packet handling 2 years ago
KPhoenix b8738ab4cf Validation: Validate Item Drop Packets 2 years ago
staphen c4792be763 Remove invalid items after loading heroitem data 2 years ago
staphen 293ad814e6 Restore packed item state when regenerating an item using heroitem data 2 years ago
Gleb Mazovetskiy 99fea0d1c5 Migrate unique monsters to data files 2 years ago
Gleb Mazovetskiy 17d5f05ada Fix some compilation warnings 2 years ago
Eric Robinson dac2e0318e
Fix Item Validation (#6723) 2 years ago
staphen e5f626ccf9 Fix edge cases for packing empty items 3 years ago
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