202 Commits (73f448d1f2bef26b2ed9cd7416aaf97bb1ddf899)

Author SHA1 Message Date
Yggdrasill 176819a072
Make RecreateItem() take whole dwBuff flag as argument (#7870) 1 year ago
staphen ec9f8ff685 Fix issue with Hellfire items morphing when transferred to Diablo 1 year ago
Gleb Mazovetskiy d7647d6c63 More dependency untangling 1 year ago
Gleb Mazovetskiy b76feb2be3 Extract game mode out of init.cpp 1 year ago
Gleb Mazovetskiy dd76f17e4b Rename endian.hpp to endian_read.hpp 1 year ago
Gleb Mazovetskiy a49b1f2d58 Extract Is{Any,None}Of out of engine.hpp 1 year ago
Eric Robinson cfac786daf
Make invalid items unusable (#7506) 1 year ago
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