staphen
7831ed6ca1
Isolate monster sync packet validation using Monsters array
10 months ago
obligaron
3a1eb6bed7
Decouple Golems from Players and use SpawnMonster for Golem
11 months ago
obligaron
0ea60bf46c
Replace CMD_KILLGOLEM with CMD_MONSTDEATH
11 months ago
staphen
63ee653d2f
Fix CmdIdString() based on changes to the _cmd_id enum
11 months ago
Yggdrasill
176819a072
Make RecreateItem() take whole dwBuff flag as argument ( #7870 )
1 year ago
Gleb Mazovetskiy
d94bc424df
`sgOptions` -> `GetOptions()`
...
In C++, globals initialization order accross translation units is not
defined. Accessing a global via a function ensures that it is initialized.
This will be needed for #7638 , which will statically initialize change
handlers after the Options object has been initialized.
1 year ago
staphen
7a6a6a6c32
Don't send spell level in spell casting network message
1 year ago
Gleb Mazovetskiy
a49b1f2d58
Extract Is{Any,None}Of out of engine.hpp
...
Untangles some of the dependencies
1 year ago
Eric Robinson
cdd22626b4
Fix Knockback direction ( #7093 )
2 years ago
Stephen C. Wills
cfe9a8ccdd
Introduce xoshiro RNG to generate dungeon seeds ( #7030 )
2 years ago
qndel
24f108f193
fix many typos ( #7322 )
2 years ago
Gleb Mazovetskiy
e9c29fa806
Switch to ankerl::unordered_dense
2 years ago
staphen
753633f2ad
Don't validate items in Single Player
2 years ago
Eric Robinson
a30f7c0b8e
Randomize Unique Item Generation (Reverse compatible) ( #7060 )
...
Co-authored-by: staphen <staphen@gmail.com>
2 years ago
matheusgomes28
7848ab731e
Splitting CheckInvPaste() into smaller functions ( #6984 )
2 years ago
staphen
9e682afe13
Rename glSeedTbl
2 years ago
staphen
ab601eeb11
Apply Hellfire spellbook validation to PItem packet handling
2 years ago
obligaron
2a3ef25f9e
SpawnMonster: Override old monster delta information
2 years ago
Gleb Mazovetskiy
25c1c5b372
Fix a few -Wsign-compare warnings
2 years ago
obligaron
51ab0106ab
Sync monster spawn in multiplayer
2 years ago
obligaron
cd840513b9
Introduce Player::isLevelOwnedByLocalClient
2 years ago
obligaron
ccaf8d1dac
Use uint8_t in msg/multi/sync and fix MSVC warnings ( #6856 )
...
* Fix MSVC warnings in msg.cpp
* Move TBuffer to multi.cpp
* Fix MSVC warnings in multi.cpp
* SNet* change databytes to size_t
* msg/muli/sync: Change playerId to uint8_t
2 years ago
obligaron
fae6b3d817
Change Player::getId() and MyPlayerId to uint8_t
2 years ago
obligaron
81d738e303
Introduce Monster::occupyTile
2 years ago
obligaron
79a43dc1de
Introduce AddMissile overloads specific for player and monster
2 years ago
KPhoenix
b8738ab4cf
Validation: Validate Item Drop Packets
2 years ago
Gleb Mazovetskiy
e350d9be06
Remove SNetGet/SetLastError
...
The only named code that was ever set is `STORM_ERROR_NO_MESSAGES_WAITING`.
There was also a call in `menu.cpp` which as far as I can tell is not
needed (if it is, it should be replaced by something else).
2 years ago
obligaron
b810c808f5
Msg: Change OnXYZ to get a Player reference instead of a player index
2 years ago
Anders Jenbo
bb2e189327
Convert _sfx_id in to class enum
2 years ago
qndel
de721e4ccc
[skip ci] fix typos
2 years ago
Gleb Mazovetskiy
5355146d51
Use structured bindings
3 years ago
ephphatha
e6890cc5cc
Move MaxCharacterLevel to playerdat and add helpers for the various uses
3 years ago
ephphatha
14639cd096
Replace _pNextExper with getter method
...
No real need to persist this value
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
Gleb Mazovetskiy
8c1a847f41
Remove utils/stdcompat/string_view.hpp
3 years ago
Gleb Mazovetskiy
c19bfe87fa
Remove utils/stdcompat/algorithm.hpp
3 years ago
Gleb Mazovetskiy
62d067b653
Remove utils/stdcompat/abs.hpp
3 years ago
Gleb Mazovetskiy
74755c8be7
Remove utils/stdcompat/cstddef.hpp
3 years ago
qndel
4884da895c
rename AddWarpMissile -> AddPortalMissile
3 years ago
qndel
398d09477a
rename AddInTownPortal -> AddPortalInTown
3 years ago
staphen
cc5261fa15
Support for ears in PlayerNetPack
3 years ago
Anders Jenbo
efa51993e3
Split network player sync and hero save file
3 years ago
staphen
9381251b9d
Fix net validation of durability for items without durability
3 years ago
Anders Jenbo
89a677d0cb
Validate item modifier ranges
3 years ago
Anders Jenbo
23e479e9aa
Remove unused item properties from network
3 years ago
Anders Jenbo
f1c447c7f2
Do not allow bosted item stats in base game
3 years ago
Anders Jenbo
67ea5bcbe6
Sync monster light when position is gotten from the network
3 years ago
qndel
ddd0f1b051
dont always force staff recharge to change spell
3 years ago
ephphatha
9987bb6be2
Avoid unnecessary item initialisation and copy
3 years ago