Marcel
6d966eede2
Merge branch 'RunRobDog/Spawn-Entities-tab' into 'master'
...
RunRobDog/spawn entities tab
See merge request veloren/veloren!3877
2023-07-06 11:37:42 +00:00
Hugo Famechon
a648c68233
Sort items in inventory by quantity
2023-07-05 19:07:16 +00:00
Samuel Keiffer
645d063dcd
Merge branch 'sam/durability-tweaks' into 'master'
...
Durability tweaks
See merge request veloren/veloren!3985
2023-07-03 23:34:33 +00: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
Sam
c4b316af19
Durability tweaks
2023-06-26 20:49:03 -04:00
unknown
6684685679
Attempt to fix BarrelCactus
2023-06-14 13:49:40 -04:00
unknown
526386e51c
Initial cacti work
2023-06-07 14:46:54 -04:00
Imbris
599e25c9c6
Address review on !3971
2023-06-04 21:12:39 -04:00
Imbris
ea77a443a2
Fix conditions on some error logging spots
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
01df87bdb4
Address/cleanup a couple TODOs, mainly comment improvements
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
62abed1eec
Replace u64 with Uid in some places and add/modify some comments
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
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
96b84dcbaa
Transform surface normal to account for voxel entity orientation
2023-05-25 15:18:42 +01: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
b086b43a88
Better wheeled ship movement
2023-05-25 00:28:36 +01:00
Joshua Barretto
8e85ff98a6
Better turning
2023-05-25 00:28:36 +01:00
Joshua Barretto
f986e0793d
Better orientation, axels
2023-05-25 00:28:35 +01:00
Joshua Barretto
6a2796dc17
Everything damage
2023-05-25 00:28:35 +01:00
Joshua Barretto
8a8a5526f1
Added carriage
2023-05-25 00:28:28 +01:00
Joshua Barretto
623ab099b8
Fix ground_vel parameter
2023-05-25 00:25:28 +01:00
Joshua Barretto
dbcbd43b8f
Added body kind argument to /airship and /ship
2023-05-25 00:25:28 +01:00
Joshua Barretto
a09dbf0396
Cleaned up and documented voxel collider code
2023-05-25 00:25:28 +01:00
Joshua Barretto
04687aa0b2
An underwater thing
2023-05-25 00:25:28 +01:00
Joshua Barretto
465a62a072
Correct for orientation movement on voxel entities
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
7b4bb2de99
Use non-physical mode for liquid drag
2023-05-25 00:25:28 +01:00