Imbris
e8361d5abf
Merge branch 'imbris/sync-toggle' into 'master'
...
Add field to Presence to control when an entity is synced to other clients
See merge request veloren/veloren!3972
2023-08-16 00:10:35 +00:00
Maxicarlos08
13dbf679c5
review
2023-08-15 11:10:54 +02:00
Maxicarlos08
1ea0f249f5
display if pet is currently following or staying
2023-08-15 11:10:54 +02:00
TelepathicWalrus
4bdbb3ff6b
Move stay position to agent
2023-08-15 11:10:54 +02:00
TelepathicWalrus
2cb8e2ca84
Update code quality
2023-08-15 11:10:53 +02:00
Joshua Barretto
62d998252d
sync
2023-08-15 11:10:53 +02:00
TelepathicWalrus
6adca217fe
Clean code
2023-08-15 11:10:53 +02:00
TelepathicWalrus
6a080c242c
Add server side check to stop stay when mounted
...
Add filter to allow telling other pets to stay when mounted
2023-08-15 11:10:53 +02:00
TelepathicWalrus
0648ba1bc6
Clean Code
...
Remove option to mount if pet is told to stay
2023-08-15 11:10:53 +02:00
TelepathicWalrus
d6496c999d
Removed is_stay variable
...
Added server side owner and distance checks
2023-08-15 11:10:53 +02:00
TelepathicWalrus
d9d364fe79
Add stay position to PetState
...
Pets will now stay within 10 voxels of where they were told to stay
Added MAX_STAY_DISTANCE constant
Fixed being able to tell pet to stay when mounted
2023-08-15 11:10:53 +02:00
TelepathicWalrus
9597810e3d
Remove is_stay function
...
Clean code
2023-08-15 11:10:53 +02:00
TelepathicWalrus
e611d695b1
Add stay/follow option for pets
2023-08-15 11:10:52 +02:00
Imbris
aba0c23bc7
Make sync_me based of PresenceKind rather than being an independent
...
field.
2023-08-11 20:09:55 -04:00
Imbris
ecb27deeae
When sync_me is false avoid:
...
* Logging a warning when deleting the entity and it is not in any
Region.
* Searching every single region for an entity that is in none of them.
Also:
* Add workaround for bug in specs where deleting any entity clears the
components before checking that the generation is correct (surprised
that we haven't encounted bugs from this yet).
* Properly update `tracked_entities` inside `RegionMap` when deleting
an entity. Previously, we just relied on this being updated in
`RegionMap::tick` by the absence of the `Pos` component at that index.
However, this means if a new entity is created at that index after
deletion and before calling `RegionMap::tick`, then this can be
interpreted as an entity moving between regions rather than one being
deleted and another created. It seems like this could lead to
synchronization bugs like not creating the new entity on the client
(although I haven't noticed this before, I think maybe we use newly
inserted `Uid`s to detect new entities rather than the region system?).
I think it could at least lead to sending redundant messages to
synchronize the new entity.
2023-08-11 20:09:55 -04:00
Imbris
cdca700297
Properly check conditions for when the client's physics components should be synced
2023-08-11 20:09:55 -04:00
Imbris
396c08e7ee
Also make sure physics components are synced
2023-08-11 20:09:55 -04:00
Imbris
997babca18
Always sync components for a client's entity even if it has no position
...
or has sync_me false in `Presence`.
2023-08-11 20:09:55 -04:00
Imbris
ba7d7481d7
Move RegionMap insertion into ecs and ticking from common
into server
...
Since it now needs Presence component to be available and we don't use
the RegionMap on the client.
2023-08-11 20:09:55 -04:00
Imbris
a01f75b38d
Add sync_me
parameter to Presence
that must be set to true
for
...
entities with the `Presence` component to be synced to other clients.
2023-08-11 20:09:55 -04:00
Isse
a39923e4d6
digging shovel
2023-08-03 19:32:09 +02:00
Michal Sroczynski
2c23781d22
Remove tiers from dungeons names
2023-08-02 18:48:01 +02:00
flo
57fe2c4adb
spawn wyverns
2023-08-02 07:55:10 +00:00
Sam
e3ad16ef47
Addressed review comments
2023-07-29 19:04:11 -04:00
Sam
d6fcd893bf
Addressed testing feedback
2023-07-29 19:04:10 -04:00
Sam
9fa556b165
Axe AI
2023-07-29 19:04:07 -04:00
Sam
1cc99c9c4a
Fixes to animations and making ability that the animation system thinks is being used more correct
2023-07-29 19:03:56 -04:00
Sam
ff15780c22
Maelstrom
2023-07-29 18:53:48 -04:00
Sam
4a690840e4
Savage sense
2023-07-29 18:53:47 -04:00
Sam
80ab9c26ec
Initial setup
2023-07-29 18:53:38 -04:00
Samuel Keiffer
026b61baee
Merge branch 'maxicarlos08/chieftain-mask-fix' into 'master'
...
Maxicarlos08/chieftain mask fix
See merge request veloren/veloren!4024
2023-07-29 01:22:28 +00:00
Neras
e72a8f2fcc
Nerasw/defensive stance tweaks
2023-07-28 21:29:32 +00:00
Maxicarlos08
922a592c8d
fixed migrations
2023-07-27 00:24:43 +02:00
Maxicarlos08
2cbb104243
Miner helmet migrations
2023-07-13 17:18:46 +02:00
Igigog
02cb319624
Refactor save_thread function
2023-07-12 21:46:57 +02:00
Monty Marz
102945b9e7
Dungeon rework initial patch
2023-07-09 20:03:09 +00:00
Christof Petig
708819013f
remove another dead code section
2023-07-01 15:31:53 +02:00
Christof Petig
01223d7174
implement and use read_exact_bytes, cleanup
2023-07-01 15:31:53 +02:00
Christof Petig
28c3721ecf
upgrade wasmer, implement basic WASI, turn off login events for now
2023-07-01 15:31:53 +02:00
Marcel
59e242dfb8
Merge branch 'zesterer/anticheat' into 'master'
...
Emergency fixes to terrain persistence and anticheat
See merge request veloren/veloren!4006
2023-07-01 12:15:32 +00:00
Joshua Barretto
7c59bec29d
Removed dead code warning
2023-07-01 12:11:21 +01:00
Joshua Barretto
598f628858
Reenabled physics rejection logging
2023-07-01 09:40:57 +01:00
Joshua Barretto
9a0aa5d552
Emergency fixes to terrain persistence and anticheat
2023-06-30 19:56:24 +01:00
Marcel Märtens
e3f8046691
Change the version number to 0.15
2023-06-30 16:31:00 +02:00
Joshua Barretto
9c1a06d1b2
Upped maximum vertical speed
2023-06-22 19:34:18 +01:00
Joshua Barretto
98493fd511
Better rejection logs
2023-06-22 13:14:07 +01:00
Joshua Barretto
dda28d5621
Overhauled and improved anticheat
2023-06-22 12:25:08 +01:00
Joshua Barretto
8480cb4a7a
Apply client physics once per server tick
2023-06-22 10:43:02 +01:00
Imbris
0b213b6149
Move common code into a separate function to avoid the complexity of calling delete_entity_recorded from handle_exit_ingame
2023-06-04 22:29:19 -04:00
Imbris
599e25c9c6
Address review on !3971
2023-06-04 21:12:39 -04:00