Marcel Märtens
8468e67217
Change the version number to 0.8
2020-11-28 11:25:58 +01:00
Imbris
1df4e8098b
Move tracy frame markers to proper locations, add a few spans
2020-11-22 14:22:39 -05:00
Imbris
69d019e5ac
Make fps display and specification more precise
2020-11-11 21:47:22 -05:00
Marcel Märtens
f831df5064
massivly switch clock algorithm.
...
- before we had a Clock that tried to average multiple ticks and predict the next sleep.
This system is massivly bugged.
a) We know exactly how long the busy time took, so we dont need to predict anything in the first place
b) Preduction was totally unrealistic after a single lag spike
c) When a very slow tick happens, we dont benefit from 10 fast ticks.
- Instead we just try to keep the tick time exact what we expect.
If we can't manage a constant tick time because we are to slow, the systems have to "catch" this via the `dt` anyway.
2020-11-10 18:31:42 +01:00
Marcel Märtens
77bbc44051
ci cleanup, dependency update
2020-11-06 14:34:42 +01:00
Marcel Märtens
dc26a6e36f
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
Imbris
20c6b171d6
Log where the userdata folder is in binary crates, fix bug where the old
...
path was logged instead of the new path when renaming invalid settings
2020-10-29 18:30:49 -04:00
Capucho
a05bc46e32
Fixed the server cli dropping new lines
2020-10-23 20:30:33 +01:00
Marcel Märtens
69b3d8616c
rename a file, fix error msg, dont spam persistence by default
2020-10-13 00:06:24 +02:00
Imbris
7211b6a8ad
Fix clippy, minor fmt, add TODO comments
2020-10-10 03:01:30 -04:00
Imbris
8ad8864b9b
Change admins from Vec<String> into Hashset<Uuid>, add commands to server-cli-bin for adding and removing admins
2020-10-10 02:10:32 -04:00
Imbris
088b0994f9
Group editable server settings into one struct that is stored in the ecs, don't expose DataDir, use Uuid in the whitelist instead of usernames, replace Banlist record tuple with new type with named fields, remove commented code
2020-10-10 02:10:32 -04:00
Imbris
35a0787f04
Fix clippy warnings
2020-10-10 02:10:32 -04:00
Imbris
2532603ae8
Update CI and docker files to work with changes to data folder structure
2020-10-10 02:10:32 -04:00
Imbris
26dec245fa
Put server-cli specific settings in their own structure, serde_derive -> serde
2020-10-10 02:10:32 -04:00
Imbris
52362cfd08
New userdata folder that holds voxygen settings and logs and server saves and settings, split up server settings file into parts that are persisted back to their files and parts that are read-only, misc fixes
2020-10-10 02:10:32 -04:00
Imbris
62105d654d
Add server-cli option to disable auth
2020-10-10 02:10:32 -04:00
Imbris
bbff0932e9
Make basic server-cli mode default to not reading input and add interactive option
2020-10-10 02:10:31 -04:00
Ben Wallis
cdf9d1b059
Implemented graceful shutdown on SIGUSR1 signal. Added shutdown <seconds> TUI command. Added abortshutdown TUI command. Fixed a bug in TUI that caused a panic on quit in basic mode on windows.
2020-10-04 21:24:45 +01:00
Ben Wallis
06b4d3a489
Added #![deny(clippy::clone_on_ref_ptr)] to all crates and fixed resulting lint errors
2020-09-27 17:25:33 +01:00
Marcel Märtens
8fd5b2358f
switching veloren naming scheme, to either one of the following:
...
`stable-0.7.0 (<hash>-<datetime>)` for release versions.
And
`nightly-<date> (<hash>)` for nightly and master versions
Reason is, many players only give information that they are running `0.x.0` but are not giving us the information which day, or commit they are running. So we should make master builds less confusing.
2020-09-22 11:47:18 +02:00
Marcel Märtens
69bf76e5b5
fix spam due to mio tracing
2020-09-16 10:13:37 +02:00
Imbris
58e78686d2
Merge branch 'imbris/tracy' into 'master'
...
Add more tracing instrumentation and tracy support
See merge request veloren/veloren!1359
2020-09-10 05:07:51 +00:00
Marcel Märtens
f65fcd87db
fix comment
2020-09-07 17:45:00 +02:00
Marcel Märtens
3f70baa90c
fixed #757
2020-09-07 17:20:52 +02:00
Marcel Märtens
3897f59848
detect EOL on stdin and no longer try to read commands.
...
This can be locally tested with CTRL+D on basic mode.
RUST_LOG=trace might help
2020-09-07 16:28:13 +02:00
Marcel Märtens
e59f67b8c0
decrease TUI to only draw 10 frames on idle.
...
add tracing when a cmd is entered
2020-09-07 14:32:46 +02:00
Imbris
5b96b0aa93
Use finish_continuous_frame directly
2020-09-06 22:28:14 -04:00
Imbris
f5fc9d6722
Update tracy crates, reduce overhead of timing, add more misc instrumentation
2020-09-06 22:28:14 -04:00
Capucho
b892d71c73
Added commands to basic mode
2020-09-03 09:05:15 +02:00
Capucho
f7951d352b
Fix all the problems with the tui
2020-09-03 09:04:42 +02:00
Marcel Märtens
ee89afa76a
clean shutdown and do a full frame all 10 ticks. also increase polling time to 100ms and dont poll while drawing but afterwards
2020-09-01 23:03:50 +02:00
Marcel Märtens
6ca4f31a9e
move tui in multiple files
2020-09-01 23:03:48 +02:00
Capucho
848dd32755
Fix lack of scrolling
2020-09-01 23:03:47 +02:00
Capucho
c80295e10a
Fix panic when window is too small
2020-09-01 23:03:45 +02:00
Capucho
6a344c6eea
Fix resize issue
2020-09-01 23:03:43 +02:00
Capucho
063146f99d
Updated the Dockerfile
2020-09-01 23:03:42 +02:00
Capucho
6fc992f027
Fix typo and clippy warnings
2020-09-01 23:03:40 +02:00
Capucho
d3a2a20d63
Added flags to toggle the tui
2020-09-01 23:03:38 +02:00
Capucho
47b25b35b1
Make it easier to add commands and added the help command
2020-09-01 23:03:36 +02:00
Capucho
3d9eee6190
Fix the offsetting problem after using the cli
2020-09-01 23:03:35 +02:00
Capucho
278d4cc193
Coloring done very badly
2020-09-01 23:03:32 +02:00
Capucho
2aa82b6096
Escape ansi sequences
2020-09-01 23:03:31 +02:00
Capucho
b2b33741c0
Made the server cli great
2020-09-01 23:03:29 +02:00
Marcel Märtens
f082e1225d
Change the version number to 0.7
2020-08-15 11:53:59 +02:00
Joshua Barretto
13ea4710b5
Added labour value to economy, castle improvements
2020-08-12 21:15:52 +01:00
Joshua Barretto
9e5978b34b
Added forts to towns, began better economy sim
2020-08-12 21:15:52 +01:00
Marcel Märtens
df73cb2676
fix various clippy issues
2020-07-01 00:37:06 +02:00
Marcel Märtens
17acbad744
fix server-cli tracing accepting RUST_LOG env var and pass RUST_LOG via docker-compose rather than hardcoding it
...
- however RUST_BACKTRACE=1 is still hardcoded as its probably useful
- dont spam the server-cli with debug
2020-06-29 11:05:55 +02:00
CapsizeGlimmer
01e7438d66
fix chat-cli name formatting.
2020-06-27 17:20:26 -04:00