Commit Graph

124 Commits

Author SHA1 Message Date
Christof Petig
8502aabe68 wasmtime update 2024-05-20 15:56:38 +02:00
crabman
10c47128ce
misc post party changes 2024-04-03 12:17:17 +01:00
crabman
af4f147fda
FriendlyFire and ForcePvP auras 2024-03-25 19:56:08 +00:00
Isse
1891584477 add to changelog 2024-03-14 21:59:47 +01:00
Isse
daa78a75ac register plugins before worldgen and support spots in plugins 2024-03-14 21:57:50 +01:00
Christof Petig
f21d76000f fix clippy 2024-03-14 00:46:19 +01:00
Christof Petig
166653b355 report plugin errors to the user 2024-03-14 00:46:18 +01:00
Christof Petig
8dd4729965 make missing plugins a set 2024-03-14 00:46:18 +01:00
Isse
ed25ea98ce store plugin data in memory 2024-03-14 00:46:18 +01:00
Christof Petig
3e0ca7d6d4 Load missing plugins from the server
individual commits combined here:
send active plugins
compute plugin sha hash
single position for defining Hash type
request plugins from the server
Server sending the plugin to the client
store received plugin in file and use it
handle plugin data at the right place
pass config_dir to client init
load local plugins
operational plugin caching
simplify the interface
clippy suggestions
remove artifacts
fix compilation of test world
ChangeLog entry
code quality fixes
improve readability
adapt to multiple systems
2024-03-14 00:46:18 +01:00
crabman
feecd6ea2b
Dynamic merging of dropped items 2024-03-05 20:59:32 +00:00
crabman
3ad05e4069
only enable wasmtime-wasi dep with plugins feature 2024-02-12 23:35:21 +01:00
Christof Petig
f56e1d84b5 Use wasmtime to execute wasm components as veloren plugins 2024-02-10 09:35:04 +00:00
Isse
d75889ed75 don't insert event busses on client 2024-02-07 10:38:37 +01:00
Isse
e651b9b2ac initial setup and convert entity_manipulation 2024-02-07 10:38:37 +01:00
Marcel Märtens
b0bef3ebbf update few dependencies 2024-02-06 19:11:10 +01:00
juliancoffee
18742bc7fb Fix veloren-server compilation
As veloren-server enables plugin feature automatically, it results in
veloren-common-state inherit this feature, which enables
common/state/plugin/mod.rs which asks for common::assets function that
is enabled only if plugin feature is enabled, but because
veloren-common-state doesn't depend on common::assets, this feature is
kind of lost half-way.

This commit fixes this by adding explicit optional dependency on
common-assets in common-state that is enabled by plugin feature.
2024-01-08 20:13:17 +02:00
Imbris
6d57169875 review fixes 2024-01-04 00:01:08 -05:00
Imbris
6c6b9181a5 Only construct specs::Dispatcher once
* use version of shred that has an added SendDispatcher so we can
  construct the dispatcher and send it between threads (only State to
  remain sendable)
* move closure for adding systems from State::tick to the creation
  functions
* this does mean some voxygen systems always run instead of just in the
  session state, but that should not cause issues and we can always
  configure them to do nothing if needed
2024-01-03 18:11:06 -05:00
Joshua Barretto
9aa757cd09 Added basic tethering 2023-10-21 13:49:04 +01:00
Christof Petig
22f8433d22 address imbris suggestions in this new version 2023-10-17 21:07:24 +02:00
Christof Petig
12ee21a289 first part of load items from plugin 2023-10-17 21:07:23 +02:00
Isse
b862a7aa22 Merge branch 'isse/fix-div0' into 'master'
Fix divide by zero in state::apply_terrain_changes_internal

See merge request veloren/veloren!4140
2023-10-16 11:35:17 +00:00
Isse
678dffeb9f use into_iter 2023-10-15 23:10:14 +02:00
Isse
3a61fb15b2 fix divide by zero in state::apply_terrain_changes_internal 2023-10-15 23:00:36 +02:00
Sam
ef5e37a64d Converted beam system from spherical shell wedges to quadratic beziers 2023-10-14 21:46:28 -04:00
Isse
d638215b88 rename TrueTime to ProgramTime and don't share it 2023-10-07 19:53:55 +02:00
Isse
6b31ffea3e attempt to fix timeout with high timescale 2023-10-07 19:53:55 +02:00
Marcel Märtens
8e95cb944d cargo fmt after updating new toolchain 2023-10-06 09:13:01 +02:00
Marcel Märtens
540f0d10f2 cargo clippy after toolchain-update 2023-10-05 22:00:49 +02:00
Joshua Barretto
6fbca74e88 Merge branch 'maxicarlos08/dungeon-avoid-cave' into 'master'
Cheesing fixes to old-style dungeons

See merge request veloren/veloren!4014
2023-08-19 11:12:01 +00:00
Maxicarlos08
e5e26149ed
review 2023-08-17 11:16:20 +02:00
Maxicarlos08
25fcb04ad3
buildup times and portal model update 2023-08-15 12:24:48 +02:00
Maxicarlos08
0f2db68498
added portals 2023-08-15 12:24:17 +02: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
3c5857527c fix client without plugin feature 2023-07-03 11:18:49 +02:00
Christof Petig
7e362d7ac8 clippy fix 2023-07-01 15:31:53 +02:00
Christof Petig
08d84291ab document and restrict the public interface 2023-07-01 15:31:53 +02:00
Christof Petig
c9ff9e9841 simplify the interface and make the functions more explicit 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
65966294a0 address more of zesterer's proposals and implement process exit removing the binary 2023-07-01 15:31:53 +02:00
Christof Petig
43f7bb7ddc implement the first half of zesterer's proposals and update wasmer 2023-07-01 15:31:53 +02:00
Christof Petig
5802f94daf get rid of the empty memory_manager module 2023-07-01 15:31:53 +02:00
Christof Petig
cfaffd0ac2 implement up to two slices in write_bytes (gather) 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
Imbris
c60f994c7f Some random changes and a fmt 2023-06-04 12:58:16 -04:00
Imbris
4094887997 Rename UidAllocator to IdMaps everywhere, also rename lookup_entity to
uid_entity.

Also made more progress on changes in common/src/uid.rs

(does not compile so don't know if all rebase quirks resolved)
2023-06-04 12:58:16 -04:00
Imbris
3277d18265 Rename retrieve_entity_internal to lookup_entity 2023-06-04 12:58:16 -04:00
Imbris
ea725fffde Cleanup UidAllocator and Uid a bit:
* Remove unnecessary Marker/MarkAllocator trait implementations.
* Delete excess functions
* Change some methods to take Uid instead of u64
2023-06-04 12:58:15 -04:00