Maxicarlos08
99d95ad105
add physics system dependency to RtSim
...
This previously caused a bug where the position of rtsim vehicles was
one tick behind causing airships to be loaded once more when being
unloaded after leaving the view distance of a player.
For more context view the comment removed in the previous commit.
2023-09-30 14:13:12 +02:00
Maxicarlos08
d4427832f0
Update rtsim vehicle position on unload
2023-09-30 14:12:27 +02:00
Maxicarlos08
9ababec625
fix UI issues & cleanup
2023-09-29 23:30:44 +02:00
Maxicarlos08
66f6b81575
singleplayer server initialization status
2023-09-29 23:30:14 +02:00
Imbris
91a7cf796d
Merge branch 'imbris/specs-refactor' into 'master'
...
Adjust for changes in specs safety refactor
See merge request veloren/veloren!4113
2023-09-26 14:01:28 +00:00
Laura
f4d48d2689
New Arena building and visit site for NPCs
2023-09-26 12:29:14 +00:00
Imbris
9c398cb06d
djust for changes in specs safety refactor
2023-09-24 23:46:59 -04:00
Marcel
5d311e13bd
Merge branch 'crabman/localize-commands' into 'master'
...
Localize server side commands
See merge request veloren/veloren!4110
2023-09-22 14:50:43 +00:00
Imbris
cd98dd5245
Remove unused deps flagged by cargo-machete
2023-09-21 22:59:50 -04:00
Maxicarlos08
e526ca7c8e
changelog entry
2023-09-21 00:04:51 +02:00
Maxicarlos08
772dd660a1
testing
2023-09-20 23:29:24 +02:00
Maxicarlos08
91284565a2
addressed review comments
2023-09-20 23:29:24 +02:00
Maxicarlos08
fd42b3f767
localize commands
2023-09-20 23:29:24 +02:00
Maxicarlos08
dccbfc4595
Soft loot protection
2023-09-20 17:02:25 +02:00
Isse
f4ca60cbb6
Map selector and generation UI
2023-09-17 17:11:19 +00:00
Imbris
aabf67a72a
Add server-cli bench command for profiling that automates loading a certain area, running for a specific time, and then exiting.
2023-09-15 16:32:59 -04:00
Christof Petig
6c57d17714
Merge branch 'christof/location_fix' into 'master'
...
Correct location names after editing and creation
See merge request veloren/veloren!4108
2023-09-13 23:05:16 +00:00
Marcel Märtens
d67817068e
fix auth, needed to set correct Config for argon to fix the hashing
2023-09-13 12:23:36 +02:00
Marcel
c25e8536ab
Merge branch 'xMAC94x/update_uuid_authc' into 'master'
...
update uuid via authc
See merge request veloren/veloren!4093
2023-09-13 08:47:27 +00:00
Christof Petig
b6e421facc
correct location names after editing and creation
2023-09-12 22:34:25 +02:00
Maxicarlos08
0613cd8dc1
Changelog entry
2023-09-06 17:54:43 +02:00
Maxicarlos08
ec42b9b5ce
don't store group id in ChatMode
2023-09-06 17:47:16 +02:00
Maxicarlos08
ec92b2c33b
Fix group chat leak
2023-09-03 21:25:44 +02:00
Xiretza
60538e0664
server: fix kill source for buff deaths without origin
2023-08-29 17:09:49 +00:00
Isse
06d7548dc6
Fix rtsim airships
2023-08-29 12:56:25 +00:00
Marcel Märtens
d54ed537ac
update uuid via authc
2023-08-28 20:09:17 +02:00
Maxicarlos08
f2958954b9
new model for portal & use cultist particles
2023-08-27 19:40:49 +02:00
Maxicarlos08
0f13b407a2
allow for non-owned entities to teleport
2023-08-27 19:40:49 +02:00
Christof Petig
653b3b7374
Merge branch 'christof/location_names' into 'master'
...
Send the location name to the character selection dialog
See merge request veloren/veloren!4085
2023-08-26 15:56:40 +00:00
Laura
f0d8237e2d
Upgrade authc dependency revision
...
42dddd666f28e1a94cdf4b542fcd61f67658e261 contains additional fixes
for RUSTSEC-2023-0052.
2023-08-23 11:17:30 +02:00
Laura
b03d0dcc7b
Upgrade rustls and quinn
...
According to RUSTSEC-2023-0052 we need to upgrade rustls to 0.21
to get a fix for the issue which may or may not affect Veloren
since it's about client certificates but with the absence of a
PoC it seems like a good idea to upgrade anyway, just to be sure.
webpki has gone unmaintained (which rustls 0.20 depends on),
starting with rustls 0.21 it depends on rustls-webpki which
contains a fix for the issue. Since quinn also depends on
rustls 0.20 in 0.8 and 0.9 versions, we needed to upgrade it to
0.10 so that it depends on rustls 0.21 which we now use.
2023-08-23 06:35:36 +02:00
Christof Petig
b20ff5144c
determine location names when loading character list
2023-08-22 22:41:48 +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
1274dc43c8
document and cleanup StateExt::position_mut
2023-08-19 12:43:48 +02:00
Maxicarlos08
14f433b6cd
used second sfx for teleport event
2023-08-19 11:44:58 +02:00
Maxicarlos08
dc1756b2df
added sfx (thanks to @flo666)
2023-08-17 22:47:35 +02:00
Maxicarlos08
ce8be9596b
fix pets not following after making them stay and translation
2023-08-17 12:10:32 +02:00
Maxicarlos08
e5e26149ed
review
2023-08-17 11:16:20 +02:00
Imbris
e8361d5abf
Merge branch 'imbris/sync-toggle' into 'master'
...
Add field to Presence to control when an entity is synced to other clients
See merge request veloren/veloren!3972
2023-08-16 00:10:35 +00:00
Maxicarlos08
0c9a942027
refactor teleporter system and include nearby pets
2023-08-15 12:24:49 +02:00
Maxicarlos08
92ab8dab9a
require interaction to start teleportation
2023-08-15 12:24:49 +02:00
Maxicarlos08
6a4a6bab9f
dance dance
2023-08-15 12:24:49 +02:00
Maxicarlos08
ac68f0af7b
addressed review comments and added hud interaction
2023-08-15 12:24:49 +02:00
Maxicarlos08
26ada89bb9
portal event -> change body and teleport to
2023-08-15 12:24:49 +02:00
Maxicarlos08
8fe5f2e708
addressed review comments
2023-08-15 12:24:49 +02:00
Maxicarlos08
e5fe64ccf6
pre-review cleanups
2023-08-15 12:24:49 +02:00
Maxicarlos08
bb2034ca92
portal particles
2023-08-15 12:24:48 +02:00
Maxicarlos08
09f7087ac6
buildup time adjustments
2023-08-15 12:24:48 +02:00
Maxicarlos08
3343ddf4cc
go into blink state at half buildup time
2023-08-15 12:24:48 +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
Maxicarlos08
13dbf679c5
review
2023-08-15 11:10:54 +02:00
Maxicarlos08
1ea0f249f5
display if pet is currently following or staying
2023-08-15 11:10:54 +02:00
TelepathicWalrus
4bdbb3ff6b
Move stay position to agent
2023-08-15 11:10:54 +02:00
TelepathicWalrus
2cb8e2ca84
Update code quality
2023-08-15 11:10:53 +02:00
Joshua Barretto
62d998252d
sync
2023-08-15 11:10:53 +02:00
TelepathicWalrus
6adca217fe
Clean code
2023-08-15 11:10:53 +02:00
TelepathicWalrus
6a080c242c
Add server side check to stop stay when mounted
...
Add filter to allow telling other pets to stay when mounted
2023-08-15 11:10:53 +02:00
TelepathicWalrus
0648ba1bc6
Clean Code
...
Remove option to mount if pet is told to stay
2023-08-15 11:10:53 +02:00
TelepathicWalrus
d6496c999d
Removed is_stay variable
...
Added server side owner and distance checks
2023-08-15 11:10:53 +02:00
TelepathicWalrus
d9d364fe79
Add stay position to PetState
...
Pets will now stay within 10 voxels of where they were told to stay
Added MAX_STAY_DISTANCE constant
Fixed being able to tell pet to stay when mounted
2023-08-15 11:10:53 +02:00
TelepathicWalrus
9597810e3d
Remove is_stay function
...
Clean code
2023-08-15 11:10:53 +02:00
TelepathicWalrus
e611d695b1
Add stay/follow option for pets
2023-08-15 11:10:52 +02:00
Imbris
aba0c23bc7
Make sync_me based of PresenceKind rather than being an independent
...
field.
2023-08-11 20:09:55 -04:00
Imbris
ecb27deeae
When sync_me is false avoid:
...
* Logging a warning when deleting the entity and it is not in any
Region.
* Searching every single region for an entity that is in none of them.
Also:
* Add workaround for bug in specs where deleting any entity clears the
components before checking that the generation is correct (surprised
that we haven't encounted bugs from this yet).
* Properly update `tracked_entities` inside `RegionMap` when deleting
an entity. Previously, we just relied on this being updated in
`RegionMap::tick` by the absence of the `Pos` component at that index.
However, this means if a new entity is created at that index after
deletion and before calling `RegionMap::tick`, then this can be
interpreted as an entity moving between regions rather than one being
deleted and another created. It seems like this could lead to
synchronization bugs like not creating the new entity on the client
(although I haven't noticed this before, I think maybe we use newly
inserted `Uid`s to detect new entities rather than the region system?).
I think it could at least lead to sending redundant messages to
synchronize the new entity.
2023-08-11 20:09:55 -04:00
Imbris
cdca700297
Properly check conditions for when the client's physics components should be synced
2023-08-11 20:09:55 -04:00
Imbris
396c08e7ee
Also make sure physics components are synced
2023-08-11 20:09:55 -04:00
Imbris
997babca18
Always sync components for a client's entity even if it has no position
...
or has sync_me false in `Presence`.
2023-08-11 20:09:55 -04: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
a39923e4d6
digging shovel
2023-08-03 19:32:09 +02:00
Michal Sroczynski
2c23781d22
Remove tiers from dungeons names
2023-08-02 18:48:01 +02:00
flo
57fe2c4adb
spawn wyverns
2023-08-02 07:55:10 +00:00
Sam
e3ad16ef47
Addressed review comments
2023-07-29 19:04:11 -04:00
Sam
d6fcd893bf
Addressed testing feedback
2023-07-29 19:04:10 -04:00
Sam
9fa556b165
Axe AI
2023-07-29 19:04:07 -04:00
Sam
1cc99c9c4a
Fixes to animations and making ability that the animation system thinks is being used more correct
2023-07-29 19:03:56 -04:00
Sam
ff15780c22
Maelstrom
2023-07-29 18:53:48 -04:00
Sam
4a690840e4
Savage sense
2023-07-29 18:53:47 -04:00
Sam
80ab9c26ec
Initial setup
2023-07-29 18:53:38 -04:00
Samuel Keiffer
026b61baee
Merge branch 'maxicarlos08/chieftain-mask-fix' into 'master'
...
Maxicarlos08/chieftain mask fix
See merge request veloren/veloren!4024
2023-07-29 01:22:28 +00:00
Neras
e72a8f2fcc
Nerasw/defensive stance tweaks
2023-07-28 21:29:32 +00:00
Maxicarlos08
922a592c8d
fixed migrations
2023-07-27 00:24:43 +02:00
Maxicarlos08
2cbb104243
Miner helmet migrations
2023-07-13 17:18:46 +02:00
Igigog
02cb319624
Refactor save_thread function
2023-07-12 21:46:57 +02:00
Monty Marz
102945b9e7
Dungeon rework initial patch
2023-07-09 20:03:09 +00:00
Christof Petig
708819013f
remove another dead code section
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
28c3721ecf
upgrade wasmer, implement basic WASI, turn off login events for now
2023-07-01 15:31:53 +02:00
Marcel
59e242dfb8
Merge branch 'zesterer/anticheat' into 'master'
...
Emergency fixes to terrain persistence and anticheat
See merge request veloren/veloren!4006
2023-07-01 12:15:32 +00:00
Joshua Barretto
7c59bec29d
Removed dead code warning
2023-07-01 12:11:21 +01:00
Joshua Barretto
598f628858
Reenabled physics rejection logging
2023-07-01 09:40:57 +01:00
Joshua Barretto
9a0aa5d552
Emergency fixes to terrain persistence and anticheat
2023-06-30 19:56:24 +01:00
Marcel Märtens
e3f8046691
Change the version number to 0.15
2023-06-30 16:31:00 +02:00
Joshua Barretto
9c1a06d1b2
Upped maximum vertical speed
2023-06-22 19:34:18 +01:00
Joshua Barretto
98493fd511
Better rejection logs
2023-06-22 13:14:07 +01:00
Joshua Barretto
dda28d5621
Overhauled and improved anticheat
2023-06-22 12:25:08 +01:00
Joshua Barretto
8480cb4a7a
Apply client physics once per server tick
2023-06-22 10:43:02 +01:00
Imbris
0b213b6149
Move common code into a separate function to avoid the complexity of calling delete_entity_recorded from handle_exit_ingame
2023-06-04 22:29:19 -04:00
Imbris
599e25c9c6
Address review on !3971
2023-06-04 21:12:39 -04:00
Imbris
9a12de5fcf
rebase fix
2023-06-04 14:24:01 -04:00
Imbris
b72bf74563
Update TODO after re-reading code and seeing that it was slightly inaccurate
2023-06-04 12:59:09 -04:00
Imbris
b96e7e1b26
Adjust tests to match changes
2023-06-04 12:59:09 -04:00
Imbris
ea77a443a2
Fix conditions on some error logging spots
2023-06-04 12:59:09 -04:00
Imbris
77e1b1919a
Use new id mappings to improve lookup_actor
function
2023-06-04 12:59:09 -04:00
Imbris
42ba445ea2
Add RtsimEntity mapping if it is included as a component on a newly
...
created npc.
Also, improve wording of a comment.
2023-06-04 12:58:16 -04:00
Imbris
b8af76deff
Remove potential for client to delete its own entity.
...
Also:
* Fix some clippy warnings
* Remove unused clippy allow
* Document semantics of `DeletedEntities`
2023-06-04 12:58:16 -04:00
Imbris
65efa779b5
Steps towards properly synchronizing when a client exits in-game to
...
return to the character screeen. And other related improvements.
* Uid now optional when removing an entity from IdMaps since that Uid
may have been transferred to the new entity created when the client
exits "in-game".
* Added notes about making sure to update the CharacterId mapping when
changing the `kind` field of `Presence`.
* Add a parameter to `delete_entity_recorded` that indicates whether it
is being called from `handle_exit_ingame` and that provides the `Uid`
that was removed from the entity so that we can more explicitly and
correctly handle that case.
* We now add the Uid of the client to the deleted entities list when it
exits "ingame". (still need to rework code so that the client doesn't
delete its own entity).
* Improved integration of possession code with ForceUpdate logic.
* Don't remove `Presence` component from old entity in possession so
that deleting that entity will properly handle updating the
CharacterId unmapping (if the old entity isn't going to be deleted we
still remove the `Presence` component so that it doesn't keep terrain
loaded).
* Added a couple TODOs on existing tangential things I noticed.
2023-06-04 12:58:16 -04:00
Imbris
996f58ebd2
Avoid using return for skipping respawn events
2023-06-04 12:58:16 -04:00
Imbris
62abed1eec
Replace u64 with Uid in some places and add/modify some comments
2023-06-04 12:58:16 -04:00
Imbris
a8fbfc026a
Fix compilation errors from recent changes
2023-06-04 12:58:16 -04:00
Imbris
c60f994c7f
Some random changes and a fmt
2023-06-04 12:58:16 -04:00
Imbris
f11baed9fa
Adapting various things to the new interface, fixing compilation errors,
...
and progressing on half done things. Also, added a few TODO comments.
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
35922866a8
Start refactoring UidAllocator to contain mappings for different Id
...
types.
* Add new `IdMaps` type that contains mappings to Entity from Uid, CharacterId, and
RtsimEntity.
* Add PresenceKind::LoadingCharacter variant for when the CharacterId
has not actually been confirmed to exist and belong to the logged in
client. Switches to the regular PresenceKind::Character once the
character is loaded from the database and that is used to update the
entity.
* Start refactoring `delete_entity_recorded` to check for CharacterId
and RtsimEntity values that may need to be removed from the map (just
very start, not near complete).
* Other misc tweaks.
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
Isse
a884e0e058
Various rtsim related stuff
2023-06-03 22:14:18 +00:00
Samuel Keiffer
272d57b4fa
Merge branch 'cyclops_and_dullahan_tweaks' into 'master'
...
npc_attack_tweaks
See merge request veloren/veloren!3969
2023-06-03 14:04:11 +00:00
flo
53288d0b22
npc_attack_tweaks
2023-06-03 14:04:10 +00:00
flo
16d58c6b4e
plant creatures
2023-06-03 13:59:52 +00:00
Joshua Barretto
ec3a7d1898
Make items vanish after 5 minutes
2023-06-01 14:51:19 +01:00
Joshua Barretto
3a383050d5
Apply fall damage even after a block-hop
2023-06-01 14:14:28 +01:00
Joshua Barretto
f00f96636c
Fixed weird fall damage application
2023-06-01 14:08:13 +01:00
flo
40832456f2
spawn frost gigas
2023-05-31 12:31:54 +00:00
Joshua Barretto
4fa799e7c7
Fixed volume mount orientation
2023-05-25 03:16:27 +01:00
Joshua Barretto
9127d6cbf2
Account for surface normal when calculating collision damage
2023-05-25 01:21:44 +01:00
Joshua Barretto
6a2796dc17
Everything damage
2023-05-25 00:28:35 +01:00
Joshua Barretto
dbcbd43b8f
Added body kind argument to /airship and /ship
2023-05-25 00:25:28 +01:00
Joshua Barretto
610d1d8497
Simplified replacement drag logic, special-case volume entities to improve movement
2023-05-25 00:25:28 +01:00
Joshua Barretto
74d4fc8e64
Added sprites to ship models
2023-05-25 00:25:28 +01:00
Joshua Barretto
96bf86dae0
Rebalanced masses, dimensions, swim thrusts, and made various improvements to water movement that help with gameplay and pathfinding. Also fixed swimming animations for many creatures.
2023-05-25 00:25:25 +01:00
Joshua Barretto
5988237b3d
Fixed non-dismounting teleportation
2023-05-25 00:22:54 +01:00
Isse
68491dde55
Merge branch 'seachapel_rework' into 'master'
...
seachapel_rework
See merge request veloren/veloren!3856
2023-05-24 18:13:29 +00:00
flo
a55276ea73
seachapel_rework
2023-05-24 18:13:29 +00:00
Kittycat
9eb4931822
Fix: the /time
command has been fixed in accordance to issue #1622
2023-05-24 16:47:36 +00:00
Maxicarlos08
777a69e576
adressed review comments
2023-05-22 23:20:11 +02:00
Maxicarlos08
fbe32a9047
no_dura -> no_durability
2023-05-22 22:38:48 +02:00
Maxicarlos08
174f75dc63
durability free areas
2023-05-22 22:38:47 +02:00
Joshua Barretto
b730766106
Prevent explosion damage going through walls
2023-05-21 15:30:18 +01:00
Joshua Barretto
cfdf184c4c
Fix non-humanoid pathfinding and movement in water
2023-05-16 20:48:50 +01:00
Joshua Barretto
52b5967914
Fix pet idle movement, add a way to configure agent behaviour through manifests
2023-05-16 18:51:46 +01:00
Joshua Barretto
4732d28e24
Reduce creature flee speed
2023-05-14 22:18:01 +01:00
Joshua Barretto
140927cbe7
Clean up day coefficient code
2023-05-14 22:10:37 +01:00
flo666
aca38d0cf4
review fixes
2023-05-13 09:32:29 -04:00
Sam
fd3c377d1c
Taught adlet elder how to use leap
2023-05-13 09:32:25 -04:00
Sam
8c3b1f23ee
Adlet elder AI
2023-05-13 09:31:31 -04:00
Sam
71d7a3b780
Ice creature AIs
2023-05-13 09:30:56 -04:00
Sam
5a83f85779
Initial ice drake AI
2023-05-13 09:30:55 -04:00
Sam
2e9f1edef3
Adlet AI
2023-05-13 09:30:52 -04:00