Marcel Märtens
1e948389cc
Switch to iterator based ChannelProtocols
2020-06-09 01:23:09 +02:00
Marcel Märtens
ca45baeb76
Fix TCP buffering with a NetworkBuffer struct
2020-06-09 01:23:07 +02:00
Marcel Märtens
19fb1d3be4
Experiment with TCP buffering
2020-06-09 01:23:05 +02:00
Marcel Märtens
a6f1e3f176
Add a speedtest program to benchmark networking
2020-06-09 01:23:01 +02:00
Marcel Märtens
35233d07f9
Cleanup:
...
- We can now get rid of most sleep and get true remote part and stream working, however there seems to be a deadlock after registered new handle trace with 10% spawn chance
- removal of the events trait, as we use channels
- streams now directly communicate with each other for performance reasons, somewhere are still deadlocks, oonce directly at listening somehow and after the first message has read, but i also got it to run perfectly through at this state without code change, maybe a sleep or more detailed rust-dgb session would help here!
2020-06-09 01:22:58 +02:00
Marcel Märtens
10863eed14
remove worker folder - flatten file structure
2020-06-09 01:22:55 +02:00
Marcel Märtens
e388b40c54
Till now all operations where oneshots, now i actually wait for a participant handshake to complete and being able to return their PID
...
also fixed the correct pid, sid beeing send
2020-06-09 01:22:52 +02:00
Marcel Märtens
88f6b36a4e
Differ Metrics to make it easier to implement your own metric coding!
...
Implement my own metric coding in networking
2020-06-09 01:22:48 +02:00
Marcel Märtens
f3251c0879
Converting the API interface to Async and experimenting with a Channel implementation for TCP, UDP, MPSC, which will later be reverted
...
It should compile and tests run fine now.
If not, the 2nd last squashed commit message said it currently only send frames but not incomming messages, also recv would only handle frames. The last one said i added internal messages and a reverse path (prob for .recv)
2020-06-09 01:22:45 +02:00
Marcel Märtens
5c5b33bd2a
Bring networking tests to green
...
- Seperate worker into own directory
- implement correct handshakes
- implement correct receiving
2020-06-09 01:22:42 +02:00
Marcel Märtens
3d8ddcb4b3
Continue backend for networking and fill gaps, including:
...
- introduce tlid to allow
- introduce channel trait
- remove old experimental handshake
- seperate mio_worker into multiple fn
- implement stream in backend
2020-06-09 01:22:38 +02:00
Marcel Märtens
52078f2251
first implementation of connect and tcp using a mio worker protocol and:
...
- introduce a loadtest, for tcp messages
- cleanup api
- added a unittest
- prepared a handshake message, which will in next commits get removed again
- experimental mio worker merges
- using uuid for participant id
2020-06-09 01:22:35 +02:00
Marcel Märtens
a01afd0c86
initial implementation of a network api
2020-06-09 01:22:32 +02:00
Joshua Barretto
0244ab86ae
Merge branch 'yusdacra/update-turkish-translation' into 'master'
...
Add missing strings, fix a few translations
See merge request veloren/veloren!931
2020-06-08 21:47:32 +00:00
Yusuf Bera Ertan
479e64277e
Add missing strings, fix a few translations
2020-06-08 21:47:30 +00:00
Joshua Barretto
cdf5f315d9
Merge branch 'yusdacra/fix-nixshell' into 'master'
...
Fix nix-shell build issues
See merge request veloren/veloren!968
2020-06-08 21:26:35 +00:00
Yusuf Bera Ertan
56313bc7eb
make nix-build and nix-shell work, simplify default.nix, expose more options
2020-06-09 00:12:25 +03:00
Marcel
11462776db
Merge branch 'xvar/clippy-fixes' into 'master'
...
Initial clippy fixes as discussed in #587
See merge request veloren/veloren!1054
2020-06-08 21:10:12 +00:00
Ben Wallis
de37de7f45
Initial clippy fixes as discussed in #587
2020-06-08 21:27:51 +01:00
Joshua Barretto
8b2b9e45ec
Merge branch 'shandley/replace-audio-files' into 'master'
...
Replace audio files
See merge request veloren/veloren!1052
2020-06-08 16:26:48 +00:00
S Handley
370ef80db4
Replace audio files
2020-06-08 16:26:48 +00:00
Joshua Barretto
fd21fecd35
Merge branch 'shandley/attack-sfx' into 'master'
...
Attack sfx
See merge request veloren/veloren!927
2020-06-08 15:37:23 +00:00
Shane Handley
6a1cec8860
Docs, make adding event mappers easier for sfx, remove placeholder
...
sounds.
2020-06-09 00:41:46 +10:00
Shane Handley
467c154582
Post-rebase fix.
2020-06-08 10:19:42 +10:00
Shane Handley
fc8bb427fb
Handle TripleStrike stages individually.
2020-06-08 10:19:42 +10:00
Shane Handley
faf04bb4f3
Fix some updated weapon references and an incomplete match after rebasing.
2020-06-08 10:19:42 +10:00
Shane Handley
987a025d36
Introduce a ToolCategory so we can ignore the specific type of weapon
...
when deciding on the SFX to play when wielding/attacking.
2020-06-08 10:19:42 +10:00
Shane Handley
802bce1698
Target the specific attack types, to handle TripeStrike etc...
...
Removed the Axe sfx until the animations show the swing
2020-06-08 10:19:41 +10:00
Shane Handley
0516af8c57
Add swoosh sounds for additional weapons.
2020-06-08 10:19:41 +10:00
Shane Handley
d5cc5c8537
Add initial attack sfx code with bow shot sounds.
2020-06-08 10:19:41 +10:00
Songtronix
54960142e2
Merge branch 'xvar/fix-audio-device-crashes' into 'master'
...
Fix #322 - Refactored audio output device enumeration to fail gracefully when...
Closes #322
See merge request veloren/veloren!1049
2020-06-07 16:19:59 +00:00
Ben Wallis
1d564f53c7
Fix #322 - Refactored audio output device enumeration to fail gracefully when audio devices with null or otherwise unusable names are encountered
2020-06-07 16:24:22 +01:00
Songtronix
ea414f6921
Merge branch 'shandley/db-locking-mitigation' into 'master'
...
DB Locking mitigations
See merge request veloren/veloren!1047
2020-06-07 12:53:42 +00:00
Shane Handley
24cdea0a4c
Enable WAL and busy_timeout for each sqlite connection to mitigate db locks,
2020-06-07 22:33:48 +10:00
Imbris
a981d72d28
Merge branch 'imbris/fix-multibyte-whitspace-panic' into 'master'
...
Fix panic with multibyte whitespace characters
Closes #583
See merge request veloren/veloren!1045
2020-06-06 20:17:11 +00:00
Monty Marz
d8f43d3ae4
Merge branch 'averylostnomad/auto-walk' into 'master'
...
Add simple auto walk functionality. Toggleable or push to hold
Closes #582
See merge request veloren/veloren!1044
2020-06-06 20:12:24 +00:00
Imbris
efe071d998
Fix panic with multibyte whitespace characters
2020-06-06 15:58:16 -04:00
Pfauenauge90
1c1d0d9ca6
Added spanish translation file
2020-06-06 21:46:53 +02:00
Pfauenauge90
de7ab9f5ed
update default keybindings file, en.ron, de_DE.ron
2020-06-06 21:29:35 +02:00
Joey Maher
458ac4af5e
Adds simple auto walk functionality. Toggleable or push to hold
2020-06-06 13:09:01 -05:00
Songtronix
8c68d7aace
Merge branch 'averylostnomad/stop-lantern-glow-on-drop' into 'master'
...
Remove lantern glow when a lit lantern is thrown out of inventory
Closes #581
See merge request veloren/veloren!1042
2020-06-06 12:54:58 +00:00
Joey Maher
25e74ee6e2
Toggle_lantern after dropping a Lantern slot item
2020-06-06 07:37:43 -05:00
Imbris
521688f1bb
Merge branch 'averylostnomad/show-screenshot-location' into 'master'
...
Show screenshot location in the ingame chat
Closes #560
See merge request veloren/veloren!1041
2020-06-05 21:50:24 +00:00
Joey Maher
76f7f4fd98
Renaming and adding comments
2020-06-05 16:33:39 -05:00
Joey Maher
09541af551
Moving to a single crossbeam channel as a detail of Window, using strings instead of ClientEvent, and formatting
2020-06-05 15:53:15 -05:00
Joey Maher
8d90952074
Add channel to send messages up from methods like fetch_events to hud
2020-06-05 14:27:22 -05:00
Monty Marz
b380143e4b
Merge branch 'shandley/persistence-loadouts' into 'master'
...
Loadout persistence
Closes #570
See merge request veloren/veloren!1035
2020-06-04 11:44:33 +00:00
S Handley
e0633a238e
Update CHANGELOG and a TODO, fix safer deserialisation for inventory
...
data.
2020-06-04 11:44:33 +00:00
Justin Shipsey
ceee05f757
Merge branch 'shoulderhotfix' into 'master'
...
fix shoulders in charselect
See merge request veloren/veloren!1039
2020-06-04 06:49:54 +00:00
jshipsey
b0b0fca64a
fix shoulders in charselect
2020-06-04 02:14:03 -04:00