Commit Graph

506 Commits

Author SHA1 Message Date
19c2bf1181 Add hotbar state persistence.
Persist the hotbar state to disk by writing it out to a `profile.ron`
situated next to the existing `settings.ron`. There are individual
profiles for every character on every server. On creation of a new
character the default hotbar state will be `[None; 10]` i.e. the hotbar
will be empty.

Resolves: https://gitlab.com/veloren/veloren/-/issues/577
2020-06-19 08:00:21 +08:00
88d68df2c0 Remove wield requirement to swap loadout 2020-06-17 21:34:58 +08:00
2f896849d4 Wield glider instead of weapon when attempting glide wield, change behavior when running into walls to not drop out of gliding 2020-06-16 21:32:39 +00:00
c1c968f479 Globally suppressed clippy lint option_map_unit_fn for #587 2020-06-14 16:48:07 +00:00
8ed2109bcf Fixed suppressed clippy warnings for #587 - collapsible_if 2020-06-12 20:34:54 +01:00
0e59ee901e dependency reduction:
- authc no longer uses reqwest
 - image only supports PNG
 - replace routille with tiny_http
 - several other dependencies
 - cargo upgrade
 - following improvement was measured on R7 1700X:
   before:
    - cargo build: 3076.73s user / 4:45 total / 589 dependencies
    - cargo test: 6118.38s user / 7:30 total / 959 dependencies
   after:
    - cargo build: 2680.54s user / 4:05 total / 480 dependencies
    - cargo test: 5351.81s user / 7:04 total / 791 dependencies
 - added xMAC94x to CODEOWNERS for Cargo.toml, he will protect them from now on and hit people with evil looks ;)
2020-06-11 20:55:34 +02:00
950c62efc6 Suppressed all existing clippy warnings in preparation for fixes as part of #587 2020-06-10 22:01:42 +01:00
e0633a238e Update CHANGELOG and a TODO, fix safer deserialisation for inventory
data.
2020-06-04 11:44:33 +00:00
bfd97cac7e Fix build error 2020-06-01 22:04:44 +08:00
7eb1b2c263 Add level up network event 2020-06-01 22:04:44 +08:00
730399b5f4 Add character select network event 2020-06-01 22:04:44 +08:00
136bf271b8 Fix social list having incorrect player count 2020-06-01 22:04:44 +08:00
c23183b1ca Add character name and level to social window 2020-06-01 22:04:44 +08:00
ea07d744a7 orientation animation 2020-05-27 06:41:55 +00:00
ec03c4518a Change the version number to 0.6 2020-05-16 00:50:40 +02:00
0a723614f9 Popup message when setting waypoint 2020-05-14 16:56:10 +00:00
e852e0cfab - Update the stats of characters individually, reverting the change with
big combined updates.
- Add a timer to the stats persistence system and change the frequency
that it runs to 10s
- Seperate the loading of character data for the character list during
selection, and the full data we will grab during state creation. Ideally
additional persisted bits can get returned at the same point and added
to the ecs within the same block.
2020-05-13 09:14:09 +10:00
7c6c9f4302 Stats persistence
- Update client code to use persisted stats
- Add a system for stats persistence
- Add a basic scheduler to control duration between execution of
persistence systems
2020-05-13 09:14:08 +10:00
49d1225823 Tab completion code review suggestions 2020-05-11 18:02:21 -04:00
9d118b55a0 Fixed player list tab completion 2020-05-10 19:17:17 -04:00
5a13b54cbf - Load characters after login.
- Make the character screen load with an empty character list from the server, send event to the server for character creation with data, but not yet saving them to the DB.
- Working but messy character saving to DB
- Add the character_data to the client, rather than keep it in the GLobalState.
2020-05-09 15:41:25 +00:00
4e7f8c686a Equipped lanterns now provide an illumination effect. 2020-05-04 15:15:31 +00:00
c1c09dce1b Enable unequipping as well as equipping to specific slots 2020-04-12 18:41:06 +02:00
0b932ae99a Use new slot widget for armor slots 2020-04-12 18:40:53 +02:00
f515cc70be Documentation for swap_loadout 2020-04-01 07:30:18 -07:00
b3791a2b4e Upgrade vek version so that it actually uses the patch 2020-03-30 19:44:51 -04:00
df5a7ef0e3 split toggle events 2020-03-27 21:32:30 -04:00
3889ec7292 climbing tweaks, fix triple strike overflow, fix Last<CharacterState>
not registered
2020-03-25 02:05:28 -04:00
6ba158b7e1 Input handling changes 2020-03-25 01:38:37 -04:00
db8d89a4d9 * rename CharacterState equals() -> same_variant() 2020-03-22 05:46:09 -07:00
41c424ac13 Optimized uses of emitters, cleanup 2020-03-22 00:49:46 -04:00
1a484410ca Delete Vel and Ori on the client when they are removed on the server 2020-03-18 17:01:51 -04:00
87acc01d48 Readd ranged and debug boost. Add bouncing while running in first person 2020-03-16 12:32:57 +01:00
aa963b7686 Merge remote-tracking branch 'origin/master' into clientstates 2020-03-15 15:27:06 +01:00
bc692c0101 Add audio and chat message feedback when the player attempts to collect something while thier inventory is full. 2020-03-11 10:30:59 +00:00
a4eaeb1da6 Merge branch 'imbris/se-latency' into 'master'
Rearrange some operations in the server tick to reduce clientside latency of ServerEvent mediated effects

See merge request veloren/veloren!840
2020-03-10 23:21:57 +00:00
16e4214a52 Switch states instead of popping 2020-03-10 20:34:50 +00:00
5fe9521233 Fix the spam on disconnect 2020-03-10 20:34:50 +00:00
9d805a745e Proper fix to the logout timeout problem using Disconnect ACK 2020-03-10 20:34:50 +00:00
d8ba63ffdc Janky fix of the logout timeout problem 2020-03-10 20:34:50 +00:00
7132ef4136 Rearrange some operations in the server tick to reduce clientside latency of ServerEvent mediated effects 2020-03-09 22:31:24 -04:00
bc39b78173 Rebased. 2020-03-08 23:02:15 +01:00
a04c1b1d1d Add uid to Player component
fix: world examples
2020-03-08 22:58:38 +01:00
6cc07270ac improve(login): more precise error handling during login 2020-03-08 22:56:59 +01:00
08b4cc5fc3 Update auth to use new hashing scheme. 2020-03-08 22:56:34 +01:00
ac5ff453cc improve(voxygen): error handling while connecting 2020-03-08 22:54:49 +01:00
7db0ff0b8c Update chat-cli to work properly.
Update reqwest to 0.10.0
2020-03-08 22:54:15 +01:00
8ef1251dc2 Add warning prompt for untrusted auth servers, move some auth code into 2020-03-08 22:51:37 +01:00
403deecc6d Server auth handling improvements. 2020-03-08 22:49:47 +01:00
50b845d1c3 :/ and reactivated the password field 2020-03-08 22:34:06 +01:00