Commit Graph

365 Commits

Author SHA1 Message Date
a3479f6a49 Fixed the bugs in the settings tab and the character button in the escape menu and unpause when there is more than 1 player 2020-03-05 18:55:14 +00:00
b0ca85069b 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
035d74f502 Move ServerEvents into own module 2020-02-18 20:51:10 +01:00
177f331259 Fix possession 2020-02-06 17:06:49 -05:00
dae31ae5b6 apply new rustfmt - touching alot of files 2020-02-01 21:39:39 +01:00
dd21235ff8 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
a76740182d Prevent tamed entities constantly trying to 'return home' 2020-01-29 16:37:46 +00:00
faa86226c7 Collars 2020-01-29 12:01:28 +00:00
de96551f65 Resolved pet alignment issues, added ranged aggro 2020-01-27 15:51:07 +00:00
8c7e96e313 Improved waypoint spawn locations, scaled down pathfinding cost 2020-01-26 12:52:32 +00:00
11193a692a Better neutral AI, initial waypoint objects 2020-01-26 12:52:28 +00:00
290cb52d0d I don't know how much I put in this commit, but it's some stuff 2020-01-26 12:52:28 +00:00
353a0f67be Better pathfinding iteration cap 2020-01-26 12:52:28 +00:00
f92371101c Added pauseable pathfinding, improved Chaser heuristics, etc. 2020-01-26 12:52:07 +00:00
2d9aa21eef Added test world, friendly NPC pathfinding 2020-01-26 12:52:07 +00:00
49e7e55cd6 Fix warnings in examples and benchmarks. 2020-01-23 18:18:16 +01:00
d54f22c9fa Add a default world map.
Also adds map versioning, proper scaling, and updates sediment
rendering.  It also tones down warp.
2020-01-23 18:18:15 +01:00
ebe0d14eab Send client 3D rendered map.
Also shares configurable rendering between map generator and server.
2020-01-23 18:18:14 +01:00
e91578ffdb Cargo fmt most things (except erosion.rs). 2020-01-23 18:18:12 +01:00
9520ef4f6d Implement sending world map across the network. 2020-01-23 18:18:11 +01:00
ee5d383c46 Map saving, soil production, speedup attempts. 2020-01-23 18:18:10 +01:00
e71f145b71 Sediment transport, plus many other things. 2020-01-23 18:18:09 +01:00
4f90e6325e feat: add endurance fitness willpower to stats 2020-01-21 18:49:17 +01:00
63d74eb8ba Don't panic if a region can't be found for a deleted entity 2020-01-19 18:22:11 -05:00
6e651eb659 fix: make fall damage behave correctly again after changing gravity 2020-01-19 22:39:20 +01:00
8afe5fd1dd improvement: reset character state and energy on death 2020-01-19 22:39:19 +01:00
8064b51ee2 improvement: better movement 2020-01-19 22:39:18 +01:00
28060e7b6e fixing #405 - Energy as its own component 2020-01-12 22:25:04 +01:00
e1adf40856 Improvement: Replace all '..=b' with '..b + 1' 2020-01-12 15:46:53 +01:00
f52aef224e Fix typos, don't insert Controller if it doesn't already exist in the
mount system so that Controller components are not added to entities
client side
2020-01-02 05:34:27 -05:00
c9caf14877 Fix formatting, Update CHANGELOG, turn overflow checks on for dev
profile
2019-12-31 16:38:13 -05:00
ede05c47b0 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
ec3e075020 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
934c5d6846 Various tweaks: moved radius determination to function on , comments, simplified server Destroy event code, debug assert modified components aren't removed in change tracking, etc 2019-12-20 22:51:35 -05:00
b2752d2419 Cutout unnecessary Resource syncing machinery and Tracker trait 2019-12-20 22:51:35 -05:00
8f7323f41b Stop syncing health change timer updates 2019-12-20 22:48:14 -05:00
d341073a44 Upgrade to specs 0.15.1 2019-12-20 22:48:14 -05:00
e49cafafbf Actually send deletion messages 2019-12-20 22:48:14 -05:00
71cce03f29 Move sync code into common submodule 2019-12-20 22:37:12 -05:00
609e0f23bf Stop global syncing of entity creation 2019-12-20 22:37:12 -05:00
0d919a9dc6 improve(log): adjust verbosity of some logging
fix: settings do not log due to logging being initialized to late
2019-12-20 15:45:30 +01:00
007920a238 iterate up to max_z + 1
(because max_z could still be a soild block)
2019-11-01 00:24:18 +00:00
6b0e346ec4 fix: bugs in new server ecs systems fixed 2019-10-25 22:00:47 -04:00
0ae15bb251 Merge branch 'timo-items-as-ron' into 'master'
feat: store items as RON files

See merge request veloren/veloren!618
2019-10-25 08:57:39 +00:00
58ca150f63 fix: /object chat command no longer spawns invisible objects 2019-10-25 02:08:23 -04:00
f1b728b89b improvement: load_cloned returns a result 2019-10-24 23:55:24 +02:00
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
a200dafd45 Fix possess bug, remove commented code, drain controller events 2019-10-24 00:00:00 -04:00
966b2bfbff Integrate new systems with metrics 2019-10-23 23:50:06 -04:00
8f81b69a25 Move terrain management and syncing into server side ecs systems 2019-10-23 23:50:06 -04:00