Commit Graph

14307 Commits

Author SHA1 Message Date
6f0997705f Clean code 2023-08-15 11:10:53 +02:00
e611d695b1 Add stay/follow option for pets 2023-08-15 11:10:52 +02:00
e54ca7e80d ukrainian translation of all files 2023-08-14 21:54:31 +03:00
1c8d62f147 ukrainian translation of ability.ftl, trade.ftl 2023-08-12 13:17:33 +03:00
aba0c23bc7 Make sync_me based of PresenceKind rather than being an independent
field.
2023-08-11 20:09:55 -04:00
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
cdca700297 Properly check conditions for when the client's physics components should be synced 2023-08-11 20:09:55 -04:00
396c08e7ee Also make sure physics components are synced 2023-08-11 20:09:55 -04:00
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
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
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
67dcb2a778 Update swedish translations 2023-08-11 15:04:56 +02:00
c6e9d3a202 Merge branch 'neutralmodder/zoom-keybind' into 'master'
Add keybinding for zooming the camera

See merge request veloren/veloren!4050
2023-08-10 16:55:09 +00:00
5ef300c72c Add keybinding for zooming the camera 2023-08-10 16:55:09 +00:00
02e67a0f4a Merge branch 'qsto/new_backpack' into 'master'
Reliable leather pack

See merge request veloren/veloren!4066
2023-08-09 20:44:52 +00:00
97725a3147 Reliable leather pack 2023-08-09 20:44:51 +00:00
ea89f27658 Merge branch 'qsto/desert_hum_fix' into 'master'
Desert hum fix

See merge request veloren/veloren!4065
2023-08-09 15:53:17 +00:00
5762e62704 Desert hum fix 2023-08-09 15:53:16 +00:00
58b541490b Merge branch 'fix_sea_wyvern_head_offset' into 'master'
fix sea wyvern head offset

See merge request veloren/veloren!4059
2023-08-09 12:44:27 +00:00
b3899d6966 Merge branch 'isse/usable-shovel' into 'master'
Usable shovel

See merge request veloren/veloren!4060
2023-08-08 18:45:10 +00:00
d74a743d4f update shovel voxel files to fit animations better 2023-08-08 20:44:37 +02:00
ba1cee4fd2 more animation 2023-08-06 21:39:38 +02:00
3ddc3f5f72 Merge branch 'DaforLynx/repair_sfx' into 'master'
Play sfx on successful repair

See merge request veloren/veloren!4062
2023-08-05 18:49:49 +00:00
16f53d33ed Play sfx on successful repair 2023-08-05 18:49:49 +00:00
98385b3b15 animation 2023-08-04 13:59:22 +02:00
aaaa8c13b0 Merge branch 'xMAC94x/fix_gittag_ci_step' into 'master'
try to fix gittag job

See merge request veloren/veloren!4042
2023-08-04 09:23:43 +00:00
db6ebcd685 remove shovel outcome trigger from combomelee state 2023-08-03 23:00:32 +02:00
607af6f227 shovel sfx & particles 2023-08-03 21:52:55 +02:00
b06960ce1c fix interaction_text 2023-08-03 20:56:26 +02:00
5f7895ffa0 wyverns: parallel loot drops - All() 2023-08-03 20:11:51 +02:00
d890190af4 add animations 2023-08-03 19:45:23 +02:00
5e225d7f35 add to changelog 2023-08-03 19:38:31 +02:00
a39923e4d6 digging shovel 2023-08-03 19:32:09 +02:00
9bd5003d31 fix sea wyvern head offset 2023-08-03 19:25:55 +02:00
8abb93040c Merge branch 'qsto/chests-cleanup' into 'master'
Qsto/chests cleanup

See merge request veloren/veloren!4039
2023-08-02 21:37:16 +00:00
4c953cd36a teeny tweak 2023-08-02 22:53:49 +02:00
54bd7791e5 changelog entry 2023-08-02 18:48:31 +02:00
254c1c7145 ResourceSprite Fill, so we can track giant tree IronWood in rtsim 2023-08-02 18:48:01 +02:00
0d4fc62468 Code quality fix 2023-08-02 18:48:01 +02:00
1301761445 Scatter changes and fixes 2023-08-02 18:48:01 +02:00
2c23781d22 Remove tiers from dungeons names 2023-08-02 18:48:01 +02:00
c1b8544065 Fix 2023-08-02 18:48:01 +02:00
50304ed54e Format fix 2023-08-02 18:48:01 +02:00
28cf9bf19d Add woods to scatter and rarify the pyrebloom 2023-08-02 18:48:01 +02:00
4879f75069 Various loot changes 2023-08-02 18:47:59 +02:00
a577ed1d36 Changes to Gnarling Tree 2023-08-02 18:45:40 +02:00
b08b9cf8e8 Merge branch 'spawn_wyverns' into 'master'
spawn wyverns

See merge request veloren/veloren!3994
2023-08-02 07:55:10 +00:00
flo
57fe2c4adb spawn wyverns 2023-08-02 07:55:10 +00:00
e89f28bbb5 Merge branch 'qsto/brimstone-armor-fix' into 'master'
Brinestone armor recipe fix

See merge request veloren/veloren!4056
2023-08-02 07:55:06 +00:00
2805509c12 Brinestone armor recipe fix 2023-08-02 09:06:02 +02:00