218 Commits

Author SHA1 Message Date
S Handley
2864e7603a 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
Imbris
fa1f24ec2e 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
Capucho
62a5a0ae2c Switch states instead of popping 2020-03-10 20:34:50 +00:00
Capucho
d8e65318cb Fix the spam on disconnect 2020-03-10 20:34:50 +00:00
Capucho
cc5845d756 Proper fix to the logout timeout problem using Disconnect ACK 2020-03-10 20:34:50 +00:00
Capucho
d131a5ce8f Janky fix of the logout timeout problem 2020-03-10 20:34:50 +00:00
Imbris
c72148a587 Rearrange some operations in the server tick to reduce clientside latency of ServerEvent mediated effects 2020-03-09 22:31:24 -04:00
Acrimon
ea33a8e2b3 Rebased. 2020-03-08 23:02:15 +01:00
Imbris
1ccff31be5 Add uid to Player component
fix: world examples
2020-03-08 22:58:38 +01:00
Imbris
59011de228 improve(login): more precise error handling during login 2020-03-08 22:56:59 +01:00
Acrimon
20ac07374f Update auth to use new hashing scheme. 2020-03-08 22:56:34 +01:00
Songtronix
0b78b31666 improve(voxygen): error handling while connecting 2020-03-08 22:54:49 +01:00
Acrimon
c6a159ff14 Update chat-cli to work properly.
Update reqwest to 0.10.0
2020-03-08 22:54:15 +01:00
Imbris
d066505bd3 Add warning prompt for untrusted auth servers, move some auth code into 2020-03-08 22:51:37 +01:00
Acrimon
db427a2c18 Server auth handling improvements. 2020-03-08 22:49:47 +01:00
Songtronix
0997620381 :/ and reactivated the password field 2020-03-08 22:34:06 +01:00
Capucho
005bca6230 Groundwork for fixing #36 and rewrite of client timeouts so that they don't use Instant and Duration 2020-03-05 18:38:39 +00:00
S Handley
c7b4b94b15 Piggyback on the InventoryUpdate events and attach some additional event info so that we can detect why the inventory update was triggered, and emit an associated sfx event that matches it. 2020-03-04 10:09:48 +00:00
Marcel Märtens
f89407448a apply new rustfmt - touching alot of files 2020-02-01 21:39:39 +01:00
Marcel Märtens
50b42b5ca9 Apply prefixes to veloren source, espacially comments, so that reformating wont make it unreadable,
especially enumerations and other source code in errosions file
2020-02-01 21:37:36 +01:00
Marcel Märtens
503be4aa6c Change the version number to 0.5 2020-01-31 17:26:45 +01:00
Joshua Barretto
7cec3518a4 Added no-assets feature to common 2020-01-27 22:41:30 +00:00
Joshua Yanovski
0b7f428310 Erosion cleanup, part 1.
Covers all files touched by MR that are not in world/src/sim.
2020-01-23 18:18:17 +01:00
Joshua Yanovski
6a33254518 Changes to worldgen, adding more sedmient etc. 2020-01-23 18:18:14 +01:00
Joshua Yanovski
cc14c9166f Re-fix map orientation. 2020-01-23 18:18:13 +01:00
Joshua Yanovski
4f863470e1 Cargo fmt most things (except erosion.rs). 2020-01-23 18:18:12 +01:00
Joshua Yanovski
b988b27d31 Implement sending world map across the network. 2020-01-23 18:18:11 +01:00
Imbris
bc8d49905b fix typo, replace u32 with Vec3<u8> in light propagation queue 2020-01-19 16:03:27 -05:00
timokoesters
c557dfeedf improvement: fog doesn't go back and forth anymore 2020-01-19 16:03:27 -05:00
Piotr Korgól
243263fecd Improvement: Replace all '..=b' with '..b + 1' 2020-01-12 15:46:53 +01:00
Monty Marz
178ad9479a Scrolling Combat Text (SCT) 2020-01-10 00:33:38 +00:00
Imbris
804e559e3a fix(char screen induced ghosts):
Adds removing extra components and deleting entities clientside when
going back to the character screen. Also, simplifies ClientState by
removing the Dead variant and removing ClientMsg::StateRequest in favor
of more specific ClientMsg variants.
2019-12-31 16:38:13 -05:00
Imbris
18aa4936b6 fix(player list): Show players not in range on the player list
fix(overflow): Stops including block updates that fail (since chunks
don't exist on the client) in `TerrainUpdates` (which would trigger
meshing of those nonexistent chunks). Furthermore, removes
remeshing of chunks with block updates if those chunks don't have all their
neighbours (since those wouldn't be meshed in the first place).
2019-12-29 20:51:05 -05:00
Imbris
0d763ab8ef Cutout unnecessary Resource syncing machinery and Tracker trait 2019-12-20 22:51:35 -05:00
Imbris
0d6a8b949f Upgrade to specs 0.15.1 2019-12-20 22:48:14 -05:00
Imbris
e2e642f5a5 Actually send deletion messages 2019-12-20 22:48:14 -05:00
Imbris
237532f7b1 Move sync code into common submodule 2019-12-20 22:37:12 -05:00
Imbris
470e52fbd0 Stop global syncing of entity creation 2019-12-20 22:37:12 -05:00
Songtronix
ccd2edf01b adjust logging level 2019-11-22 19:12:58 +01:00
Shane Handley
6ed33fa875
Add a TODO regarding the future plan for the connection timeout setting. 2019-11-06 21:34:19 +01:00
Shane Handley
2461318576
Address code review points:
- Clarify caffeine fueled comment
- Be better at comparing Instant's, and catch the 0 seconds case to say
Goodbye to the user
- Switch println for 'info!'
2019-11-06 21:34:18 +01:00
Shane Handley
7848944c17
Network timeout updates
- Bugfix: Check whether the server response (pong) is greater than the timeout period, rather than the ping (which will always fire regardless of connection status) This was causing the timeout error event to never fire.

- Feature: Send the player notifications to the chat window that they will be kicked due to disconnection for 6 seconds before kicking them back to the main menu.
2019-11-06 21:34:14 +01:00
soruh
94beb0fa33 Mitgated RUSTSEC-2019-0014 by updating noise and
disabling its default features, specifically `image`,
which had the vulnerability.
2019-11-05 11:14:39 +00:00
timokoesters
c426c1641c
feat: store items as RON files
When a new item is created, a ron file will be used as a template
2019-10-24 23:47:26 +02:00
Imbris
9cd42d1056 Move serverside client to a component and communications into server ecs systems 2019-10-23 23:50:06 -04:00
Imbris
4a8c87b4bf Actually fix region removal panic, update fuzzy chunk location, sync entity removal when unloading chunks, region size constant tweak 2019-10-23 22:43:02 -04:00
Imbris
45ca8d3a23 Make clients subscribed to nearby regions and only send physics updates from those regions. 2019-10-23 22:43:02 -04:00
Acrimon
d0e0b6de53 Drastically improved error messages in client and server. 2019-10-23 18:38:09 +02:00
Songtronix
eda188dc37 fix(crash): overflowing the stack 2019-10-18 14:19:02 +02:00
Songtronix
c9bf0ad875 change(githash): provide date and hash 2019-10-18 15:32:55 +02:00