8ab5d53f2c
sync
...
make systems more stable by:
- fix wobbly, by doing CompSync and TimeSync in same ecs system
- dont interpolate on voxygen
- sync PhysState to the client in order to get rid of the jump snap to ground bug
- make the simulate_ahead more constant over time, as "jumps" in this number will be noticed by the client as "lag jumps"
There are still some problems
- [ ] Snap to the ground on jump isn't fixed completly, as we depend on tick n-1 and we only sync tick n to the client
- [ ] Arrows dont work properly yet with this commit, e.g. right click arrow attack
- [ ] Verify that clientcommands are actually broadcasted to all clients
- [ ] Followup: Agent needs to send clientcommands rather than commands
2023-03-16 08:47:30 +01:00
65a0c15054
sync
...
current problems:
- [X] time was wiggling to much
=> resolved, we state.ticked twice per client.tick
- [ ] Jump Reset to 0, see issue #1512
=> Jump z reset to 0 after 200ms (time ahead) for 1 tick, on_ground is one tick behind JumpEvent, could be disabled by modifying common/state/src/state.rs handle_jump if condition remove on_ground check
- [ ] X/Y wiggle which looks like this -/'\,/-
=> The error actually persists in the last 1 before we receive no data from server /''''*\
=> The error exist equally in X and Y regardless of direction
=> The error already exsits before we apply the state.tick or state.rewind_tick, so it maybe comes from server via sync ?
- [X] Cant look around when holding the admin staff
=> we used Dir::new() which was 0/1/0 and due to normalizing limited the final range to around 5 degree
- [X] Slower when zommed in than when zoomed out
=> fixed by the look_dir fix above :)
2023-03-16 00:29:32 +01:00
819661d1bb
sync - experiment with woobling over multiple ticks, to adjust to small imperfections, later discarded
2023-03-16 00:29:32 +01:00
820b3f06b0
sync - introduceconcept of a rewind_tick
2023-03-16 00:29:32 +01:00
4343dd3aea
add unit tests for replication system
...
- make tracy experience better by adding a 0.05 to client local TIME.
- fix an error that the look_dir was wrongly predicted
- add a jump graph for testing
- update in_game code that was commented out in system
- track the simulation ahead on the debug menu
- add simulated lag with `sudo tc qdisc replace dev lo root netem delay 700ms 10ms 25%`
add basic tests for phys
2023-03-16 00:29:32 +01:00
714c346ded
switch to monotonicTime to calculate latency and reorder client.tick so that we first process network data and then client data, so that the client sending data reacts to a adjusted TIME
2023-03-16 00:29:31 +01:00
9e2b618438
add tracy plots
2023-03-16 00:28:28 +01:00
8a68daf8d3
enforce server physics
2023-03-16 00:28:26 +01:00
665e9b9378
sync TIME ressource to client
...
- we evaluated multiple ways to sync the time, either store a delta between localtime and ServerTime or just store the ServerTime
2023-03-16 00:18:40 +01:00
a579329005
input avg by time
2023-03-16 00:15:27 +01:00
aa5111c265
first implemetations
...
sync, somehow we miht wanna put the whole clock inside maybe ?, move files
sync, disable Control and replace it by RemoteControl
2023-03-16 00:15:27 +01:00
1e93648081
Merge branch 'fix_husk_brute_singlestrike' into 'master'
...
fix_husk_brute_singlestrike
See merge request veloren/veloren!3832
2023-03-15 23:02:18 +00:00
472ef6b823
fix_husk_brute_singlestrike
2023-03-15 20:32:22 +01:00
4a72979de1
Merge branch 'DuckLuck/update-hud-pickup-msg_for_pt-BR' into 'master'
...
Add "You" selector for hud-loot-pickup-msg in pt-BR translation
See merge request veloren/veloren!3831
2023-03-15 11:48:02 +00:00
04398dba49
Add "You" selector for hud-loot-pickup-msg
2023-03-14 21:22:07 -04:00
9e212935e5
Merge branch 'imbris/time-local-event-handling' into 'master'
...
Add metrics for timing subsections of State::tick
See merge request veloren/veloren!3825
2023-03-14 14:52:57 +00:00
87bf44241b
Add metrics for timing subsections of State::tick
2023-03-14 01:03:05 -04:00
ebffe9317c
Merge branch 'catb0t/zoom-defaultbind' into 'master'
...
Remove default binding for Camera Zoom Lock
See merge request veloren/veloren!3823
2023-03-13 06:15:49 +00:00
e99d2e7ca3
Remove default binding for Camera Zoom Lock
2023-03-13 06:15:49 +00:00
452d4b2121
Merge branch 'move-models-to-voxel' into 'master'
...
Move key and lockpick models to voxel folder
See merge request veloren/veloren!3826
2023-03-13 00:36:15 +00:00
29d9c9dcae
move key and lockpick models to voxel folder
2023-03-13 00:54:29 +01:00
45c8934b79
Merge branch 'xvar/queue-char-deletes' into 'master'
...
Changed character deletion to go via batch update
See merge request veloren/veloren!3562
2023-03-12 23:21:54 +00:00
6eedc02286
Changed character deletion to go via batch update
2023-03-12 23:21:53 +00:00
8febcf6b3d
Merge branch 'sam/buffs' into 'master'
...
Auras and buffs no longer need to tick every tick
See merge request veloren/veloren!3814
2023-03-12 22:06:48 +00:00
42388976d7
Fixed issue with max health change over time buff being reset if re-applied. Addressed review comments.
2023-03-12 16:37:02 -04:00
fd34e48d15
Merge branch 'floppy_bird_medium_scale' into 'master'
...
bird_medium_scale
See merge request veloren/veloren!3820
2023-03-12 18:08:21 +00:00
704af5ef7b
bird_medium_scale
2023-03-12 18:08:21 +00:00
607220b3d7
Merge branch 'DuckLuck/translations_updates_pt-BR' into 'master'
...
Update translation for pt_BR
See merge request veloren/veloren!3821
2023-03-12 07:52:22 +00:00
1d9eb08a95
Update translation
...
Add new translations;
Remove 1 unused translation;
Create quest.ftl and they translations.
2023-03-11 20:08:32 -04:00
2ad53aaa36
Merge branch 'vasco/zoom' into 'master'
...
Italian translations
See merge request veloren/veloren!3813
2023-03-11 23:57:45 +00:00
bac621e6ca
Merge branch 'Rovetown/update-de_DE' into 'master'
...
Updated the German translation for the ability.ftl
See merge request veloren/veloren!3819
2023-03-11 23:41:54 +00:00
7c8fc7191b
Merge branch 'tygyh/Update-swedish-translations' into 'master'
...
Update swedish translations
See merge request veloren/veloren!3811
2023-03-11 22:41:39 +00:00
cdcc605464
Update swedish translations
2023-03-11 22:41:38 +00:00
4c79936c07
Added wrapper type to durations related to buffs and auras.
2023-03-11 16:47:11 -05:00
663db06844
Made auras no longer need to be mutably accessed every tick.
2023-03-11 16:45:12 -05:00
8a6a60d5bb
Buffs from auras no longer need to be mutably accessed every tick in aura system to prevent applying a buff every tick and ensure duration only starts after leaving aura
2023-03-11 16:45:12 -05:00
9efac9957d
Changed buff effects so they did not need to mutably change buffs every tick. Buff system now no longer mutably accesses buffs component.
2023-03-11 16:45:11 -05:00
b1b41e95f6
Queueable buffs now work with buffs without using a timer, tests too
2023-03-11 16:45:11 -05:00
e60080c293
Syncing Time from server to client now works
2023-03-11 16:45:10 -05:00
89aa934c3c
Initial work
2023-03-11 16:45:10 -05:00
26b88537da
Updated the German translation for the ability.ftl
2023-03-11 22:41:44 +01:00
d6ca65a44c
Merge branch 'imbris/fix-common-formatting' into 'master'
...
Fix issue with rustfmt not seeing module declarations inside of macro in `common`
See merge request veloren/veloren!3818
2023-03-11 15:14:27 +00:00
b644ff7668
fmt
2023-03-11 08:06:46 -05:00
e8a5de4e65
Switch from custom macro for grouping cfgs to cfg_if since rustfmt can't see through macros but is hardcoded to parse cfg_if and follow the module names inside it.
2023-03-11 08:06:46 -05:00
5f85668b19
Merge branch 'camps_fixes_0' into 'master'
...
Initial quest window work, spot fixes
See merge request veloren/veloren!3815
2023-03-10 22:16:27 +00:00
277a402781
Initial quest window work, spot fixes
2023-03-10 22:16:26 +00:00
30e327d357
Italian translations
2023-03-08 19:00:11 +01:00
9396fa9741
Merge branch 'Thegaming_Life/replacing_all_map2_with_RECT_SIZE_with_cpos_to_wpos_and_wpos_to_cpos' into 'master'
...
replaced CHUNK_SIZE by RECT_SIZE everywhere, and change the use (and remove...
See merge request veloren/veloren!3807
2023-03-06 21:03:35 +00:00
5ddc55be52
replaced CHUNK_SIZE by RECT_SIZE everywhere, and change the use (and remove...
2023-03-06 21:03:35 +00:00
a25edef40e
Merge branch 'catb0t/1528-camera-zoom-lock-toggle' into 'master'
...
Allow locking camera zoom
Closes #1528
See merge request veloren/veloren!3802
2023-03-06 18:17:06 +00:00