Commit Graph

221 Commits

Author SHA1 Message Date
a970b307f8 address review comments 2024-04-16 12:19:12 +00:00
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
feecd6ea2b Dynamic merging of dropped items 2024-03-05 20:59:32 +00:00
17a88acd1c Various tweaks. New ArtLeaves BlockKind 2024-02-24 23:18:14 +01:00
flo
ed4fd55bc3 terracotta 2024-02-15 06:08:03 +00:00
eee330c9e9 I18n loot_scroller correct name 2024-02-12 21:24:57 +05:00
5aa88ac223 Store the gender in CharacterInfo 2024-02-03 18:58:46 +02:00
af396aa8dd Add Gender marker for body
- Add gender() method on body, which is derived from body_type
- Expose it in ChatContext so that chat i18n can use it.
2024-02-03 18:58:45 +02:00
2023786f5e Merge branch 'isse/optimize-weather' into 'master'
Optimize weather

See merge request veloren/veloren!4270
2024-01-27 17:20:53 +00:00
76627cd544 only use hash cache, fix compression benchmark, fixed be/le bug 2024-01-26 17:48:37 +01:00
c5ddf73dc2 optimize sprites in compressed chunks 2024-01-26 16:26:26 +01:00
e2c2e1bce1 store sprite data separately for compressed chunks 2024-01-26 11:16:06 +01:00
8f15dedc3b fix weather_zone command, and only send local wind once every 30 ticks 2024-01-23 22:21:33 +01:00
268215b301 make weather not block main thread, and lessen the amount of data shared with client. 2024-01-22 19:53:36 +01:00
flo
48a79b3e78 haniwa 2024-01-20 17:45:23 +00:00
a852298010 Merge branch 'zesterer/better-char-select-scene' into 'master'
Render render LoD terrain on char select, remove old backdrop figure

See merge request veloren/veloren!4254
2024-01-16 18:51:04 +00:00
5bc60f2436 Add LoD zone data to char select screen 2024-01-15 19:07:19 +00:00
d6371f7f9b Server rules i18n and rules button in character screen 2024-01-15 00:03:23 +01:00
3d9ab445d9 Added rules field to server description 2024-01-15 00:02:42 +01:00
879a28fbb6 Fixed warnings 2023-10-21 13:51:41 +01:00
9a72d52c48 Began adding tether visuals 2023-10-21 13:49:04 +01:00
Sam
ef5e37a64d Converted beam system from spherical shell wedges to quadratic beziers 2023-10-14 21:46:28 -04:00
9c398cb06d djust for changes in specs safety refactor 2023-09-24 23:46:59 -04:00
4bdbb3ff6b Move stay position to agent 2023-08-15 11:10:54 +02:00
d6496c999d Removed is_stay variable
Added server side owner and distance checks
2023-08-15 11:10:53 +02:00
9597810e3d Remove is_stay function
Clean code
2023-08-15 11:10:53 +02:00
e611d695b1 Add stay/follow option for pets 2023-08-15 11:10:52 +02:00
102945b9e7 Dungeon rework initial patch 2023-07-09 20:03:09 +00:00
01df87bdb4 Address/cleanup a couple TODOs, mainly comment improvements 2023-06-04 12:58:16 -04:00
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
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
62abed1eec Replace u64 with Uid in some places and add/modify some comments 2023-06-04 12:58:16 -04:00
c60f994c7f Some random changes and a fmt 2023-06-04 12:58:16 -04:00
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
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
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
3277d18265 Rename retrieve_entity_internal to lookup_entity 2023-06-04 12:58:16 -04:00
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
a884e0e058 Various rtsim related stuff 2023-06-03 22:14:18 +00:00
ec3a7d1898 Make items vanish after 5 minutes 2023-06-01 14:51:19 +01:00
17e4af3c48 BlockKind::ArtSnow
replace BlockKind::Snow with BlockKind::Misc
2023-05-13 09:32:19 -04:00
da3c2369e5 initial setup 2023-05-13 09:30:13 -04:00
3a19669d53 use workspace dependencies to make our life easier maintaining them :) 2023-05-10 18:16:25 +02:00
6674cce2cc intercat with sprites on ships 2023-05-09 19:43:09 +02:00
054f4f9453 update veloren deps 2023-05-04 11:58:43 +02:00
ab4076518f Add multiloot 2023-04-23 19:17:39 +00:00
Sam
e819cd2309 Updated hashbrown, removed some to_owned calls in handling recently unequipped items 2023-04-19 18:43:40 -04:00
a835ce7e26 Better starting site choices 2023-04-13 18:32:21 +01:00
edcc2f1870 Overhauled chat message representation to allow for more exhaustive localisation 2023-04-11 15:46:36 +01:00
3e0f5295c0 Added CharacterActivity, made NPCs look at the player when speaking to them 2023-04-09 19:25:57 +01:00