ccgauche
9628dfaf99
Fixed comments
2021-03-01 21:29:18 +01:00
ccgauche
dbd4d70b79
Lots of improvement in pointer management (switched from i32 to u64) + New event implemented
2021-03-01 19:00:44 +01:00
Sam
50c47ce84d
Made changes to fix torvus
2021-02-27 22:42:11 -05:00
Avi Weinstock
78014d7d3b
Put material stats in their own manifest, and multiply a form's stats by the weighted average of the material multipliers.
2021-02-23 15:49:34 -05:00
ccgauche
06aa7ab70c
Retrieves added + New ECS memory layout for plugins
2021-02-22 23:59:32 +01:00
ccgauche
1597fcc79e
Fixed the plugin compilation and added comments
...
TODO: Remove compilation errors on WASM side (while using common).
2021-02-22 23:59:25 +01:00
ccgauche
a067a20b69
added basic retreive
2021-02-22 23:59:11 +01:00
Marcel Märtens
3f5c64bec0
Client::new can now resolve DNS requests, better networking error messages
2021-02-22 17:35:19 +01:00
Marcel Märtens
1a7c179bbb
share tokio Runtime between Client and Server, name rayon Threadpool
2021-02-22 17:35:06 +01:00
Marcel Märtens
514d5db038
Update Network Protocol
...
- now last digit version is compatible 0.6.0 will connect to 0.6.1
- the TCP DATA Frames no longer contain START field, as it's not needed
- the TCP OPENSTREAM Frames will now contain the BANDWIDTH field
- MID is not Protocol internal
Update network
- update API with Bandwidth
Update veloren
- introduce better runtime and `async` things that are IO bound.
- Remove `uvth` and instead use `tokio::runtime::Runtime::spawn_blocking`
- remove futures_execute from client and server use tokio::runtime::Runtime instead
- give threads a Name
2021-02-22 17:34:55 +01:00
Marcel Märtens
ea8ab1ce7a
Great improvements to the codebase:
...
- better logging in network
- we now notify the send of what happened in recv in participant.
- works with veloren master servers
- works in singleplayer, using a actual mid.
- add `mpsc` in whole stack incl tests
- speed up internal read/write with `Bytes` crate
- use `prometheus-hyper` for metrics
- use a metrics cache
2021-02-17 16:15:00 +01:00
Marcel Märtens
5aa1940ef8
get rid of async_std::channel
...
switch to `tokio` and `async_channel` crate.
I wanted to do tokio first, but it doesnt feature Sender::close(), thus i included async_channel
Got rid of `futures` and only need `futures_core` and `futures_util`.
Tokio does not support `Stream` and `StreamExt` so for now i need to use `tokio-stream`, i think this will go in `std` in the future
Created `b2b_close_stream_opened_sender_r` as the shutdown procedure does not need a copy of a Sender, it just need to stop it.
Various adjustments, e.g. for `select!` which now requieres a `&mut` for oneshots.
Future things to do:
- Use some better signalling than oneshot<()> in some cases.
- Use a Watch for the Prio propergation (impl. it ofc)
- Use Bounded Channels in order to improve performance
- adjust tests coding
bring tests to work
2021-02-17 12:38:53 +01:00
Marcel Märtens
1b77b6dc41
Initial switch to tokio for network, minimum working example.
2021-02-17 12:37:59 +01:00
James Melkonian
1d8496ea21
Move agent system to server
2021-02-06 06:15:25 +00:00
Sam
77312ccdd4
Move outcome vec from being defined in frontend and server to common.
2021-01-23 15:17:36 -05:00
Ben Wallis
aef2637288
Refactored loadout to have public functions for each slot instead of requiring callers to use the _INDEX consts
2021-01-08 19:12:09 +00:00
ccgauche
06ffe61219
Added feature flag
...
changed field name to size
2021-01-08 08:48:30 +00:00
Benoît du Garreau
0cf164f33a
Use assets_manager to load assets
2020-12-17 12:06:07 +01:00
Joshua Barretto
494436be01
Hid plugins behind a feature flag to resolve Windows CI issue
2020-12-15 11:14:26 +00:00
Joshua Barretto
023888f560
Updated changelog, fmt and clippy fixes
2020-12-13 17:40:15 +00:00
Joshua Barretto
f8c8e342e6
Moved common networking code to common/net, clippy fixes
2020-12-13 17:23:45 +00:00
Joshua Barretto
027842f832
Resolved plugin dependency cycle, allowing more interesting plugin API
2020-12-13 17:15:33 +00:00
Joshua Barretto
8e937a50ca
Better plugin API
2020-12-13 17:15:33 +00:00
ccgauche
cae81e625e
Added plugin command support
2020-12-13 17:15:33 +00:00
Marcel Märtens
e398cca53c
move common_state into common_sys
2020-12-01 13:46:28 +01:00
Marcel Märtens
add7922653
Move Systems out of common into common_sys
...
This requires to move `State` into a own crate called `common_state` which depends on `common` and `common_sys`
2020-12-01 13:44:07 +01:00
ubruntu
1b27adaffd
Stop /home from causing fall damage
2020-11-30 21:13:06 +00:00
Imbris
c0a8422a43
Fix turning off worldgen feature
2020-11-24 23:55:44 -05:00
Joshua Barretto
d52b595240
Merge branch 'zesterer/worldsim' into 'master'
...
Rtsim, HDR rendering, various worldgen improvements, map improvements
See merge request veloren/veloren!1533
2020-11-23 16:59:31 +00:00
Joshua Barretto
26fd40c0e3
Fmt, make clippy happy
2020-11-23 15:39:03 +00:00
Joshua Barretto
d023265212
Allow entities to despawn without a home chunk
2020-11-23 15:16:07 +00:00
Joshua Barretto
28b0a00b44
Removed per-level dungeon waypoints
2020-11-23 10:57:14 +00:00
Joshua Barretto
d4d4f17d3c
Added world map size icons
2020-11-23 10:45:01 +00:00
Joshua Barretto
22fb71905b
Added rtsim entities moving when unloaded, better generation
2020-11-23 10:45:01 +00:00
Joshua Barretto
99a881f349
Added entity simulation to rtsim, reification, assimilation
2020-11-23 10:44:59 +00:00
Joshua Barretto
808d1873bd
Began implementing rtsim
2020-11-23 10:37:59 +00:00
Joshua Barretto
3ee4245652
Added test poles, minor improvements
2020-11-23 10:37:59 +00:00
Odd-Harald Lillestø Myhren
56e37a4846
Fix bug that caused campfires and other stuff to duplicate
2020-11-22 21:03:06 +00:00
Snowram
a939eac30d
Refines spawn values, add gradients to debug_column
2020-11-21 14:33:35 +01:00
Snowram
febe79e602
Added remaining creature spawns
2020-11-21 14:33:33 +01:00
Joshua Barretto
2ae51de7f0
Added more creature spawns
2020-11-21 14:33:32 +01:00
Joshua Barretto
bb6ca9fcba
Don't despawn entities so eagerly
2020-11-21 14:33:31 +01:00
Imbris
891e81cf58
Merge branch 'imbris/save-selected-char' into 'master'
...
Save the selected character, deselect character when deleting, auto select newly created character
See merge request veloren/veloren!1516
2020-11-15 01:40:44 +00:00
Imbris
4f2512f126
Save the selected character, deselect character when deleting, auto select newly created character
2020-11-14 19:17:42 -05:00
Imbris
2072929a5a
Send ability map from the server to the client on connection instead of loading from the assets
2020-11-14 16:07:07 -05:00
Sam
e2fe2fd532
Speed and power on weapons are now able to modify abilities after they are loaded from ron files.
2020-11-12 21:24:36 -06:00
Imbris
37e4ea4669
Remove ability map from top level functions
2020-11-12 21:24:35 -06:00
Sam
9b4fa4e961
Started moving loading of ability manifest to an ecs variable.
2020-11-12 21:24:34 -06:00
Joshua Barretto
9b233708e2
Turned tree generation into a post-processing layer, ripped out old tree generator for performance wins
2020-11-09 10:20:22 +00:00
Marcel Märtens
a7123c6e14
put cache in ECS to get rid of allocations
2020-11-04 14:19:28 +01:00