Joshua Barretto
77a39d74d4
Removed public fields from Client, turned a character error into a frontend event
2020-12-05 11:20:25 +00:00
Joshua Barretto
e5ebbd31fa
Began using Grid<T> for LoD data
2020-12-05 11:20:25 +00:00
Marcel Märtens
e398cca53c
move common_state into common_sys
2020-12-01 13:46:28 +01:00
Marcel Märtens
add7922653
Move Systems out of common into common_sys
...
This requires to move `State` into a own crate called `common_state` which depends on `common` and `common_sys`
2020-12-01 13:44:07 +01:00
Joshua Barretto
28b0a00b44
Removed per-level dungeon waypoints
2020-11-23 10:57:14 +00:00
Joshua Barretto
d4d4f17d3c
Added world map size icons
2020-11-23 10:45:01 +00:00
Imbris
1355c1e8f5
Move tracy frame markers to proper locations, add a few spans
2020-11-22 14:22:39 -05:00
jiminycrick
3b47add55a
Fully move sfx away from ECS event bus
2020-11-18 13:31:13 -08:00
jiminycrick
9c87345135
Moved functions to client out of audio and generalized non-positional ambient sfx
2020-11-18 13:31:12 -08:00
jiminycrick
a9711eea01
Beginning to address comments
2020-11-18 13:31:12 -08:00
jiminycrick
a684bc90fd
Quadraped footsteps and songs in biomes
2020-11-18 13:31:12 -08:00
jiminycrick
c8d79b0b0e
Dungeon and cave specific music
2020-11-18 13:31:12 -08:00
Imbris
891e81cf58
Merge branch 'imbris/save-selected-char' into 'master'
...
Save the selected character, deselect character when deleting, auto select newly created character
See merge request veloren/veloren!1516
2020-11-15 01:40:44 +00:00
Imbris
4f2512f126
Save the selected character, deselect character when deleting, auto select newly created character
2020-11-14 19:17:42 -05:00
Imbris
2072929a5a
Send ability map from the server to the client on connection instead of loading from the assets
2020-11-14 16:07:07 -05:00
Sam
a0af315930
Addressed comments.
2020-11-04 19:22:08 -06:00
Sam
c48c022f7e
Separated out health from stats component.
2020-11-04 19:22:04 -06:00
Marcel Märtens
00456c8373
extract a Presence Component, which is server
only and has state of Player
and Client
. Presence is only valid for Clients that are in game
2020-11-03 08:56:02 +01:00
Marcel Märtens
6bb74c9c6f
Fix clients are disconnecting GRACEFULLY by removing the Disconnect Request from a client, a client now sends a TERMINATE message directly
2020-11-03 08:55:54 +01:00
Samuel Keiffer
19e210672a
Merge branch 'BottledByte/buff_system' into 'master'
...
The Buff system
Closes #413
See merge request veloren/veloren!1285
2020-10-27 17:11:02 +00:00
Brad
57d09be6b9
Added client-side is_dead check to inventory pickup
2020-10-26 23:23:29 -04:00
Sam
337cf6e137
Cleaned up UI code. Removed stuff added for testing. Added 10% for melee attacks to inflict a bleeding debuff. Renamed BuffId to BuffKind. Fixed memory leak. Set event emission to false when timer is decremented.
2020-10-26 19:30:10 -05:00
Monty Marz
8fa398954d
Initial implementation of buffs UI
...
player buffs animation
more testing debuffs
sorting and display limit fix
overhead buffs
fix
WIP buff removal function
fmt
Update buffs.rs
Now with compiling: WIP group UI buffs
positioning
Update group.rs
Update group.rs
Small optimizations.
Fixed positioning of buffs in group panel. Broke buff tooltips in group panel.
buff frame visuals
added setting for displaying buffs at minimap
2020-10-26 19:28:24 -05:00
Sam
1a1ceb54bc
Server event used to deal damage/heal with buffs. Buff kills now award xp.
2020-10-26 19:28:20 -05:00
Marcel Märtens
2a7378b4ae
pack together InGame, CharacterScreen and General variant in a single enum, as requested by zesterer.
...
His reason to reqeust that is, that there might not be a perfect disctinction in the future.
Now we need to send ServerGeneral over streams and do additional checking at various places to verify that not the wrong variant is send.
2020-10-12 11:27:21 +02:00
Marcel Märtens
55b59fbe07
various small fixes according to the MR
2020-10-12 11:25:20 +02:00
Marcel Märtens
ff374eab59
create a ServerMsg and ClientMsg enum and verify the state when in debug mode to benefit from the transition
2020-10-11 22:59:53 +02:00
Marcel Märtens
e8452fafc6
fix naming, replace NotInGame with CharacterScreen
2020-10-11 22:55:38 +02:00
Marcel Märtens
8b40f81ee2
No longer block the main thread for client connections, new clients will be handled by server without waiting.
...
- Instread we have a dedicated thread that will async wait for new participants to connect and then notify the main thread
- registry no longer sends a view distance with it.
- remove ClientMsg::Command again as it's unused
2020-10-11 22:55:02 +02:00
Marcel Märtens
017e004309
Rename enums to allow a super enum in the future, but i am not yet sure if we want to introduce this yet
...
```
//This is a helper structure, containing all possible data send over
pub enum ClientMsg {
Initial(ClientType),
General(ClientGeneralMsg),
InGame(ClientInGameMsg),
NotInGame(ClientNotInGameMsg),
Register(ClientRegisterMsg),
Ping(PingMsg)
}
```
2020-10-11 22:49:25 +02:00
Marcel Märtens
d7a74c0cf1
fix voxygen state system. before we had a timing error that we did the next voxygen step before client set in_game which lead us to a disconnect.
...
now assume in_game is correct in client unless told by server in its answer
2020-10-11 22:49:19 +02:00
Marcel Märtens
b1db5ef488
Redo Network Frontend.
...
Rather than having a single Stream to handle ALL data, seperate into multiple streams:
- Ping Stream, for seperate PINGS
- Register Stream, only used till the client is registered, then no longer used!
- General Stream, used for msg that can occur always
- NotInGame Stream, used for everything NOT ingame, e.g. Character Screen
- InGame Stream, used for all GAME data, players, terrain, entities, etc...
This version does compile, and gets the client registered (with auth too) but doesnt get to the char screen yet.
This fixes also the ignoring messages problem we had, as we are not sending data to the register stream!
This fixes also the problem that the server had to sleep for the Stream Creation, as the Server is now creating the streams and client has to sleep.
2020-10-11 22:49:14 +02:00
Monty Marz
2b800a2b63
make clippy happy
...
Delete glider.ron
2020-10-07 02:23:20 +00:00
Sam
de45784596
Addressed round of testing feedback.
2020-09-29 19:48:09 -05:00
Ben Wallis
b3dd8e8a02
Added #![deny(clippy::clone_on_ref_ptr)] to all crates and fixed resulting lint errors
2020-09-27 17:25:33 +01:00
Sam
45fef87f32
Addressed comments
2020-09-19 14:40:21 -05:00
Sam
6327dd18b6
Moved knockback to a server event so that it would actually be applied to the player.
2020-09-19 14:40:17 -05:00
Monty Marz
5fe79e1c6a
new loading screen bgs (part 1)
...
Add a basic random feature to char creation
loading screen bg (part 2)
loading screen changes, random button graphics
Random appearance also pick a random npc name
2020-09-18 23:17:47 +00:00
Ben Wallis
712f2e9c97
* Moved migrations to beginning of server initialisation
...
* Added migrations for entity ID changes to existing tables
2020-09-17 23:02:14 +00:00
Joshua Yanovski
19485b6a00
Add a DisconnectReason enum.
2020-09-14 08:16:09 +02:00
tylerlowrey
2b0c1e89f3
Refactored kicking the player into its own function + ran fmt on project
2020-09-14 07:54:05 +02:00
tylerlowrey
b64f3fa8a9
Removed unnecessary kicked error enum
2020-09-14 07:54:05 +02:00
tylerlowrey
30c3146682
Added main menu kick message with kick reason after player is kicked
2020-09-14 07:52:31 +02:00
tylerlowrey
fee79720ee
Added ban message with reason when banned user attempts to login to server
2020-09-14 07:52:31 +02:00
TheThirdSpartan
0fb2d1cd5a
fixed empty chat messages for cli clients
2020-09-09 18:50:45 -04:00
TheThirdSpartan
7fd673ecb2
Added localization config options for new death messages
2020-09-09 20:26:20 +00:00
Marcel Märtens
961b8a4d7c
Implement the Player Timeout as config
2020-09-06 23:34:57 +02:00
TheThirdSpartan
6dbd1bc132
adding feature requested in issue #153 - displaying your alias in game as 'you'
2020-09-06 19:42:32 +00:00
Marcel Märtens
3ee7bb5a98
tmp increase TIMEOUT from 20s to 40s.
...
This will not solve the StreamClose, but make it less annoying for some.
2020-09-01 23:16:11 +02:00
Imbris
4790373ab3
Add State::read_component_copied
2020-08-26 20:47:41 -04:00