a21e58d06c
Updates to client-side requests and limiting payloads. Ensuring that
...
the client only ever requests the full list of achievements once,
and that the server send individual achievement updates as they
happen, which we then merge into that list.
Serialise the AchievementAction for now, would be nice to find a
non-serialised mechanism based on item enums or string ids.
2020-07-13 10:16:39 +10:00
c056b2b079
Rework some data structures and persistence. Abandoned the approach of
...
generating row ids for achievements via checksums in favour of static
uuids for each item.
2020-07-13 10:16:39 +10:00
efe7a62c92
Replace the Achievement system with just plain events which are processed as part of the server tick. Instead of adding Achievement updates to a component belonging to the entity, use an event queue - this allows an entity to have multiple achievement checks in a single tick.
2020-07-13 10:16:39 +10:00
e607ec498d
Add events and achievement items for killing players and npcs.
2020-07-13 10:16:38 +10:00
fb8590fac7
Load and insert a characters achievement list after completion of their body/stats/inventory data.
2020-07-13 10:16:38 +10:00
e7c47e1d38
Implement basic functionality for recognising achievement updates,
...
updating associated data and clarifying events
2020-07-13 10:16:38 +10:00
3ff5e105dd
Add mechanisms for loading achievement data, more work on a
...
migration/sync strategy for dealing with updates to achievements
2020-07-13 10:16:38 +10:00
707412edc0
Initial DB schama, migrations and persistence models for achievements.
2020-07-13 10:16:38 +10:00
0b66a88ae5
Merge branch 'fexii/unique-keybinds' into 'master'
...
Highlight keys which are bound to multiple GameInputs and add a Reset to Defaults button
Closes #605
See merge request veloren/veloren!1193
2020-07-12 21:47:10 +00:00
8e523364ac
Prevent GameInputs from being bound to multiple keys unless explicitly allowed. Add a Reset to Defaults button for controls.
2020-07-12 11:59:55 -07:00
930e0028bc
Merge branch 'fexii/freefly-camera' into 'master'
...
Add freefly camera mode and cycle camera mode keybind
See merge request veloren/veloren!1188
2020-07-11 22:45:02 +00:00
6b771b8dca
Add a clientside check to only allow freefly camera for admins
2020-07-11 13:59:47 -07:00
738fa34534
Add freefly camera mode and cycle camera mode keybind
2020-07-11 11:39:04 -07:00
1e367d6371
Merge branch 'xvar/fix-client-ping-display' into 'master'
...
Removed rounding from ping delta and added weighted rolling average ping calculation
See merge request veloren/veloren!1194
2020-07-11 16:51:37 +00:00
a0b866e97b
Merge branch 'xvar/bricked-loadouts-fix' into 'master'
...
Added migration to fix characters unable to login due to DashMelee ability change
See merge request veloren/veloren!1192
2020-07-11 15:19:53 +00:00
7f6c892cf0
Added migration to fix characters unable to login due to DashMelee ability change
2020-07-11 15:42:19 +01:00
6ca6e2d646
Removed rounding from ping delta and added weighted rolling average ping calculation
2020-07-11 15:39:31 +01:00
72dd2850e3
Merge branch 'ci-strip' into 'master'
...
remove the strip of the linux binaries in CI, this will prob make it a few MB...
See merge request veloren/veloren!1191
2020-07-10 15:06:58 +00:00
d44128ac7a
remove the strip of the linux binaries in CI, this will prob make it a few MB bigger but help to provide a backtrace in case we panic!
in our builds or docker server
2020-07-10 16:03:06 +02:00
26d47304e0
Merge branch 'songtronix/fix-singleplayer-loading' into 'master'
...
fix: show loading screen for singleplayer
See merge request veloren/veloren!1189
2020-07-10 10:14:38 +00:00
728d349c77
fix: show loading screen for singleplayer
2020-07-10 11:05:09 +02:00
cabf7ebd92
Merge branch 'songtronix/fix-specs-idvs' into 'master'
...
fix: use correct specs(-idvs) versions
See merge request veloren/veloren!1187
2020-07-09 21:08:23 +00:00
5b57072064
fix: use correct specs(-idvs) versions
...
related to torvus
2020-07-09 19:46:30 +02:00
3239fc1f2f
Merge branch 'sam/creature-stats' into 'master'
...
Creature Specific Stats
See merge request veloren/veloren!1182
2020-07-09 00:04:25 +00:00
25c28f26d6
Different body types now have different health values and gain different amounts of healths on leveling.
2020-07-09 00:04:25 +00:00
a0df8bee2c
Merge branch 'sam/axe-spin-attack' into 'master'
...
Spin attack for axe
See merge request veloren/veloren!1171
2020-07-08 19:58:41 +00:00
fe47a14ba5
Spin attack for axe
2020-07-08 19:58:41 +00:00
10ba532815
Merge branch 'xvar/preventdatalossfromdeserialization' into 'master'
...
Removed de-serialization failure tolerance to prevent player inventory/loadout wipes (#659 )
See merge request veloren/veloren!1173
2020-07-08 18:26:59 +00:00
ddb66ec73b
Added CharacterDataError when character list fails to load due to Loadout de-serialization error
2020-07-08 09:34:20 +01:00
e83d0abd33
Added migration to create a default inventory and loadout for characters without one
2020-07-08 09:09:48 +01:00
3ac18f73ea
Removed de-serialization failure tolerance to prevent player inventory/loadout wipes
2020-07-08 09:09:47 +01:00
921c8a81d6
Merge branch 'pyrious/fix-character-state-on-inventory-change' into 'master'
...
Maintain character state when inventory is modified
Closes #602
See merge request veloren/veloren!1180
2020-07-07 23:54:56 +00:00
823141f825
Maintain character state when inventory is modified
...
If the mainhand slot is swapped out or dropped while the character is
wielding, the character will be set to idle (same behavior). However, if
an item is picked up or used; or a non-mainhand item is dropped; or two
non-mainhand items are swapped; the character state will not be set to
idle (new behavior).
Rationale for keeping the same behavior:
Swapping a weapon out while in a wielding state can put the player in a
barehanded wielding state, which would be inconsistent with the fact
that that state can't be entered by toggling wield while barehanded.
Rationale for setting the new behavior:
Setting character state to idle was originally added because "Interact"
was mapped to right mouse button, so picking up an item with RMB would
also activate secondary attack if the player was wielding during the
interaction. Now the default keybinding for "Interact" is E, so this
isn't a problem unless the player changes their keybinding to RMB.
In addition, setting character state to idle for any inventory
manipulation may cause players to fall out of glider unexpectedly.
2020-07-07 09:43:48 -07:00
e8b4b29d70
Merge branch 'scott-c/1h-fixes' into 'master'
...
1h fixes
See merge request veloren/veloren!1158
2020-07-07 15:29:33 +00:00
258e39f1dc
Merge branch 'xMAC94x/specs' into 'master'
...
fix specs
See merge request veloren/veloren!1179
2020-07-07 13:00:09 +00:00
85a3f8637d
fix specs
2020-07-07 14:28:00 +02:00
2a0b4c6c92
Merge branch 'xMAC94x/specs' into 'master'
...
specs back to master
See merge request veloren/veloren!1178
2020-07-07 11:43:31 +00:00
6ddd09b7b6
specs back to master
2020-07-07 12:55:06 +02:00
c8fd6f4766
Merge branch 'fix-macos' into 'master'
...
revert dispatch
See merge request veloren/veloren!1177
2020-07-07 10:09:07 +00:00
b85a4493ea
revert dispatch
2020-07-07 11:19:38 +02:00
55886be42f
Merge branch 'xmac94x_song/dependencies' into 'master'
...
updated dependencies and fixed stuff
See merge request veloren/veloren!1169
2020-07-07 08:31:27 +00:00
c212de00c2
updated dependencies and fixed stuff
...
- replace serde_derive by feature of serde
incl. source code modifications to compile
- reduce futures-timer to "2.0" to be same as async_std
- update notify
- removed mio, bincode and lz4 compress in common as networking is now in own crate
btw there is a better lz4 compress crate, which is newer than 2017
- update prometheus to 0.9
- can't update uvth yet due to usues
- hashbrown to 7.2 to only need a single version
- libsqlite3 update
- image didn't change as there is a problem with `image 0.23`
- switch old directories with newer directories-next
- no num upgrade as we still depend on num 0.2 anyways
- rodio and cpal upgrade
- const-tewaker update
- dispatch (untested) update
- git2 update
- iterations update
2020-07-07 09:43:49 +02:00
1c9ffd6b22
Merge branch 'songtronix/fix-readme' into 'master'
...
fix(readme): update link to correct book chapter
See merge request veloren/veloren!1176
2020-07-07 07:43:13 +00:00
3fa18e23ff
fix(readme): update link to correct book chapter
2020-07-07 09:42:02 +02:00
1df9fd6600
Merge branch 'zesterer/small-fixes' into 'master'
...
Actually small fixes this time
See merge request veloren/veloren!1175
2020-07-07 02:21:17 +00:00
3cfd8bdd3c
Fixed animal loadouts and /spawn
2020-07-07 02:21:14 +01:00
d1cdb6ea55
Updated changelog
2020-07-07 01:11:37 +01:00
e626f6255f
Prevented pet damage
2020-07-07 01:01:39 +01:00
f77d2f06c6
Fixed staff RMB, bug in ranged weapon code
2020-07-06 23:37:44 +01:00
30619771af
Improved block picking
2020-07-06 23:04:13 +01:00