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
Imbris
efe071d998
Fix panic with multibyte whitespace characters
2020-06-06 15:58:16 -04:00
S Handley
b1d191301a
Make the persistence system code more generic so that it handles all
...
data associated with a character, rather than individually as we were
planning to do with stats/inv/etc... This removes potential for DB locking when we deal with each individually, and we
should have plenty of room for additional writes within the transaction.
2020-06-01 21:34:52 +00:00
Joshua Yanovski
34427373ef
Make civsim and sites deterministic.
...
For anything in worldgen where you use a HashMap, *please* think
carefully about which hasher you are going to use! This is
especially true if (for some reason) you are depending on hashmap
iteration order remaining stable for some aspect of worldgen.
2020-05-21 21:43:54 +02:00
Marcel Märtens
ec03c4518a
Change the version number to 0.6
2020-05-16 00:50:40 +02:00
S Handley
5a13b54cbf
- Load characters after login.
...
- Make the character screen load with an empty character list from the server, send event to the server for character creation with data, but not yet saving them to the DB.
- Working but messy character saving to DB
- Add the character_data to the client, rather than keep it in the GLobalState.
2020-05-09 15:41:25 +00:00
Joshua Barretto
8c1fb3255c
Downgraded minifb
2020-04-23 20:05:44 +01:00
Joshua Barretto
0a892e488a
Updated examples
2020-04-23 18:20:34 +01:00
Imbris
5ed77b5054
Fix security
2020-04-01 20:03:15 -04:00
Imbris
97148cb6bb
Merge branch 'master' into 'combat'
...
# Conflicts:
# CHANGELOG.md
2020-04-01 20:42:27 +00:00
Imbris
a73d010f7b
Point to newly released vek, add todo to reconsider empty item, remove uneeded ori slerp, remove agent from character behavior, add todos to combat sys, check if entities still exist before possessing & if possessed entity has a loadout move the active item into the second item space
2020-04-01 11:15:14 -04:00
Imbris
b3791a2b4e
Upgrade vek version so that it actually uses the patch
2020-03-30 19:44:51 -04:00
Mckol
aa59e8715d
Updated Cargo.lock to fix vek not compiling
2020-03-30 15:45:22 +02:00
Imbris
ba3fa16c33
Create Dir type for better enforcement of non NaN, normalized representations of directions
2020-03-27 22:02:07 -04:00
Capucho
7048163153
Fixed Some minor bugs on the password field
2020-03-25 12:51:43 +00:00
Capucho
7851a407b1
Fix the cursor lagging behind on password field
2020-03-24 21:41:59 +00:00
timokoesters
ea2500e7ab
Add minimum prepare duration to fireball and bow
2020-03-24 14:42:31 +01:00
Pfauenauge90
466b80e8a8
added const tweaker
2020-03-19 18:11:45 +01:00
Mckol
8838682f0b
Added Controller support
2020-03-10 21:00:13 +00:00
Marcel Märtens
1cbd07d5e5
regenerated Cargo.lock, requiering 7 less dependent crates and greatly reducing size of cargo.lock file
2020-03-09 11:49:57 +01:00
Acrimon
bc39b78173
Rebased.
2020-03-08 23:02:15 +01:00
Imbris
8d7c454029
Hide password text
2020-03-08 23:00:34 +01:00
Imbris
0022f8464d
Update auth
2020-03-08 22:59:22 +01:00
Imbris
a04c1b1d1d
Add uid to Player component
...
fix: world examples
2020-03-08 22:58:38 +01:00
Acrimon
08b4cc5fc3
Update auth to use new hashing scheme.
2020-03-08 22:56:34 +01:00
Acrimon
7db0ff0b8c
Update chat-cli to work properly.
...
Update reqwest to 0.10.0
2020-03-08 22:54:15 +01:00
Imbris
8ef1251dc2
Add warning prompt for untrusted auth servers, move some auth code into
2020-03-08 22:51:37 +01:00
Acrimon
403deecc6d
Server auth handling improvements.
2020-03-08 22:49:47 +01:00
Acrimon
584dcddba9
Updated to latest and greatest auth version.
2020-03-08 22:46:40 +01:00
Songtronix
50b845d1c3
:/ and reactivated the password field
2020-03-08 22:34:06 +01:00
Imbris
4a0c474be1
Remove Client
dependency from Scene types and audio managers, add an
...
example for using voxygen as a library to renderer images of characters
2020-03-05 23:12:51 -05:00
Rémy PHELIPOT
98c37d0b28
[i18n] Configurable fonts
...
- Add font configuration in internationalization files
- Scale font size using a configurable ratio
- Add a script to identify translation item statuses using Git metadata
- Execute the i18n script in a new gitlab-ci step (delayed)
- Clone haxrcorp_4089_cyrillic_altgr font (haxrcorp_4089_cyrillic_altgr_extended)
to add some additional latin characters (mainly for French)
2020-02-16 16:02:38 +01:00
S Handley
b739623579
Split the audio channels into SFX and music channels. This makes the
...
Music Channel for exploration music a basic Sink without spatial audio
functionality, which is not required.
2020-02-15 21:30:44 +00:00
Marcel Märtens
e960c2233b
Change the version number to 0.5
2020-01-31 17:26:45 +01:00
Joshua Barretto
d87fc37aa2
Fixed watch compilation issue
2020-01-27 23:59:59 +00:00
Joshua Barretto
2d9aa21eef
Added test world, friendly NPC pathfinding
2020-01-26 12:52:07 +00:00
Joshua Yanovski
53474a215a
Resolving spurious Cargo.lock differences.
2020-01-23 18:18:46 +01:00
Joshua Yanovski
133ba29293
Fixing Cargo.lock after rebase.
2020-01-23 18:18:17 +01:00
Joshua Yanovski
ba043b91a2
Screenshots with F4 in the map, that will have the full resolution of
...
the displayed map (hopefully).
2020-01-23 18:18:16 +01:00
Joshua Yanovski
1d6d0ea03d
Fix all warnings.
2020-01-23 18:18:16 +01:00
Joshua Yanovski
7f2573c561
Updating Cargo.lock.
2020-01-23 18:18:14 +01:00
Joshua Yanovski
1358f1dffa
Changes to worldgen, adding more sedmient etc.
2020-01-23 18:18:14 +01:00
Joshua Yanovski
ebe0d14eab
Send client 3D rendered map.
...
Also shares configurable rendering between map generator and server.
2020-01-23 18:18:14 +01:00
Joshua Yanovski
16c24e86b3
Updating Cargo.lock for sanity.
2020-01-23 18:18:13 +01:00
Joshua Yanovski
597bb3c526
Adding many new types of geomorphic laws:
...
- soil production (currently disabled).
- debris flow erosion (combined with regular stream power law).
- flow computation using multiple receivers.
- filling strategy during drainage network calculations.
Also tweaks a variety of other aspects of erosion.
2020-01-23 18:18:12 +01:00
Joshua Yanovski
825ba1b4f4
WIP fixes: more pleasing uplift generation.
...
Uses the exponential distribution now.
2020-01-23 18:18:07 +01:00
Rémy PHELIPOT
a6f9f533a5
Localization system for Voxygen
...
- Added a localization system in voxygen
- Support English and French languages
- Added a configuration option in the interface settings to change
the language
2020-01-20 21:07:25 +01:00
Joshua Barretto
2c42aaf5f5
Added client-side character saving
2020-01-20 13:37:29 +00:00
Imbris
5666f18ded
Add terrain meshing benchmark
2020-01-19 16:02:12 -05:00
Acrimon
71bd7f15ee
Even better conversion impl.
2020-01-13 20:54:56 +01:00
Songtronix
70eb2eed33
remove: discord rich presence
2020-01-10 17:01:50 +01:00
Monty Marz
851d7858e6
Scrolling Combat Text (SCT)
2020-01-10 00:33:38 +00:00
Yusuf Bera Ertan
24013f1a32
Use treeculler
crate
2020-01-07 19:40:06 +03:00
Yusuf Bera Ertan
0b67dad4a5
Fix figure visible value not updating
2020-01-07 18:46:37 +03:00
Yusuf Bera Ertan
31d18b3381
Use temporal coherence for figure frustum culling, don't process figures if they are not in view frustum
2020-01-07 18:46:22 +03:00
Yusuf Bera Ertan
c19c222a90
Use temporal coherence for chunk frustum culling
2020-01-07 18:46:09 +03:00
Yusuf Bera Ertan
e32153e980
Improve frustum culling by using AABBs, add related debug information
2020-01-07 18:44:33 +03:00
Pierce Brooks
43febb5bf3
fix #426 : Use new dispatch dependency to ensure proper thread routing of msgbox NSAlert calls ( correct MR workflow )
2020-01-07 05:45:43 +00:00
Imbris
5813f626d1
cleanup
2019-12-20 22:48:14 -05:00
Imbris
8f7323f41b
Stop syncing health change timer updates
2019-12-20 22:48:14 -05:00
Imbris
d341073a44
Upgrade to specs 0.15.1
2019-12-20 22:48:14 -05:00
Imbris
71cce03f29
Move sync code into common submodule
2019-12-20 22:37:12 -05:00
Imbris
609e0f23bf
Stop global syncing of entity creation
2019-12-20 22:37:12 -05:00
Songtronix
fa93e35861
upgrade(dep): msgbox
...
Fix: FreeBSD compilation
2019-11-24 08:49:14 +01:00
Songtronix
2f93dd2c38
adjust logging level
2019-11-22 19:12:58 +01:00
Songtronix
7abf2a0fb9
change(log): switch to fern
2019-11-22 19:12:58 +01:00
soruh
6dfa146484
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
Acrimon
21ceb6994b
Updated lockfile.
2019-10-30 23:25:18 +01:00
timokoesters
20248a4818
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
2fad65c749
Merge branch 'imbris/graphic-cache' into 'master'
...
Rework GraphicCache to use multiple texture atlases if necessary and put large images in their own textures.
See merge request veloren/veloren!609
2019-10-24 05:27:09 +00:00
Imbris
2703c8afe1
Move serverside client to a component and communications into server ecs systems
2019-10-23 23:50:06 -04:00
Imbris
b09bddda79
Make clients subscribed to nearby regions and only send physics updates from those regions.
2019-10-23 22:43:02 -04:00
Imbris
24d1f6d970
Add initial region system implementation
2019-10-23 22:39:42 -04:00
Imbris
8bb54976eb
Rework GraphicCache to use multiple texture atlases and put large images in their own textures.
2019-10-19 21:28:30 -04:00
Shane Handley
eb65e4411f
WIP (testing) Update conrod_core
...
This is a `cargo update -p conrod_core` to bring in updates to
`veloren/conrod/conrod_core` to add support for copy and paste.
Ref: veloren/conrod!2
Fixes #171
2019-10-19 15:12:37 +09:00
Joshua Yanovski
8ae2692b6e
Allow canceling chunk generation.
...
Currently we only do this when no players are in range of the chunk. We
also send the first client who posted the chunk a message indicating
that it's canceled, the hope being that this will be a performance win
in single player mode since you don't have to wait three seconds to
realize that the server won't generate the chunk for you.
We now check an atomic flag for every column sample in a chunk. We
could probably do this less frequently, but since it's a relaxed load it
has essentially no performance impact on Intel architectures.
2019-10-16 11:39:41 +00:00
Marcel Märtens
30c9fcc911
Fix bug that metrics took a random port always introduced in !584
...
also removed the duplicate port from the server creation process, using the server settings struct now
2019-10-11 14:19:55 +02:00
Wu Yu Wei
4b80f88085
Bind random port for ServerMetrics
2019-10-11 09:06:34 +00:00
KyoZM
1998ed2fdd
load structures from ron files / transfer static structure lists to ron files
2019-10-10 20:53:13 -03:00
Marcel Märtens
20c520a044
Change the version number to 0.4
2019-10-10 15:48:01 +02:00
Wu Yu Wei
75df4600bd
Switch portpicker dependemcy to git
...
A pull request to fix has been created on original repository. But
since 0.4 is coming out pretty soon, let's swithc to this fork
temporary.
2019-10-07 15:35:20 +00:00
Brian Lewis
86619d4192
Fix crashing due to error in Alsa.
...
This uses a more recent version of cpal (a dependency of rodio hence the
rodio change) which seems to have fixed a crash due to
'device not available: "Invalid argument"' coming from Alsa.
The change in cpal also made some functions now return `Result` instead
of a bare type which I dealt with by using `expect` to minimize how far
these changes fan out into the code but maybe this isn't ideal.
Fixing https://gitlab.com/veloren/veloren/issues/280 - Crash with ALSA
2019-10-06 11:24:42 +02:00
Forest Anderson
b13f9f37f7
Revert "Merge branch 'angelonfira/change-memory-allocator-to-jemalloc' into 'master'"
...
This reverts merge request !547
2019-10-06 01:31:47 +00:00
Forest Anderson
e1bab6afe0
Added jemalloc for Linux systems
2019-10-05 17:57:29 -04:00
Forest Anderson
9ef98ce1a5
Remove heaptrack
2019-10-05 17:57:29 -04:00
Songtronix
43cae5ea64
Fix discord rich presence
2019-10-05 15:35:59 +00:00
Wu Yu Wei
193ff105e2
Update client-side password hashing to argon2
2019-10-05 13:12:20 +00:00
Mckol
9aba318df2
Hash the passwords client-side
2019-10-04 16:44:31 +00:00
Forest
12bdefd146
Updated cargo.lock
2019-10-03 17:20:16 -04:00
Acrimon
03bf74f414
Updated toolchain version and a bunch of deps.
2019-10-03 17:19:22 -04:00
Songtronix
bced3cb638
feat(voxygen): add logo for windows executable
2019-10-02 16:57:08 +02:00
Imbris
f182733074
Small cache experiments
2019-09-22 22:19:07 -04:00
Acrimon
5487c8b7bc
Update lockfile.
2019-09-17 16:12:26 +02:00
Acrimon
1dfbe40731
Made the worldgen noise generators seed from the RNG and got rid of zerocopy.
2019-09-17 16:05:08 +02:00
Joshua Barretto
3f2e22f039
Exponential interpolation for linear damping
...
With an additional approximation to allow for the same size jumps given different framerates.
2019-09-09 19:11:40 +00:00
Marcel Märtens
49b08b55c7
switch from hyper http to rouille for http server
2019-09-09 10:07:25 +02:00
Marcel Märtens
b05e51152f
update version, revert from static prometheus back to normal because static doesnt supprot registries, and implement most of the metrics except for entity count
2019-09-09 09:54:30 +02:00
Marcel Märtens
8d3fb40419
first implementation of prometheus in veloren for git hash, tick times, chunks loaded, player online, entity count and light count
2019-09-09 09:48:44 +02:00
Forest
000efebfd1
Updated cargo lock
2019-09-08 11:28:56 -04:00
haslersn
d322384bec
common: Add benchmark for Chonk
2019-09-06 15:44:36 +02:00
Louis Pearson
0fe5b66dce
Use latest version of Rodio instead of custom branch
2019-09-05 03:04:53 -06:00
Monty Marz
f53904b534
More sprites, ui fixes, lianas
2019-09-01 19:04:03 +00:00
timokoesters
269d179243
Remove vek patch, it's on crates.io now
2019-08-26 17:26:16 +02:00
timokoesters
c4879307af
Update to github vek repo
2019-08-26 13:12:45 +02:00
timokoesters
a715a84ea7
Implement unstoppable rolling
2019-08-26 13:12:42 +02:00
Acrimon
cb4374160c
Removed unsafe.
2019-08-19 00:55:04 +02:00
Imbris
5054f1e87d
remove palette dependency
2019-08-16 00:01:20 -04:00
Imbris
be0e0e52a8
Improve colors
2019-08-15 23:59:09 -04:00
Imbris
cb25c45dec
Move shaders, start asset reloading system
2019-08-15 23:56:12 -04:00
Acrimon
42e065d425
[Common] Switch mutexes and channels.
2019-08-16 00:19:54 +02:00
Acrimon
593deb828b
[Server] Switched mpsc for crossbeam::channel.
2019-08-16 00:10:46 +02:00
Acrimon
fda47fc322
[Voxygen] Switch mutexes to parking_lot and channels to crossbeam.
2019-08-16 00:07:09 +02:00
Acrimon
b4a46f3e6e
Finished switch to hashbrown.
2019-08-11 22:38:28 +02:00
Acrimon
ed4909670d
Use hashbrown instead of fxhashmap in world.
2019-08-11 22:10:36 +02:00
Acrimon
22f318833c
Migrate client to hashbrown.
2019-08-11 21:54:20 +02:00
Acrimon
0bbef0d851
Use hashbrown in voxygen instead of a billion different shitty maps.
2019-08-11 21:52:23 +02:00
Acrimon
4f2d99f809
Switch to hashbrown in server.
2019-08-11 21:48:02 +02:00
Piotr Korgól
d3f2ca69a4
Change the version number to 0.3
2019-08-04 13:53:59 +02:00
Marcel Märtens
e4a9721588
fixed #211 - host specs-idvs on gitlab.com
2019-08-02 10:16:55 +02:00
Dominik Broński
f644b6ab89
Revert "Merge branch 'imbris/upgrade_specs' into 'master'"
...
This reverts merge request !375
2019-08-01 23:32:33 +00:00
Imbris
5f56657f6c
Upgrade specs to 0.15
2019-08-01 18:09:13 -04:00
Acrimon
3f85f35084
Fix lockfile.
2019-07-31 11:45:23 +02:00
Acrimon
9fbf710cc9
Swapped some rarely use storages.
2019-07-31 11:41:29 +02:00
Acrimon
c2f8dbc2d7
Updated specs-idvs.
2019-07-31 11:41:29 +02:00
Acrimon
005a1b6640
Update specs-idvs
2019-07-31 11:41:29 +02:00
Acrimon
c75925c5a3
Updated specs-idvs
2019-07-31 11:41:29 +02:00
Acrimon
579651c862
Update lockfile.
2019-07-31 11:41:29 +02:00
Acrimon
a5b19935a2
Use named generator in worldgen.
2019-07-30 16:10:59 +02:00
Acrimon
ee49ebe807
Update rand, log and scan_fmt
2019-07-29 13:42:26 +00:00
timokoesters
5aa864ee58
Update most dependencies
2019-07-28 22:47:23 +02:00
Piotr Korgól
5c84508015
Get EXP for killing NPCs and Players, properly show EXP bar
2019-07-26 20:51:40 +02:00
Acrimon
deb6c6adef
Some other stuff I missed to commit. (Hooked into server-cli)
2019-07-24 02:20:35 +02:00
Jessie Mancer
4893ab5c2a
fix spawn command placement to be random to improve AI responsivity and not spawn directly on player
2019-07-21 18:22:13 +00:00
Songtronix
bfa6a2e2a2
add configurable TimeOfDay
2019-07-17 18:32:02 +02:00
Songtronix
1213d9844b
add customizable port and worldseed
2019-07-17 18:32:00 +02:00
Acrimon
b11bc46e09
Update uvth in lockfile.
2019-07-15 22:11:18 +02:00
Acrimon
20ac81a986
Fixed some misses.
2019-07-12 20:51:22 +02:00
Acrimon
69537f7dd9
Switched threadpool impl for veloren/server.
2019-07-12 18:30:15 +02:00
Songtronix
07754b0a79
fmt
2019-07-07 16:16:07 +02:00
Songtronix
8220564fa6
Fix rebasing issues
2019-07-07 16:16:07 +02:00
Songtronix
2338084af0
Add Linux support
2019-07-07 16:16:06 +02:00
Joshua Barretto
51ad1f1995
Improved remeshing performance
2019-07-06 20:00:17 +01:00
timokoesters
215693137b
Implement chat command key
2019-07-05 18:21:11 +02:00
Sheldon Knuth
6d624e96a6
fix the missing set_playing(true) in AudioPlayer::load() to prevent infinity thread loop & adopt std::sync::{Mutex, Condvar} for accurate thread blocking.
2019-07-03 17:23:24 +00:00
Sheldon Knuth
c3671590e9
Loading no-audio
mode from the game start without rodio
crate initialisation completely
2019-07-02 18:35:40 +00:00