Joshua Yanovski
2015f34985
Merge branch 'sharp/modtools' into 'master'
...
Added non-admin moderators and timed bans.
See merge request veloren/veloren!2276
2021-05-10 04:54:06 +00:00
Joshua Yanovski
3f8d2f95be
Added non-admin moderators and timed bans.
...
The security model has been updated to reflect this change (for example,
moderators cannot revert a ban by an administrator). Ban history is
also now recorded in the ban file, and much more information about the
ban is stored (whitelists and administrators also have extra
information).
To support the new information without losing important information,
this commit also introduces a new migration path for editable settings
(both from legacy to the new format, and between versions). Examples
of how to do this correctly, and migrate to new versions of a settings
file, are in the settings/ subdirectory.
As part of this effort, editable settings have been revamped to
guarantee atomic saves (due to the increased amount of information in
each file), some latent bugs in networking were fixed, and server-cli
has been updated to go through StructOpt for both calls through TUI
and argv, greatly simplifying parsing logic.
2021-05-09 21:19:16 -07:00
Avi Weinstock
f7bc0cd429
Remove the dependency of the new mindflayer AI on action_state.timer
.
2021-05-09 21:16:57 -04:00
Avi Weinstock
6ac0f6fdd9
Change agent's condition
field back to a bool (from bitflags) and add a separate int_counter
field.
2021-05-09 18:09:53 -04:00
Avi Weinstock
7103467d1a
Add a purple fireball to mindflayer and have it shoot it a few times before teleporting, and fix mindflayer AI's husk summons.
2021-05-09 18:09:31 -04:00
Illia Denysenko
ac1b01c636
/skill_preset command
2021-05-08 15:47:09 +00:00
Samuel Keiffer
67eff3d351
Merge branch 'aweinstock/damage-types' into 'master'
...
Add `DamageKind`, and make piercing damage partially ignore damage resistence.
See merge request veloren/veloren!2262
2021-05-06 22:22:49 +00:00
Avi Weinstock
ff83cf752b
Add DamageKind
, and make piercing damage partially ignore damage resistence.
...
- Tweak bow/staff M1 stats.
2021-05-06 17:39:06 -04:00
James Melkonian
d849bf7d29
Move weapon tactics to functions and take target body into attack radius consideration
2021-05-06 21:17:05 +00:00
Daniel Mizerski
e740b4a2a9
(Wiring) Logic - make wiring turing complete
2021-05-06 19:53:12 +02:00
Marcel
8e4fb87500
Merge branch 'xMAC94x/fixDisconnectMetrics' into 'master'
...
instead of manually trying to sync disconnect metrics we now pass a Reason to...
See merge request veloren/veloren!2259
2021-05-06 11:32:37 +00:00
Marcel Märtens
ab33b8cc3d
instead of manually trying to sync disconnect metrics we now pass a Reason to the handle_disconnect.
...
There we make sure that the disconnect only happens once and decrease the respective Metrics.
Also added more reasons
2021-05-06 11:43:10 +02:00
Marcel
fd43e7bccd
Merge branch 'duelsik/wiring-on-death' into 'master'
...
(Wiring) OnDeath
See merge request veloren/veloren!2256
2021-05-06 09:00:50 +00:00
Illia Denysenko
1d66c94aa5
Don't drop Debug item with /dropall
2021-05-05 20:35:57 +00:00
Daniel Mizerski
4b5934c29a
(Wiring) OnDeath
2021-05-05 19:08:18 +02:00
Daniel Mizerski
3405a72bde
(Wiring) Switch to using maybes
2021-05-05 16:59:17 +02:00
Marcel Märtens
9fefdcbbca
rayon::join creates a global threadpool, which is only used in /world
...
instead just use the same threadpool for everything
helps with debugging problems with GDB
using threadpool.install() to also be used when `into_par_iter()` is called
2021-05-04 21:06:07 +02:00
Samuel Keiffer
101fb498a5
Merge branch 'sam/minotaur' into 'master'
...
Overhauled Minotaur
See merge request veloren/veloren!2193
2021-05-04 16:26:08 +00:00
Imbris
4a0b6b7b2b
Merge branch 'duelsik/wiring-sticky-trigger' into 'master'
...
(Wiring) Change Sticky to be handled by physics (but with disabled force on it)
See merge request veloren/veloren!2241
2021-05-04 16:15:19 +00:00
Daniel Mizerski
766c58e6e7
(Wiring) Change Sticky to be handled by physics (but with disabled force on it)
2021-05-04 17:33:42 +02:00
Sam
344e8c8a67
Made buff commands exhaustive
2021-05-04 09:54:28 -04:00
Sam
0831970615
Addressed comments and more testing feedback.
2021-05-04 08:45:14 -04:00
Sam
1d3e831268
Minor balancing tweaks.
2021-05-04 08:45:13 -04:00
Sam
74a68e24d5
Added sfx. Addressed comments.
2021-05-04 08:45:12 -04:00
Sam
445af44dfa
Gave minotaur AI.
2021-05-04 08:45:09 -04:00
Sam
3aa462ed48
Replaced action_timer with action_state so there are additional fields.
2021-05-04 08:45:09 -04:00
Marcel
f53c7bdfaa
Merge branch 'xMAC94x/quic' into 'master'
...
Cleanup network, remove some unwraps, add experimental (disabled) Quic support
See merge request veloren/veloren!2221
2021-05-04 00:16:05 +00:00
juliancoffee
852e49a77c
fmt
2021-05-03 22:17:59 +03:00
juliancoffee
693b3d6c8c
Implement 'all' command
2021-05-03 22:07:12 +03:00
juliancoffee
000f90c8bf
Draft implementation
2021-05-03 22:07:09 +03:00
Marcel
15bf3d9398
Merge branch 'xvar/persistence-fixes' into 'master'
...
Fixed a rare server crash when creating a character
See merge request veloren/veloren!2237
2021-05-03 18:09:59 +00:00
Samuel Keiffer
7b82e9b1f4
Merge branch 'sam/ability-sets' into 'master'
...
Allow Specification of Custom Ability Sets per Weapon
See merge request veloren/veloren!2231
2021-05-03 17:50:11 +00:00
Avi Weinstock
bb7dbe245d
Make terrain compression a checkbox instead of a bandwidth (throughput?) heuristic.
2021-05-03 00:09:44 -04:00
Avi Weinstock
d858c629ce
Optimize CompressedData
with Vec::with_capacity
, and move obsolete formats from common_net
into the compression benchmark.
2021-05-03 00:09:24 -04:00
Avi Weinstock
15feb08a85
Address MR 2207 review comments.
...
- Add metrics for which branch of the compression heuristic was taken.
- Reduce the threshold for the heuristic.
- Deduplicate code for dealing with lazy messages.
- Make jpeg dependency only scoped to the compression benchmark.
- Remove commented code.
2021-05-03 00:09:24 -04:00
Avi Weinstock
261ee8aa47
Add a bandwidth-based heuristic for chunk compression.
2021-05-03 00:09:24 -04:00
Avi Weinstock
322f7e289e
Improve quadpng
by adding WidePacking
, which makes a wider image, which is faster due to PNG compressing by row. Heuristically switch between quadpng and deflate based on chunk height to reduce variance.
2021-05-03 00:09:24 -04:00
Avi Weinstock
7f16d73217
Get PngPngPngJpeg terrain working in the actual game.
2021-05-03 00:09:24 -04:00
Daniel Mizerski
3538a36503
Add fundamentals for wiring system.
2021-05-02 22:38:44 +02:00
Ben Wallis
d020ba25ff
Moved character creation to use character_updater instead of character_loader. Changed character_loader to use a read-only database connection.
2021-05-02 16:08:39 +01:00
Sam
c5ce67f36c
Made naming of fields more explicit.
2021-05-01 09:25:56 -04:00
Sam
25c78dc660
Removed all unique and simple tool kinds.
2021-05-01 09:25:51 -04:00
Sam
3bf46fa640
Removed ability set as field on items.
2021-05-01 09:25:49 -04:00
Joshua Barretto
b9c2e55660
Fixed admin physics check exemption
2021-04-30 14:06:07 +01:00
Samuel Keiffer
87f056658a
Merge branch 'sam/deduplicate-items' into 'master'
...
Sam/deduplicate items
See merge request veloren/veloren!2225
2021-04-29 20:11:43 +00:00
Sam
3bc7d69446
Deduplicated stuff in npc_armor.
2021-04-29 15:45:14 -04:00
Sam
90fb4f43d2
Removed old 2h variants of 1h weapons.
2021-04-29 13:18:04 -04:00
Ben Wallis
9894f72fe0
Made admins exempt from the server-side position and velocity checks
2021-04-29 17:46:40 +01:00
Marcel Märtens
4d360a871c
protocoladdr change for listen and connect
...
(remove a loop in quic protocol which wasnt a actual loop)
2021-04-29 15:58:34 +02:00
Ben Wallis
8165cc4169
Merge branch 'xvar/reduce-timeofday-sync-frequency' into 'master'
...
Reduced frequency of TimeOfDay message being sent to clients
See merge request veloren/veloren!2218
2021-04-29 13:50:08 +00:00