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
staphen
5b21e0188f
Fix order of operations during game initialization
2022-01-15 06:47:09 +01:00
ephphatha
baa1cd65c5
Make FindGetItem return an index into ActiveItems
...
This allows the calling code in DeltaLoadLevel to behave the same as every other use of DeleteItem, making it possible to remove the duplicate argument and ensure that the ActiveItems/AvailableItems arrays are treated appropriately.
2021-11-23 19:08:41 +01:00
qndel
b00feb4c3d
sync monster mWhoHit and hitpoints
2021-11-06 19:03:05 +01:00
Anders Jenbo
b4f699f0a3
Validate item network messages
2021-10-12 04:56:30 +02:00
Anders Jenbo
7001ead263
Mark network pointers as const
2021-10-02 20:30:16 +02:00
Anders Jenbo
2708b16c05
Validate CMD_SYNCDATA ( #2968 )
2021-09-30 15:38:10 +02:00
Juliano Leal Goncalves
9ac324b8e1
🐛 Prevent manipulation of spell type being cast (#2856 )
...
This prevents frame-perfect manipulated of the spell type after the command has already been sent.
2021-09-13 23:45:51 +02:00
Juliano Leal Goncalves
0baffa6e33
🚚 Rename 'QuestStruct' to 'Quest'
2021-09-02 05:46:01 +02:00
Juliano Leal Goncalves
bb2dfdfb73
🚚 Rename 'ItemStruct' to 'Item'
2021-08-30 13:40:08 +02:00
qndel
3d92b6eea5
Rewrite manashield into not using a missile
2021-08-25 19:32:10 +02:00
qndel
d76158ca03
reflect without missile! ( #2659 )
2021-08-22 01:32:41 +02:00
Anders Jenbo
5ddcd90ff9
Make NetSendCmdQuest() take a quest structure as input
2021-08-20 12:13:17 +02:00
qndel
7ba878fd4d
fix reflect on loading
2021-08-20 00:55:54 +02:00