1543 Commits

Author SHA1 Message Date
Marcel
f53c7bdfaa Merge branch 'xMAC94x/quic' into 'master'
Cleanup network, remove some unwraps, add experimental (disabled) Quic support

See merge request veloren/veloren!2221
2021-05-04 00:16:05 +00:00
juliancoffee
852e49a77c fmt 2021-05-03 22:17:59 +03:00
juliancoffee
693b3d6c8c Implement 'all' command 2021-05-03 22:07:12 +03:00
juliancoffee
000f90c8bf Draft implementation 2021-05-03 22:07:09 +03:00
Marcel
15bf3d9398 Merge branch 'xvar/persistence-fixes' into 'master'
Fixed a rare server crash when creating a character

See merge request veloren/veloren!2237
2021-05-03 18:09:59 +00:00
Samuel Keiffer
7b82e9b1f4 Merge branch 'sam/ability-sets' into 'master'
Allow Specification of Custom Ability Sets per Weapon

See merge request veloren/veloren!2231
2021-05-03 17:50:11 +00:00
Avi Weinstock
bb7dbe245d Make terrain compression a checkbox instead of a bandwidth (throughput?) heuristic. 2021-05-03 00:09:44 -04:00
Avi Weinstock
d858c629ce Optimize CompressedData with Vec::with_capacity, and move obsolete formats from common_net into the compression benchmark. 2021-05-03 00:09:24 -04:00
Avi Weinstock
15feb08a85 Address MR 2207 review comments.
- Add metrics for which branch of the compression heuristic was taken.
- Reduce the threshold for the heuristic.
- Deduplicate code for dealing with lazy messages.
- Make jpeg dependency only scoped to the compression benchmark.
- Remove commented code.
2021-05-03 00:09:24 -04:00
Avi Weinstock
261ee8aa47 Add a bandwidth-based heuristic for chunk compression. 2021-05-03 00:09:24 -04:00
Avi Weinstock
322f7e289e Improve quadpng by adding WidePacking, which makes a wider image, which is faster due to PNG compressing by row. Heuristically switch between quadpng and deflate based on chunk height to reduce variance. 2021-05-03 00:09:24 -04:00
Avi Weinstock
7f16d73217 Get PngPngPngJpeg terrain working in the actual game. 2021-05-03 00:09:24 -04:00
Daniel Mizerski
3538a36503 Add fundamentals for wiring system. 2021-05-02 22:38:44 +02:00
Ben Wallis
d020ba25ff Moved character creation to use character_updater instead of character_loader. Changed character_loader to use a read-only database connection. 2021-05-02 16:08:39 +01:00
Sam
c5ce67f36c Made naming of fields more explicit. 2021-05-01 09:25:56 -04:00
Sam
25c78dc660 Removed all unique and simple tool kinds. 2021-05-01 09:25:51 -04:00
Sam
3bf46fa640 Removed ability set as field on items. 2021-05-01 09:25:49 -04:00
Joshua Barretto
b9c2e55660 Fixed admin physics check exemption 2021-04-30 14:06:07 +01:00
Samuel Keiffer
87f056658a Merge branch 'sam/deduplicate-items' into 'master'
Sam/deduplicate items

See merge request veloren/veloren!2225
2021-04-29 20:11:43 +00:00
Sam
3bc7d69446 Deduplicated stuff in npc_armor. 2021-04-29 15:45:14 -04:00
Sam
90fb4f43d2 Removed old 2h variants of 1h weapons. 2021-04-29 13:18:04 -04:00
Ben Wallis
9894f72fe0 Made admins exempt from the server-side position and velocity checks 2021-04-29 17:46:40 +01:00
Marcel Märtens
4d360a871c protocoladdr change for listen and connect
(remove a loop in quic protocol which wasnt a actual loop)
2021-04-29 15:58:34 +02:00
Ben Wallis
8165cc4169 Merge branch 'xvar/reduce-timeofday-sync-frequency' into 'master'
Reduced frequency of TimeOfDay message being sent to clients

See merge request veloren/veloren!2218
2021-04-29 13:50:08 +00:00
Ben Wallis
ad2f7bbfa5 Reduced sync of TimeOfDay to once per 100 ticks 2021-04-29 12:34:27 +01:00
James Melkonian
124a684e47 Set bird default to not flying and give non-strafing NPCs a larger attack angle 2021-04-28 02:31:51 +00:00
James Melkonian
1e47652741 Partially fixes wolf AI 2021-04-27 17:57:31 +00:00
Ludvig Böklin
b389806d2e Glider physics 2021-04-27 14:41:48 +00:00
Sam
201fe2a19c Added angle check for new npcs. 2021-04-25 22:19:30 -04:00
Sam
77f05ec53d Added an angle check to all agent attacks. 2021-04-25 22:02:31 -04:00
Marcel
ccafc3f9e8 Merge branch 'aweinstock/deflate-downgrade-20210425' into 'master'
Downgrade deflate from level 5 to level 1 in the terrain system to match LZ4's...

See merge request veloren/veloren!2199
2021-04-25 23:35:43 +00:00
Samuel Keiffer
c67995d240 Merge branch 'holychowders/fix_villagers_spamming_messages_in_safezones' into 'master'
Prevent safezoned villagers from spamming messages upon seeing an enemy

See merge request veloren/veloren!2190
2021-04-25 21:24:06 +00:00
holychowders
dd36d1aab5 Prevent safezoned villagers from spamming messages upon seeing an enemy 2021-04-25 21:24:06 +00:00
Marcel
31098ad75b Merge branch 'xMAC94x/reduce_deps' into 'master'
remove some unused deps Yuri found

See merge request veloren/veloren!2197
2021-04-25 20:22:31 +00:00
Avi Weinstock
553dcc45dc Downgrade deflate from level 5 to level 1 in the terrain system to match LZ4's worst-case encoding time. 2021-04-25 16:18:57 -04:00
Marcel
1948507085 Merge branch 'tormeh/rtsim-first' into 'master'
Tormeh/rtsim first

See merge request veloren/veloren!2053
2021-04-25 18:53:39 +00:00
Marcel Märtens
fd5d1ffaf3 remove some unused deps Yuri found 2021-04-25 20:18:20 +02:00
Sam
6294b3c5ff Initial SCT implementation to display blocks. 2021-04-25 13:09:09 -04:00
Sam
b028b647ca Blocking now works if no weapon is equipped in main hand.
Added temp sfx for blocking and parrying.
Added temp particles for successful parry.
Tweaked values of default block ability.
2021-04-25 13:09:02 -04:00
Sam
c9e1b1d341 Melee weapons can now block. 2021-04-25 13:08:42 -04:00
Snowram
58300592ca More phoenix AI work
More phoenix AI work
2021-04-25 04:07:12 +02:00
James Melkonian
7cfd8debed Phoenix AI pass 2021-04-25 04:07:11 +02:00
Snowram
4249d0ddcc Phoenix npc + AI (WIP) 2021-04-25 04:07:11 +02:00
Snowram
ff5d267535 Day period dependant wildlife spawns 2021-04-25 02:14:51 +02:00
Snowram
5b8fbe9a23 Swaps bird_small skeleton to a new bird_large 2021-04-25 02:14:49 +02:00
Avi Weinstock
03de863328 Remove redundant terrain message per MR 2166 comment. 2021-04-20 23:48:15 -04:00
Avi Weinstock
0ae259f359 Cleanup errors introduced in rebase. 2021-04-20 23:34:17 -04:00
Avi Weinstock
c1c7f748ef Move terrain compression code to common_net and disable redundant LZ4 compression on the terrain stream. 2021-04-20 23:24:24 -04:00
Avi Weinstock
67ae3494c4 Compress terrain chunks with deflate. Includes a benchmark showing that this makes them around 70% smaller, and is the same speed as LZ4. 2021-04-20 23:23:53 -04:00
Imbris
91f092bdaf Remove extra chunk cloning and parallelize serialization in the server terrain sys 2021-04-20 15:25:05 -04:00