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
obligaron
299469c710
Sync mana between clients
4 years ago
Anders Jenbo
55a0b71b1c
Only spawn loot once
4 years ago
staphen
30a9595020
Fix Hork Demon and Nakrul drops in multiplayer
4 years ago
ephphatha
db1d776539
Deduplicate PItem and DItem
4 years ago
Robin
b2a623f229
msg: add documentation of cmd_id enum ( #3960 )
4 years ago
staphen
5b21e0188f
Fix order of operations during game initialization
4 years ago
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.
4 years ago
qndel
b00feb4c3d
sync monster mWhoHit and hitpoints
4 years ago
Anders Jenbo
b4f699f0a3
Validate item network messages
4 years ago
Anders Jenbo
7001ead263
Mark network pointers as const
5 years ago
Anders Jenbo
2708b16c05
Validate CMD_SYNCDATA ( #2968 )
5 years ago
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.
5 years ago
Juliano Leal Goncalves
0baffa6e33
🚚 Rename 'QuestStruct' to 'Quest'
5 years ago
Juliano Leal Goncalves
bb2dfdfb73
🚚 Rename 'ItemStruct' to 'Item'
5 years ago
qndel
3d92b6eea5
Rewrite manashield into not using a missile
5 years ago
qndel
d76158ca03
reflect without missile! ( #2659 )
5 years ago
Anders Jenbo
5ddcd90ff9
Make NetSendCmdQuest() take a quest structure as input
5 years ago
qndel
7ba878fd4d
fix reflect on loading
5 years ago