Commit Graph

12284 Commits

Author SHA1 Message Date
Sam
85b7382487 Added handedness requirements to recipes and components. 2022-05-16 15:10:50 -04:00
Sam
68c8160ecb Added modular components for swords. 2022-05-16 15:10:50 -04:00
Sam
2feb8f298b Removed deprecated functionality from modular weapons. 2022-05-16 15:10:49 -04:00
Sam
511f39c5ae Adds support for loading modular item from database with an arbitrary amount of component nesting. 2022-05-16 15:10:49 -04:00
Sam
77934c9214 Made changes to crafting to allow modular weapons to work as intended. 2022-05-16 15:10:48 -04:00
Isse
d69f76461f Merge branch 'isse/site-command-completion' into 'master'
Site command completion

See merge request veloren/veloren!3379
2022-05-15 22:45:51 +00:00
IsseW
bd53d0b354 fix wrong spelling 2022-05-16 00:06:57 +02:00
IsseW
fb7aa07b01 site command completion 2022-05-15 23:57:21 +02:00
Joshua Barretto
eec2d67bb7 Merge branch 'zesterer/worldgen' into 'master'
Worldgen Improvements

See merge request veloren/veloren!3378
2022-05-15 19:44:12 +00:00
Joshua Barretto
30b041282f More rocks near rivers 2022-05-15 18:31:24 +01:00
Joshua Barretto
6ace5adda6 Reduced point light ambiance hack 2022-05-15 16:33:03 +01:00
Cheuk Yin Ng
0962d3d67e Add chat window opacity value alongside slider 2022-05-15 08:30:30 -07:00
Joshua Barretto
692309029d Improved badlands 2022-05-15 16:14:03 +01:00
Joshua Barretto
cc295b483a Better snow cover 2022-05-15 15:34:36 +01:00
Joshua Barretto
45cdafa933 Merge branch 'isse/water-cave' into 'master'
Water caves

See merge request veloren/veloren!3357
2022-05-15 10:16:55 +00:00
Isse
2050bce77d Water caves 2022-05-15 10:16:53 +00:00
Joshua Barretto
ecf97a53cd Regular warping 2022-05-15 10:19:57 +01:00
Marcel
2855627ca2 Merge branch 'path-finding-fixes' into 'master'
Fix path finding bugs

See merge request veloren/veloren!3376
2022-05-14 17:53:34 +00:00
Joshua Barretto
e5c49af547 Faster, prettier, and less troublesome terrain warping 2022-05-14 17:00:03 +01:00
Hugo Peixoto
74d4e4f45e Fix path finding calculation of starting point
When a chaser's route finishes calculating, the chaser may already be a
few blocks away from the starting position, thanks to movement inertia.
The path finding code finds the point along the route closest to the
chaser's position.

This calculation only considered the xy coordinates when finding the
closest point. This caused issues whenever the calculated route goes
below the chaser's position (for example, when the chaser is on top of a
bridge and the route circled around to go under the bridge). In this
case, there was a chance that the closest point was the one below the
bridge. This caused the chaser to try to move directly to a directly
inaccessible block.

The fix was to remove the xy() filter so that the closest point
algorithm also considered the z coordinate.
2022-05-14 16:41:45 +01:00
Hugo Peixoto
b681ad79ce Fix heuristic to restart route in chase()
We had a random chance of restarting the route to avoid getting the
chaser stuck. This didn't work properly because the rerouting code was
only triggered if `self.route.is_none()` or if the target moved
significantly, and the random chance branch only set `bearing` to `None`.

This change sets `self.route = None` to trigger rerouting.
2022-05-14 16:41:45 +01:00
Hugo Peixoto
ba6d1bce60 Remove unnecessary code
We had an unnecessary unwrap_or_else() preceded by a question mark
operator, which means that the or_else clause could never be called.
2022-05-14 16:41:45 +01:00
Samuel Keiffer
ff16fc52c9 Merge branch 'holychowders/add_stealth_stat_to_bag_ui' into 'master'
Add stealth stat to Bag UI.

See merge request veloren/veloren!3369
2022-05-14 15:24:26 +00:00
holychowders
be0e322219 Remove "(Items)" from stealth stat descriptions. 2022-05-14 09:34:57 -05:00
holychowders
63f829be66 Add icon to stealth stat in Bag UI.
- Thanks to Toaster for making the icon.
2022-05-12 20:28:23 -05:00
holychowders
916d1d03f8 Update changelog. 2022-05-12 20:28:23 -05:00
holychowders
ff905fab95 Add stealth stat to Bag UI. NOTE: Needs icon. 2022-05-12 20:26:43 -05:00
Marcel
8c72ed9012 Merge branch 'xMAC94x/terrain_sending' into 'master'
xmac94x/terrain sending

See merge request veloren/veloren!3368
2022-05-11 20:16:07 +00:00
Marcel Märtens
1b76874342 renamings and using unstable sort according to a code review 2022-05-11 21:50:41 +02:00
Marcel Märtens
637e63fbe2 switch from a Component to a Ressource with an Eventbus
Set CHUNK_SITE to 10 which results in a mean of 13ms per Slowjob. Its good if it stays under 30ms so it has less influence on ticks.
Some performance values measured with a AMD Ryzen 1700X:
 - voxygen and server and swarm (25 clients, 10 vd) on one machine.
 - total runtime was 240s
 - CHUNK_GENERATOR total time is 486s with a mean of 40ms
 - CHUNK_SERIALIZER total time is 18.19s with a mean of 13ms, so in total its a order of magnitude lower
   Trancy confirms this, the Serialize backlog is usually handled within 1-2 ticks.
 - terrain::sys total time 1.2s, mean 188us
 - msg::terrain::sys total time 812ms, mean 125us
 - terrain::sync total time 12ms, mean 1,85us
 - chunk_serialize::sys total time 69ms, mean 10us
 - chunk_send::sys total time 50ms, mean 7us

so all in all total time for serializsation is 20.33 of which 89% are spend outside of the ECS
2022-05-11 21:04:17 +02:00
Marcel Märtens
efe284a673 make the client request a few more chunks to compensate for the delay in serialisation 2022-05-11 20:22:24 +02:00
Marcel Märtens
8e47d02f8d add metrics and trigger slowjobs in chunks of 25 2022-05-11 20:22:23 +02:00
Marcel Märtens
9b53693783 switch to a system where chunk_serialize will start a SlowJow that is then consumed by chunk_send 2022-05-11 20:22:21 +02:00
Marcel Märtens
6c756c2440 first implementation of defering serialisation 2022-05-11 20:22:19 +02:00
Marcel
07239c3056 Merge branch 'zesterer/lod-test-world-fix' into 'master'
Fixed LoD on test worlds

See merge request veloren/veloren!3371
2022-05-11 18:21:33 +00:00
Joshua Barretto
d530c29d98 Fixed LoD on test worlds 2022-05-11 19:06:41 +01:00
Joshua Barretto
e02f8aee65 Merge branch 'zesterer/lod-objects' into 'master'
LoD Objects (inc. Trees)

See merge request veloren/veloren!3367
2022-05-11 14:56:12 +00:00
Joshua Barretto
b42ee3fce2 Avoid expense when LoD voxels are disabled 2022-05-11 15:20:19 +01:00
Joshua Barretto
01e1cb34b0 Fixed minor LoD issues 2022-05-11 15:00:44 +01:00
Joshua Barretto
f21a64e898 Better oak model 2022-05-11 14:47:11 +01:00
Joshua Barretto
894e94bb2c Made 0 LoD distance not load anything 2022-05-11 13:07:57 +01:00
Joshua Barretto
9ac84c0a3a Improved LoD models 2022-05-11 12:20:42 +01:00
Joshua Barretto
2f7678582b Merge branch 'zesterer-master-patch-11561' into 'master'
Fixed bad entity spawns

See merge request veloren/veloren!3370
2022-05-10 23:48:33 +00:00
Joshua Barretto
515abc2b89 Fixed bad entity spawns 2022-05-10 23:25:22 +00:00
Joshua Barretto
5e1f16fb7a Better tree colours 2022-05-11 00:15:05 +01:00
Joshua Barretto
907ba3dcbc Added giant trees to LoD 2022-05-10 20:30:48 +01:00
markobekko
387544a0b6 fixed some italian translation errors 2022-05-10 21:10:20 +02:00
Joshua Barretto
d4fd9d2d0e Added LoD houses 2022-05-10 19:19:46 +01:00
Joshua Barretto
7382aab13a Upped default LoD distance 2022-05-10 17:12:12 +01:00
Joshua Barretto
c7e51a6c59 Added frustum culling for LoD objects 2022-05-10 16:21:14 +01:00