staphen
a1ada4b2f9
Adjust NetSendCmdChBeltItem declaration to match definition
10 months ago
staphen
1a2e0eb2e5
Validate length of incoming network messages
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
7a6a6a6c32
Don't send spell level in spell casting network message
1 year ago
obligaron
51ab0106ab
Sync monster spawn in multiplayer
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
b810c808f5
Msg: Change OnXYZ to get a Player reference instead of a player index
2 years ago
qndel
de721e4ccc
[skip ci] fix typos
2 years ago
Gleb Mazovetskiy
74755c8be7
Remove utils/stdcompat/cstddef.hpp
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
Anders Jenbo
23e479e9aa
Remove unused item properties from network
3 years ago
qndel
ddd0f1b051
dont always force staff recharge to change spell
3 years ago
ephphatha
03e35988f1
Dedupe OnRespawnItem/OnSpawnItem
...
Both methods were exactly the same apart from the use of temporaries for swapped message params.
3 years ago
ephphatha
3a7ae732cd
use unsigned types for item seeds
3 years ago
obligaron
bf86114ec3
Sync learned/changed spells
3 years ago
obligaron
1a3e72bf17
Unify normal casting and casting from inventory
3 years ago
obligaron
5e9801f0cf
Sync Quest._qmsg
3 years ago
KPhoenix
d813f13700
`enum spell_id` -> `enum class SpellID`
3 years ago
Anders Jenbo
c99f7cf644
Floating numbers ( #5639 )
...
Co-authored-by: qndel <stefan551@o2.pl>
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
3 years ago
obligaron
0c3b434d76
Make debug command restart compatible with multiplayer
3 years ago
obligaron
17712562c8
Sync Quest._qvar2
3 years ago
obligaron
0de0894ad5
Enable sync of all quests
3 years ago
staphen
21bd760bfa
Bypass CMD_PUTITEM when triggering CMD_OPENHIVE or CMD_OPENGRAVE
3 years ago
qndel
c05c4c0f55
fix typos
4 years ago
staphen
147a13d66c
Synchronize gold in player's inventories
4 years ago
staphen
e28a8065e9
Sync more item data with TCmdChItem
4 years ago
staphen
73028ec04a
Define network struct for ears
4 years ago
Anders Jenbo
872456ae5d
Use size_t for a select few pnum variables
4 years ago
Stephen C. Wills
a06dd25d17
Synchronize player inventories ( #5217 )
...
* Synchronize item placement in player's backpack
* Synchronize item remove from player's backpack
* Synchronize item placement and removal from player's belt
* Set up loopback network provider for failing tests
4 years ago
ephphatha
b4839dadcc
Dedupe operate object network commands
4 years ago
Anders Jenbo
b9aa2959a6
Split deleta sync from operate door
4 years ago
ephphatha
4a8f375011
Use position for operate object network commands
...
Only one remaining use of Object::getId for caching the target of a command requiring the player to path to an object.
4 years ago
ephphatha
de83d9440e
Use position for break object network messages
4 years ago
ephphatha
0c08980c71
Combine Telekinesis with other object network commands
4 years ago
ephphatha
3a7fd8da2d
Only send and consume object location for location based messages
...
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
Anders Jenbo
56915974d6
Minimize passing of player indexes
4 years ago
Anders Jenbo
9cae6dad7d
Clean up most usages of DWORD
4 years ago
Cesar Canassa
f0d1d58499
♻️ Remove monsterId from delta_kill_monster
4 years ago
Cesar Canassa
79f5cdb2be
♻️ change delta_monster_hp to receive a Monster reference ( #4873 )
4 years ago
obligaron
e151274fdf
Introduce IsValidLevel
4 years ago
obligaron
22a113d3a6
Introduce GetLevelForMultiplayer
4 years ago
obligaron
8637e05650
Remove bLevel from delta_kill_monster_ and delta_monster_hp
4 years ago
obligaron
783db07cbf
Replace CMD_DLEVEL_0/_1/... with generic CMD_DLEVEL
4 years ago
obligaron
29e4ec4ef1
Move delta structs to msg.cpp
4 years ago
obligaron
2b0b944afb
Manage friendly mode per player and sync state between clients
4 years ago
obligaron
d921fb3e97
Throttle send player commands to avoid desyncs
4 years ago
Gleb Mazovetskiy
ade8aba822
Fix some more warnings
4 years ago