obligaron
51ab0106ab
Sync monster spawn in multiplayer
2024-01-12 00:35:40 +01:00
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
2023-12-16 18:56:06 +01:00
obligaron
fae6b3d817
Change Player::getId() and MyPlayerId to uint8_t
2023-12-05 19:05:08 +01:00
obligaron
b810c808f5
Msg: Change OnXYZ to get a Player reference instead of a player index
2023-11-12 22:17:59 +01:00
qndel
de721e4ccc
[skip ci] fix typos
2023-10-19 18:33:01 +02:00
Gleb Mazovetskiy
74755c8be7
Remove utils/stdcompat/cstddef.hpp
2023-08-14 01:54:29 +01:00
staphen
cc5261fa15
Support for ears in PlayerNetPack
2023-07-06 02:47:29 +02:00
Anders Jenbo
efa51993e3
Split network player sync and hero save file
2023-06-24 04:18:14 +02:00
Anders Jenbo
23e479e9aa
Remove unused item properties from network
2023-06-16 15:59:47 +02:00
qndel
ddd0f1b051
dont always force staff recharge to change spell
2023-05-28 16:09:01 +02:00
ephphatha
03e35988f1
Dedupe OnRespawnItem/OnSpawnItem
...
Both methods were exactly the same apart from the use of temporaries for swapped message params.
2023-05-07 13:33:40 +02:00
ephphatha
3a7ae732cd
use unsigned types for item seeds
2023-05-06 18:02:54 +02:00
obligaron
bf86114ec3
Sync learned/changed spells
2023-04-24 18:19:27 +02:00
obligaron
1a3e72bf17
Unify normal casting and casting from inventory
2023-04-17 03:22:50 +02:00
obligaron
5e9801f0cf
Sync Quest._qmsg
2023-02-07 08:02:38 +01:00
KPhoenix
d813f13700
enum spell_id -> enum class SpellID
2023-02-05 10:24:58 +00:00
c99f7cf644
Floating numbers ( #5639 )
...
Co-authored-by: qndel <[email protected] >
Co-authored-by: Stephen C. Wills <[email protected] >
2023-01-22 07:20:10 +01:00
obligaron
0c3b434d76
Make debug command restart compatible with multiplayer
2022-12-17 19:37:52 +01:00
obligaron
17712562c8
Sync Quest._qvar2
2022-11-11 03:27:37 +01:00
obligaron
0de0894ad5
Enable sync of all quests
2022-11-11 03:27:37 +01:00
staphen
21bd760bfa
Bypass CMD_PUTITEM when triggering CMD_OPENHIVE or CMD_OPENGRAVE
2022-10-25 07:14:03 +02:00
qndel
c05c4c0f55
fix typos
2022-09-17 20:19:05 +02:00
staphen
147a13d66c
Synchronize gold in player's inventories
2022-09-08 06:11:36 +02:00
staphen
e28a8065e9
Sync more item data with TCmdChItem
2022-09-08 06:11:36 +02:00
staphen
73028ec04a
Define network struct for ears
2022-09-08 06:11:36 +02:00
Anders Jenbo
872456ae5d
Use size_t for a select few pnum variables
2022-08-26 13:22:04 +09:00
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
2022-08-20 16:30:40 +00:00
ephphatha
b4839dadcc
Dedupe operate object network commands
2022-08-07 02:46:24 +02:00
Anders Jenbo
b9aa2959a6
Split deleta sync from operate door
2022-08-01 12:09:26 +02:00
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.
2022-07-22 17:46:53 +02:00
ephphatha
de83d9440e
Use position for break object network messages
2022-07-19 16:22:52 +02:00
ephphatha
0c08980c71
Combine Telekinesis with other object network commands
2022-07-19 12:50:00 +02:00
ephphatha and Anders Jenbo
3a7fd8da2d
Only send and consume object location for location based messages
...
Co-authored-by: Anders Jenbo <[email protected] >
2022-07-19 12:50:00 +02:00
Anders Jenbo
56915974d6
Minimize passing of player indexes
2022-07-18 11:15:50 +02:00
Anders Jenbo
9cae6dad7d
Clean up most usages of DWORD
2022-07-14 23:50:12 +02:00
Cesar Canassa
f0d1d58499
♻️ Remove monsterId from delta_kill_monster
2022-07-13 14:48:31 +02:00
Cesar Canassa
79f5cdb2be
♻️ change delta_monster_hp to receive a Monster reference (#4873 )
2022-07-03 20:59:03 +02:00
obligaron
e151274fdf
Introduce IsValidLevel
2022-06-18 17:05:30 +02:00
obligaron
22a113d3a6
Introduce GetLevelForMultiplayer
2022-06-18 17:05:30 +02:00
obligaron
8637e05650
Remove bLevel from delta_kill_monster_ and delta_monster_hp
2022-06-18 17:05:30 +02:00
obligaron
783db07cbf
Replace CMD_DLEVEL_0/_1/... with generic CMD_DLEVEL
2022-06-18 17:05:30 +02:00
obligaron
29e4ec4ef1
Move delta structs to msg.cpp
2022-06-18 17:05:30 +02:00
obligaron
2b0b944afb
Manage friendly mode per player and sync state between clients
2022-05-20 22:46:48 +02:00
obligaron
d921fb3e97
Throttle send player commands to avoid desyncs
2022-04-22 23:23:51 +02:00
Gleb Mazovetskiy
ade8aba822
Fix some more warnings
2022-04-14 01:26:29 +02:00
obligaron
299469c710
Sync mana between clients
2022-03-20 23:24:08 +01:00
Anders Jenbo
55a0b71b1c
Only spawn loot once
2022-03-20 11:12:08 +01:00
staphen
30a9595020
Fix Hork Demon and Nakrul drops in multiplayer
2022-02-04 18:44:26 +01:00
ephphatha
db1d776539
Deduplicate PItem and DItem
2022-01-24 21:12:13 +01:00
Robin
b2a623f229
msg: add documentation of cmd_id enum ( #3960 )
2022-01-19 02:54:45 +01:00