Commit Graph

655 Commits

Author SHA1 Message Date
Joshua Yanovski
7d3b8ea81e Parallelize ingame messages. 2022-09-16 01:34:21 -07:00
Joshua Yanovski
4b5a9fe0f4 Remove persistence loading error from SkillSet.
This is needed (for now) in order to parallelize ingame_chat, because
one of the handled messages updates this value on the server.  It turns
out that the value is not actually used on the server, only the client,
so this was mostly a matter of threading this back to the correct place.
Additionally, we took the opportunity to modify the UI to not log you
into the game until your character was confirmed to be loaded, which
was a todo item that lets us simplify some error handling logic and
remove stuff from global state.
2022-09-16 01:20:35 -07:00
Joshua Yanovski
8dfe53e788 Oops 2022-09-14 01:44:38 -07:00
Joshua Yanovski
ecb68acb77 WIP changes 2022-09-14 01:00:01 -07:00
Joshua Yanovski
60060a9913 [WIP] improving thread pool usage and bot client. 2022-09-12 20:26:22 -07:00
Joshua Yanovski
3b424e9049 Significantly optimizing terrain::Sys::run. 2022-09-11 10:16:31 -07:00
Joshua Yanovski
7fe721247c Allow mods/admins to log in when server is full.
As a side effect, this moves the initial game server sync message into
the login code, since that's the first place we can check for admin
permissions and we want to avoid sending large messages to users who are
not authenticated (especially if the player cap has been reached;
previously, the player cap check limited the damage that could be done
by unauthenticated players).

Some fallout from this is that we don't synchronize the Player component
anymore, which had some minor effects on voxygen.  This update also
breaks Torvus, since Client::new now expects the username and password
to be provided from the getgo--an accompanying MR will be submitted to
fix it.
2022-09-09 15:13:53 -07:00
Joshua Yanovski
c78f496fca Reduce overhead of messaging systems. 2022-09-09 14:48:54 -07:00
Joshua Yanovski
0f01b78e4b Threads pinned to cores, initial groundwork for async slowjobs. 2022-08-24 21:43:14 -07:00
Joshua Yanovski
54847c726b Remove more main thread bottlenecks. 2022-08-15 19:01:43 -07:00
Joshua Yanovski
706084dd15 Improving meshing performance. 2022-08-13 23:48:50 -07:00
IsseW
f174472f55 Fix tracy network message plotting. 2022-07-31 16:18:46 +02:00
Joshua Yanovski
5afb17eb07 Reduce jitter, this was too ambitious. 2022-07-31 02:23:01 -07:00
Joshua Yanovski
2a61c7790b Substantial improvements to meshing time.
This mostly come out of optimizing BlocksOfInterest to (empirically)
minimize redundant computations, use a more efficient RNG, use a faster
verion of iter_changed, and optimize water block handling (theoretically
the iter_changed difference might mean we missed some water blocks, but
in practice it's unlikely to matter for fast-moving rivers).

Also did some microoptimizations of meshing etc. that seem to result in
pretty good improvements in practice, and also added another set of
optimizations to improve tree performance (special casing "easy" segment
approaches, which got a few percent, and inlining block_from_structure
for tree leaves and branches, which got us considerably more; I think
the total improvement is around 5%).
2022-07-31 01:28:37 -07:00
Joshua Yanovski
9ebf07c6e1 Merge remote-tracking branch 'origin/master' into sharp/zoomy-worldgen 2022-07-27 15:30:37 -07:00
Marcel Märtens
bfcc2cb802 Change the version number to 0.13 2022-07-23 14:06:08 +02:00
DaforLynx
d2710635d8 Lightning strikes are less audible; cave music restored; fixed audio permanently stopping on logout 2022-07-21 08:27:35 +00:00
tygyh
120ee6b6c0 Fix typos 2022-07-15 18:59:37 +02:00
tygyh
5e5698249b Remove unnecessarily qualified paths 2022-07-15 14:49:46 +02:00
Joshua Yanovski
2984293937 Single thread chunk updates for now. 2022-07-07 23:24:02 -07:00
Joshua Yanovski
61d1c27605 Spawn fewer slowjob tasks. 2022-07-07 22:00:45 -07:00
Joshua Yanovski
3ba53b3e4c Deserialize chunks off the main thread. 2022-07-07 21:06:56 -07:00
Joshua Yanovski
6eb26ba6d8 Merge remote-tracking branch 'origin/master' into sharp/zoomy-worldgen 2022-07-07 16:02:18 -07:00
Marcel Märtens
e4909650e1 update hashbrown, specs, and tracy 2022-07-06 15:41:59 +02:00
DaforLynx
9104a07530 Code cleanup, doubled volume of leaves.ogg 2022-07-04 18:11:43 +02:00
IsseW
fd12c8abdb Remove dead shader code, clean up weather.rs 2022-07-04 18:10:06 +02:00
DaforLynx
dc8424c549 Moving audio code 2022-07-04 18:10:05 +02:00
IsseW
6215ccd522 Remove dead code 2022-07-04 18:07:24 +02:00
IsseW
3eabe24f12 base occlusion texture size of off voxels 2022-07-04 18:07:19 +02:00
IsseW
08b0989789 add slider for rain map resolution 2022-07-04 18:07:18 +02:00
IsseW
54f958acc7 more correct occlusion 2022-07-04 18:07:16 +02:00
IsseW
79cac935c8 Added rain occlusion 2022-07-04 18:07:11 +02:00
IsseW
b578f0231f Interpolate in client 2022-07-04 18:07:06 +02:00
IsseW
78c1de19cf More accurate weather sim 2022-07-04 18:04:39 +02:00
IsseW
6585ef1513 weather dependant music 2022-07-04 18:11:43 +02:00
IsseW
b7c0196129 Server weather sim 2022-07-04 18:11:41 +02:00
Marcel Märtens
50d85940d8 implement a event channel that posts regular information on events for Participants 2022-07-03 21:21:59 +02:00
Joshua Yanovski
59aacc3fd8 Remove some bottlenecks. 2022-07-01 20:41:59 -07:00
Joshua Yanovski
ad5bcf3cd8 Turning "full" chunks back on, deserialization improvements. 2022-06-29 21:52:04 -07:00
Joshua Yanovski
a3b7127de9 Evven zoomier WorldGen, lots of things broken! 2022-06-28 00:24:46 -07:00
Joshua Yanovski
a973155597 Zoomy worldgen WIP, please do not complain things are broken. 2022-06-24 02:48:09 -07:00
Samantha W
57ab1c5767 Add a client-side mutelist 2022-06-14 20:35:01 +00:00
Benoît du Garreau
8488c7b25e Upgrade assets_manager to 0.8.0 and image to 0.24
This removes a significant number of duplicated dependencies
2022-05-28 23:18:31 +02:00
Ben Wallis
34f580dfaa Introduced loot ownership rules to combat loot stealing by players
* Added `LootOwner` component used to indicate that an `ItemDrop` entity is owned by another entity
* A loot winner is now calculated after EXP allocation using the EXP per entity for weighted chance distribution
* Used existing Inventory Full overitem text to show "Owned by {player} for {seconds}secs" when a pickup fails due to a loot ownership check
* Updated agent code to take into account loot ownership when searching for `ItemDrop` targets to pick up
* Added `loot` ECS system to clear expired loot ownerships
2022-05-28 12:06:49 +00:00
Imbris
ca1a27bd11 Merge branch 'imbris/update-tracy' into 'master'
Update tracy

See merge request veloren/veloren!3400
2022-05-27 02:50:24 +00:00
Imbris
5cf899c4fe Plot fixes in client and dynamic name fix in voxygen (tracy update) 2022-05-26 22:19:11 -04:00
Sam
afd2c8730f Addressed most review comments (no assets). 2022-05-16 15:11:32 -04:00
Sam
d436362a8d Consolidated crafting UI for the primnary component of modular weapons. 2022-05-16 15:11:21 -04:00
Sam
8fc0138e84 Initial crafting UI for modular weapons. 2022-05-16 15:11:17 -04:00
Sam
a9e9a70687 Changed ModularComponent to allow it to be more extensible. Overhauled random modular weapon function so that there is less runtime cost to generate one. NO ASSETS 2022-05-16 15:11:11 -04:00